summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChun-wei Fan <fanchunwei@src.gnome.org>2015-10-16 12:49:18 +0800
committerDan Nicholson <dbn.lists@gmail.com>2015-10-26 09:15:53 -0700
commit56061ef3efdb74c04a852af1cce44df501438a2b (patch)
tree7b272030cba96f3ab3700d0e5a822cd20979f774
parentdd57ff354732b1caa181bf92f811e30304bb02a6 (diff)
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.
-rw-r--r--Makefile.am10
-rw-r--r--Makefile.sources8
2 files changed, 10 insertions, 8 deletions
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)
diff --git a/Makefile.sources b/Makefile.sources
new file mode 100644
index 0000000..62a3f41
--- /dev/null
+++ b/Makefile.sources
@@ -0,0 +1,8 @@
+pkg_config_SOURCES = \
+ pkg.h \
+ pkg.c \
+ parse.h \
+ parse.c \
+ rpmvercmp.c \
+ rpmvercmp.h \
+ main.c