projects
/
mod_auth_kerb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
c648522
)
Wrap compiler and linker options passed via apxs
author
kouril
<kouril>
Mon, 20 Feb 2006 21:46:35 +0000
(21:46 +0000)
committer
kouril
<kouril>
Mon, 20 Feb 2006 21:46:35 +0000
(21:46 +0000)
Makefile.in
patch
|
blob
|
history
diff --git
a/Makefile.in
b/Makefile.in
index
b15509c
..
a4ae206
100644
(file)
--- a/
Makefile.in
+++ b/
Makefile.in
@@
-10,13
+10,16
@@
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:
for i in . src spnegokrb5; do \
clean:
for i in . src spnegokrb5; do \