makefile
来自「监控软件rrdtools」· 代码 · 共 73 行
TXT
73 行
# code by Joey Miller <joeym@inficad.com>### BEFORE COMPILING YOU MUST SET THE VARIABLES BELOW# TO INDICATE THE CORRECT DIRECTORIES!!!!!!!!!!!!!!!!!!!!!### USE AT YOUR OWN RISK!### begin configurable vars## PHPINCLUDE -- the directory where php is untarred##PHPINCLUDE = -I/usr/home/joeym/apache_build/php-3.0.14## PHPLIBS -- the directory where you can find some of the PHP objects## and compiled libs (the directory where php is untarred, and## has already been compiled!##PHPLIBS = /usr/home/joeym/apache_build/php-3.0.14## RRDINCLUDE, GDINCLUDE -- where to find some of the header## files needed by rrdtool and it's libs##RRDINCLUDE = -I/usr/home/joeym/newshit/rrdtool-1.0.10/srcGDINCLUDE = -I/usr/home/joeym/newshit/rrdtool-1.0.10/gd1.3## RRDLIB -- where to find librrd.a (usually /usr/local/rrdtool-1.0.10/lib)RRDLIB = /usr/local/rrdtool-1.0.10/lib## if php is compiled as an apache module#APACHEINC = -I/var/www/include###### end primary config vars .. change the vars below only###### if you need to######CFLAGS = -O -fpicCC = gccCXX = g++CXXFLAGS= $(CFLAGS)LD = ccLDFLAGS = -sharedRM = /bin/rmOBJS = php3_rrdtool.oCFLAGS := $(CFLAGS) -I../lib $(PHPINCLUDE) $(APACHEINC) $(RRDINCLUDE) $(GDINCLUDE)CXXFLAGS:= $(CXXFLAGS) -I../lib $(PHPINCLUDE) $(APACHEINC) $(RRDINCLUDE) $(GDINCLUDE)LIBS := -L$(RRDLIB) -L$(PHPLIBS) -lrrd all: php3_rrdtool.sophp3_rrdtool.so: $(OBJS) $(LD) $(LDFLAGS) $(OBJS) -o $@ $(LIBS)clean: $(RM) *.o $(RM) *.so veryclean: clean $(RM) *~
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?