1 SHAREDFLAG = @SHAREDFLAG@ 2 DEF= @DEFS@ 3 INC = @CPPFLAGS@ 4 LIB = @LIBS@ 5 AM_CFLAGS = @CFLAGS@ 6 MODULESOURCES = mod_defensible.c 7 8 lib_LTLIBRARIES = mod_defensible.la 9 10 mod_defensible_la_SOURCES = $(MODULESOURCES) 11 mod_defensible_la_LDFLAGS = -module `${APXS2} -q LDFLAGS_SHLIB` 12 mod_defensible_la_CPPFLAGS = -I`${APXS2} -q INCLUDEDIR` 13 mod_defensible_la_CFLAGS = -W -Wall `${APXS2} -q CFLAGS CFLAGS_SHLIB` 14 CC = `${APXS2} -q CC` 15 16 # install the DSO file into the Apache installation 17 # and activate it in the Apache configuration 18 install: all 19 $(APXS2) -i -a -n 'defensible' .libs/mod_defensible.so