## ## Makefile -- Build procedure for sample httpauth Apache module ## Autogenerated via ``apxs -n httpauth -g''. ## # the used tools APXS=apxs APACHECTL=apachectl # additional user defines, includes and libraries #DEF=-Dmy_define=my_value INC=-I../ -I../common/ # the default target all: mod_httpauth.so # compile the DSO file mod_httpauth.so: mod_httpauth.c ../common/sock_any.c $(APXS) -c -Wc,-g -Wc,-O0 $(DEF) $(INC) $(LIB) mod_httpauth.c # install the DSO file into the Apache installation # and activate it in the Apache configuration install: all $(APXS) -i -a -n 'httpauth' mod_httpauth.so # cleanup clean: -rm -f mod_httpauth.o mod_httpauth.so # reload the module by installing and restarting Apache reload: install restart # the general Apache start/restart/stop procedures start: $(APACHECTL) start restart: $(APACHECTL) restart stop: $(APACHECTL) stop