X-Git-Url: http://www.project-moonshot.org/gitweb/?a=blobdiff_plain;f=Makefile.in;h=b15509cb89e43144a377a46a390affc83d40ec1d;hb=a46e335d132634304af61f1205a384b51dce0d33;hp=fd89e7bbb8e2074c68a2d5c6ecc19c6458821bd6;hpb=267827500b9410d2ef87eed2cc31f8b7695d75c5;p=mod_auth_kerb.git diff --git a/Makefile.in b/Makefile.in index fd89e7b..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@ -SUBDIRS = src -MAKE_SUBDIR = for dir in $(SUBDIRS) ; do ( cd $$dir ; $(MAKE) $@ ) ; done +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: - @$(MAKE_SUBDIR) +all: src/mod_auth_kerb.so + +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: - @$(MAKE_SUBDIR) + $(APXS) -c -i $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) src/mod_auth_kerb.c $(SPNEGO_SRCS) clean: - @$(MAKE_SUBDIR) + for i in . src spnegokrb5; do \ + $(RM) $$i/*.{o,so,a,la,lo,slo} core; \ + $(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 + +.PHONY: all install clean distclean