diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 14:58:51 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 14:58:51 +0000 |
commit | cbffab246997fb5a06211dfb706b54e5ae5bb59f (patch) | |
tree | 0573c5d96f58d74d76a49c0f2a70398e389a36d3 /lib/dpkg/Makefile.am | |
parent | Initial commit. (diff) | |
download | dpkg-cbffab246997fb5a06211dfb706b54e5ae5bb59f.tar.xz dpkg-cbffab246997fb5a06211dfb706b54e5ae5bb59f.zip |
Adding upstream version 1.21.22.upstream/1.21.22upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'lib/dpkg/Makefile.am')
-rw-r--r-- | lib/dpkg/Makefile.am | 266 |
1 files changed, 266 insertions, 0 deletions
diff --git a/lib/dpkg/Makefile.am b/lib/dpkg/Makefile.am new file mode 100644 index 0000000..97a8dbf --- /dev/null +++ b/lib/dpkg/Makefile.am @@ -0,0 +1,266 @@ +## Process this file with automake to produce Makefile.in + +AM_CPPFLAGS = \ + -DLOCALEDIR=\"$(localedir)\" \ + -DCONFIGDIR=\"$(pkgconfdir)\" \ + -DADMINDIR=\"$(admindir)\" \ + -DDEFAULT_TEXT_DOMAIN=\"@PACKAGE@\" \ + -idirafter $(top_srcdir)/lib/compat \ + -I$(top_builddir) \ + -I$(top_srcdir)/lib \ + # EOL + +# Needed for the test suite +LDADD = \ + libdpkg.la \ + $(LIBINTL) \ + ../compat/libcompat.la \ + # EOL + + +EXTRA_DIST = \ + $(test_scripts) \ + $(test_data) \ + libdpkg.map \ + libdpkg.pc.in \ + # EOL + +pkgconfigdir = $(devlibdir)/pkgconfig +pkgconfig_DATA = libdpkg.pc + +devlib_LTLIBRARIES = libdpkg.la + +libdpkg_la_LDFLAGS = +if HAVE_LINKER_VERSION_SCRIPT +libdpkg_la_LDFLAGS += \ + -Wl,--version-script=$(srcdir)/libdpkg.map \ + # EOL +endif +libdpkg_la_LDFLAGS += $(MD_LIBS) +libdpkg_la_LIBADD = \ + ../compat/libcompat.la \ + # EOL +if BUILD_SHARED +libdpkg_la_LIBADD += \ + $(LIBINTL) \ + $(Z_LIBS) \ + $(LZMA_LIBS) \ + $(ZSTD_LIBS) \ + $(BZ2_LIBS) \ + # EOL +endif +EXTRA_libdpkg_la_DEPENDENCIES = \ + libdpkg.map \ + # EOL +libdpkg_la_SOURCES = \ + dlist.h \ + ar.c \ + arch.c \ + atomic-file.c \ + buffer.c \ + c-ctype.c \ + cleanup.c \ + color.c \ + command.c \ + compress.c \ + dbdir.c \ + dbmodify.c \ + db-ctrl-access.c \ + db-ctrl-format.c \ + db-ctrl-upgrade.c \ + db-fsys-digest.c \ + db-fsys-divert.c \ + db-fsys-files.c \ + db-fsys-override.c \ + deb-version.c \ + debug.c \ + depcon.c \ + dir.c \ + dump.c \ + ehandle.c \ + error.c \ + fdio.c \ + file.c \ + fields.c \ + fsys-dir.c\ + fsys-iter.c \ + fsys-hash.c \ + glob.c \ + i18n.c i18n.h \ + log.c \ + meminfo.c \ + mlib.c \ + namevalue.c \ + nfmalloc.c \ + options.c \ + options-dirs.c \ + options-parsers.c \ + pager.c \ + parse.c \ + parsehelp.c \ + path.c \ + path-remove.c \ + perf.h \ + pkg.c \ + pkg-array.c \ + pkg-files.c \ + pkg-format.c \ + pkg-hash.c \ + pkg-list.c \ + pkg-namevalue.c \ + pkg-queue.c \ + pkg-show.c \ + pkg-spec.c \ + progname.c \ + program.c \ + progress.c \ + report.c \ + string.c \ + strhash.c \ + strwide.c \ + subproc.c \ + tarfn.c \ + test.h \ + treewalk.c \ + trigname.c \ + trignote.c \ + triglib.c \ + trigdeferred.c \ + utils.c \ + varbuf.c \ + version.c \ + # EOL + +pkginclude_HEADERS = \ + ar.h \ + arch.h \ + atomic-file.h \ + buffer.h \ + c-ctype.h \ + color.h \ + command.h \ + compress.h \ + db-ctrl.h \ + db-fsys.h \ + deb-version.h \ + debug.h \ + dir.h \ + dpkg.h \ + dpkg-db.h \ + ehandle.h \ + error.h \ + fdio.h \ + file.h \ + fsys.h \ + glob.h \ + macros.h \ + meminfo.h \ + namevalue.h \ + options.h \ + pager.h \ + parsedump.h \ + path.h \ + pkg.h \ + pkg-array.h \ + pkg-files.h \ + pkg-format.h \ + pkg-list.h \ + pkg-queue.h \ + pkg-show.h \ + pkg-spec.h \ + progname.h \ + program.h \ + progress.h \ + report.h \ + string.h \ + subproc.h \ + tarfn.h \ + treewalk.h \ + trigdeferred.h \ + triglib.h \ + varbuf.h \ + version.h \ + # EOL + +t_t_headers_cpp_SOURCES = \ + t/t-headers-cpp.cc \ + # EOL + +# The tests are sorted in order of increasing complexity. +test_programs = \ + t/t-test \ + t/t-test-skip \ + t/t-macros \ + t/t-headers-cpp \ + t/t-c-ctype \ + t/t-namevalue \ + t/t-ehandle \ + t/t-error \ + t/t-string \ + t/t-file \ + t/t-buffer \ + t/t-meminfo \ + t/t-path \ + t/t-progname \ + t/t-subproc \ + t/t-command \ + t/t-pager \ + t/t-varbuf \ + t/t-ar \ + t/t-tar \ + t/t-deb-version \ + t/t-arch \ + t/t-version \ + t/t-pkginfo \ + t/t-pkg-list \ + t/t-pkg-queue \ + t/t-pkg-hash \ + t/t-pkg-show \ + t/t-pkg-format \ + t/t-fsys-dir \ + t/t-fsys-hash \ + t/t-trigger \ + t/t-mod-db \ + # EOL + +test_scripts = \ + t/t-tarextract.t \ + t/t-treewalk.t \ + t/t-trigdeferred.t \ + # EOL + +test_data = \ + t/data/meminfo-no-data \ + t/data/meminfo-no-info \ + t/data/meminfo-no-unit \ + t/data/meminfo-ok \ + # EOL + +BENCHMARK_LDADD_FLAGS = \ + -lrt \ + $(LDADD) \ + # EOL + +t_b_fsys_hash_LDADD = $(BENCHMARK_LDADD_FLAGS) +t_b_pkg_hash_LDADD = $(BENCHMARK_LDADD_FLAGS) + +check_PROGRAMS = \ + $(test_programs) \ + t/b-fsys-hash \ + t/b-pkg-hash \ + t/c-tarextract \ + t/c-treewalk \ + t/c-trigdeferred \ + # EOL + +TEST_ENV_VARS = \ + DPKG_PROGTAR=$(TAR) \ + # EOL + +test_tmpdir = t.tmp + +include $(top_srcdir)/build-aux/tap.am + +check-local: tap-check + +clean-local: tap-clean |