X-Git-Url: http://www.project-moonshot.org/gitweb/?p=mod_auth_kerb.git;a=blobdiff_plain;f=Makefile.in;h=f6560ee86c39af871e44176103ea6f5d650ec5d0;hp=36f604640462e8a5a587c30356f777777c6fa6a8;hb=HEAD;hpb=2aeb449fb46064638d040c8054c6c649971c391a diff --git a/Makefile.in b/Makefile.in index 36f6046..f6560ee 100644 --- a/Makefile.in +++ b/Makefile.in @@ -1,26 +1,34 @@ APXS = @APXS@ -KRB5_CPPFLAGS = @KRB5_CPPFLAGS@ -KRB5_LDFLAGS = @KRB5_LDFLAGS@ -KRB4_CPPFLAGS = @KRB4_CPPFLAGS@ -KRB4_LDFLAGS = @KRB4_LDFLAGS@ -LIB_resolv = @LIB_resolv@ +GSS_CPPFLAGS = @GSS_CPPFLAGS@ +GSS_LDFLAGS = @GSS_LDFLAGS@ @LIBS@ SPNEGO_SRCS = @SPNEGO_SRCS@ +INSTALL=@INSTALL@ +prefix=@prefix@ +exec_prefix=@exec_prefix@ +libexecdir=@libexecdir@ +sysconfdir=@sysconfdir@ +libdir=@libdir@ -CPPFLAGS = -I. -Ispnegokrb5 $(KRB5_CPPFLAGS) $(KRB4_CPPFLAGS) $(DEFS) -LDFLAGS = $(KRB5_LDFLAGS) $(KRB4_LDFLAGS) $(LIB_resolv) + +CPPFLAGS = -I. -Ispnegokrb5 $(GSS_CPPFLAGS) $(DEFS) +LDFLAGS = $(GSS_LDFLAGS) CFLAGS = -all: src/mod_auth_kerb.so +SRCS = mod_auth_gssapi.c gss.c $(SPNEGO_SRCS) + +all: mod_auth_gssapi.la -src/mod_auth_kerb.so: src/mod_auth_kerb.c $(SPNEGO_SRCS) - ./apxs.sh "${CPPFLAGS}" "${LDFLAGS}" "${SPNEGO_SRCS}" "${APXS}" "-c" "src/mod_auth_kerb.c" +mod_auth_gssapi.la: $(SRCS) + ./apxs.sh "${CPPFLAGS}" "${LDFLAGS}" "${SRCS}" "${APXS} -c" -install: - ./apxs.sh "${CPPFLAGS}" "${LDFLAGS}" "${SPNEGO_SRCS}" "${APXS}" "-c -i" "src/mod_auth_kerb.c" +install: mod_auth_gssapi.la + $(INSTALL) -d $(DESTDIR)${libdir}/apache2/modules + $(INSTALL) -d $(DESTDIR)${sysconfdir}/apache2/mods-available + ./apxs.sh "${CPPFLAGS}" "${LDFLAGS}" $^ "${APXS} -i -A -S LIBEXECDIR=$(DESTDIR)${libdir}/apache2/modules -S SYSCONFDIR=$(DESTDIR)${sysconfdir}/apache2 -n auth_gssapi" clean: - for i in . src spnegokrb5; do \ - $(RM) $$i/*.{o,so,a,la,lo,slo} core; \ + for i in . spnegokrb5; do \ + (cd $$i && $(RM) *.o *.so *.a *.la *.lo *.slo); \ $(RM) -rf $$i/.libs; \ done @@ -28,11 +36,7 @@ distclean: clean $(RM) config.h config.status Makefile config.log $(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 +dist-gzip: + git archive --prefix mod_auth_gssapi/ HEAD |gzip -9 >@PACKAGE_TARNAME@-@PACKAGE_VERSION@.tar.gz -.PHONY: all install clean distclean +.PHONY: all install clean distclean dist-gzip