X-Git-Url: http://www.project-moonshot.org/gitweb/?p=mod_auth_kerb.cvs%2F.git;a=blobdiff_plain;f=Makefile.in;h=f6560ee86c39af871e44176103ea6f5d650ec5d0;hp=fd89e7bbb8e2074c68a2d5c6ecc19c6458821bd6;hb=HEAD;hpb=267827500b9410d2ef87eed2cc31f8b7695d75c5 diff --git a/Makefile.in b/Makefile.in index fd89e7b..f6560ee 100644 --- a/Makefile.in +++ b/Makefile.in @@ -1,23 +1,42 @@ -### -# Makefile.in for mod_auth_kerb -### - APXS = @APXS@ -CFLAGS = -I. @CFLAGS@ -LDFLAGS = @LDFLAGS@ -LIBS = @LIBS@ -SUBDIRS = src -MAKE_SUBDIR = for dir in $(SUBDIRS) ; do ( cd $$dir ; $(MAKE) $@ ) ; done +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 $(GSS_CPPFLAGS) $(DEFS) +LDFLAGS = $(GSS_LDFLAGS) +CFLAGS = + +SRCS = mod_auth_gssapi.c gss.c $(SPNEGO_SRCS) -all: - @$(MAKE_SUBDIR) +all: mod_auth_gssapi.la -install: - @$(MAKE_SUBDIR) +mod_auth_gssapi.la: $(SRCS) + ./apxs.sh "${CPPFLAGS}" "${LDFLAGS}" "${SRCS}" "${APXS} -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: - @$(MAKE_SUBDIR) + for i in . spnegokrb5; do \ + (cd $$i && $(RM) *.o *.so *.a *.la *.lo *.slo); \ + $(RM) -rf $$i/.libs; \ + done distclean: clean - @$(MAKE_SUBDIR) - /bin/rm -f Makefile config.h config.status config.cache config.log + $(RM) config.h config.status Makefile config.log + $(RM) -rf autom4te.cache + +dist-gzip: + git archive --prefix mod_auth_gssapi/ HEAD |gzip -9 >@PACKAGE_TARNAME@-@PACKAGE_VERSION@.tar.gz + +.PHONY: all install clean distclean dist-gzip