projects
/
mod_auth_kerb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Improved building
[mod_auth_kerb.git]
/
Makefile.in
diff --git
a/Makefile.in
b/Makefile.in
index
d6c79cd
..
2020782
100644
(file)
--- a/
Makefile.in
+++ b/
Makefile.in
@@
-1,23
+1,30
@@
-###
-# Makefile.in for mod_auth_kerb
-###
-
APXS = @APXS@
APXS = @APXS@
-CFLAGS = -I. @CFLAGS@
-LDFLAGS = @LDFLAGS@
-LIBS = @LIBS@
-INSTALL = @INSTALL@
+GSS_CPPFLAGS = @GSS_CPPFLAGS@
+GSS_LDFLAGS = @GSS_LDFLAGS@ @LIBS@
+SPNEGO_SRCS = @SPNEGO_SRCS@
+
+CPPFLAGS = -I. -Ispnegokrb5 $(GSS_CPPFLAGS) $(DEFS)
+LDFLAGS = $(GSS_LDFLAGS)
+CFLAGS =
-all: mod_auth_kerb
+SRCS = mod_auth_gssapi.c gss.c $(SPNEGO_SRCS)
-mod_auth_kerb: mod_auth_kerb.c
- $(APXS) -c ${CFLAGS} ${LDFLAGS} ${LIBS} mod_auth_kerb.c
+all: mod_auth_gssapi.la
-install:
- $(APXS) -c -i ${CFLAGS} ${LDFLAGS} ${LIBS} mod_auth_kerb.c
+mod_auth_gssapi.la: $(SRCS)
+ ./apxs.sh "${CPPFLAGS}" "${LDFLAGS}" "${SRCS}" "${APXS} -c"
+
+install: mod_auth_gssapi.la
+ ./apxs.sh "${CPPFLAGS}" "${LDFLAGS}" $^ "${APXS} -i -A -n auth_gssapi"
clean:
clean:
- /bin/rm -rf core *.o *.la *.lo *.slo .libs
+ for i in . spnegokrb5; do \
+ (cd $$i && $(RM) *.o *.so *.a *.la *.lo *.slo); \
+ $(RM) -rf $$i/.libs; \
+ done
distclean: clean
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