2015-09-03 08:12:59 +00:00
|
|
|
libdir = @libdir@
|
|
|
|
datarootdir = @datarootdir@
|
|
|
|
datadir = @datadir@
|
|
|
|
includedir = @includedir@
|
|
|
|
system_includedir = @SYSTEM_INCLUDEDIR@
|
|
|
|
system_libdir = @SYSTEM_LIBDIR@
|
|
|
|
pkgconfigdir = @PKGCONFIGDIR@
|
|
|
|
|
2016-05-20 02:12:24 +00:00
|
|
|
AM_CFLAGS = -Wall -Wextra -Wformat=2 -std=gnu99 -DPKG_DEFAULT_PATH=\"$(pkgconfigdir)\" -DSYSTEM_INCLUDEDIR=\"$(system_includedir)\" -DSYSTEM_LIBDIR=\"$(system_libdir)\"
|
2015-09-03 08:12:59 +00:00
|
|
|
|
|
|
|
bin_PROGRAMS = pkgconf
|
2015-09-06 14:35:08 +00:00
|
|
|
lib_LTLIBRARIES = libpkgconf.la
|
2015-09-03 09:18:36 +00:00
|
|
|
|
2016-09-18 20:48:13 +00:00
|
|
|
EXTRA_DIST = pkg.m4 \
|
2015-09-03 09:18:36 +00:00
|
|
|
tests/lib1/argv-parse-2.pc \
|
|
|
|
tests/lib1/dos-lineendings.pc \
|
|
|
|
tests/lib1/paren-quoting.pc \
|
|
|
|
tests/lib1/argv-parse-3.pc \
|
|
|
|
tests/lib1/foo.pc \
|
|
|
|
tests/lib1/prefix-foo1.pc \
|
|
|
|
tests/lib1/argv-parse.pc \
|
|
|
|
tests/lib1/framework-1.pc \
|
|
|
|
tests/lib1/prefix-foo2.pc \
|
|
|
|
tests/lib1/bar.pc \
|
|
|
|
tests/lib1/framework-2.pc \
|
|
|
|
tests/lib1/private-libs-duplication.pc \
|
|
|
|
tests/lib1/baz.pc \
|
|
|
|
tests/lib1/incomplete.pc \
|
|
|
|
tests/lib1/quotes.pc \
|
|
|
|
tests/lib1/case-sensitivity.pc \
|
|
|
|
tests/lib1/intermediary-1.pc \
|
|
|
|
tests/lib1/static-archive-libs.pc \
|
|
|
|
tests/lib1/cflags-libs-only.pc \
|
|
|
|
tests/lib1/intermediary-2.pc \
|
|
|
|
tests/lib1/static-libs.pc \
|
|
|
|
tests/lib1/circular-1.pc \
|
|
|
|
tests/lib1/missing-require.pc \
|
|
|
|
tests/lib1/sysroot-dir.pc \
|
|
|
|
tests/lib1/circular-2.pc \
|
|
|
|
tests/lib1/multiline.pc \
|
|
|
|
tests/lib1/tilde-quoting.pc \
|
|
|
|
tests/lib1/circular-3.pc \
|
|
|
|
tests/lib1/no-trailing-newline.pc \
|
|
|
|
tests/lib1/tilde.pc \
|
|
|
|
tests/lib1/comments-in-fields.pc \
|
|
|
|
tests/lib1/nocflag.pc \
|
2015-12-07 23:11:22 +00:00
|
|
|
tests/lib1/typelibdir.pc \
|
2015-09-03 09:18:36 +00:00
|
|
|
tests/lib2/foo.pc \
|
|
|
|
tests/lib1/comments.pc \
|
|
|
|
tests/lib1/nolib.pc \
|
|
|
|
tests/lib3/bar.pc \
|
|
|
|
tests/lib1/conflicts.pc \
|
2016-05-19 22:20:40 +00:00
|
|
|
tests/lib1/omg-uninstalled.pc \
|
2016-05-19 22:37:27 +00:00
|
|
|
tests/lib1/isystem.pc \
|
2016-08-25 00:00:10 +00:00
|
|
|
tests/lib1/depgraph-break.pc \
|
2016-08-27 02:36:18 +00:00
|
|
|
tests/lib1/cflags-whitespace.pc \
|
2016-10-25 19:08:39 +00:00
|
|
|
tests/lib1/cflags-whitespace-trailing.pc \
|
2016-09-09 03:10:24 +00:00
|
|
|
tests/lib1/provides.pc \
|
2016-09-18 20:48:13 +00:00
|
|
|
tests/lib1/provides-request-simple.pc \
|
|
|
|
tests/test_env.sh \
|
|
|
|
$(test_scripts)
|
|
|
|
|
|
|
|
test_scripts= \
|
|
|
|
tests/basic.sh \
|
|
|
|
tests/builtins.sh \
|
|
|
|
tests/conflicts.sh \
|
|
|
|
tests/framework.sh \
|
|
|
|
tests/parser.sh \
|
|
|
|
tests/provides.sh \
|
|
|
|
tests/regress.sh \
|
|
|
|
tests/requires.sh \
|
|
|
|
tests/sysroot.sh \
|
|
|
|
tests/version.sh
|
|
|
|
|
|
|
|
check_SCRIPTS= $(test_scripts:.sh=)
|
|
|
|
|
|
|
|
SUFFIXES= .sh
|
2015-09-03 09:18:36 +00:00
|
|
|
|
2015-09-06 14:35:08 +00:00
|
|
|
pkginclude_HEADERS = libpkgconf/bsdstubs.h libpkgconf/iter.h libpkgconf/libpkgconf.h libpkgconf/stdinc.h
|
|
|
|
libpkgconf_la_SOURCES = \
|
2016-07-10 20:03:58 +00:00
|
|
|
libpkgconf/audit.c \
|
2015-09-06 14:35:08 +00:00
|
|
|
libpkgconf/cache.c \
|
2016-12-01 21:05:03 +00:00
|
|
|
libpkgconf/client.c \
|
2015-09-06 14:35:08 +00:00
|
|
|
libpkgconf/pkg.c \
|
|
|
|
libpkgconf/bsdstubs.c \
|
|
|
|
libpkgconf/fragment.c \
|
|
|
|
libpkgconf/argvsplit.c \
|
|
|
|
libpkgconf/fileio.c \
|
|
|
|
libpkgconf/tuple.c \
|
|
|
|
libpkgconf/dependency.c \
|
2016-12-01 04:15:13 +00:00
|
|
|
libpkgconf/queue.c \
|
|
|
|
libpkgconf/path.c
|
2016-12-02 06:55:23 +00:00
|
|
|
libpkgconf_la_LDFLAGS = -version-info 2:0:0
|
2015-09-06 17:17:19 +00:00
|
|
|
# -export-symbols-regex '^pkgconf_'
|
2015-09-06 14:35:08 +00:00
|
|
|
|
2015-09-12 19:32:06 +00:00
|
|
|
dist_man_MANS = pkgconf.1
|
2015-09-06 14:35:08 +00:00
|
|
|
pkgconf_LDADD = libpkgconf.la
|
|
|
|
pkgconf_SOURCES = main.c getopt_long.c
|
2015-09-06 14:41:34 +00:00
|
|
|
noinst_HEADERS = getopt_long.h
|
2015-09-03 08:12:59 +00:00
|
|
|
|
|
|
|
dist_doc_DATA = README.md AUTHORS
|
|
|
|
|
2015-09-12 19:28:03 +00:00
|
|
|
m4datadir = $(datadir)/aclocal
|
|
|
|
m4data_DATA = pkg.m4
|
|
|
|
|
2016-09-18 20:48:13 +00:00
|
|
|
CLEANFILES = $(EXTRA_PROGRAMS) \
|
|
|
|
$(check_SCRIPTS)
|
|
|
|
|
|
|
|
check: pkgconf $(check_SCRIPTS)
|
|
|
|
kyua --config=none test --kyuafile='$(top_builddir)/Kyuafile' \
|
|
|
|
--build-root='$(top_builddir)'
|
2015-09-11 16:01:44 +00:00
|
|
|
|
2016-09-18 20:48:13 +00:00
|
|
|
.sh:
|
|
|
|
install -m 755 $< $@
|