Makefile.am 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. ## Process this file with automake to produce Makefile.in
  2. localedir = $(datadir)/locale
  3. pkgconfdir = $(sysconfdir)/@PACKAGE@
  4. AM_CPPFLAGS = \
  5. -DLOCALEDIR=\"$(localedir)\" \
  6. -DADMINDIR=\"$(admindir)\" \
  7. -idirafter $(top_srcdir)/lib/compat \
  8. -I$(top_builddir) \
  9. -I$(top_srcdir)/lib
  10. LDADD = \
  11. ../lib/dpkg/libdpkg.a \
  12. ../lib/compat/libcompat.a \
  13. $(LIBINTL)
  14. EXTRA_DIST = \
  15. $(test_cases)
  16. bin_PROGRAMS = \
  17. dpkg \
  18. dpkg-divert \
  19. dpkg-query \
  20. dpkg-statoverride \
  21. dpkg-trigger
  22. noinst_HEADERS = \
  23. filesdb.h \
  24. infodb.h
  25. dpkg_SOURCES = \
  26. archives.c archives.h \
  27. cleanup.c \
  28. configure.c \
  29. depcon.c \
  30. enquiry.c \
  31. errors.c \
  32. filesdb.c \
  33. filesdb-hash.c \
  34. file-match.c file-match.h \
  35. filters.c filters.h \
  36. infodb-access.c \
  37. infodb-format.c \
  38. infodb-upgrade.c \
  39. divertdb.c \
  40. statdb.c \
  41. help.c \
  42. main.c main.h \
  43. packages.c \
  44. processarc.c \
  45. remove.c \
  46. script.c \
  47. select.c \
  48. trigproc.c \
  49. update.c
  50. dpkg_LDADD = \
  51. $(LDADD) \
  52. $(SELINUX_LIBS)
  53. dpkg_divert_SOURCES = \
  54. filesdb.c \
  55. infodb-format.c \
  56. divertdb.c \
  57. divertcmd.c
  58. dpkg_query_SOURCES = \
  59. filesdb.c \
  60. infodb-access.c \
  61. infodb-format.c \
  62. divertdb.c \
  63. querycmd.c
  64. dpkg_statoverride_SOURCES = \
  65. filesdb.c \
  66. infodb-format.c \
  67. statdb.c \
  68. statcmd.c
  69. dpkg_trigger_SOURCES = \
  70. trigcmd.c
  71. install-data-local:
  72. $(MKDIR_P) $(DESTDIR)$(pkgconfdir)/dpkg.cfg.d
  73. $(MKDIR_P) $(DESTDIR)$(admindir)/info
  74. $(MKDIR_P) $(DESTDIR)$(admindir)/updates
  75. TEST_VERBOSE = 0
  76. test_tmpdir = t.tmp
  77. test_cases = \
  78. t/100_dpkg_divert.t
  79. include $(top_srcdir)/Makecheck.am
  80. clean-local: check-clean