X-Git-Url: http://www.project-moonshot.org/gitweb/?a=blobdiff_plain;f=Makefile.in;h=b15509cb89e43144a377a46a390affc83d40ec1d;hb=abd52145a6a9128ded3007215766c4fc6e315c77;hp=d6c79cd21360641868200d7cb28f881656ca08eb;hpb=6b40087d9a92c1f02397e4498098489303a6f8b4;p=mod_auth_kerb.git diff --git a/Makefile.in b/Makefile.in index d6c79cd..b15509c 100644 --- a/Makefile.in +++ b/Makefile.in @@ -1,23 +1,31 @@ -### -# Makefile.in for mod_auth_kerb -### - APXS = @APXS@ -CFLAGS = -I. @CFLAGS@ -LDFLAGS = @LDFLAGS@ -LIBS = @LIBS@ -INSTALL = @INSTALL@ +KRB5_CPPFLAGS = @KRB5_CPPFLAGS@ +KRB5_LDFLAGS = @KRB5_LDFLAGS@ +KRB4_CPPFLAGS = @KRB4_CPPFLAGS@ +KRB4_LDFLAGS = @KRB4_LDFLAGS@ +LIB_resolv = @LIB_resolv@ +SPNEGO_SRCS = @SPNEGO_SRCS@ + +CPPFLAGS = -I. -Ispnegokrb5 $(KRB5_CPPFLAGS) $(KRB4_CPPFLAGS) $(DEFS) +LDFLAGS = $(KRB5_LDFLAGS) $(KRB4_LDFLAGS) $(LIB_resolv) +CFLAGS = -all: mod_auth_kerb +all: src/mod_auth_kerb.so -mod_auth_kerb: mod_auth_kerb.c - $(APXS) -c ${CFLAGS} ${LDFLAGS} ${LIBS} mod_auth_kerb.c +src/mod_auth_kerb.so: src/mod_auth_kerb.c $(SPNEGO_SRCS) + $(APXS) -c $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) src/mod_auth_kerb.c $(SPNEGO_SRCS) install: - $(APXS) -c -i ${CFLAGS} ${LDFLAGS} ${LIBS} mod_auth_kerb.c + $(APXS) -c -i $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) src/mod_auth_kerb.c $(SPNEGO_SRCS) clean: - /bin/rm -rf core *.o *.la *.lo *.slo .libs + for i in . src spnegokrb5; do \ + $(RM) $$i/*.{o,so,a,la,lo,slo} core; \ + $(RM) -rf $$i/.libs; \ + done distclean: clean - /bin/rm -f Makefile config.h config.status config.cache config.log mod_auth_kerb.c + $(RM) config.h config.status Makefile config.log + $(RM) -rf autom4te.cache + +.PHONY: all install clean distclean