removed compilation warnings
[mod_auth_kerb.git] / Makefile.in
index a1fc43c..36f6046 100644 (file)
@@ -13,18 +13,26 @@ CFLAGS =
 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.sh "${CPPFLAGS}" "${LDFLAGS}" "${SPNEGO_SRCS}" "${APXS}" "-c" "src/mod_auth_kerb.c"
 
 install:
-       $(APXS) -c -i $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) src/mod_auth_kerb.c $(SPNEGO_SRCS)
+       ./apxs.sh "${CPPFLAGS}" "${LDFLAGS}" "${SPNEGO_SRCS}" "${APXS}" "-c -i" "src/mod_auth_kerb.c"
 
 clean:
        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 config.log
-       $(RM) -rf autom4te.cache src/.libs spnego/.libs
+       $(RM) -rf autom4te.cache
+
+make_release:
+       echo "Did you increase version numbers?"
+       autoconf
+       $(RM) -rf autom4te.cache
+       $(RM) -rf .cvsignore spnegokrb5/.cvsignore src/.cvsignore
+       $(RM) -rf CVS spnegokrb5/CVS src/CVS
 
 .PHONY: all install clean distclean