X-Git-Url: http://www.project-moonshot.org/gitweb/?p=mod_auth_gssapi.git;a=blobdiff_plain;f=src%2FMakefile.am;h=2624bc8ab13deef7e8175d6fbfcbb6a694a05293;hp=a725b521da46fb426efe32d4684bb00d66d92a83;hb=17ffe54d5d75270c7447867d0efcd32633d173f4;hpb=4b6ed2bfeeb912272e57fe9365cb175fd06ed6b0 diff --git a/src/Makefile.am b/src/Makefile.am index a725b52..2624bc8 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -1,25 +1,27 @@ -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@ +AM_CPPFLAGS = -I $(srcdir)/asn1c -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 +magdir = $(MAG_LIBDIR) +mag_LTLIBRARIES = \ + mod_auth_gssapi.la -lib_LTLIBRARIES = mod_auth_gssapi.la +dist_noinst_HEADERS = \ + mod_auth_gssapi.h crypto.h sessions.h -mod_auth_gssapi_la_LDFLAGS = -module +mod_auth_gssapi_la_SOURCES = \ + mod_auth_gssapi.c crypto.c sessions.c +mod_auth_gssapi_la_CFLAGS = \ + $(MAG_CFLAGS) +mod_auth_gssapi_la_LIBADD = \ + asn1c/libmagasn1.la +mod_auth_gssapi_la_LDFLAGS = \ + $(MAG_LIBS) \ + -avoid-version \ + -module \ + -export-symbols-regex auth_gssapi_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