accepted patch [ 1809998 ] "Accept any incoming credential in keytab" with some minor...
[mod_auth_kerb.cvs/.git] / Makefile.in
1 APXS = @APXS@
2 KRB5_CPPFLAGS = @KRB5_CPPFLAGS@
3 KRB5_LDFLAGS = @KRB5_LDFLAGS@
4 KRB4_CPPFLAGS = @KRB4_CPPFLAGS@
5 KRB4_LDFLAGS = @KRB4_LDFLAGS@
6 LIB_resolv = @LIB_resolv@
7 SPNEGO_SRCS = @SPNEGO_SRCS@
8
9 CPPFLAGS = -I. -Ispnegokrb5 $(KRB5_CPPFLAGS) $(KRB4_CPPFLAGS) $(DEFS)
10 LDFLAGS = $(KRB5_LDFLAGS) $(KRB4_LDFLAGS) $(LIB_resolv)
11 CFLAGS =
12
13 # Use these assignements instead of the default ones if your're building on BSD
14 # systems. A 'if' statemet would be better, of course.
15 #APXS_CPPFLAGS != [ -n "${CPPFLAGS}" ] && echo ${CPPFLAGS} | sed -e 's/\([^ ]*\)/-Wc,\1/g'
16 #APXS_LDFLAGS  != [ -n "${LDFLAGS}"  ] && echo ${LDFLAGS} | sed -e 's/\([^ ]*\)/-Wl,\1/g'
17 APXS_CPPFLAGS = ${shell [ -n "${CPPFLAGS}" ] && echo ${CPPFLAGS} | sed -e 's/\([^ ]*\)/-Wc,\1/g'}
18 APXS_LDFLAGS  = ${shell [ -n "${LDFLAGS}"  ] && echo ${LDFLAGS} | sed -e 's/\([^ ]*\)/-Wl,\1/g'}
19
20 all: src/mod_auth_kerb.so
21
22 src/mod_auth_kerb.so: src/mod_auth_kerb.c $(SPNEGO_SRCS)
23         $(APXS) -c $(APXS_CPPFLAGS) $(APXS_CFLAGS) $(APXS_LDFLAGS) src/mod_auth_kerb.c $(SPNEGO_SRCS)
24
25 install:
26         $(APXS) -c -i $(APXS_CPPFLAGS) $(APXS_CFLAGS) $(APXS_LDFLAGS) src/mod_auth_kerb.c $(SPNEGO_SRCS)
27
28 clean:
29         for i in . src spnegokrb5; do \
30                 $(RM) $$i/*.{o,so,a,la,lo,slo} core; \
31                 $(RM) -rf $$i/.libs; \
32         done
33
34 distclean: clean
35         $(RM) config.h config.status Makefile config.log
36         $(RM) -rf autom4te.cache
37
38 make_release:
39         echo "Did you increase version numbers?"
40         autoconf
41         $(RM) -rf autom4te.cache
42         $(RM) -rf .cvsignore spnegokrb5/.cvsignore src/.cvsignore
43         $(RM) -rf CVS spnegokrb5/CVS src/CVS
44
45 .PHONY: all install clean distclean