X-Git-Url: http://www.project-moonshot.org/gitweb/?a=blobdiff_plain;f=src%2FMakefile.am;h=01a122047b89252c5ed9777729dae6543f65abbf;hb=a43f39134d7e11a82c24d9e11582987c77924f4e;hp=a725b521da46fb426efe32d4684bb00d66d92a83;hpb=4b6ed2bfeeb912272e57fe9365cb175fd06ed6b0;p=mod_auth_gssapi.git diff --git a/src/Makefile.am b/src/Makefile.am index a725b52..01a1220 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -1,25 +1,22 @@ -MAG_CFLAGS = @APR_CPPFLAGS@ @APXS_CPPFLAGS@ @APXS_CPPFLAGS_SHLIB@ -MAG_INCLUDES = @INCLTDL@ @APR_INCLUDES@ @APXS_INCLUDES@ -MAG_LIBS = @LIBLTDL@ @APR_LDFLAGS@ @APXS_LDFLAGS@ @APXS_LIBS@ @APXS_LD_SHLIB@ -MAG_LIBEXECDIR = @APXS_LIBEXECDIR@ +magdir = $(MAG_LIBDIR) +mag_LTLIBRARIES = \ + mod_auth_gssapi.la -if HAVE_GCC - MAG_CFLAGS += -Wall -Wshadow -Wstrict-prototypes -Wpointer-arith \ - -Wcast-qual -Wcast-align -Wwrite-strings \ - -Werror-implicit-function-declaration \ - -fno-strict-aliasing -endif +dist_noinst_HEADERS = \ + mod_auth_gssapi.h crypto.h sessions.h -lib_LTLIBRARIES = mod_auth_gssapi.la +mod_auth_gssapi_la_SOURCES = \ + mod_auth_gssapi.c crypto.c sessions.c +mod_auth_gssapi_la_CFLAGS = \ + $(MAG_CFLAGS) +mod_auth_gssapi_la_LDFLAGS = \ + $(MAG_LIBS) \ + -avoid-version \ + -module -mod_auth_gssapi_la_LDFLAGS = -module - -mod_auth_gssapi.la: mod_auth_gssapi.c - @APXS@ -c ${LIBS} -Wc,"${MAG_CFLAGS} ${MAG_INCLUDES}" -Wl,"${MAG_LIBS}" mod_auth_gssapi.c - -install: mod_auth_gssapi.la - if test ! -d ${MAG_LIBEXECDIR}; then mkdir -p ${MAG_LIBEXECDIR}; fi - @APXS@ -i -S LIBEXECDIR=${MAG_LIBEXECDIR} mod_auth_gssapi.la +install-exec-local: + if test ! -d ${APXS_LIBEXECDIR}; then mkdir -p ${APXS_LIBEXECDIR}; fi + @APXS@ -i -S LIBEXECDIR=${APXS_LIBEXECDIR} mod_auth_gssapi.la clean-local: rm -f mod_auth_gssapi.slo mod_auth_gssapi.la mod_auth_gssapi.lo .libs