📄 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_UNIXOPTIMIZER=FLASH=../Lib# Solaris#LIBCXX=/usr/lib/libC.so# gccLIBCXX=# Solaris (Sun compiler/linker)#SHARED=-G# FreeBSD#SHARED=-Bshareable# LinuxSHARED=-sharedCFLAGS= $(OPTIMIZER) $(PLUGIN_DEFINES) -I$(FLASH) -I/usr/X11R6/includeLDFLAGS= $(FLASH)/libflash.a $(LIBCXX) ../Jpeg/libjpeg.a ../Zlib/libz.aSRC= plugin.c npunix.cOBJ= plugin.o npunix.oSHAREDTARGET=npflash.sodefault all: $(SHAREDTARGET)$(SHAREDTARGET): $(OBJ) $(FLASH)/libflash.a $(LD) $(SHARED) -o $(SHAREDTARGET) $(OBJ) $(LDFLAGS)plugin.o: $(FLASH)/flash.hclean: $(RM) $(OBJ) $(SHAREDTARGET)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -