Description of delegation support in Win AD (thanks Rob Sessink)
[mod_auth_kerb.cvs/.git] / Makefile.in
index dca9a12..b15509c 100644 (file)
@@ -6,7 +6,7 @@ KRB4_LDFLAGS = @KRB4_LDFLAGS@
 LIB_resolv = @LIB_resolv@
 SPNEGO_SRCS = @SPNEGO_SRCS@
 
-CPPFLAGS = $(KRB5_CPPFLAGS) $(KRB4_CPPFLAGS) $(DEFS) -I. -Ispnegokrb5
+CPPFLAGS = -I. -Ispnegokrb5 $(KRB5_CPPFLAGS) $(KRB4_CPPFLAGS) $(DEFS)
 LDFLAGS = $(KRB5_LDFLAGS) $(KRB4_LDFLAGS) $(LIB_resolv)
 CFLAGS =
 
@@ -19,11 +19,13 @@ install:
        $(APXS) -c -i $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) src/mod_auth_kerb.c $(SPNEGO_SRCS)
 
 clean:
-       $(RM) *.o *.so *.a *.la *.lo *.slo core
-       $(RM) src/*.{o,so,a,la,lo,slo}
+       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