summaryrefslogtreecommitdiffstats
path: root/src/Makefile.am
blob: 4358165581e78fdb0f5babc7d2b43bc18d48426c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
## 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 \
	# EOL

EXTRA_DIST += \
	dpkg-db-backup.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