## ## Makefile.am -- generates the Makefile.in ## ## (c) 2000 Dr. Andreas Mueller, Beratung und Entwicklung ## ## $Id: Makefile.am,v 1.10 2004/03/21 23:25:53 afm Exp $ ## VERSION = @VERSION@ EXTRA_DIST = mod_clamav.css message.conf safepatterns.conf sample.conf # the used tools APXS = @APXS@ SHAREDFLAG = @SHAREDFLAG@ # additional user defines, includes and libraries DEF= @DEFS@ INC = @CPPFLAGS@ LIB = @LIBS@ AM_CFLAGS = @CFLAGS@ # the default target lib_LTLIBRARIES = mod_clamav.la # compile the DSO file # MODULESOURCES = mod_clamav.c mod_clamav_la_SOURCES = $(MODULESOURCES) mod_clamav_la_LDFLAGS = -module `${APXS} -q LDFLAGS_SHLIB` mod_clamav_la_CPPFLAGS = -I`${APXS} -q INCLUDEDIR` mod_clamav_la_CFLAGS = `${APXS} -q CFLAGS_SHLIB` CC = `${APXS} -q CC` # install the DSO file into the Apache installation # and activate it in the Apache configuration install-exec-local: all $(APXS) -i -a -n 'clamav' .libs/mod_clamav.so # no need to install mod_clamav.so as a standard shared library install-libLTLIBRARIES: all # no need to uninstall mod_clamav.so as a standard shared library uninstall-libLTLIBRARIES: all