-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile.in
46 lines (35 loc) · 933 Bytes
/
Makefile.in
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
43
44
45
46
# Source files.
SRC=mod_proxy_speedy.c
# Files to include when making a .tar.gz-file for distribution
DISTFILES=$(SRC) \
configure \
configure.ac \
Makefile.in \
autogen.sh \
README
all: mod_proxy_speedy.la
mod_proxy_speedy.la: $(SRC)
@APXS2@ -Wc,"-std=c99 @CFLAGS@" -Wl -Wc,-Wall -Wc,-g -c $(SRC)
# Building configure (for distribution)
configure: configure.ac
./autogen.sh
@[email protected]: $(DISTFILES)
tar -c --transform="s#^#@NAMEVER@/#" -vzf $@ $(DISTFILES)
.PHONY: install
install: mod_proxy_speedy.la
@APXS2@ -i -n proxy_speedy mod_proxy_speedy.la
.PHONY: distfile
distfile: @[email protected]
.PHONY: clean
clean:
rm -f mod_proxy_speedy.la
rm -f $(SRC:%.c=%.lo)
rm -f $(SRC:%.c=%.slo)
rm -rf .libs/
.PHONY: distclean
distclean: clean
rm -f Makefile config.log config.status @[email protected] *~ \
build-stamp config.guess config.sub
.PHONY: fullclean
fullclean: distclean
rm -f configure aclocal.m4