X-Git-Url: http://git.home-dn.net/?p=manu%2Fsuphp.git;a=blobdiff_plain;f=src%2Fapache2%2FMakefile.am;fp=src%2Fapache2%2FMakefile.am;h=6a594d5b6308041517995bbfc5c32ea8c4a03ba6;hp=0000000000000000000000000000000000000000;hb=873afb00229b8e205345b6895eaad6602d5e10f4;hpb=728a5b3f000f892e52ecea98fcc8f0c5d7275b7b diff --git a/src/apache2/Makefile.am b/src/apache2/Makefile.am new file mode 100644 index 0000000..6a594d5 --- /dev/null +++ b/src/apache2/Makefile.am @@ -0,0 +1,15 @@ +if COND_APUSERGROUP + DEFINE_USERGROUP = -DSUPHP_USE_USERGROUP +endif + +AM_CFLAGS=-I@APXS_INCLUDEDIR@ @APXS_EXTRA_CFLAGS@ +AM_CFLAGS+=-DSUPHP_PATH_TO_SUPHP=\"${sbindir}/suphp\" $(DEFINE_USERGROUP) + +noinst_LTLIBRARIES = mod_suphp.la +mod_suphp_la_SOURCES = mod_suphp.c + +mod_suphp_la_LDFLAGS = -module -rpath '@APXS_LIBEXECDIR@' + +install-data-local: + ${INSTALL_SCRIPT} -d ${DESTDIR}'@APXS_LIBEXECDIR@' + ${INSTALL_SCRIPT} -m 0755 .libs/mod_suphp.so ${DESTDIR}'@APXS_LIBEXECDIR@'/mod_suphp.so