projects
/
mod_auth_kerb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Switched to use APR 1.x
[mod_auth_kerb.git]
/
Makefile.in
diff --git
a/Makefile.in
b/Makefile.in
index
dca9a12
..
a4ae206
100644
(file)
--- a/
Makefile.in
+++ b/
Makefile.in
@@
-6,24
+6,29
@@
KRB4_LDFLAGS = @KRB4_LDFLAGS@
LIB_resolv = @LIB_resolv@
SPNEGO_SRCS = @SPNEGO_SRCS@
LIB_resolv = @LIB_resolv@
SPNEGO_SRCS = @SPNEGO_SRCS@
-CPPFLAGS =
$(KRB5_CPPFLAGS) $(KRB4_CPPFLAGS) $(DEFS) -I. -Ispnegokrb5
+CPPFLAGS =
-I. -Ispnegokrb5 $(KRB5_CPPFLAGS) $(KRB4_CPPFLAGS) $(DEFS)
LDFLAGS = $(KRB5_LDFLAGS) $(KRB4_LDFLAGS) $(LIB_resolv)
CFLAGS =
LDFLAGS = $(KRB5_LDFLAGS) $(KRB4_LDFLAGS) $(LIB_resolv)
CFLAGS =
+APXS_CPPFLAGS = ${shell [ -n "${CPPFLAGS}" ] && echo ${CPPFLAGS} | sed -e 's/\([^ ]*\)/-Wc,\1/g'}
+APXS_LDFLAGS = ${shell [ -n "${LDFLAGS}" ] && echo ${LDFLAGS} | sed -e 's/\([^ ]*\)/-Wl,\1/g'}
+
all: src/mod_auth_kerb.so
src/mod_auth_kerb.so: src/mod_auth_kerb.c $(SPNEGO_SRCS)
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)
+ $(APXS) -c $(
APXS_CPPFLAGS) $(APXS_CFLAGS) $(APXS_
LDFLAGS) src/mod_auth_kerb.c $(SPNEGO_SRCS)
install:
install:
- $(APXS) -c -i $(
CPPFLAGS) $(CFLAGS) $(
LDFLAGS) src/mod_auth_kerb.c $(SPNEGO_SRCS)
+ $(APXS) -c -i $(
APXS_CPPFLAGS) $(APXS_CFLAGS) $(APXS_
LDFLAGS) src/mod_auth_kerb.c $(SPNEGO_SRCS)
clean:
clean:
- $(RM) *.o *.so *.a *.la *.lo *.slo core
- $(RM) src/*.{o,so,a,la,lo,slo}
+ for i in . src spnegokrb5; do \
+ $(RM) $$i/*.{o,so,a,la,lo,slo} core; \
+ $(RM) -rf $$i/.libs; \
+ done
distclean: clean
distclean: clean
- $(RM) config.h config.status Makefile config
ure config
.log
- $(RM) -rf autom4te.cache
src/.libs
+ $(RM) config.h config.status Makefile config.log
+ $(RM) -rf autom4te.cache
.PHONY: all install clean distclean
.PHONY: all install clean distclean