mirror of
https://gitlab.freedesktop.org/pkg-config/pkg-config.git
synced 2025-12-20 04:20:04 +01:00
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.
This commit is contained in:
parent
dd57ff3547
commit
56061ef3ef
2 changed files with 10 additions and 8 deletions
10
Makefile.am
10
Makefile.am
|
|
@ -29,14 +29,8 @@ AM_CFLAGS = \
|
||||||
|
|
||||||
bin_PROGRAMS = pkg-config
|
bin_PROGRAMS = pkg-config
|
||||||
pkg_config_LDADD = $(GLIB_LIBS)
|
pkg_config_LDADD = $(GLIB_LIBS)
|
||||||
pkg_config_SOURCES= \
|
|
||||||
pkg.h \
|
include Makefile.sources
|
||||||
pkg.c \
|
|
||||||
parse.h \
|
|
||||||
parse.c \
|
|
||||||
rpmvercmp.c \
|
|
||||||
rpmvercmp.h \
|
|
||||||
main.c
|
|
||||||
|
|
||||||
if HOST_TOOL
|
if HOST_TOOL
|
||||||
host_tool = $(host)-pkg-config$(EXEEXT)
|
host_tool = $(host)-pkg-config$(EXEEXT)
|
||||||
|
|
|
||||||
8
Makefile.sources
Normal file
8
Makefile.sources
Normal file
|
|
@ -0,0 +1,8 @@
|
||||||
|
pkg_config_SOURCES = \
|
||||||
|
pkg.h \
|
||||||
|
pkg.c \
|
||||||
|
parse.h \
|
||||||
|
parse.c \
|
||||||
|
rpmvercmp.c \
|
||||||
|
rpmvercmp.h \
|
||||||
|
main.c
|
||||||
Loading…
Add table
Reference in a new issue