summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStef Walter <stef@memberwebs.com>2006-05-10 17:57:16 +0000
committerStef Walter <stef@memberwebs.com>2006-05-10 17:57:16 +0000
commit17753b2c45290ed5d9c3f7b3106de73db6fe171e (patch)
treee23cdf3de8a689f57b9ec18f3cd3456b1661818a
parent2d99d0a2a883e23267e00b65d4bc2db1012919e3 (diff)
Proper build with apache1x plugin
-rw-r--r--apache1x/Makefile.in31
-rw-r--r--configure.in1
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