Makefile.am 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  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. dpkg_SOURCES = \
  23. archives.c archives.h \
  24. cleanup.c \
  25. configure.c \
  26. depcon.c \
  27. enquiry.c \
  28. errors.c \
  29. filesdb.c filesdb.h \
  30. file-match.c file-match.h \
  31. filters.c filters.h \
  32. infodb.c infodb.h \
  33. divertdb.c \
  34. statdb.c \
  35. help.c \
  36. main.c main.h \
  37. packages.c \
  38. processarc.c \
  39. remove.c \
  40. select.c \
  41. trigproc.c \
  42. update.c
  43. dpkg_LDADD = \
  44. $(LDADD) \
  45. $(SELINUX_LIBS)
  46. dpkg_divert_SOURCES = \
  47. filesdb.c filesdb.h \
  48. divertdb.c \
  49. divertcmd.c
  50. dpkg_query_SOURCES = \
  51. filesdb.c filesdb.h \
  52. infodb.c infodb.h \
  53. divertdb.c \
  54. querycmd.c
  55. dpkg_statoverride_SOURCES = \
  56. filesdb.c filesdb.h \
  57. statdb.c \
  58. statcmd.c
  59. dpkg_trigger_SOURCES = \
  60. trigcmd.c
  61. install-data-local:
  62. $(mkdir_p) $(DESTDIR)$(pkgconfdir)/dpkg.cfg.d
  63. $(mkdir_p) $(DESTDIR)$(admindir)/info
  64. $(mkdir_p) $(DESTDIR)$(admindir)/updates
  65. TEST_VERBOSE = 0
  66. test_tmpdir = t.tmp
  67. test_cases = \
  68. t/100_dpkg_divert.t
  69. include $(top_srcdir)/Makecheck.am
  70. clean-local: check-clean