package compiler and linker metadata toolkit

Makefile.am 5.0KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177
  1. libdir = @libdir@
  2. datarootdir = @datarootdir@
  3. datadir = @datadir@
  4. includedir = @includedir@
  5. system_includedir = @SYSTEM_INCLUDEDIR@
  6. system_libdir = @SYSTEM_LIBDIR@
  7. pkg_default_dir = @PKG_DEFAULT_PATH@
  8. personality_dir = @PERSONALITY_PATH@
  9. pkgconfigdir = $(libdir)/pkgconfig
  10. nodist_pkgconfig_DATA = libpkgconf.pc
  11. AM_CFLAGS = -DPERSONALITY_PATH=\"$(personality_dir)\" -DPKG_DEFAULT_PATH=\"$(pkg_default_dir)\" -DSYSTEM_INCLUDEDIR=\"$(system_includedir)\" -DSYSTEM_LIBDIR=\"$(system_libdir)\"
  12. bin_PROGRAMS = pkgconf
  13. lib_LTLIBRARIES = libpkgconf.la
  14. EXTRA_DIST = pkg.m4 \
  15. CMakeLists.txt \
  16. libpkgconf/CMakeLists.txt \
  17. libpkgconf/win-dirent.h \
  18. tests/lib-relocatable/lib/pkgconfig/foo.pc \
  19. tests/lib1/argv-parse-2.pc \
  20. tests/lib1/dos-lineendings.pc \
  21. tests/lib1/paren-quoting.pc \
  22. tests/lib1/argv-parse-3.pc \
  23. tests/lib1/foo.pc \
  24. tests/lib1/prefix-foo1.pc \
  25. tests/lib1/argv-parse.pc \
  26. tests/lib1/framework-1.pc \
  27. tests/lib1/prefix-foo2.pc \
  28. tests/lib1/bar.pc \
  29. tests/lib1/framework-2.pc \
  30. tests/lib1/private-libs-duplication.pc \
  31. tests/lib1/baz.pc \
  32. tests/lib1/incomplete.pc \
  33. tests/lib1/quotes.pc \
  34. tests/lib1/case-sensitivity.pc \
  35. tests/lib1/intermediary-1.pc \
  36. tests/lib1/static-archive-libs.pc \
  37. tests/lib1/cflags-libs-only.pc \
  38. tests/lib1/intermediary-2.pc \
  39. tests/lib1/static-libs.pc \
  40. tests/lib1/circular-1.pc \
  41. tests/lib1/missing-require.pc \
  42. tests/lib1/sysroot-dir.pc \
  43. tests/lib1/circular-2.pc \
  44. tests/lib1/multiline.pc \
  45. tests/lib1/multiline-bogus.pc \
  46. tests/lib1/tilde-quoting.pc \
  47. tests/lib1/circular-3.pc \
  48. tests/lib1/no-trailing-newline.pc \
  49. tests/lib1/tilde.pc \
  50. tests/lib1/comments-in-fields.pc \
  51. tests/lib1/nocflag.pc \
  52. tests/lib1/typelibdir.pc \
  53. tests/lib2/foo.pc \
  54. tests/lib1/comments.pc \
  55. tests/lib1/nolib.pc \
  56. tests/lib3/bar.pc \
  57. tests/lib1/conflicts.pc \
  58. tests/lib1/omg-uninstalled.pc \
  59. tests/lib1/isystem.pc \
  60. tests/lib1/idirafter.pc \
  61. tests/lib1/idirafter-ordering.pc \
  62. tests/lib1/depgraph-break.pc \
  63. tests/lib1/cflags-whitespace.pc \
  64. tests/lib1/cflags-whitespace-trailing.pc \
  65. tests/lib1/provides.pc \
  66. tests/lib1/provides-request-simple.pc \
  67. tests/lib1/flag-order-1.pc \
  68. tests/lib1/flag-order-3.pc \
  69. tests/lib1/variable-whitespace.pc \
  70. tests/lib1/fragment-collision.pc \
  71. tests/lib1/fragment-collision-intermediary.pc \
  72. tests/lib1/fragment-collision-1.pc \
  73. tests/lib1/fragment-collision-2.pc \
  74. tests/lib1/fragment-escaping-1.pc \
  75. tests/lib1/fragment-escaping-2.pc \
  76. tests/lib1/fragment-escaping-3.pc \
  77. tests/lib1/fragment-quoting.pc \
  78. tests/lib1/fragment-quoting-2.pc \
  79. tests/lib1/fragment-quoting-3.pc \
  80. tests/lib1/fragment-quoting-5.pc \
  81. tests/lib1/fragment-quoting-7.pc \
  82. tests/lib1/malformed-1.pc \
  83. tests/lib1/malformed-quoting.pc \
  84. tests/lib1/explicit-sysroot.pc \
  85. tests/lib1/escaped-backslash.pc \
  86. tests/lib1/cflags-internal.pc \
  87. tests/lib1/requires-internal.pc \
  88. tests/lib1/requires-internal-2.pc \
  89. tests/lib1/requires-internal-missing.pc \
  90. tests/lib1/requires-internal-collision.pc \
  91. tests/lib1/tuple-quoting.pc \
  92. tests/lib1/empty-tuple.pc \
  93. tests/test_env.sh \
  94. $(test_scripts) \
  95. doc/conf.py \
  96. doc/extract.py \
  97. doc/index.rst \
  98. doc/libpkgconf.rst \
  99. doc/libpkgconf-argvsplit.rst \
  100. doc/libpkgconf-audit.rst \
  101. doc/libpkgconf-cache.rst \
  102. doc/libpkgconf-client.rst \
  103. doc/libpkgconf-dependency.rst \
  104. doc/libpkgconf-fragment.rst \
  105. doc/libpkgconf-path.rst \
  106. doc/libpkgconf-pkg.rst \
  107. doc/libpkgconf-queue.rst \
  108. doc/libpkgconf-tuple.rst
  109. test_scripts= \
  110. tests/basic.sh \
  111. tests/builtins.sh \
  112. tests/conflicts.sh \
  113. tests/framework.sh \
  114. tests/parser.sh \
  115. tests/provides.sh \
  116. tests/regress.sh \
  117. tests/requires.sh \
  118. tests/sysroot.sh \
  119. tests/version.sh
  120. check_SCRIPTS= $(test_scripts:.sh=)
  121. SUFFIXES= .sh
  122. nobase_pkginclude_HEADERS = libpkgconf/bsdstubs.h libpkgconf/iter.h libpkgconf/libpkgconf.h libpkgconf/stdinc.h libpkgconf/libpkgconf-api.h
  123. libpkgconf_la_SOURCES = \
  124. libpkgconf/audit.c \
  125. libpkgconf/cache.c \
  126. libpkgconf/client.c \
  127. libpkgconf/pkg.c \
  128. libpkgconf/bsdstubs.c \
  129. libpkgconf/fragment.c \
  130. libpkgconf/argvsplit.c \
  131. libpkgconf/fileio.c \
  132. libpkgconf/tuple.c \
  133. libpkgconf/dependency.c \
  134. libpkgconf/queue.c \
  135. libpkgconf/path.c \
  136. libpkgconf/personality.c \
  137. libpkgconf/parser.c
  138. libpkgconf_la_LDFLAGS = -no-undefined -version-info 3:0:0 -export-symbols-regex '^pkgconf_'
  139. dist_man_MANS = \
  140. man/pkgconf.1 \
  141. man/pkg.m4.7 \
  142. man/pc.5 \
  143. man/pkgconf-personality.5
  144. pkgconf_LDADD = libpkgconf.la
  145. pkgconf_SOURCES = \
  146. cli/main.c \
  147. cli/getopt_long.c \
  148. cli/renderer-msvc.c
  149. pkgconf_CPPFLAGS = -Ilibpkgconf -Icli
  150. noinst_HEADERS = \
  151. cli/getopt_long.h \
  152. cli/renderer-msvc.h
  153. dist_doc_DATA = README.md AUTHORS
  154. m4datadir = $(datadir)/aclocal
  155. m4data_DATA = pkg.m4
  156. CLEANFILES = $(EXTRA_PROGRAMS) \
  157. $(check_SCRIPTS)
  158. check: pkgconf $(check_SCRIPTS)
  159. kyua --config=none test --kyuafile='$(top_builddir)/Kyuafile' \
  160. --build-root='$(top_builddir)'
  161. .sh:
  162. install -m 755 $< $@