File: Makefile13

package info (click to toggle)
libapache2-mod-log-slow 1.0.8-3.1
  • links: PTS
  • area: main
  • in suites: forky, sid, trixie
  • size: 144 kB
  • sloc: ansic: 824; makefile: 33
file content (42 lines) | stat: -rw-r--r-- 980 bytes parent folder | download | duplicates (2)
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
33
34
35
36
37
38
39
40
41
42
##
##  Makefile -- Build procedure for sample log_slow Apache module
##  Autogenerated via ``apxs -n log_slow -g''.
##

#   the used tools
ap_basedir=/home/apache-1.3.41
APXS=$(ap_basedir)/bin/apxs
APACHECTL=$(ap_basedir)/bin/apachectl

#   additional user defines, includes and libraries
#DEF=-Dmy_define=my_value
#INC=-Imy/include/dir
#LIB=-Lmy/lib/dir -lmylib

#   the default target
all: mod_log_slow.so

#   compile the DSO file
mod_log_slow.so: mod_log_slow13.c
	$(APXS) -c $(DEF) $(INC) $(LIB) mod_log_slow13.c -o mod_log_slow.so

#   install the DSO file into the Apache installation
#   and activate it in the Apache configuration
install: all
	$(APXS) -i -a -n 'log_slow' mod_log_slow.so

#   cleanup
clean:
	-rm -f mod_log_slow13.o mod_log_slow.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