From 17753b2c45290ed5d9c3f7b3106de73db6fe171e Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Wed, 10 May 2006 17:57:16 +0000 Subject: Proper build with apache1x plugin --- apache1x/Makefile.in | 31 +++++++++++++++++++++++++++++++ configure.in | 1 + 2 files changed, 32 insertions(+) create mode 100644 apache1x/Makefile.in diff --git a/apache1x/Makefile.in b/apache1x/Makefile.in new file mode 100644 index 0000000..42619c7 --- /dev/null +++ b/apache1x/Makefile.in @@ -0,0 +1,31 @@ + +DEF= +INC=-I../ -I../common/ + +all: mod_httpauth.so + + +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 + + diff --git a/configure.in b/configure.in index e882a7c..27c75a1 100644 --- a/configure.in +++ b/configure.in @@ -200,5 +200,6 @@ AC_CONFIG_FILES([Makefile daemon/Makefile doc/Makefile tools/Makefile + apache1x/Makefile apache2x/Makefile]) AC_OUTPUT -- cgit v1.2.3