makefile

来自「一百个病毒的源代码 包括熊猫烧香等 极其具有研究价值」· 代码 · 共 41 行

TXT
41
字号
#   the used toolsAPXS=/usr/local/apache/bin/apxsAPACHECTL=/usr/local/apache/bin/apachectl#   additional defines, includes and librariesINC=-I/usr/include/pgsqlLIB=-lpq -L/usr/lib#   the default targetall: mod_auth_pg.so#   compile the shared object filemod_auth_pg.so: mod_auth_pg.c	$(APXS) -c $(DEF) $(INC) $(LIB) mod_auth_pg.c#   install the shared object file into Apache install: all	$(APXS) -i -a -n 'auth_pg' mod_auth_pg.so#   cleanupclean:	-rm -f mod_auth_pg.o mod_auth_pg.so#   simple testtest: reload	lynx -mime_header http://localhost/auth_pg#   install and activate shared object by reloading Apache to#   force a reload of the shared object filereload: install restart#   the general Apache start/restart/stop#   proceduresstart:	$(APACHECTL) startrestart:	$(APACHECTL) restartstop:	$(APACHECTL) stop

⌨️ 快捷键说明

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