diff options
Diffstat (limited to 'src/Makefile.am')
-rw-r--r-- | src/Makefile.am | 180 |
1 files changed, 180 insertions, 0 deletions
diff --git a/src/Makefile.am b/src/Makefile.am new file mode 100644 index 0000000..31d1a9e --- /dev/null +++ b/src/Makefile.am @@ -0,0 +1,180 @@ +## Process this file with automake to produce Makefile.in + +AM_CPPFLAGS = \ + -DLOCALEDIR=\"$(localedir)\" \ + -DADMINDIR=\"$(admindir)\" \ + -idirafter $(top_srcdir)/lib/compat \ + -I$(top_builddir) \ + -I$(top_srcdir)/lib \ + -I$(srcdir)/common \ + # EOL +LDADD = \ + ../lib/dpkg/libdpkg.la \ + $(LIBINTL) \ + ../lib/compat/libcompat.la \ + # EOL + +EXTRA_DIST = +CLEANFILES = +DISTCLEANFILES = + +nobase_dist_pkgdata_DATA = \ + sh/dpkg-error.sh \ + # EOL + +bin_PROGRAMS = \ + dpkg \ + dpkg-deb \ + dpkg-divert \ + dpkg-query \ + dpkg-split \ + dpkg-statoverride \ + dpkg-trigger \ + # EOL + +bin_SCRIPTS = \ + dpkg-maintscript-helper \ + dpkg-realpath \ + # EOL + +pkglibexec_SCRIPTS = \ + dpkg-db-backup \ + dpkg-db-keeper \ + # EOL + +EXTRA_DIST += \ + dpkg-db-backup.sh \ + dpkg-db-keeper.sh \ + dpkg-maintscript-helper.sh \ + dpkg-realpath.sh \ + # EOL + +CLEANFILES += \ + $(bin_SCRIPTS) \ + $(pkglibexec_SCRIPTS) \ + # EOL + +dpkg_SOURCES = \ + common/actions.h \ + common/force.c \ + common/force.h \ + common/security-mac.h \ + common/selinux.c \ + main/archives.c \ + main/archives.h \ + main/cleanup.c \ + main/configure.c \ + main/depcon.c \ + main/enquiry.c \ + main/errors.c \ + main/file-match.c \ + main/file-match.h \ + main/filters.c \ + main/filters.h \ + main/help.c \ + main/main.c \ + main/main.h \ + main/packages.c \ + main/perpkgstate.c \ + main/remove.c \ + main/script.c \ + main/select.c \ + main/trigproc.c \ + main/unpack.c \ + main/update.c \ + main/verify.c \ + # EOL + +dpkg_LDADD = \ + $(LDADD) \ + $(SELINUX_LIBS) \ + # EOL + +dpkg_deb_SOURCES = \ + deb/dpkg-deb.h \ + deb/build.c \ + deb/extract.c \ + deb/info.c \ + deb/main.c \ + # EOL + +dpkg_deb_LDADD = \ + $(LDADD) \ + $(Z_LIBS) \ + $(LZMA_LIBS) \ + $(ZSTD_LIBS) \ + $(BZ2_LIBS) \ + # EOL + +dpkg_divert_SOURCES = \ + divert/main.c \ + # EOL + +dpkg_query_SOURCES = \ + common/actions.h \ + query/main.c \ + # EOL + +dpkg_split_SOURCES = \ + split/dpkg-split.h \ + split/info.c \ + split/join.c \ + split/main.c \ + split/queue.c \ + split/split.c \ + # EOL + +dpkg_statoverride_SOURCES = \ + common/actions.h \ + common/force.c \ + common/force.h \ + common/security-mac.h \ + common/selinux.c \ + statoverride/main.c \ + # EOL + +dpkg_statoverride_LDADD = \ + $(LDADD) \ + $(SELINUX_LIBS) \ + # EOL + +dpkg_trigger_SOURCES = \ + trigger/main.c \ + # EOL + +SUFFIXES = + +include $(top_srcdir)/build-aux/subst.am + +install-data-local: + $(MKDIR_P) $(DESTDIR)$(pkgconfdir)/dpkg.cfg.d + $(MKDIR_P) $(DESTDIR)$(admindir)/info + $(MKDIR_P) $(DESTDIR)$(admindir)/parts + $(MKDIR_P) $(DESTDIR)$(admindir)/updates + +EXTRA_DIST += $(srcdir)/at/atlocal.in +EXTRA_DIST += $(srcdir)/at/package.m4 + +TESTSUITE_AT = $(srcdir)/at/testsuite.at +TESTSUITE_AT += $(srcdir)/at/local.at +TESTSUITE_AT += $(srcdir)/at/deb-format.at +TESTSUITE_AT += $(srcdir)/at/deb-fields.at +TESTSUITE_AT += $(srcdir)/at/deb-content.at +TESTSUITE_AT += $(srcdir)/at/deb-split.at +TESTSUITE_AT += $(srcdir)/at/realpath.at +TESTSUITE_AT += $(srcdir)/at/divert.at +TESTSUITE_AT += $(srcdir)/at/chdir.at +EXTRA_DIST += $(TESTSUITE_AT) + +TESTSUITE = $(srcdir)/at/testsuite +EXTRA_DIST += $(TESTSUITE) + +DISTCLEANFILES += at/atconfig + +include $(top_srcdir)/build-aux/autotest.am + +check-local: autotest-check + +installcheck-local: autotest-installcheck + +clean-local: autotest-clean |