| 1 |
|
| 2 |
include $(top_srcdir)/ganglia.inc |
| 3 |
|
| 4 |
AM_CFLAGS = -D_LARGEFILE64_SOURCE -I$(top_builddir)/include -I$(top_builddir)/lib |
| 5 |
|
| 6 |
if STATIC_BUILD |
| 7 |
noinst_LTLIBRARIES = libmodperl.la |
| 8 |
libmodperl_la_SOURCES = mod_perl.c |
| 9 |
libmodperl_la_LDFLAGS = -export-all-symbols |
| 10 |
else |
| 11 |
pkglib_LTLIBRARIES = modperl.la |
| 12 |
modperl_la_SOURCES = mod_perl.c |
| 13 |
#modperl_la_CFLAGS = @PERL_CFLAGS@ |
| 14 |
modperl_la_LDFLAGS = -module -avoid-version @PERL_LDFLAGS@ |
| 15 |
|
| 16 |
EXTRA_DIST = README.in ../conf.d/modperl.conf.in |
| 17 |
endif |
| 18 |
|
| 19 |
README: README.in $(FIXCONFIG) |
| 20 |
$(FIXCONFIG) README.in |
| 21 |
|
| 22 |
../conf.d/modperl.conf: ../conf.d/modperl.conf.in $(FIXCONFIG) |
| 23 |
$(FIXCONFIG) ../conf.d/modperl.conf.in |
| 24 |
|
| 25 |
# Note that README is listed as a dependency to be generated, but it |
| 26 |
# is not currently installed anywhere |
| 27 |
install-exec-hook: ../conf.d/modperl.conf README |
| 28 |
mkdir -p $(DESTDIR)$(sysconfdir)/conf.d && \ |
| 29 |
$(INSTALL_DATA) ../conf.d/modperl.conf $(DESTDIR)$(sysconfdir)/conf.d/modperl.conf |
| 30 |
|
| 31 |
INCLUDES = @APR_INCLUDES@ @PERL_INCLUDES@ |