forked from zmartzone/mod_token_binding
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.in
59 lines (46 loc) · 1.36 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
# Source files. mod_token_binding.c must be the first file.
SRC=src/mod_token_binding.c
HDRS = src/mod_token_binding.h
# Files to include when making a .tar.gz-file for distribution
DISTFILES=$(SRC) \
$(HDRS) \
configure \
configure.ac \
Makefile.in \
autogen.sh \
README.md \
AUTHORS \
DISCLAIMER \
LICENSE.txt \
ChangeLog
all: src/mod_token_binding.la
CFLAGS=@OPENSSL_CFLAGS@ -I@TOKEN_BINDING@
LIBS=@OPENSSL_LIBS@
OBJS=@TOKEN_BINDING@/token_bind_server.c @TOKEN_BINDING@/token_bind_common.c @TOKEN_BINDING@/cbs.c @TOKEN_BINDING@/cbb.c @TOKEN_BINDING@/base64.c
src/mod_token_binding.la: $(SRC) $(HDRS)
@APXS2@ @APXS2_OPTS@ -Wc,"-DNAMEVER=\"@NAMEVER@\" $(CFLAGS)" -Wl,"$(LIBS)" -Wc,-Wall -Wc,-g -c $(SRC) $(OBJS)
configure: configure.ac
./autogen.sh
@[email protected]: $(DISTFILES)
tar -c --transform="s#^#@NAMEVER@/#" -vzf $@ $(DISTFILES)
.PHONY: install
install: src/mod_token_binding.la
@APXS2@ @APXS2_OPTS@ -i -n mod_token_binding src/mod_token_binding.la
.PHONY: distfile
distfile: @[email protected]
docker:
make -f test/docker/Makefile
.PHONY: clean
clean:
rm -f src/mod_token_binding.la
rm -f src/*.o
rm -f src/*.lo
rm -f src/*.slo
rm -rf src/.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