X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=Makefile.am;h=c63893fe6727945b946db37e486b2338e96dc7e4;hb=c6557cb8950f50a41a1decfb34439b060e2fd371;hp=b52b0e9309da9fe889237f70034039e231b18928;hpb=c999f7e40b0e9ce8f5fd4eb2042d6f3adbd6ce1e;p=collectd.git diff --git a/Makefile.am b/Makefile.am index b52b0e93..c63893fe 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,6 +1,14 @@ -SUBDIRS = libltdl src bindings +ACLOCAL_AMFLAGS = -I libltdl/m4 -INCLUDES = $(LTDLINCL) +SUBDIRS = + +if BUILD_INCLUDED_LTDL +SUBDIRS += libltdl +endif + +SUBDIRS += proto src bindings . + +AM_CPPFLAGS = $(LTDLINCL) EXTRA_DIST = contrib version-gen.sh @@ -8,3 +16,8 @@ install-exec-hook: $(mkinstalldirs) $(DESTDIR)$(localstatedir)/run $(mkinstalldirs) $(DESTDIR)$(localstatedir)/lib/$(PACKAGE_NAME) $(mkinstalldirs) $(DESTDIR)$(localstatedir)/log + +maintainer-clean-local: + -rm -f -r libltdl + -rm -f INSTALL + -rm -f aclocal.m4