Makefile.am 1.4 KB

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