# # Copyright (C) 2002 Sam Horrocks # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. # # ## ## Makefile -- Build procedure for sample speedycgi Apache module ## Autogenerated via ``apxs -n speedycgi -g''. ## # the used tools APXS=apxs APACHECTL=apachectl # additional defines, includes and libraries INC=-I../src -I. # compile the shared object file $(SHARED_OBJ_TARGET): $(SRC_CFILES) $(H_FILES) ../src/*.h $(MOD_SPEEDYCGI_CMDS) $(APXS) -c -o $(SHARED_OBJ_TARGET) $(DEBUG) '$(DEF)' $(INC) $(LIB) $(SRC_CFILES) $(CHECK_SYMS) $(SHARED_OBJ_REAL) # install the shared object file into Apache install: all $(APXS) -i -a -n 'speedycgi' $(SHARED_OBJ_TARGET) # cleanup clean: -$(MV) Makefile Makefile.old -$(RM_F) $(OFILES) $(SHARED_OBJ_TARGET) $(C_FILE_CLEAN) speedy.h -$(RM_RF) $(CLEAN_EXTRA) realclean: clean rm -f Makefile.old # install and activate shared object by reloading Apache to # force a reload of the shared object file reload: install restart # the general Apache start/restart/stop # procedures start: $(APACHECTL) start restart: $(APACHECTL) restart stop: $(APACHECTL) stop pure_all: all