diff options
Diffstat (limited to 'module')
-rw-r--r-- | module/Makefile.am | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/module/Makefile.am b/module/Makefile.am new file mode 100644 index 0000000..b303c5e --- /dev/null +++ b/module/Makefile.am @@ -0,0 +1,30 @@ + +EXTRA_DIST = mod_auth_singleid.c + +DEF = +INC = -I../ + +all: mod_auth_singleid.so + +mod_auth_singleid.so: mod_auth_singleid.c + @APXS@ -c -Wc,-g -Wc,-O0 -Wc,-Wall $(DEF) $(INC) $(LIB) mod_auth_singleid.c + +# Install the DSO file into the Apache installation and activate it in config +install: all + @APXS@ -i -a -c -Wc,-g -Wc,-O0 $(DEF) $(INC) $(LIB) mod_auth_singleid.c + +# Cleanup +clean: + -rm -f mod_auth_singleid.o mod_auth_singleid.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 + |