projects
/
mod_auth_kerb.cvs
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
e2b7ec7
)
Improved building
author
kouril
<kouril>
Mon, 28 Mar 2011 20:12:22 +0000
(20:12 +0000)
committer
kouril
<kouril>
Mon, 28 Mar 2011 20:12:22 +0000
(20:12 +0000)
Makefile.in
patch
|
blob
|
history
apxs.sh
patch
|
blob
|
history
diff --git
a/Makefile.in
b/Makefile.in
index
492a4bd
..
2020782
100644
(file)
--- a/
Makefile.in
+++ b/
Makefile.in
@@
-7,13
+7,15
@@
CPPFLAGS = -I. -Ispnegokrb5 $(GSS_CPPFLAGS) $(DEFS)
LDFLAGS = $(GSS_LDFLAGS)
CFLAGS =
LDFLAGS = $(GSS_LDFLAGS)
CFLAGS =
+SRCS = mod_auth_gssapi.c gss.c $(SPNEGO_SRCS)
+
all: mod_auth_gssapi.la
all: mod_auth_gssapi.la
-mod_auth_gssapi.la:
mod_auth_gssapi.c $(SPNEGO_
SRCS)
- ./apxs.sh "${CPPFLAGS}" "${LDFLAGS}" "${S
PNEGO_S
RCS}" "${APXS} -c"
+mod_auth_gssapi.la:
$(
SRCS)
+ ./apxs.sh "${CPPFLAGS}" "${LDFLAGS}" "${SRCS}" "${APXS} -c"
-install:
- ./apxs.sh "${CPPFLAGS}" "${LDFLAGS}"
"${SPNEGO_SRCS}" "${APXS} -c -i
-n auth_gssapi"
+install:
mod_auth_gssapi.la
+ ./apxs.sh "${CPPFLAGS}" "${LDFLAGS}"
$^ "${APXS} -i -A
-n auth_gssapi"
clean:
for i in . spnegokrb5; do \
clean:
for i in . spnegokrb5; do \
diff --git
a/apxs.sh
b/apxs.sh
index
9dd608f
..
db8c74b
100755
(executable)
--- a/
apxs.sh
+++ b/
apxs.sh
@@
-4,5
+4,5
@@
#
cppflags=`[ -n "$1" ] && echo $1 | sed -e 's/\([^ ]\+\)/-Wc,\1/g'`
ldflags=`[ -n "$2" ] && echo $2 | sed -e 's/\([^ ]\+\)/-Wl,\1/g'`
#
cppflags=`[ -n "$1" ] && echo $1 | sed -e 's/\([^ ]\+\)/-Wc,\1/g'`
ldflags=`[ -n "$2" ] && echo $2 | sed -e 's/\([^ ]\+\)/-Wl,\1/g'`
-ret=eval $4 $cppflags $ldflags
mod_auth_gssapi.c
$3
+ret=eval $4 $cppflags $ldflags $3
exit $ret
exit $ret