From 56061ef3efdb74c04a852af1cce44df501438a2b Mon Sep 17 00:00:00 2001 From: Chun-wei Fan Date: Fri, 16 Oct 2015 12:49:18 +0800 Subject: build: Split Out Source Listing Move the source listing into another Makefile module so that it can be shared with other Makefile-based build mechanisms. --- Makefile.am | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index e46c798..be35ee2 100644 --- a/Makefile.am +++ b/Makefile.am @@ -29,14 +29,8 @@ AM_CFLAGS = \ bin_PROGRAMS = pkg-config pkg_config_LDADD = $(GLIB_LIBS) -pkg_config_SOURCES= \ - pkg.h \ - pkg.c \ - parse.h \ - parse.c \ - rpmvercmp.c \ - rpmvercmp.h \ - main.c + +include Makefile.sources if HOST_TOOL host_tool = $(host)-pkg-config$(EXEEXT) -- cgit v1.2.1