compilation of the module itself but (hopefuly) prevents problems with libtool
and different target names generated by libtool on different platforms.
+.PHONY: all install clean distclean
+
all: src/mod_auth_kerb.so
spnegokrb5/libspnegokrb5.a:
all: src/mod_auth_kerb.so
spnegokrb5/libspnegokrb5.a:
src/mod_auth_kerb.so: spnegokrb5/libspnegokrb5.a src/mod_auth_kerb.c
$(APXS) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) src/mod_auth_kerb.c
src/mod_auth_kerb.so: spnegokrb5/libspnegokrb5.a src/mod_auth_kerb.c
$(APXS) -c -o $@ $(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)
clean:
(cd spnegokrb5 && make clean)