Imported Upstream version 0.7.1
[hcoop/zz_old/debian/suphp.git] / src / apache2 / Makefile.am
1 if COND_APUSERGROUP
2 DEFINE_USERGROUP = -DSUPHP_USE_USERGROUP
3 endif
4
5 AM_CFLAGS=-I@APXS_INCLUDEDIR@ -I@APR_INCLUDEDIR@ @APXS_EXTRA_CFLAGS@
6 AM_CFLAGS+=-DSUPHP_PATH_TO_SUPHP=\"${sbindir}/suphp\" $(DEFINE_USERGROUP)
7
8 AM_CPPFLAGS=@APR_CPPFLAGS@
9
10 noinst_LTLIBRARIES = mod_suphp.la
11 mod_suphp_la_SOURCES = mod_suphp.c
12
13 mod_suphp_la_LDFLAGS = -module -rpath '@APXS_LIBEXECDIR@'
14
15 install-data-local:
16 ${INSTALL_SCRIPT} -d ${DESTDIR}'@APXS_LIBEXECDIR@'
17 ${INSTALL_SCRIPT} -m 0755 .libs/mod_suphp.so ${DESTDIR}'@APXS_LIBEXECDIR@'/mod_suphp.so