projects
/
mod_auth_kerb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add install-sh
[mod_auth_kerb.git]
/
Makefile.in
diff --git
a/Makefile.in
b/Makefile.in
index
a4ae206
..
f6560ee
100644
(file)
--- a/
Makefile.in
+++ b/
Makefile.in
@@
-1,29
+1,34
@@
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@
SPNEGO_SRCS = @SPNEGO_SRCS@
+INSTALL=@INSTALL@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libexecdir=@libexecdir@
+sysconfdir=@sysconfdir@
+libdir=@libdir@
-CPPFLAGS = -I. -Ispnegokrb5 $(KRB5_CPPFLAGS) $(KRB4_CPPFLAGS) $(DEFS)
-LDFLAGS = $(KRB5_LDFLAGS) $(KRB4_LDFLAGS) $(LIB_resolv)
+
+CPPFLAGS = -I. -Ispnegokrb5 $(GSS_CPPFLAGS) $(DEFS)
+LDFLAGS = $(GSS_LDFLAGS)
CFLAGS =
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'}
+SRCS = mod_auth_gssapi.c gss.c $(SPNEGO_SRCS)
-all:
src/mod_auth_kerb.so
+all:
mod_auth_gssapi.la
-
src/mod_auth_kerb.so: src/mod_auth_kerb.c $(SPNEGO_
SRCS)
- $(APXS) -c $(APXS_CPPFLAGS) $(APXS_CFLAGS) $(APXS_LDFLAGS) src/mod_auth_kerb.c $(SPNEGO_SRCS)
+
mod_auth_gssapi.la: $(
SRCS)
+ ./apxs.sh "${CPPFLAGS}" "${LDFLAGS}" "${SRCS}" "${APXS} -c"
-install:
- $(APXS) -c -i $(APXS_CPPFLAGS) $(APXS_CFLAGS) $(APXS_LDFLAGS) src/mod_auth_kerb.c $(SPNEGO_SRCS)
+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:
- for i in . s
rc s
pnegokrb5; do \
-
$(RM) $$i/*.{o,so,a,la,lo,slo} core
; \
+ for i in . spnegokrb5; do \
+
(cd $$i && $(RM) *.o *.so *.a *.la *.lo *.slo)
; \
$(RM) -rf $$i/.libs; \
done
$(RM) -rf $$i/.libs; \
done
@@
-31,4
+36,7
@@
distclean: clean
$(RM) config.h config.status Makefile config.log
$(RM) -rf autom4te.cache
$(RM) config.h config.status Makefile config.log
$(RM) -rf autom4te.cache
-.PHONY: all install clean distclean
+dist-gzip:
+ git archive --prefix mod_auth_gssapi/ HEAD |gzip -9 >@PACKAGE_TARNAME@-@PACKAGE_VERSION@.tar.gz
+
+.PHONY: all install clean distclean dist-gzip