blob: 6019b06e483445cd0e2c44ee9f1799b23812451d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
EXTRA_DIST = mod_httpauth.c
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 -Wc,-Wall $(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 -c -Wc,-g -Wc,-O0 $(DEF) $(INC) $(LIB) mod_httpauth.c
# 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
|