- Added forgotten parenthesis
[mod_auth_kerb.git] / Makefile.in
index 7e3fe8c..9f4d983 100644 (file)
@@ -14,16 +14,18 @@ else
 endif
 CFLAGS = -Wc-g
 
-all: modauthkerb
+.PHONY: all install clean distclean
 
-libspnegokrb5:
+all: src/mod_auth_kerb.so
+
+spnegokrb5/libspnegokrb5.a:
        (cd spnegokrb5 && make)
 
-modauthkerb: libspnegokrb5
+src/mod_auth_kerb.so: spnegokrb5/libspnegokrb5.a src/mod_auth_kerb.c
        $(APXS) -c $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) src/mod_auth_kerb.c
 
-install: $(TARGET)
-       $(APXS) -i src/mod_auth_kerb.so
+install:
+       $(APXS) -c -i $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) src/mod_auth_kerb.c
 
 clean:
        (cd spnegokrb5 && make clean)