forked from Uninett/mod_auth_mellon
-
Notifications
You must be signed in to change notification settings - Fork 49
/
Makefile.in
80 lines (66 loc) · 1.98 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
70
71
72
73
74
75
76
77
78
79
80
# Source files. mod_auth_mellon.c must be the first file.
SRC=mod_auth_mellon.c \
auth_mellon_cache.c \
auth_mellon_config.c \
auth_mellon_cookie.c \
auth_mellon_diagnostics.c \
auth_mellon_handler.c \
auth_mellon_util.c \
auth_mellon_session.c \
auth_mellon_httpclient.c
# Documentation files
USER_GUIDE_FILES=\
doc/user_guide/mellon_user_guide.adoc \
doc/user_guide/Guardfile \
doc/user_guide/README \
doc/user_guide/images/chrome_SAML_Chrome_Panel.png \
doc/user_guide/images/chrome_SAML_Chrome_Panel.svg \
doc/user_guide/images/saml-tracer.png \
doc/user_guide/images/saml-tracer.svg \
doc/user_guide/images/saml-web-sso.svg
# Files to include when making a .tar.gz-file for distribution
DISTFILES=$(SRC) \
auth_mellon.h \
auth_mellon_compat.h \
lasso_compat.h \
config.h.in \
configure \
configure.ac \
Makefile.in \
autogen.sh \
README.md \
ECP.rst \
COPYING \
NEWS \
mellon_create_metadata.sh \
doc/mellon_create_metadata.8 \
$(USER_GUIDE_FILES)
all: mod_auth_mellon.la
mod_auth_mellon.la: $(SRC) auth_mellon.h auth_mellon_compat.h
@APXS2@ -Wc,"-std=c99 @MELLON_CFLAGS@ @OPENSSL_CFLAGS@ @LASSO_CFLAGS@ @CURL_CFLAGS@ @GLIB_CFLAGS@ @CFLAGS@ @LIBXML2_CFLAGS@ @XMLSEC_CFLAGS@" -Wl,"@OPENSSL_LIBS@ @LASSO_LIBS@ @CURL_LIBS@ @GLIB_LIBS@ @LIBXML2_LIBS@ @XMLSEC_LIBS@" -Wc,-Wall -Wc,-g -c $(SRC)
# Building configure (for distribution)
configure: configure.ac
./autogen.sh
@NAMEVER@.tar.gz: $(DISTFILES)
tar -c --transform="s#^#@NAMEVER@/#" -vzf $@ $(DISTFILES)
.PHONY: install
install: mod_auth_mellon.la
@APXS2@ -i -n auth_mellon mod_auth_mellon.la
.PHONY: distfile
distfile: @NAMEVER@.tar.gz
.PHONY: clean
clean:
rm -f mod_auth_mellon.la
rm -f $(SRC:%.c=%.o)
rm -f $(SRC:%.c=%.lo)
rm -f $(SRC:%.c=%.slo)
rm -rf .libs/
.PHONY: distclean
distclean: clean
rm -f Makefile config.log config.status @NAMEVER@.tar.gz *~ \
build-stamp config.guess config.sub
rm -rf debian/mod-auth-mellon
rm -f debian/files
.PHONY: fullclean
fullclean: distclean
rm -f configure aclocal.m4