📄 makefile
字号:
AXIS_USABLE_LIBS = UCLIBC GLIBCinclude $(APPS)/Rules.elinux# Change these if necessaryINCDIR = $(prefix)/includeLIBDIR = $(prefix)/libINSTDIR = $(prefix)/binINSTMODE = 0755CONFDIR = $(prefix)/etc/httpd/confCONFDIR_SECOND = $(prefix)/etc/httpd/conf/secondCONFDIRMIME = $(prefix)/etc/httpd/confCONFMODE = 0644CFLAGS += -Wall -g -I$(INCDIR)LDFLAGS += -L$(LIBDIR)ifneq ($(AXIS_WILL_USE_LIB),UCLIBC)LDLIBS = -lcryptendifYACC = bison -yLEX = flexPROGS = boa boa_indexerSOURCES = alias.c boa.c buffer.c cgi.c cgi_header.c config.c escape.c \ get.c hash.c ip.c log.c mmap_cache.c pipe.c queue.c read.c \ request.c response.c select.c signals.c util.c sublog.c # OBJS = y.tab.o lex.yy.o ${SOURCES:.c=.o} timestamp.o strutil.oOBJS = y.tab.o lex.yy.o ${SOURCES:.c=.o} timestamp.oall: $(PROGS)boa: ${OBJS} ${CC} -o $@ ${OBJS} ${LDFLAGS} ${LIBS}# boa: ${OBJS}# $(CC) -o $@ $^ $(LDFLAGS) $(LIBS) boa_indexer: index_dir.o escape.o ${CC} -o $@ index_dir.o escape.o ${LDFLAGS} ${LIBS}# boa_indexer: index_dir.o escape.o scandir.o alphasort.o strutil.o# $(CC) -o $@ $^ ${LDFLAGS} ${LIBS} clean: rm -f $(OBJS) boa core lex.yy.c y.tab.c y.tab.h *~ boa_indexer index_dir.o# clean:# rm -f $(OBJS) boa core lex.yy.c y.tab.c y.tab.h *~ boa_indexer index_dir.o scandir.o alphasort.o strutil.o # distclean: mrclean# mrclean: clean# rm -f config.status config.cache config.h Makefile config.log# parser dependenciesy.tab.c y.tab.h: boa_grammar.y $(YACC) -d $<lex.yy.c: boa_lexer.l $(LEX) $<# timestamptimestamp.o: $(SOURCES) boa_grammar.y boa_lexer.linstall: $(PROGS) $(INSTALL) -d $(INSTDIR) $(CONFDIR) $(INSTALL) -d $(INSTDIR) $(CONFDIR_SECOND) $(INSTALL) -m $(INSTMODE) $(PROGS) $(INSTDIR)# $(INSTALL) -m $(INSTMODE) ../khttpd/skh $(INSTDIR) if [ ! -f $(CONFDIR)/boa.conf ]; then \ $(INSTALL) -m $(CONFMODE) ../conf/boa.conf $(CONFDIR); \ $(INSTALL) -m $(CONFMODE) ../conf/second/boa.conf $(CONFDIR_SECOND); \ $(INSTALL) -m $(CONFMODE) ../conf/mime.types $(CONFDIRMIME); \ fidepend: makedepend -Y -- $(CFLAGS) -- $(SOURCES) 2>/dev/null# -------------------------------------------------------------------------# The following is used to automatically generate dependencies.# DO NOT DELETEalias.o: boa.h compat.h config.h defines.h globals.h escape.hboa.o: boa.h compat.h config.h defines.h globals.h escape.hbuffer.o: boa.h compat.h config.h defines.h globals.h escape.hcgi.o: boa.h compat.h config.h defines.h globals.h escape.hcgi_header.o: boa.h compat.h config.h defines.h globals.h escape.hconfig.o: boa.h compat.h config.h defines.h globals.h escape.h parse.hescape.o: boa.h compat.h config.h defines.h globals.h escape.hget.o: boa.h compat.h config.h defines.h globals.h escape.hhash.o: boa.h compat.h config.h defines.h globals.h escape.h parse.hip.o: boa.h compat.h config.h defines.h globals.h escape.hlog.o: boa.h compat.h config.h defines.h globals.h escape.hmmap_cache.o: boa.h compat.h config.h defines.h globals.h escape.hpipe.o: boa.h compat.h config.h defines.h globals.h escape.hqueue.o: boa.h compat.h config.h defines.h globals.h escape.hread.o: boa.h compat.h config.h defines.h globals.h escape.hrequest.o: boa.h compat.h config.h defines.h globals.h escape.hresponse.o: boa.h compat.h config.h defines.h globals.h escape.hselect.o: boa.h compat.h config.h defines.h globals.h escape.hsignals.o: boa.h compat.h config.h defines.h globals.h escape.hutil.o: boa.h compat.h config.h defines.h globals.h escape.h
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -