projects
/
mod_auth_kerb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
We don't include version numbers in our directory name
[mod_auth_kerb.git]
/
Makefile.in
diff --git
a/Makefile.in
b/Makefile.in
index
7a0c276
..
f6560ee
100644
(file)
--- a/
Makefile.in
+++ b/
Makefile.in
@@
-1,36
+1,42
@@
APXS = @APXS@
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 = $(KRB5_CPPFLAGS) $(KRB4_CPPFLAGS) $(DEFS) -I.
-LDFLAGS = -Lspnegokrb5 -lspnegokrb5 $(KRB5_LDFLAGS) $(LIB_resolv)
-ifdef SPNEGO_ONLY
- TARGET = libspnegokrb5
-else
- TARGET = modauthkerb
-endif
+CPPFLAGS = -I. -Ispnegokrb5 $(GSS_CPPFLAGS) $(DEFS)
+LDFLAGS = $(GSS_LDFLAGS)
+CFLAGS =
-
all: $(TARGET
)
+
SRCS = mod_auth_gssapi.c gss.c $(SPNEGO_SRCS
)
-libspnegokrb5:
- (cd spnegokrb5 && make)
+all: mod_auth_gssapi.la
-mod
authkerb: libspnegokrb5
- $(APXS) -c $(CPPFLAGS) $(LDFLAGS) src/mod_auth_kerb.c
+mod
_auth_gssapi.la: $(SRCS)
+ ./apxs.sh "${CPPFLAGS}" "${LDFLAGS}" "${SRCS}" "${APXS} -c"
-install: $(TARGET)
- $(APXS) -i $(CPPFLAGS) $(LDFLAGS) src/mod_auth_kerb.so
+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:
clean:
- (cd spnegokrb5 && make clean)
- $(RM) *.o *.so *.a *.la *.lo *.slo core
- $(RM) src/*.{o,so,a,la,lo,slo}
+ for i in . spnegokrb5; do \
+ (cd $$i && $(RM) *.o *.so *.a *.la *.lo *.slo); \
+ $(RM) -rf $$i/.libs; \
+ done
distclean: clean
distclean: clean
- (cd spnegokrb5 && make distclean)
- $(RM) config.h config.status Makefile configure autom4te.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