2015-09-03 08:12:59 +00:00
|
|
|
libdir = @libdir@
|
|
|
|
datarootdir = @datarootdir@
|
|
|
|
datadir = @datadir@
|
|
|
|
includedir = @includedir@
|
|
|
|
system_includedir = @SYSTEM_INCLUDEDIR@
|
|
|
|
system_libdir = @SYSTEM_LIBDIR@
|
2017-06-24 17:45:44 +00:00
|
|
|
pkg_default_dir = @PKG_DEFAULT_PATH@
|
2018-05-10 00:27:53 +00:00
|
|
|
personality_dir = @PERSONALITY_PATH@
|
2016-12-14 07:30:41 +00:00
|
|
|
pkgconfigdir = $(libdir)/pkgconfig
|
|
|
|
nodist_pkgconfig_DATA = libpkgconf.pc
|
2015-09-03 08:12:59 +00:00
|
|
|
|
2018-05-10 00:27:53 +00:00
|
|
|
AM_CFLAGS = -DPERSONALITY_PATH=\"$(personality_dir)\" -DPKG_DEFAULT_PATH=\"$(pkg_default_dir)\" -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 \
|
2019-07-12 13:31:21 +00:00
|
|
|
meson.build \
|
2020-05-25 11:56:05 +00:00
|
|
|
meson_options.txt \
|
|
|
|
libpkgconf/meson.build \
|
|
|
|
libpkgconf/config.h.meson \
|
2017-06-17 02:26:23 +00:00
|
|
|
libpkgconf/win-dirent.h \
|
2017-01-20 06:58:48 +00:00
|
|
|
tests/lib-relocatable/lib/pkgconfig/foo.pc \
|
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 \
|
2018-06-16 21:35:19 +00:00
|
|
|
tests/lib1/multiline-bogus.pc \
|
2015-09-03 09:18:36 +00:00
|
|
|
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 \
|
2022-07-26 18:03:15 +00:00
|
|
|
tests/lib1/omg-sysroot-uninstalled.pc \
|
2016-05-19 22:37:27 +00:00
|
|
|
tests/lib1/isystem.pc \
|
2016-12-30 08:47:42 +00:00
|
|
|
tests/lib1/idirafter.pc \
|
2016-12-31 02:25:02 +00:00
|
|
|
tests/lib1/idirafter-ordering.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 \
|
2016-12-30 18:45:29 +00:00
|
|
|
tests/lib1/flag-order-1.pc \
|
|
|
|
tests/lib1/flag-order-3.pc \
|
2017-01-26 18:55:48 +00:00
|
|
|
tests/lib1/variable-whitespace.pc \
|
2017-05-05 06:40:09 +00:00
|
|
|
tests/lib1/fragment-collision.pc \
|
|
|
|
tests/lib1/fragment-collision-intermediary.pc \
|
|
|
|
tests/lib1/fragment-collision-1.pc \
|
|
|
|
tests/lib1/fragment-collision-2.pc \
|
2021-03-18 13:03:28 +00:00
|
|
|
tests/lib1/fragment-comment.pc \
|
2017-12-15 04:13:19 +00:00
|
|
|
tests/lib1/fragment-escaping-1.pc \
|
|
|
|
tests/lib1/fragment-escaping-2.pc \
|
|
|
|
tests/lib1/fragment-escaping-3.pc \
|
2017-02-03 18:58:11 +00:00
|
|
|
tests/lib1/fragment-quoting.pc \
|
2017-02-07 16:24:54 +00:00
|
|
|
tests/lib1/fragment-quoting-2.pc \
|
|
|
|
tests/lib1/fragment-quoting-3.pc \
|
2017-02-25 19:57:38 +00:00
|
|
|
tests/lib1/fragment-quoting-5.pc \
|
2017-03-29 21:58:04 +00:00
|
|
|
tests/lib1/fragment-quoting-7.pc \
|
2017-05-20 04:43:47 +00:00
|
|
|
tests/lib1/malformed-1.pc \
|
2017-09-20 02:35:18 +00:00
|
|
|
tests/lib1/malformed-quoting.pc \
|
2019-07-12 11:15:35 +00:00
|
|
|
tests/lib1/malformed-version.pc \
|
2017-07-16 22:33:42 +00:00
|
|
|
tests/lib1/explicit-sysroot.pc \
|
2017-09-24 19:22:56 +00:00
|
|
|
tests/lib1/escaped-backslash.pc \
|
2018-03-18 23:00:04 +00:00
|
|
|
tests/lib1/cflags-internal.pc \
|
|
|
|
tests/lib1/requires-internal.pc \
|
|
|
|
tests/lib1/requires-internal-2.pc \
|
|
|
|
tests/lib1/requires-internal-missing.pc \
|
2018-03-19 00:03:18 +00:00
|
|
|
tests/lib1/requires-internal-collision.pc \
|
2018-06-14 20:31:00 +00:00
|
|
|
tests/lib1/tuple-quoting.pc \
|
2018-07-29 00:45:57 +00:00
|
|
|
tests/lib1/empty-tuple.pc \
|
2019-01-14 20:04:50 +00:00
|
|
|
tests/lib1/orphaned-requires-private.pc \
|
2022-06-26 19:21:52 +00:00
|
|
|
tests/lib1/sysroot-dir-2.pc \
|
|
|
|
tests/lib1/sysroot-dir-3.pc \
|
2022-06-26 19:34:39 +00:00
|
|
|
tests/lib1/sysroot-dir-4.pc \
|
|
|
|
tests/lib1/sysroot-dir-5.pc \
|
2016-12-16 17:32:15 +00:00
|
|
|
$(test_scripts) \
|
|
|
|
doc/conf.py \
|
|
|
|
doc/extract.py \
|
|
|
|
doc/index.rst \
|
|
|
|
doc/libpkgconf.rst \
|
|
|
|
doc/libpkgconf-argvsplit.rst \
|
|
|
|
doc/libpkgconf-audit.rst \
|
|
|
|
doc/libpkgconf-cache.rst \
|
|
|
|
doc/libpkgconf-client.rst \
|
|
|
|
doc/libpkgconf-dependency.rst \
|
|
|
|
doc/libpkgconf-fragment.rst \
|
|
|
|
doc/libpkgconf-path.rst \
|
|
|
|
doc/libpkgconf-pkg.rst \
|
|
|
|
doc/libpkgconf-queue.rst \
|
|
|
|
doc/libpkgconf-tuple.rst
|
2016-09-18 20:48:13 +00:00
|
|
|
|
2019-07-12 13:31:21 +00:00
|
|
|
test_scripts= tests/meson.build \
|
2016-09-18 20:48:13 +00:00
|
|
|
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
|
|
|
|
2017-06-17 02:25:44 +00:00
|
|
|
nobase_pkginclude_HEADERS = libpkgconf/bsdstubs.h libpkgconf/iter.h libpkgconf/libpkgconf.h libpkgconf/stdinc.h libpkgconf/libpkgconf-api.h
|
2015-09-06 14:35:08 +00:00
|
|
|
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 \
|
2018-05-09 21:54:21 +00:00
|
|
|
libpkgconf/path.c \
|
2018-05-10 02:21:39 +00:00
|
|
|
libpkgconf/personality.c \
|
|
|
|
libpkgconf/parser.c
|
2018-01-05 17:18:19 +00:00
|
|
|
libpkgconf_la_LDFLAGS = -no-undefined -version-info 3:0:0 -export-symbols-regex '^pkgconf_'
|
2015-09-06 14:35:08 +00:00
|
|
|
|
2017-12-06 00:45:06 +00:00
|
|
|
dist_man_MANS = \
|
2017-12-06 01:47:11 +00:00
|
|
|
man/pkgconf.1 \
|
2017-12-16 00:53:59 +00:00
|
|
|
man/pkg.m4.7 \
|
2018-07-19 22:27:02 +00:00
|
|
|
man/pc.5 \
|
|
|
|
man/pkgconf-personality.5
|
2017-12-06 00:45:06 +00:00
|
|
|
|
2015-09-06 14:35:08 +00:00
|
|
|
pkgconf_LDADD = libpkgconf.la
|
2018-02-12 06:42:27 +00:00
|
|
|
pkgconf_SOURCES = \
|
|
|
|
cli/main.c \
|
|
|
|
cli/getopt_long.c \
|
|
|
|
cli/renderer-msvc.c
|
|
|
|
pkgconf_CPPFLAGS = -Ilibpkgconf -Icli
|
|
|
|
noinst_HEADERS = \
|
|
|
|
cli/getopt_long.h \
|
|
|
|
cli/renderer-msvc.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 $< $@
|