forked from OpenIDC/mod_sts
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.in
69 lines (55 loc) · 1.49 KB
/
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
# Source files. mod_sts.c must be the first file.
SRC=src/mod_sts.c \
src/wstrust.c \
src/ropc.c \
src/otx.c \
src/shm.c \
src/util.c
HDRS = src/mod_sts.h
# Files to include when making a .tar.gz-file for distribution
DISTFILES=$(SRC) \
$(HDRS) \
test/test.c \
test/stub.c \
sts.conf \
configure \
configure.ac \
Makefile.in \
autogen.sh \
README.md \
AUTHORS \
DISCLAIMER \
LICENSE \
ChangeLog
all: src/mod_sts.la
CFLAGS=@CURL_CFLAGS@ @XML_CFLAGS@ @CJOSE_CFLAGS@ @JANSSON_CFLAGS@
LIBS=@CURL_LIBS@ @XML_LIBS@ @CJOSE_LIBS@ @JANSSON_LIBS@
src/mod_sts.la: $(SRC) $(HDRS)
@APXS2@ @APXS2_OPTS@ -Wc,"-DNAMEVER=\"@NAMEVER@\" $(CFLAGS)" -Wl,"$(LIBS)" -Wc,-Wall -Wc,-g -c $(SRC)
configure: configure.ac
./autogen.sh
@[email protected]: $(DISTFILES)
tar -c --transform="s#^#@NAMEVER@/#" -vzf $@ $(DISTFILES)
test/test: test/test.c test/stub.c src/mod_sts.la
@APXS2@ @APXS2_OPTS@ $(CFLAGS) -Wl,"$(LIBS)" -Isrc -Wc,-Wall -Wc,-g -c -o $@ [email protected] test/stub.c $(SRC:.c=.lo) @APR_LIBS@
test: test/test
test/test
.PHONY: install
install: src/mod_sts.la
@APXS2@ @APXS2_OPTS@ -i -n mod_sts src/mod_sts.la
.PHONY: distfile
distfile: @[email protected]
.PHONY: clean
clean:
rm -f src/mod_sts.la test/test
rm -f src/*.o test/*.o
rm -f src/*.lo test/*.lo
rm -f src/*.slo test/*.slo
rm -rf src/.libs test/.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