doc: Move Perl version baseline as the first perl coding style subsection
[dpkg.git] / src / Makefile.am
blob31d1a9e75f72be73983a9fdb3e9bcdc5cebfd08b
1 ## Process this file with automake to produce Makefile.in
3 AM_CPPFLAGS = \
4         -DLOCALEDIR=\"$(localedir)\" \
5         -DADMINDIR=\"$(admindir)\" \
6         -idirafter $(top_srcdir)/lib/compat \
7         -I$(top_builddir) \
8         -I$(top_srcdir)/lib \
9         -I$(srcdir)/common \
10         # EOL
11 LDADD = \
12         ../lib/dpkg/libdpkg.la \
13         $(LIBINTL) \
14         ../lib/compat/libcompat.la \
15         # EOL
17 EXTRA_DIST =
18 CLEANFILES =
19 DISTCLEANFILES =
21 nobase_dist_pkgdata_DATA = \
22         sh/dpkg-error.sh \
23         # EOL
25 bin_PROGRAMS = \
26         dpkg \
27         dpkg-deb \
28         dpkg-divert \
29         dpkg-query \
30         dpkg-split \
31         dpkg-statoverride \
32         dpkg-trigger \
33         # EOL
35 bin_SCRIPTS = \
36         dpkg-maintscript-helper \
37         dpkg-realpath \
38         # EOL
40 pkglibexec_SCRIPTS = \
41         dpkg-db-backup \
42         dpkg-db-keeper \
43         # EOL
45 EXTRA_DIST += \
46         dpkg-db-backup.sh \
47         dpkg-db-keeper.sh \
48         dpkg-maintscript-helper.sh \
49         dpkg-realpath.sh \
50         # EOL
52 CLEANFILES += \
53         $(bin_SCRIPTS) \
54         $(pkglibexec_SCRIPTS) \
55         # EOL
57 dpkg_SOURCES = \
58         common/actions.h \
59         common/force.c \
60         common/force.h \
61         common/security-mac.h \
62         common/selinux.c \
63         main/archives.c \
64         main/archives.h \
65         main/cleanup.c \
66         main/configure.c \
67         main/depcon.c \
68         main/enquiry.c \
69         main/errors.c \
70         main/file-match.c \
71         main/file-match.h \
72         main/filters.c \
73         main/filters.h \
74         main/help.c \
75         main/main.c \
76         main/main.h \
77         main/packages.c \
78         main/perpkgstate.c \
79         main/remove.c \
80         main/script.c \
81         main/select.c \
82         main/trigproc.c \
83         main/unpack.c \
84         main/update.c \
85         main/verify.c \
86         # EOL
88 dpkg_LDADD = \
89         $(LDADD) \
90         $(SELINUX_LIBS) \
91         # EOL
93 dpkg_deb_SOURCES = \
94         deb/dpkg-deb.h \
95         deb/build.c \
96         deb/extract.c \
97         deb/info.c \
98         deb/main.c \
99         # EOL
101 dpkg_deb_LDADD = \
102         $(LDADD) \
103         $(Z_LIBS) \
104         $(LZMA_LIBS) \
105         $(ZSTD_LIBS) \
106         $(BZ2_LIBS) \
107         # EOL
109 dpkg_divert_SOURCES = \
110         divert/main.c \
111         # EOL
113 dpkg_query_SOURCES = \
114         common/actions.h \
115         query/main.c \
116         # EOL
118 dpkg_split_SOURCES = \
119         split/dpkg-split.h \
120         split/info.c \
121         split/join.c \
122         split/main.c \
123         split/queue.c \
124         split/split.c \
125         # EOL
127 dpkg_statoverride_SOURCES = \
128         common/actions.h \
129         common/force.c \
130         common/force.h \
131         common/security-mac.h \
132         common/selinux.c \
133         statoverride/main.c \
134         # EOL
136 dpkg_statoverride_LDADD = \
137         $(LDADD) \
138         $(SELINUX_LIBS) \
139         # EOL
141 dpkg_trigger_SOURCES = \
142         trigger/main.c \
143         # EOL
145 SUFFIXES =
147 include $(top_srcdir)/build-aux/subst.am
149 install-data-local:
150         $(MKDIR_P) $(DESTDIR)$(pkgconfdir)/dpkg.cfg.d
151         $(MKDIR_P) $(DESTDIR)$(admindir)/info
152         $(MKDIR_P) $(DESTDIR)$(admindir)/parts
153         $(MKDIR_P) $(DESTDIR)$(admindir)/updates
155 EXTRA_DIST += $(srcdir)/at/atlocal.in
156 EXTRA_DIST += $(srcdir)/at/package.m4
158 TESTSUITE_AT = $(srcdir)/at/testsuite.at
159 TESTSUITE_AT += $(srcdir)/at/local.at
160 TESTSUITE_AT += $(srcdir)/at/deb-format.at
161 TESTSUITE_AT += $(srcdir)/at/deb-fields.at
162 TESTSUITE_AT += $(srcdir)/at/deb-content.at
163 TESTSUITE_AT += $(srcdir)/at/deb-split.at
164 TESTSUITE_AT += $(srcdir)/at/realpath.at
165 TESTSUITE_AT += $(srcdir)/at/divert.at
166 TESTSUITE_AT += $(srcdir)/at/chdir.at
167 EXTRA_DIST += $(TESTSUITE_AT)
169 TESTSUITE = $(srcdir)/at/testsuite
170 EXTRA_DIST += $(TESTSUITE)
172 DISTCLEANFILES += at/atconfig
174 include $(top_srcdir)/build-aux/autotest.am
176 check-local: autotest-check
178 installcheck-local: autotest-installcheck
180 clean-local: autotest-clean