summaryrefslogtreecommitdiff
path: root/module/Makefile.am
blob: b303c5e8792963ca17521c52c8befc36c4796b7b (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

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