summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSimo Sorce <simo@redhat.com>2014-04-15 21:08:52 -0400
committerSimo Sorce <simo@redhat.com>2014-04-15 21:44:49 -0400
commit122e879f09cd94d791e0f32141544dacc96bb135 (patch)
tree6c758ee0d5f0e0aa36b0c8d60aecae23915d971a /src
parent82b32d097d2e3f4e5b9c9f6c87a5ca016139d562 (diff)
downloadmod_auth_gssapi-122e879f09cd94d791e0f32141544dacc96bb135.tar.gz
mod_auth_gssapi-122e879f09cd94d791e0f32141544dacc96bb135.tar.xz
mod_auth_gssapi-122e879f09cd94d791e0f32141544dacc96bb135.zip
Simplify configure.ac and makefile.am files
Remove unnecessary cruft, that was only making things harder to read.
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.am26
1 files changed, 5 insertions, 21 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index a725b52..95b85b3 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -1,25 +1,9 @@
-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@
+all-local:
+ @APXS@ -c ${LIBS} ${CFLAGS} mod_auth_gssapi.c
-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
-
-lib_LTLIBRARIES = mod_auth_gssapi.la
-
-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