X-Git-Url: http://www.project-moonshot.org/gitweb/?a=blobdiff_plain;f=Makefile.in;h=a4ae2065f3289836e1a85ee5c4b2b7ba940dfb92;hb=d9ee5333c9a88d0b97d6391de8f024ce75457f31;hp=7ff9de9c4349133d619bb2d0e2109ea9159b08de;hpb=463a49ae04fc81eb31c39da5504c939c83ba6504;p=mod_auth_kerb.cvs%2F.git diff --git a/Makefile.in b/Makefile.in index 7ff9de9..a4ae206 100644 --- a/Makefile.in +++ b/Makefile.in @@ -10,21 +10,25 @@ CPPFLAGS = -I. -Ispnegokrb5 $(KRB5_CPPFLAGS) $(KRB4_CPPFLAGS) $(DEFS) LDFLAGS = $(KRB5_LDFLAGS) $(KRB4_LDFLAGS) $(LIB_resolv) CFLAGS = +APXS_CPPFLAGS = ${shell [ -n "${CPPFLAGS}" ] && echo ${CPPFLAGS} | sed -e 's/\([^ ]*\)/-Wc,\1/g'} +APXS_LDFLAGS = ${shell [ -n "${LDFLAGS}" ] && echo ${LDFLAGS} | sed -e 's/\([^ ]*\)/-Wl,\1/g'} + all: src/mod_auth_kerb.so src/mod_auth_kerb.so: src/mod_auth_kerb.c $(SPNEGO_SRCS) - $(APXS) -c $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) src/mod_auth_kerb.c $(SPNEGO_SRCS) + $(APXS) -c $(APXS_CPPFLAGS) $(APXS_CFLAGS) $(APXS_LDFLAGS) src/mod_auth_kerb.c $(SPNEGO_SRCS) install: - $(APXS) -c -i $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) src/mod_auth_kerb.c $(SPNEGO_SRCS) + $(APXS) -c -i $(APXS_CPPFLAGS) $(APXS_CFLAGS) $(APXS_LDFLAGS) src/mod_auth_kerb.c $(SPNEGO_SRCS) clean: - for i in . src spnegokrb5; do - $(RM) *.{o,so,a,la,lo,slo} core + for i in . src spnegokrb5; do \ + $(RM) $$i/*.{o,so,a,la,lo,slo} core; \ + $(RM) -rf $$i/.libs; \ done distclean: clean - $(RM) config.h config.status Makefile configure config.log - $(RM) -rf autom4te.cache src/.libs + $(RM) config.h config.status Makefile config.log + $(RM) -rf autom4te.cache .PHONY: all install clean distclean