Adding testing CLI client (based off the Heimdal testing sample)
[mod_auth_kerb.cvs/.git] / Makefile.in
1 APXS = @APXS@
2 GSS_CPPFLAGS = @GSS_CPPFLAGS@
3 GSS_LDFLAGS = @GSS_LDFLAGS@ @LIBS@
4 SPNEGO_SRCS = @SPNEGO_SRCS@
5
6 CPPFLAGS = -I. -Ispnegokrb5 $(GSS_CPPFLAGS) $(DEFS)
7 LDFLAGS = $(GSS_LDFLAGS)
8 CFLAGS =
9
10 SRCS = mod_auth_gssapi.c gss.c $(SPNEGO_SRCS)
11
12 all: mod_auth_gssapi.la
13
14 mod_auth_gssapi.la: $(SRCS)
15         ./apxs.sh "${CPPFLAGS}" "${LDFLAGS}" "${SRCS}" "${APXS} -c"
16
17 install: mod_auth_gssapi.la
18         ./apxs.sh "${CPPFLAGS}" "${LDFLAGS}" $^ "${APXS} -i -A -n auth_gssapi"
19
20 clean:
21         for i in . spnegokrb5; do \
22                 (cd $$i && $(RM) *.o *.so *.a *.la *.lo *.slo); \
23                 $(RM) -rf $$i/.libs; \
24         done
25
26 distclean: clean
27         $(RM) config.h config.status Makefile config.log
28         $(RM) -rf autom4te.cache
29
30 .PHONY: all install clean distclean