xref: /freebsd/contrib/pkgconf/Makefile.am (revision 592efe252472a3385acf36b1f49ecf710a7f3d9c)
1libdir                 = @libdir@
2datarootdir            = @datarootdir@
3datadir                = @datadir@
4includedir             = @includedir@
5system_includedir      = @SYSTEM_INCLUDEDIR@
6system_libdir          = @SYSTEM_LIBDIR@
7pkg_default_dir        = @PKG_DEFAULT_PATH@
8personality_dir        = @PERSONALITY_PATH@
9pkgconfigdir           = $(libdir)/pkgconfig
10nodist_pkgconfig_DATA  = libpkgconf.pc
11
12ACLOCAL_AMFLAGS = -I m4
13AM_CFLAGS = -DPERSONALITY_PATH=\"$(personality_dir)\" -DPKG_DEFAULT_PATH=\"$(pkg_default_dir)\" -DSYSTEM_INCLUDEDIR=\"$(system_includedir)\" -DSYSTEM_LIBDIR=\"$(system_libdir)\"
14
15bin_PROGRAMS = pkgconf bomtool spdxtool
16lib_LTLIBRARIES = libpkgconf.la
17
18EXTRA_DIST =	pkg.m4 \
19		meson.build \
20		meson_options.txt \
21		pkgconf.wxs.in \
22		txt2rtf.py \
23		libpkgconf/meson.build \
24		libpkgconf/config.h.meson \
25		libpkgconf/win-dirent.h \
26		t/cli/about.test \
27		t/cli/atleast-pkgconfig-version-fail.test \
28		t/cli/atleast-pkgconfig-version-pass.test \
29		t/cli/atleast-version-fail.test \
30		t/cli/atleast-version-inline-constraint.test \
31		t/cli/atleast-version-inline-overrides.test \
32		t/cli/atleast-version-pass.test \
33		t/cli/cflags-libs.test \
34		t/cli/debug.test \
35		t/cli/define-variable.test \
36		t/cli/dont-define-prefix.test \
37		t/cli/dump-personality-loaded.test \
38		t/cli/dump-personality.test \
39		t/cli/env-allow-system-cflags-default.test \
40		t/cli/env-allow-system-cflags.test \
41		t/cli/env-allow-system-libs-default.test \
42		t/cli/env-allow-system-libs.test \
43		t/cli/env-dont-relocate-paths.test \
44		t/cli/env-early-trace.test \
45		t/cli/env-log.test \
46		t/cli/env-maximum-traverse-depth.test \
47		t/cli/env-msvc-syntax.test \
48		t/cli/env-only.test \
49		t/cli/env-top-build-dir.test \
50		t/cli/env.test \
51		t/cli/exact-version-fail.test \
52		t/cli/exact-version-inline-constraint.test \
53		t/cli/exact-version-inline-overrides.test \
54		t/cli/exact-version-pass.test \
55		t/cli/exists-missing.test \
56		t/cli/exists-valid.test \
57		t/cli/fragment-filter.test \
58		t/cli/help.test \
59		t/cli/internal-cflags.test \
60		t/cli/keep-system-cflags-flag.test \
61		t/cli/keep-system-libs-flag.test \
62		t/cli/list-package-names.test \
63		t/cli/log-file.test \
64		t/cli/max-version-fail.test \
65		t/cli/max-version-inline-constraint.test \
66		t/cli/max-version-inline-overrides.test \
67		t/cli/max-version-pass.test \
68		t/cli/maximum-traverse-depth.test \
69		t/cli/missing-package.test \
70		t/cli/missing-package-error.test \
71		t/cli/modversion.test \
72		t/cli/no-arguments.test \
73		t/cli/no-cache.test \
74		t/cli/no-provides.test \
75		t/cli/no-uninstalled.test \
76		t/cli/path.test \
77		t/cli/personality.test \
78		t/cli/prefix-variable.test \
79		t/cli/print-provides.test \
80		t/cli/print-requires-private.test \
81		t/cli/print-requires.test \
82		t/cli/print-variables.test \
83		t/cli/shared.test \
84		t/cli/short-errors.test \
85		t/cli/silence-errors.test \
86		t/cli/simulate.test \
87		t/cli/solution.test \
88		t/cli/unknown-option.test \
89		t/cli/validate-warning.test \
90		t/cli/validate.test \
91		t/cli/variable.test \
92		t/cli/verbose.test \
93		t/cli/version.test \
94		t/cli/with-path.test \
95		t/basic/arbitrary-path.test \
96		t/basic/builtin-pkg-config-exists.test \
97		t/basic/builtin-pkg-config-pc_path-variable.test \
98		t/basic/builtin-pkgconf-exists.test \
99		t/basic/builtin-pkgconf-pc_path-variable.test \
100		t/basic/cflags-shared.test \
101		t/basic/cflags-shared-static.test \
102		t/basic/define-prefix.test \
103		t/basic/define-prefix-child-prefix-env.test \
104		t/basic/define-prefix-child-prefix.test \
105		t/basic/direct-query-with-pkg_config_path.test \
106		t/basic/env-tuple.test \
107		t/basic/exists-cflags-env.test \
108		t/basic/exists-cflags.test \
109		t/basic/exists-nonexistent.test \
110		t/basic/exists-version-greater-than-with-tilde.test \
111		t/basic/exists-version-greater-than.test \
112		t/basic/exists-version-less-than-with-tilde.test \
113		t/basic/exists-version-malformed.test \
114		t/basic/exists-version-minimum.test \
115		t/basic/exists-version-with-tilde.test \
116		t/basic/incomplete-cflags.test \
117		t/basic/incomplete-libs.test \
118		t/basic/keep-system-libs.test \
119		t/basic/keep-system-libs-2.test \
120		t/basic/libs.test \
121		t/basic/libs-cflags.test \
122		t/basic/libs-cflags-version.test \
123		t/basic/libs-cflags-version-multiple.test \
124		t/basic/libs-cflags-version-multiple-comma.test \
125		t/basic/libs-cflags-version-not.test \
126		t/basic/libs-cflags-version-not-provided.test \
127		t/basic/libs-env.test \
128		t/basic/libs-only.test \
129		t/basic/libs-shared.test \
130		t/basic/libs-shared-static.test \
131		t/basic/malformed-empty-package.test \
132		t/basic/modversion-fullpath.test \
133		t/basic/modversion-noflatten.test \
134		t/basic/modversion-uninstalled.test \
135		t/basic/modversion-verbose-prefix.test \
136		t/basic/noargs.test \
137		t/basic/nocflags.test \
138		t/basic/nolibs.test \
139		t/basic/pkg-config-path.test \
140		t/basic/print-variables-env.test \
141		t/basic/requires-shared.test \
142		t/basic/requires-shared-static.test \
143		t/basic/single-depth-selectors.test \
144		t/basic/static-archive-libs.test \
145		t/basic/uninstalled-not.test \
146		t/basic/uninstalled.test \
147		t/basic/variable-env.test \
148		t/basic/variable-no-recursion.test \
149		t/basic/variable.test \
150		t/basic/version-atleast-1.test \
151		t/basic/version-atleast-2.test \
152		t/basic/version-exact-1.test \
153		t/basic/version-exact-2.test \
154		t/basic/version-max-1.test \
155		t/basic/version-max-2.test \
156		t/ordering/cflags-never-mergeback.test \
157		t/ordering/cflags-only.test \
158		t/ordering/flag-order-1.test \
159		t/ordering/flag-order-2.test \
160		t/ordering/flag-order-3.test \
161		t/ordering/flag-order-4.test \
162		t/ordering/fragment-collision.test \
163		t/ordering/framework-1.test \
164		t/ordering/framework-2.test \
165		t/ordering/framework-3.test \
166		t/ordering/idirafter-munge-ordering.test \
167		t/ordering/idirafter-ordering.test \
168		t/ordering/isystem-munge-ordering.test \
169		t/ordering/libs-never-mergeback.test \
170		t/parser/argv-parse-1.test \
171		t/parser/argv-parse-2.test \
172		t/parser/argv-parse-3.test \
173		t/parser/c-comments-should-warn.test \
174		t/parser/comments-in-fields.test \
175		t/parser/comments.test \
176		t/parser/dollar-sign-escape.test \
177		t/parser/dollar-sign-escape-2.test \
178		t/parser/dos-lineendings.test \
179		t/parser/escaped-backslashes-in-output.test \
180		t/parser/fragment-comment.test \
181		t/parser/fragment-escaping-1.test \
182		t/parser/fragment-escaping-2.test \
183		t/parser/fragment-escaping-3.test \
184		t/parser/fragment-groups-composite.test \
185		t/parser/fragment-groups.test \
186		t/parser/fragment-quoting-2.test \
187		t/parser/fragment-quoting-3.test \
188		t/parser/fragment-quoting-5.test \
189		t/parser/fragment-quoting-7.test \
190		t/parser/fragment-quoting.test \
191		t/parser/fragment-tree.test \
192		t/parser/framework-with-libs.test \
193		t/parser/malformed-no-newlines.test \
194		t/parser/malformed-quoting.test \
195		t/parser/msvc-fragment-quoting.test \
196		t/parser/msvc-fragment-render-cflags.test \
197		t/parser/multiline-bogus-header.test \
198		t/parser/multiline-field.test \
199		t/parser/multiline-folding-cflags.test \
200		t/parser/multiline-folding-libs.test \
201		t/parser/no-trailing-newline.test \
202		t/parser/paren-quoting.test \
203		t/parser/shell-quoted-output.test \
204		t/parser/tilde-quoting-1.test \
205		t/parser/tilde-quoting-2.test \
206		t/parser/truncated-files-should-fail-to-parse.test \
207		t/parser/tuple-dequote.test \
208		t/parser/variable-fragment-expansion.test \
209		t/parser/variable-whitespace.test \
210		t/parser/version-with-whitespace-2.test \
211		t/parser/version-with-whitespace-diagnostic.test \
212		t/parser/version-with-whitespace.test \
213		t/personality/dump-personality.test \
214		t/personality/pc-path-var.test \
215		t/personality/pc-system-includedirs.test \
216		t/personality/pc-system-libdirs.test \
217		t/solver/circular-reference-1.test \
218		t/solver/circular-reference-2.test \
219		t/solver/circular-reference-directpc.test \
220		t/solver/compound-foo-metapackage-3.test \
221		t/solver/conflicts-solution-error.test \
222		t/solver/conflicts-solution-ignore.test \
223		t/solver/conflicts-solution-is-fine-standalone.test \
224		t/solver/depgraph-break-1.test \
225		t/solver/depgraph-break-2.test \
226		t/solver/depgraph-break-3.test \
227		t/solver/libs-intermediary.test \
228		t/solver/libs-metapackage.test \
229		t/solver/libs-static-ordering.test \
230		t/solver/missing-required-dep.test \
231		t/solver/modversion-provides.test \
232		t/solver/private-libs-duplication-digraph.test \
233		t/solver/private-libs-duplication.test \
234		t/solver/provides-bar-any.test \
235		t/solver/provides-bar-versioned-equal.test \
236		t/solver/provides-bar-versioned-greater-than-equal.test \
237		t/solver/provides-bar-versioned-greater-than.test \
238		t/solver/provides-bar-versioned-less-than-equal.test \
239		t/solver/provides-bar-versioned-less-than-new.test \
240		t/solver/provides-bar-versioned-less-than-old.test \
241		t/solver/provides-bar-versioned-not-equal-old.test \
242		t/solver/provides-bar-versioned-not-equal.test \
243		t/solver/provides-foo-any.test \
244		t/solver/provides-foo-versioned-exact.test \
245		t/solver/provides-foo-versioned-greater-than-equal.test \
246		t/solver/provides-foo-versioned-greater-than.test \
247		t/solver/provides-foo-versioned-less-than-equal.test \
248		t/solver/provides-foo-versioned-less-than.test \
249		t/solver/provides-foo-versioned-not-equal.test \
250		t/solver/provides-indirect-dependency-versioned.test \
251		t/solver/provides-indirect-dependency.test \
252		t/solver/provides-print-simple.test \
253		t/solver/provides-request-simple.test \
254		t/solver/provides-request-simple-no-provides.test \
255		t/solver/query-no-space-0.test \
256		t/solver/query-no-space-1.test \
257		t/solver/query-order-1.test \
258		t/solver/query-order-2.test \
259		t/solver/requires-cflags-libs-private-1.test \
260		t/solver/requires-cflags-libs-private-2.test \
261		t/solver/requires-internal-collision.test \
262		t/solver/requires-internal-missing-nonstatic-cflags-libs.test \
263		t/solver/requires-internal-missing-nonstatic.test \
264		t/solver/requires-internal-missing-static-cflags.test \
265		t/solver/requires-internal-missing.test \
266		t/solver/requires-internal.test \
267		t/solver/requires-libs-cflags.test \
268		t/solver/requires-libs-static-2.test \
269		t/solver/requires-libs-static-pure.test \
270		t/solver/requires-libs-static.test \
271		t/solver/requires-libs.test \
272		t/solver/requires-private-debounce.test \
273		t/solver/requires-private-missing.test \
274		t/solver/requires-static-cflags.test \
275		t/bomtool/about.test \
276		t/bomtool/bad-output.test \
277		t/bomtool/basic.test \
278		t/bomtool/default-time.test \
279		t/bomtool/define-variable.test \
280		t/bomtool/define-variable-with-dependency.test \
281		t/bomtool/help.test \
282		t/bomtool/meta-package.test \
283		t/bomtool/multiple-packages.test \
284		t/bomtool/no-license.test \
285		t/bomtool/output-file.test \
286		t/bomtool/package-whitespace.test \
287		t/bomtool/private-dependency.test \
288		t/bomtool/source-date-epoch.test \
289		t/bomtool/source-date-epoch-precedence.test \
290		t/bomtool/special-chars.test \
291		t/bomtool/unknown-option.test \
292		t/bomtool/unknown-package.test \
293		t/bomtool/version.test \
294		t/bomtool/version-operator.test \
295		t/bomtool/with-dependency.test \
296		t/spdxtool/about.test \
297		t/spdxtool/agent-name.test \
298		t/spdxtool/agent-name-space.test \
299		t/spdxtool/bad-output.test \
300		t/spdxtool/basic.test \
301		t/spdxtool/basic-with-colon.test \
302		t/spdxtool/basic-with-spdx-base-id.test \
303		t/spdxtool/creation-id.test \
304		t/spdxtool/default-time.test \
305		t/spdxtool/define-variable.test \
306		t/spdxtool/define-variable-with-dependency.test \
307		t/spdxtool/help.test \
308		t/spdxtool/meta-package.test \
309		t/spdxtool/meta-package-with-colon-spdx-base-id.test \
310		t/spdxtool/multi-copyright.test \
311		t/spdxtool/multiple-packages.test \
312		t/spdxtool/no-license.test \
313		t/spdxtool/output-file.test \
314		t/spdxtool/package-whitespace.test \
315		t/spdxtool/private-dependency.test \
316		t/spdxtool/source-date-epoch.test \
317		t/spdxtool/source-date-epoch-precedence.test \
318		t/spdxtool/special-chars.test \
319		t/spdxtool/unknown-option.test \
320		t/spdxtool/unknown-package.test \
321		t/spdxtool/version.test \
322		t/spdxtool/version-operator.test \
323		t/spdxtool/with-dependency.test \
324		t/sbom/license-file-bar.test \
325		t/sbom/license-file-foo.test \
326		t/sbom/license-isc.test \
327		t/sbom/license-malformed-token.test \
328		t/sbom/license-noassertion.test \
329		t/sbom/source-tag-bar.test \
330		t/sbom/source-tag-foo.test \
331		t/symlink/pcfiledir_symlink_absolute_env1.test \
332		t/symlink/pcfiledir_symlink_absolute_env2.test \
333		t/symlink/pcfiledir_symlink_absolute_env3.test \
334		t/symlink/pcfiledir_symlink_absolute_env4.test \
335		t/symlink/pcfiledir_symlink_absolute_env5.test \
336		t/symlink/pcfiledir_symlink_absolute_env6.test \
337		t/symlink/pcfiledir_symlink_absolute_env7.test \
338		t/symlink/pcfiledir_symlink_absolute_env8.test \
339		t/symlink/pcfiledir_symlink_absolute_env9.test \
340		t/symlink/pcfiledir_symlink_absolute_env10.test \
341		t/symlink/pcfiledir_symlink_absolute_env11.test \
342		t/symlink/pcfiledir_symlink_absolute_env12.test \
343		t/symlink/pcfiledir_symlink_relative_env1.test \
344		t/symlink/pcfiledir_symlink_relative_env2.test \
345		t/symlink/pcfiledir_symlink_relative_env3.test \
346		t/symlink/pcfiledir_symlink_relative_env4.test \
347		t/symlink/pcfiledir_symlink_relative_env5.test \
348		t/symlink/pcfiledir_symlink_relative_env6.test \
349		t/symlink/pcfiledir_symlink_relative_env7.test \
350		t/symlink/pcfiledir_symlink_relative_env8.test \
351		t/symlink/pcfiledir_symlink_relative_env9.test \
352		t/symlink/pcfiledir_symlink_relative_env10.test \
353		t/symlink/pcfiledir_symlink_relative_env11.test \
354		t/symlink/pcfiledir_symlink_relative_env12.test \
355		t/sysroot/cflags-rewriting.test \
356		t/sysroot/explicit-sysroot.test \
357		t/sysroot/idirafter-munge-sysroot.test \
358		t/sysroot/isystem-munge-sysroot.test \
359		t/sysroot/isystem-sysroot-prefixed.test \
360		t/sysroot/no-pc_sysrootdir-rewriting-2.test \
361		t/sysroot/no-pc_sysrootdir-rewriting-3.test \
362		t/sysroot/no-pc_sysrootdir-rewriting-4.test \
363		t/sysroot/no-pc_sysrootdir-rewriting-5.test \
364		t/sysroot/no-pc_sysrootdir-rewriting-variable.test \
365		t/sysroot/path-segment-awareness.test \
366		t/sysroot/skip-rewriting-when-sysroot-dir-is-root-dir.test \
367		t/sysroot/sysroot-differs-from-destdir-injects.test \
368		t/sysroot/sysroot-equals-destdir-fdo-rules.test \
369		t/sysroot/undefined-pc_sysrootdir-should-be-empty.test \
370		t/sysroot/uninstalled-rewriting-fdo-rules-with-pc_sysrootdir.test \
371		t/sysroot/uninstalled-rewriting-fdo-rules.test \
372		t/sysroot/uninstalled-rewriting-pkgconf-1-rules.test \
373		t/sysroot/uninstalled-rewriting.test \
374		t/sysroot/variable-rewriting-1.test \
375		t/sysroot/variable-rewriting-2.test \
376		t/tuple/billion-laughs.test \
377		t/tuple/case-sensitivity-1.test \
378		t/tuple/case-sensitivity-2.test \
379		t/tuple/define-variable-override.test \
380		t/tuple/define-variable.test \
381		t/tuple/duplicate-upsert.test \
382		t/tuple/empty-tuple.test \
383		t/link-abi/default-c.test \
384		t/link-abi/cxx-leaf.test \
385		t/link-abi/cxx-leaf-static.test \
386		t/link-abi/public-requires.test \
387		t/link-abi/private-requires-shared.test \
388		t/link-abi/private-requires-static.test \
389		t/link-abi/multi-dedup.test \
390		tests/win-shim.h \
391		tests/api/test-api.h \
392		tests/lib-relocatable/lib/pkgconfig/foo.pc \
393		tests/lib1/argv-parse-2.pc \
394		tests/lib1/billion-laughs.pc \
395		tests/lib1/dollar-sign-escape.pc \
396		tests/lib1/dollar-sign-escape-2.pc \
397		tests/lib1/dos-lineendings.pc \
398		tests/lib1/paren-quoting.pc \
399		tests/lib1/argv-parse-3.pc \
400		tests/lib1/foo.pc \
401		tests/lib1/foobar.pc \
402		tests/lib1/link-abi-plainc.pc \
403		tests/lib1/link-abi-cxx.pc \
404		tests/lib1/link-abi-multi.pc \
405		tests/lib1/link-abi-public.pc \
406		tests/lib1/link-abi-private.pc \
407		tests/lib1/license-malformed.pc \
408		tests/lib1/unavailable-provider.pc \
409		tests/lib1/prefix-foo1.pc \
410		tests/lib1/argv-parse.pc \
411		tests/lib1/framework-1.pc \
412		tests/lib1/framework-with-libs.pc \
413		tests/lib1/prefix-foo2.pc \
414		tests/lib1/bar.pc \
415		tests/lib1/framework-2.pc \
416		tests/lib1/private-libs-duplication.pc \
417		tests/lib1/baz.pc \
418		tests/lib1/incomplete.pc \
419		tests/lib1/quotes.pc \
420		tests/lib1/case-sensitivity.pc \
421		tests/lib1/intermediary-1.pc \
422		tests/lib1/static-archive-libs.pc \
423		tests/lib1/cflags-libs-only.pc \
424		tests/lib1/cflags-shared-test.pc \
425		tests/lib1/libs-shared-test.pc \
426		tests/lib1/intermediary-2.pc \
427		tests/lib1/static-libs.pc \
428		tests/lib1/circular-1.pc \
429		tests/lib1/missing-require.pc \
430		tests/lib1/sysroot-dir.pc \
431		tests/lib1/circular-2.pc \
432		tests/lib1/multiline.pc \
433		tests/lib1/multiline-bogus.pc \
434		tests/lib1/multiline-folding.pc \
435		tests/lib1/tilde-quoting.pc \
436		tests/lib1/circular-3.pc \
437		tests/lib1/no-trailing-newline.pc \
438		tests/lib1/tilde.pc \
439		tests/lib1/top-builddir.pc \
440		tests/lib1/comments-in-fields.pc \
441		tests/lib1/nocflag.pc \
442		tests/lib1/typelibdir.pc \
443		tests/lib2/foo.pc \
444		tests/lib1/comments.pc \
445		tests/lib1/nolib.pc \
446		tests/lib3/bar.pc \
447		tests/lib1/conflicts.pc \
448		tests/lib1/omg-uninstalled.pc \
449		tests/lib1/omg-sysroot-uninstalled.pc \
450		tests/lib1/isystem.pc \
451		tests/lib1/isystem-sysroot-prefixed.pc \
452		tests/lib1/idirafter.pc \
453		tests/lib1/idirafter-ordering.pc \
454		tests/lib1/depgraph-break.pc \
455		tests/lib1/cflags-whitespace.pc \
456		tests/lib1/cflags-whitespace-trailing.pc \
457		tests/lib1/provides.pc \
458		tests/lib1/provides-request-simple.pc \
459		tests/lib1/flag-order-1.pc \
460		tests/lib1/flag-order-3.pc \
461		tests/lib1/variable-fragment-expansion.pc \
462		tests/lib1/variable-whitespace.pc \
463		tests/lib1/fragment-collision.pc \
464		tests/lib1/fragment-collision-intermediary.pc \
465		tests/lib1/fragment-collision-1.pc \
466		tests/lib1/fragment-collision-2.pc \
467		tests/lib1/fragment-comment.pc \
468		tests/lib1/fragment-escaping-1.pc \
469		tests/lib1/fragment-escaping-2.pc \
470		tests/lib1/fragment-escaping-3.pc \
471		tests/lib1/fragment-quoting.pc \
472		tests/lib1/fragment-quoting-2.pc \
473		tests/lib1/fragment-quoting-3.pc \
474		tests/lib1/fragment-quoting-5.pc \
475		tests/lib1/fragment-quoting-7.pc \
476		tests/lib1/fragment-groups.pc \
477		tests/lib1/fragment-groups-2.pc \
478		tests/lib1/fragment-group-a.pc \
479		tests/lib1/fragment-group-b.pc \
480		tests/lib1/fragment-group-c.pc \
481		tests/lib1/malformed-1.pc \
482		tests/lib1/malformed-quoting.pc \
483		tests/lib1/malformed-version.pc \
484		tests/lib1/metapackage.pc \
485		tests/lib1/metapackage-1.pc \
486		tests/lib1/metapackage-2.pc \
487		tests/lib1/metapackage-3.pc \
488		tests/lib1/explicit-sysroot.pc \
489		tests/lib1/escaped-backslash.pc \
490		tests/lib1/cflags-internal.pc \
491		tests/lib1/requires-internal.pc \
492		tests/lib1/requires-internal-2.pc \
493		tests/lib1/requires-internal-missing.pc \
494		tests/lib1/requires-internal-collision.pc \
495		tests/lib1/requires-shared.pc \
496		tests/lib1/requires-shared-dep.pc \
497		tests/lib1/tuple-quoting.pc \
498		tests/lib1/empty-tuple.pc \
499		tests/lib1/orphaned-requires-private.pc \
500		tests/lib1/pcfiledir.pc \
501		tests/lib1/sysroot-dir-2.pc \
502		tests/lib1/sysroot-dir-3.pc \
503		tests/lib1/sysroot-dir-4.pc \
504		tests/lib1/sysroot-dir-5.pc \
505		tests/lib1/child-prefix/pkgconfig/child-prefix-1.pc \
506		tests/lib1/cflags-libs-private-a.pc \
507		tests/lib1/cflags-libs-private-b.pc \
508		tests/lib1/cflags-libs-private-c.pc \
509		tests/lib1/truncated.pc \
510		tests/lib1/c-comment.pc \
511		tests/lib1/duplicate-tuple.pc \
512		tests/lib1/flag-whitespace.pc \
513		tests/lib1/flag-whitespace-2.pc \
514		tests/lib-sbom/meta_package.pc \
515		tests/lib-sbom/test1.pc \
516		tests/lib-sbom/test2.pc \
517		tests/lib-sbom/test3.pc \
518		tests/lib-sbom/test4.pc \
519		tests/lib-sbom/test5.pc \
520		tests/lib-sbom/test6.pc \
521		tests/lib-sbom/multi-copyright.pc \
522		tests/lib-sbom/nolicense.pc \
523		tests/lib-sbom/special.pc \
524		tests/lib-sbom/variable-test1.pc \
525		tests/lib-sbom/variable-test2.pc \
526		tests/lib-sbom/priv-parent.pc \
527		tests/lib-sbom/priv-child.pc \
528		tests/lib-sbom-files/agent_name.json \
529		tests/lib-sbom-files/agent_name_space.json \
530		tests/lib-sbom-files/basic.json \
531		tests/lib-sbom-files/basic-spdx-base-id.json \
532		tests/lib-sbom-files/basic-use-uri.json \
533		tests/lib-sbom-files/creation_id.json \
534		tests/lib-sbom-files/define_variable.json \
535		tests/lib-sbom-files/define_variable_with_dependency.json \
536		tests/lib-sbom-files/meta_package.json \
537		tests/lib-sbom-files/meta_package-use-uri-spdx-base-id.json \
538		tests/lib-sbom-files/multi_copyright.json \
539		tests/lib-sbom-files/multiple_packages.json \
540		tests/lib-sbom-files/nolicense.json \
541		tests/lib-sbom-files/special.json \
542		tests/lib-sbom-files/with_dependency.json \
543		tests/lib-sbom-files/private_dependency.json \
544		tests/lib-sbom-files/bomtool-basic.txt \
545		tests/lib-sbom-files/bomtool-define_variable.txt \
546		tests/lib-sbom-files/bomtool-define_variable_with_dependency.txt \
547		tests/lib-sbom-files/bomtool-meta_package.txt \
548		tests/lib-sbom-files/bomtool-multiple_packages.txt \
549		tests/lib-sbom-files/bomtool-nolicense.txt \
550		tests/lib-sbom-files/bomtool-special.txt \
551		tests/lib-sbom-files/bomtool-with_dependency.txt \
552		tests/lib-sbom-files/bomtool-private_dependency.txt \
553		tests/personality-data/i386-linux-gnu.personality \
554		tests/personality-data/sysrooted.personality \
555		doc/conf.py \
556		doc/extract.py \
557		doc/index.rst \
558		doc/libpkgconf.rst \
559		doc/libpkgconf-argvsplit.rst \
560		doc/libpkgconf-audit.rst \
561		doc/libpkgconf-cache.rst \
562		doc/libpkgconf-client.rst \
563		doc/libpkgconf-dependency.rst \
564		doc/libpkgconf-fragment.rst \
565		doc/libpkgconf-path.rst \
566		doc/libpkgconf-pkg.rst \
567		doc/libpkgconf-queue.rst \
568		doc/libpkgconf-tuple.rst
569
570nobase_pkginclude_HEADERS = libpkgconf/bsdstubs.h libpkgconf/iter.h libpkgconf/libpkgconf.h libpkgconf/stdinc.h libpkgconf/libpkgconf-api.h
571libpkgconf_la_SOURCES  =	\
572		libpkgconf/argvsplit.c		\
573		libpkgconf/audit.c		\
574		libpkgconf/bsdstubs.c		\
575		libpkgconf/buffer.c		\
576		libpkgconf/bufferset.c		\
577		libpkgconf/bytecode.c		\
578		libpkgconf/cache.c		\
579		libpkgconf/client.c		\
580		libpkgconf/dependency.c		\
581		libpkgconf/fileio.c		\
582		libpkgconf/fragment.c		\
583		libpkgconf/license.c		\
584		libpkgconf/output.c		\
585		libpkgconf/parser.c		\
586		libpkgconf/path.c		\
587		libpkgconf/personality.c	\
588		libpkgconf/pkg.c		\
589		libpkgconf/queue.c		\
590		libpkgconf/tuple.c		\
591		libpkgconf/variable.c		\
592		libpkgconf/version.c
593libpkgconf_la_LDFLAGS = -no-undefined -version-info 8:0:0 -export-symbols-regex '^pkgconf_'
594
595dist_man_MANS    = 		\
596	man/bomtool.1		\
597	man/pkgconf.1		\
598	man/pkg.m4.7		\
599	man/pc.5		\
600	man/pkgconf-personality.5	\
601	man/spdxtool.1
602
603pkgconf_LDADD    = libpkgconf.la
604pkgconf_SOURCES  = \
605	cli/main.c				\
606	cli/core.c				\
607	cli/getopt_long.c			\
608	cli/renderer-msvc.c
609pkgconf_CPPFLAGS = -I$(top_srcdir)/libpkgconf -I$(top_srcdir)/cli
610noinst_HEADERS   = \
611	libpkgconf/path.h					\
612	cli/core.h						\
613	cli/getopt_long.h					\
614	cli/renderer-msvc.h					\
615	cli/spdxtool/core.h					\
616	cli/spdxtool/generate.h				\
617	cli/spdxtool/serialize.h			\
618	cli/spdxtool/simplelicensing.h		\
619	cli/spdxtool/software.h				\
620	cli/spdxtool/util.h
621
622bomtool_LDADD    = libpkgconf.la
623bomtool_SOURCES  = \
624	cli/bomtool/main.c				\
625	cli/getopt_long.c
626bomtool_CPPFLAGS = -I$(top_srcdir)/libpkgconf -I$(top_srcdir)/cli -I$(top_srcdir)/cli/bomtool
627
628spdxtool_LDADD    = libpkgconf.la
629spdxtool_SOURCES  = \
630	cli/spdxtool/main.c		\
631	cli/spdxtool/core.c		\
632	cli/spdxtool/software.c		\
633	cli/spdxtool/serialize.c	\
634	cli/spdxtool/simplelicensing.c	\
635	cli/spdxtool/util.c		\
636	cli/spdxtool/generate.c		\
637	cli/getopt_long.c
638spdxtool_CPPFLAGS = -I$(top_srcdir)/libpkgconf -I$(top_srcdir)/cli -I$(top_srcdir)/cli/spdxtool
639
640API_TEST_PROGS =		\
641	test-api-audit		\
642	test-api-buffer		\
643	test-api-bytecode	\
644	test-api-client		\
645	test-api-dependency	\
646	test-api-fileio		\
647	test-api-fragment	\
648	test-api-license	\
649	test-api-path-utils	\
650	test-api-personality	\
651	test-api-queue		\
652	test-api-serialize	\
653	test-api-tuple		\
654	test-api-variable	\
655	test-api-version
656
657noinst_PROGRAMS = test-runner $(API_TEST_PROGS)
658
659test_runner_LDADD = libpkgconf.la
660test_runner_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/libpkgconf -I$(top_srcdir)/tests/api
661test_runner_SOURCES = \
662	cli/core.c \
663	cli/getopt_long.c \
664	cli/renderer-msvc.c \
665	tests/test-runner.c
666
667api_test_ldadd = libpkgconf.la
668api_test_cppflags = -I$(top_srcdir) -I$(top_srcdir)/libpkgconf -I$(top_srcdir)/tests/api
669
670test_api_audit_LDADD = $(api_test_ldadd)
671test_api_audit_SOURCES = tests/api/test-audit.c
672test_api_audit_CPPFLAGS = $(api_test_cppflags)
673
674test_api_buffer_LDADD = $(api_test_ldadd)
675test_api_buffer_SOURCES = tests/api/test-buffer.c
676test_api_buffer_CPPFLAGS = $(api_test_cppflags)
677
678test_api_bytecode_LDADD = $(api_test_ldadd)
679test_api_bytecode_SOURCES = tests/api/test-bytecode.c
680test_api_bytecode_CPPFLAGS = $(api_test_cppflags)
681
682test_api_client_LDADD = $(api_test_ldadd)
683test_api_client_SOURCES = tests/api/test-client.c
684test_api_client_CPPFLAGS = $(api_test_cppflags)
685
686test_api_dependency_LDADD = $(api_test_ldadd)
687test_api_dependency_SOURCES = tests/api/test-dependency.c
688test_api_dependency_CPPFLAGS = $(api_test_cppflags)
689
690test_api_fileio_LDADD = $(api_test_ldadd)
691test_api_fileio_SOURCES = tests/api/test-fileio.c
692test_api_fileio_CPPFLAGS = $(api_test_cppflags)
693
694test_api_fragment_LDADD = $(api_test_ldadd)
695test_api_fragment_SOURCES = tests/api/test-fragment.c
696test_api_fragment_CPPFLAGS = $(api_test_cppflags)
697
698test_api_license_LDADD = $(api_test_ldadd)
699test_api_license_SOURCES = tests/api/test-license.c
700test_api_license_CPPFLAGS = $(api_test_cppflags)
701
702test_api_path_utils_LDADD = $(api_test_ldadd)
703test_api_path_utils_SOURCES = tests/api/test-path-utils.c
704test_api_path_utils_CPPFLAGS = $(api_test_cppflags)
705
706test_api_personality_LDADD = $(api_test_ldadd)
707test_api_personality_SOURCES = tests/api/test-personality.c
708test_api_personality_CPPFLAGS = $(api_test_cppflags)
709
710test_api_queue_LDADD = $(api_test_ldadd)
711test_api_queue_SOURCES = tests/api/test-queue.c
712test_api_queue_CPPFLAGS = $(api_test_cppflags)
713
714test_api_serialize_LDADD = $(api_test_ldadd)
715test_api_serialize_SOURCES = \
716	tests/api/test-serialize.c \
717	cli/spdxtool/core.c \
718	cli/spdxtool/software.c \
719	cli/spdxtool/serialize.c \
720	cli/spdxtool/simplelicensing.c \
721	cli/spdxtool/util.c
722test_api_serialize_CPPFLAGS = $(api_test_cppflags) -I$(top_srcdir)/cli/spdxtool
723
724test_api_tuple_LDADD = $(api_test_ldadd)
725test_api_tuple_SOURCES = tests/api/test-tuple.c
726test_api_tuple_CPPFLAGS = $(api_test_cppflags)
727
728test_api_variable_LDADD = $(api_test_ldadd)
729test_api_variable_SOURCES = tests/api/test-variable.c
730test_api_variable_CPPFLAGS = $(api_test_cppflags)
731
732test_api_version_LDADD = $(api_test_ldadd)
733test_api_version_SOURCES = tests/api/test-version.c
734test_api_version_CPPFLAGS = $(api_test_cppflags)
735
736dist_doc_DATA = CONTRIBUTING.md DCO README.md AUTHORS COPYING
737
738m4datadir              = $(datadir)/aclocal
739m4data_DATA            = pkg.m4
740
741CLEANFILES =	$(EXTRA_PROGRAMS)
742
743check: pkgconf test-runner $(API_TEST_PROGS)
744	$(builddir)/test-api-audit$(EXEEXT)
745	$(builddir)/test-api-buffer$(EXEEXT)
746	$(builddir)/test-api-bytecode$(EXEEXT)
747	$(builddir)/test-api-client$(EXEEXT)
748	$(builddir)/test-api-dependency$(EXEEXT)
749	$(builddir)/test-api-fileio$(EXEEXT)
750	$(builddir)/test-api-fragment$(EXEEXT)
751	$(builddir)/test-api-license$(EXEEXT)
752	$(builddir)/test-api-path-utils$(EXEEXT)
753	$(builddir)/test-api-personality$(EXEEXT)
754	$(builddir)/test-api-queue$(EXEEXT)
755	$(builddir)/test-api-serialize$(EXEEXT)
756	$(builddir)/test-api-tuple$(EXEEXT)
757	$(builddir)/test-api-variable$(EXEEXT)
758	$(builddir)/test-api-version$(EXEEXT)
759	$(builddir)/test-runner$(EXEEXT) --test-fixtures=$(top_srcdir)/tests --tool-dir="$(PWD)" $(top_srcdir)/t/basic
760	$(builddir)/test-runner$(EXEEXT) --test-fixtures=$(top_srcdir)/tests --tool-dir="$(PWD)" $(top_srcdir)/t/cli
761	$(builddir)/test-runner$(EXEEXT) --test-fixtures=$(top_srcdir)/tests --tool-dir="$(PWD)" $(top_srcdir)/t/link-abi
762	$(builddir)/test-runner$(EXEEXT) --test-fixtures=$(top_srcdir)/tests --tool-dir="$(PWD)" $(top_srcdir)/t/ordering
763	$(builddir)/test-runner$(EXEEXT) --test-fixtures=$(top_srcdir)/tests --tool-dir="$(PWD)" $(top_srcdir)/t/parser
764	$(builddir)/test-runner$(EXEEXT) --test-fixtures=$(top_srcdir)/tests --tool-dir="$(PWD)" $(top_srcdir)/t/personality
765	$(builddir)/test-runner$(EXEEXT) --test-fixtures=$(top_srcdir)/tests --tool-dir="$(PWD)" $(top_srcdir)/t/solver
766	$(builddir)/test-runner$(EXEEXT) --test-fixtures=$(top_srcdir)/tests --tool-dir="$(PWD)" $(top_srcdir)/t/sbom
767	$(builddir)/test-runner$(EXEEXT) --test-fixtures=$(top_srcdir)/tests --tool-dir="$(PWD)" $(top_srcdir)/t/bomtool
768	$(builddir)/test-runner$(EXEEXT) --test-fixtures=$(top_srcdir)/tests --tool-dir="$(PWD)" $(top_srcdir)/t/spdxtool
769	$(builddir)/test-runner$(EXEEXT) --test-fixtures=$(top_srcdir)/tests --tool-dir="$(PWD)" $(top_srcdir)/t/symlink
770	$(builddir)/test-runner$(EXEEXT) --test-fixtures=$(top_srcdir)/tests --tool-dir="$(PWD)" $(top_srcdir)/t/sysroot
771	$(builddir)/test-runner$(EXEEXT) --test-fixtures=$(top_srcdir)/tests --tool-dir="$(PWD)" $(top_srcdir)/t/tuple
772
773pkgconf-final-stamp:
774	@echo
775	@echo "============================================================================"
776	@echo "WARNING: Autotools support is deprecated and will be removed in pkgconf 3.1."
777	@echo "Please migrate to Meson or Muon."
778	@echo "See README.md for instructions on building with Meson."
779	@echo "============================================================================"
780	@echo
781
782all: pkgconf-final-stamp
783install-exec-hook: pkgconf-final-stamp
784