⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 makefile.std

📁 统计日志的工具
💻 STD
字号:
## Makefile for webalizer - a web server logfile analysis thingie## (c)1997-2000 by Bradford L. Barrett (brad@mrunix.net)# Distributed under the GNU GPL. See "README" and "Copyright"# files supplied with this distribution for more information.## This works on a Slackware 3.6 system, and should work out# of the box on other GCC based systems.  Tweek the values# below for your environment if needed before running make.## Use these for SCO (and maybe others)#BINDIR = /usr/bin#MANDIR = /usr/man/man1#ETCDIR = /etc#CC     = cc#CFLAGS = -b elf#LIBS   = -lgd -lm -lpng -lz#LDFLAGS= -L../usr/local/lib# These work on my Linux systemBINDIR = ${exec_prefix}/binMANDIR = ${prefix}/man/man1ETCDIR = /etcCC     = gccCFLAGS = -Wall -O2LIBS   = -lgd -lpng -lz -lmLDFLAGS= -L/usr/local/lib# where are the GD header files?GDLIB=/usr/local/include# If you want the DNS resolve code, uncomment these# and comment out the LIBS defined above...  DNS code# is enabled with the -DUSE_DNS switch.DEFS    = -DETCDIR=\"${ETCDIR}\"#DEFS   = -DHAVE_GETOPT_H=1 -DHAVE_MATH_H=1 -DUSE_DNS #LIBS   = -lgd -lpng -lz -lm -ldb# Some might need this instead (Solaris?!?)#LIBS   = -lgd -lpng -lz -lm -ldb -lnsl -lsocket# If your GD lib was compiled with X/truetype, use this# or some variation of it:#LIBS   = -lgd -lpng -lz -lm -lX11 -lXpm -lttf# Shouldn't have to touch below here!all: webalizerwebalizer:	webalizer.o webalizer.h hashtab.o hashtab.h  \		linklist.o linklist.h preserve.o preserve.h  \                dns_resolv.o dns_resolv.h parser.o parser.h  \                output.o output.h graphs.o graphs.h lang.h   \		webalizer_lang.h	$(CC) ${LDFLAGS} -o webalizer webalizer.o hashtab.o linklist.o preserve.o parser.o output.o dns_resolv.o graphs.o ${LIBS}webalizer.o:	webalizer.c webalizer.h parser.h output.h preserve.h \		graphs.h dns_resolv.h webalizer_lang.h	$(CC) ${CFLAGS} ${DEFS} -c webalizer.cparser.o:	parser.c parser.h webalizer.h lang.h	$(CC) ${CFLAGS} ${DEFS} -c parser.chashtab.o:	hashtab.c hashtab.h dns_resolv.h webalizer.h lang.h	$(CC) ${CFLAGS} ${DEFS} -c hashtab.clinklist.o:	linklist.c linklist.h webalizer.h lang.h	$(CC) ${CFLAGS} ${DEFS} -c linklist.coutput.o:	output.c output.h webalizer.h preserve.h \		hashtab.h graphs.h lang.h	$(CC) ${CFLAGS} ${DEFS} -c output.cpreserve.o:	preserve.c preserve.h webalizer.h parser.h   \		hashtab.h graphs.h lang.h	$(CC) ${CFLAGS} ${DEFS} -c preserve.cdns_resolv.o:	dns_resolv.c dns_resolv.h lang.h webalizer.h	$(CC) ${CFLAGS} ${DEFS} -c dns_resolv.cgraphs.o:	graphs.c graphs.h webalizer.h lang.h	$(CC) ${CFLAGS} ${DEFS} -I${GDLIB} -c graphs.cclean:	rm -f webalizer *.o usage*.png daily*.png hourly*.png ctry*.png	rm -f *.html *.hist *.current core *.gifdistclean: clean	rm -f webalizer.conf *.tar *.tgz *.Z *.tar.gz	rm -f Makefile webalizer_lang.h config.cache config.log config.status	ln -s lang/webalizer_lang.english webalizer_lang.hinstall: all	cp webalizer.1 ${MANDIR}/webalizer.1	cp webalizer   ${BINDIR}/webalizer	cp sample.conf /etc/webalizer.conf.sampleuninstall:	rm -f ${MANDIR}/webalizer.1	rm -f ${BINDIR}/webalizer	rm -f /etc/webalizer.conf.sample

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -