📄 makefile
字号:
#!make################################################################################# Copyright (c) 1996 Netscape Communications. All rights reserved.################################################################################## The output of the make process will be npflash.so# Install this file either in# /usr/lib/netscape/plugins/# (or)# ~/.netscape/plugins/# (or) in any convenient directory and point environment variable# NPX_PLUGIN_PATH to point to the directory. It is advisable# that the plugins (.so) are the only files in that directory.## This makefile contains some of our defines for the compiler:## XP_UNIX This needs to get defined for npapi.h on unix platforms.# PLUGIN_TRACE Enable this define to get debug prints whenever the plugin# api gets control.# PLUGIN_DEFINES= -DXP_UNIXOPTIMIZE=-OFLASH=../LibLIBCXX = $(LIBCXX_$(CXX))# SolarisLIBCXX_CC = -lCrun# gccLIBCXX_g++ =# Solaris (Sun compiler/linker)SHARED=-G# (Free|Net)BSD#SHARED=-Wl,-Bshareable# Linux#SHARED=-sharedX11DIR= /usr/X11R6CFLAGS= $(OPTIMIZE) $(PLUGIN_DEFINES) $(ALLCFLAGS) -I$(FLASH) -I$(X11DIR)/includeLDFLAGS=$(SHARED)LIBS= $(FLASH)/libflash.a $(JPEG_LIB) $(Z_LIB) $(LIBCXX) -L$(X11DIR)/lib -lX11SRC= plugin.c npunix.cOBJ= plugin.o npunix.oSHAREDTARGET=npflash.sodefault all: $(SHAREDTARGET)$(SHAREDTARGET): $(OBJ) $(FLASH)/libflash.a $(CXX) $(LDFLAGS) -o $(SHAREDTARGET) $(OBJ) $(LIBS)plugin.o: $(FLASH)/flash.hclean: $(RM) $(OBJ) $(SHAREDTARGET)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -