Makefile.am 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137
  1. ## Process this file with automake to produce Makefile.in
  2. SUBDIRS = . test
  3. localedir = $(datadir)/locale
  4. pkgconfdir = $(sysconfdir)/@PACKAGE@
  5. AM_CPPFLAGS = \
  6. -DLOCALEDIR=\"$(localedir)\" \
  7. -DCONFIGDIR=\"$(pkgconfdir)\" \
  8. -DADMINDIR=\"$(admindir)\" \
  9. -DDEFAULT_TEXT_DOMAIN=\"@PACKAGE@\" \
  10. -idirafter $(top_srcdir)/lib/compat \
  11. -I$(top_builddir) \
  12. -I$(top_srcdir)/lib
  13. EXTRA_DIST = \
  14. libdpkg.map \
  15. libdpkg.pc.in
  16. pkgconfigdir = $(libdir)/pkgconfig
  17. pkgconfig_DATA = libdpkg.pc
  18. lib_LTLIBRARIES = libdpkg.la
  19. if HAVE_LINKER_VERSION_SCRIPT
  20. libdpkg_la_LDFLAGS = \
  21. -Wl,--version-script=$(srcdir)/libdpkg.map
  22. endif
  23. libdpkg_la_LIBADD = \
  24. ../compat/libcompat.la
  25. if BUILD_SHARED
  26. libdpkg_la_LIBADD += \
  27. $(LIBINTL) \
  28. $(ZLIB_LIBS) \
  29. $(LIBLZMA_LIBS) \
  30. $(BZ2_LIBS)
  31. endif
  32. libdpkg_la_DEPENDENCIES = \
  33. libdpkg.map
  34. libdpkg_la_SOURCES = \
  35. dlist.h \
  36. ar.c \
  37. arch.c \
  38. atomic-file.c \
  39. buffer.c \
  40. cleanup.c \
  41. command.c \
  42. compress.c \
  43. dbdir.c \
  44. dbmodify.c \
  45. deb-version.c \
  46. debug.c \
  47. depcon.c \
  48. dir.c \
  49. dump.c \
  50. ehandle.c \
  51. error.c \
  52. fdio.c \
  53. file.c \
  54. fields.c \
  55. glob.c \
  56. i18n.c i18n.h \
  57. log.c \
  58. mlib.c \
  59. namevalue.c \
  60. nfmalloc.c \
  61. options.c \
  62. parse.c \
  63. parsehelp.c \
  64. path.c \
  65. pkg.c \
  66. pkg-db.c \
  67. pkg-array.c \
  68. pkg-format.c \
  69. pkg-list.c \
  70. pkg-queue.c \
  71. pkg-show.c \
  72. pkg-spec.c \
  73. progname.c \
  74. program.c \
  75. progress.c \
  76. report.c \
  77. string.c \
  78. strwide.c \
  79. subproc.c \
  80. tarfn.c \
  81. test.h \
  82. trigname.c \
  83. trignote.c \
  84. triglib.c \
  85. trigdeferred.l \
  86. utils.c \
  87. varbuf.c \
  88. version.c
  89. pkginclude_HEADERS = \
  90. ar.h \
  91. arch.h \
  92. atomic-file.h \
  93. buffer.h \
  94. command.h \
  95. compress.h \
  96. deb-version.h \
  97. debug.h \
  98. dir.h \
  99. dpkg.h \
  100. dpkg-db.h \
  101. ehandle.h \
  102. error.h \
  103. fdio.h \
  104. file.h \
  105. glob.h \
  106. macros.h \
  107. namevalue.h \
  108. options.h \
  109. parsedump.h \
  110. path.h \
  111. pkg.h \
  112. pkg-array.h \
  113. pkg-format.h \
  114. pkg-list.h \
  115. pkg-queue.h \
  116. pkg-show.h \
  117. pkg-spec.h \
  118. progname.h \
  119. program.h \
  120. progress.h \
  121. report.h \
  122. string.h \
  123. subproc.h \
  124. tarfn.h \
  125. trigdeferred.h \
  126. triglib.h \
  127. varbuf.h \
  128. version.h