package compiler and linker metadata toolkit

Makefile.am 3.2KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  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 = @PKGCONFIGDIR@
  8. pkgconfigdir = $(libdir)/pkgconfig
  9. nodist_pkgconfig_DATA = libpkgconf.pc
  10. AM_CFLAGS = -Wall -Wextra -Wformat=2 -std=gnu99 -DPKG_DEFAULT_PATH=\"$(pkg_default_dir)\" -DSYSTEM_INCLUDEDIR=\"$(system_includedir)\" -DSYSTEM_LIBDIR=\"$(system_libdir)\"
  11. bin_PROGRAMS = pkgconf
  12. lib_LTLIBRARIES = libpkgconf.la
  13. EXTRA_DIST = pkg.m4 \
  14. tests/lib1/argv-parse-2.pc \
  15. tests/lib1/dos-lineendings.pc \
  16. tests/lib1/paren-quoting.pc \
  17. tests/lib1/argv-parse-3.pc \
  18. tests/lib1/foo.pc \
  19. tests/lib1/prefix-foo1.pc \
  20. tests/lib1/argv-parse.pc \
  21. tests/lib1/framework-1.pc \
  22. tests/lib1/prefix-foo2.pc \
  23. tests/lib1/bar.pc \
  24. tests/lib1/framework-2.pc \
  25. tests/lib1/private-libs-duplication.pc \
  26. tests/lib1/baz.pc \
  27. tests/lib1/incomplete.pc \
  28. tests/lib1/quotes.pc \
  29. tests/lib1/case-sensitivity.pc \
  30. tests/lib1/intermediary-1.pc \
  31. tests/lib1/static-archive-libs.pc \
  32. tests/lib1/cflags-libs-only.pc \
  33. tests/lib1/intermediary-2.pc \
  34. tests/lib1/static-libs.pc \
  35. tests/lib1/circular-1.pc \
  36. tests/lib1/missing-require.pc \
  37. tests/lib1/sysroot-dir.pc \
  38. tests/lib1/circular-2.pc \
  39. tests/lib1/multiline.pc \
  40. tests/lib1/tilde-quoting.pc \
  41. tests/lib1/circular-3.pc \
  42. tests/lib1/no-trailing-newline.pc \
  43. tests/lib1/tilde.pc \
  44. tests/lib1/comments-in-fields.pc \
  45. tests/lib1/nocflag.pc \
  46. tests/lib1/typelibdir.pc \
  47. tests/lib2/foo.pc \
  48. tests/lib1/comments.pc \
  49. tests/lib1/nolib.pc \
  50. tests/lib3/bar.pc \
  51. tests/lib1/conflicts.pc \
  52. tests/lib1/omg-uninstalled.pc \
  53. tests/lib1/isystem.pc \
  54. tests/lib1/depgraph-break.pc \
  55. tests/lib1/cflags-whitespace.pc \
  56. tests/lib1/cflags-whitespace-trailing.pc \
  57. tests/lib1/provides.pc \
  58. tests/lib1/provides-request-simple.pc \
  59. tests/test_env.sh \
  60. $(test_scripts)
  61. test_scripts= \
  62. tests/basic.sh \
  63. tests/builtins.sh \
  64. tests/conflicts.sh \
  65. tests/framework.sh \
  66. tests/parser.sh \
  67. tests/provides.sh \
  68. tests/regress.sh \
  69. tests/requires.sh \
  70. tests/sysroot.sh \
  71. tests/version.sh
  72. check_SCRIPTS= $(test_scripts:.sh=)
  73. SUFFIXES= .sh
  74. nobase_pkginclude_HEADERS = libpkgconf/bsdstubs.h libpkgconf/iter.h libpkgconf/libpkgconf.h libpkgconf/stdinc.h
  75. libpkgconf_la_SOURCES = \
  76. libpkgconf/audit.c \
  77. libpkgconf/cache.c \
  78. libpkgconf/client.c \
  79. libpkgconf/pkg.c \
  80. libpkgconf/bsdstubs.c \
  81. libpkgconf/fragment.c \
  82. libpkgconf/argvsplit.c \
  83. libpkgconf/fileio.c \
  84. libpkgconf/tuple.c \
  85. libpkgconf/dependency.c \
  86. libpkgconf/queue.c \
  87. libpkgconf/path.c
  88. libpkgconf_la_LDFLAGS = -version-info 2:0:0 -export-symbols-regex '^pkgconf_'
  89. dist_man_MANS = pkgconf.1
  90. pkgconf_LDADD = libpkgconf.la
  91. pkgconf_SOURCES = main.c getopt_long.c
  92. pkgconf_CPPFLAGS = -Ilibpkgconf
  93. noinst_HEADERS = getopt_long.h
  94. dist_doc_DATA = README.md AUTHORS
  95. m4datadir = $(datadir)/aclocal
  96. m4data_DATA = pkg.m4
  97. CLEANFILES = $(EXTRA_PROGRAMS) \
  98. $(check_SCRIPTS)
  99. check: pkgconf $(check_SCRIPTS)
  100. kyua --config=none test --kyuafile='$(top_builddir)/Kyuafile' \
  101. --build-root='$(top_builddir)'
  102. .sh:
  103. install -m 755 $< $@