summaryrefslogtreecommitdiffstats
path: root/src/Makefile.am
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-06 00:45:20 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-06 00:45:20 +0000
commit9a08cbfcc1ef900a04580f35afe2a4592d7d6030 (patch)
tree004cc7027bca2f2c0bcb5806527c8e0c48df2d6e /src/Makefile.am
parentInitial commit. (diff)
downloaddpkg-9a08cbfcc1ef900a04580f35afe2a4592d7d6030.tar.xz
dpkg-9a08cbfcc1ef900a04580f35afe2a4592d7d6030.zip
Adding upstream version 1.19.8.upstream/1.19.8upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r--src/Makefile.am86
1 files changed, 86 insertions, 0 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
new file mode 100644
index 0000000..b1003f4
--- /dev/null
+++ b/src/Makefile.am
@@ -0,0 +1,86 @@
+## Process this file with automake to produce Makefile.in
+
+localedir = $(datadir)/locale
+pkgconfdir = $(sysconfdir)/@PACKAGE@
+
+AM_CPPFLAGS = \
+ -DLOCALEDIR=\"$(localedir)\" \
+ -DADMINDIR=\"$(admindir)\" \
+ -idirafter $(top_srcdir)/lib/compat \
+ -I$(top_builddir) \
+ -I$(top_srcdir)/lib
+LDADD = \
+ ../lib/dpkg/libdpkg.la \
+ $(LIBINTL)
+
+
+EXTRA_DIST = \
+ $(test_scripts) \
+ $(nil)
+
+bin_PROGRAMS = \
+ dpkg \
+ dpkg-divert \
+ dpkg-query \
+ dpkg-statoverride \
+ dpkg-trigger
+
+dpkg_SOURCES = \
+ archives.c archives.h \
+ cleanup.c \
+ configure.c \
+ depcon.c \
+ enquiry.c \
+ errors.c \
+ file-match.c file-match.h \
+ filters.c filters.h \
+ force.c force.h \
+ help.c \
+ main.c main.h \
+ packages.c \
+ perpkgstate.c \
+ remove.c \
+ script.c \
+ select.c \
+ selinux.c \
+ trigproc.c \
+ unpack.c \
+ update.c \
+ verify.c \
+ $(nil)
+
+dpkg_LDADD = \
+ $(LDADD) \
+ $(SELINUX_LIBS)
+
+dpkg_divert_SOURCES = \
+ divertcmd.c
+
+dpkg_query_SOURCES = \
+ querycmd.c
+
+dpkg_statoverride_SOURCES = \
+ force.c force.h \
+ selinux.c \
+ statcmd.c
+
+dpkg_statoverride_LDADD = \
+ $(LDADD) \
+ $(SELINUX_LIBS)
+
+dpkg_trigger_SOURCES = \
+ trigcmd.c
+
+install-data-local:
+ $(MKDIR_P) $(DESTDIR)$(pkgconfdir)/dpkg.cfg.d
+ $(MKDIR_P) $(DESTDIR)$(admindir)/info
+ $(MKDIR_P) $(DESTDIR)$(admindir)/updates
+
+test_tmpdir = t.tmp
+
+test_scripts = \
+ t/dpkg_divert.t
+
+include $(top_srcdir)/check.am
+
+clean-local: check-clean