diff options
-rw-r--r-- | apache1x/Makefile.in | 31 | ||||
-rw-r--r-- | configure.in | 1 |
2 files changed, 32 insertions, 0 deletions
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 |