📄 makefile
字号:
# the target to buildTARGET=mod_gzip# the used toolsAPXS=/usr/local/apache2/bin/apxsAPACHECTL=/usr/local/apache2/bin/apachectl# additional defines, includes and librariesLIBDIR=/usr/lib#INC=-I/usr/include/zlibLIB=-lz -L$(LIBDIR)# the default targetOPT=-Wc,-WallOPT+=-Wl,--rpath -Wl,$(LIBDIR)# the default targetall: $(TARGET).la# compile the shared object file%.la: %.c $(APXS) -c $(OPT) $(DEF) $(INC) $(LIB) $<# create a preprocessed source file%.pre: %.c $(CC) -E $(OPT) $(DEF) $(INC) $(LIB) $<# install the shared object file into Apache install: all $(APXS) -i $(TARGET).la# install the shared object file into Apache and make entry in httpd.confinstallfirst: all $(APXS) -i -a -n '$(TARGET)' $(TARGET).la# cleanupclean: -rm -f $(TARGET).o $(TARGET).l* $(TARGET).s* -rm -f -r ./.libs# 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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -