diff options
author | Simo Sorce <simo@redhat.com> | 2014-09-11 17:01:26 -0400 |
---|---|---|
committer | Simo Sorce <simo@redhat.com> | 2014-09-11 17:01:26 -0400 |
commit | e3d818c06bf103a6121e3f3198d70e60b60cd454 (patch) | |
tree | f45bb68c04c549bbc495231c5b06f70ce1b5ce81 /src | |
parent | 3f74c69e8b1b47584818dfc44a64d69ecaabb0eb (diff) | |
download | mod_auth_gssapi-e3d818c06bf103a6121e3f3198d70e60b60cd454.tar.gz mod_auth_gssapi-e3d818c06bf103a6121e3f3198d70e60b60cd454.tar.xz mod_auth_gssapi-e3d818c06bf103a6121e3f3198d70e60b60cd454.zip |
Change the modules build process
USe automake directives to directly invoke the apxs favored libtool,
and use APXS only to perform the final install.
Fixes #4
Diffstat (limited to 'src')
-rw-r--r-- | src/Makefile.am | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/src/Makefile.am b/src/Makefile.am index 9fac277..01a1220 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -1,7 +1,18 @@ -EXTRA_DIST = mod_auth_gssapi.c sessions.c crypto.c mod_auth_gssapi.h sessions.h crypto.h +magdir = $(MAG_LIBDIR) +mag_LTLIBRARIES = \ + mod_auth_gssapi.la -all-local: - @APXS@ -c ${LIBS} mod_auth_gssapi.c sessions.c crypto.c +dist_noinst_HEADERS = \ + mod_auth_gssapi.h crypto.h sessions.h + +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 install-exec-local: if test ! -d ${APXS_LIBEXECDIR}; then mkdir -p ${APXS_LIBEXECDIR}; fi |