X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=Makefile.am;h=c63893fe6727945b946db37e486b2338e96dc7e4;hb=42ca41a0798e3a2b742f7da3bacc03fbaf6175fa;hp=9e3feac406f152d79e8a0df5ff3fc47367137012;hpb=509f73e3155ffc8998a2c600384f070f3ffc253e;p=collectd.git diff --git a/Makefile.am b/Makefile.am index 9e3feac4..c63893fe 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,8 +1,14 @@ ACLOCAL_AMFLAGS = -I libltdl/m4 -SUBDIRS = libltdl src bindings +SUBDIRS = -INCLUDES = $(LTDLINCL) +if BUILD_INCLUDED_LTDL +SUBDIRS += libltdl +endif + +SUBDIRS += proto src bindings . + +AM_CPPFLAGS = $(LTDLINCL) EXTRA_DIST = contrib version-gen.sh @@ -10,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