po: Update German man pages translation
[dpkg.git] / lib / dpkg / Makefile.am
blob50dd21e907db0e786bc98a9e078a9e96c8bf5716
1 ## Process this file with automake to produce Makefile.in
3 AM_CPPFLAGS = \
4         -DLOCALEDIR=\"$(localedir)\" \
5         -DCONFIGDIR=\"$(pkgconfdir)\" \
6         -DADMINDIR=\"$(admindir)\" \
7         -DDEFAULT_TEXT_DOMAIN=\"@PACKAGE@\" \
8         -idirafter $(top_srcdir)/lib/compat \
9         -I$(top_builddir) \
10         -I$(top_srcdir)/lib \
11         # EOL
13 # Needed for the test suite
14 LDADD = \
15         libdpkg.la \
16         $(LIBINTL) \
17         ../compat/libcompat.la \
18         # EOL
21 EXTRA_DIST = \
22         $(test_scripts) \
23         libdpkg.map \
24         libdpkg.pc.in \
25         # EOL
27 pkgconfigdir = $(devlibdir)/pkgconfig
28 pkgconfig_DATA = libdpkg.pc
30 devlib_LTLIBRARIES = libdpkg.la
32 libdpkg_la_LDFLAGS =
33 if HAVE_LINKER_VERSION_SCRIPT
34 libdpkg_la_LDFLAGS += \
35         -Wl,--version-script=$(srcdir)/libdpkg.map \
36         # EOL
37 endif
38 libdpkg_la_LDFLAGS += $(MD_LIBS)
39 libdpkg_la_LIBADD = \
40         ../compat/libcompat.la \
41         # EOL
42 if BUILD_SHARED
43 libdpkg_la_LIBADD += \
44         $(LIBINTL) \
45         $(Z_LIBS) \
46         $(LZMA_LIBS) \
47         $(BZ2_LIBS) \
48         # EOL
49 endif
50 EXTRA_libdpkg_la_DEPENDENCIES = \
51         libdpkg.map \
52         # EOL
53 libdpkg_la_SOURCES = \
54         dlist.h \
55         ar.c \
56         arch.c \
57         atomic-file.c \
58         buffer.c \
59         c-ctype.c \
60         cleanup.c \
61         color.c \
62         command.c \
63         compress.c \
64         dbdir.c \
65         dbmodify.c \
66         db-ctrl-access.c \
67         db-ctrl-format.c \
68         db-ctrl-upgrade.c \
69         db-fsys-digest.c \
70         db-fsys-divert.c \
71         db-fsys-files.c \
72         db-fsys-override.c \
73         deb-version.c \
74         debug.c \
75         depcon.c \
76         dir.c \
77         dump.c \
78         ehandle.c \
79         error.c \
80         fdio.c \
81         file.c \
82         fields.c \
83         fsys-dir.c\
84         fsys-iter.c \
85         fsys-hash.c \
86         glob.c \
87         i18n.c i18n.h \
88         log.c \
89         mlib.c \
90         namevalue.c \
91         nfmalloc.c \
92         options.c \
93         options-parsers.c \
94         pager.c \
95         parse.c \
96         parsehelp.c \
97         path.c \
98         path-remove.c \
99         perf.h \
100         pkg.c \
101         pkg-array.c \
102         pkg-files.c \
103         pkg-format.c \
104         pkg-hash.c \
105         pkg-list.c \
106         pkg-namevalue.c \
107         pkg-queue.c \
108         pkg-show.c \
109         pkg-spec.c \
110         progname.c \
111         program.c \
112         progress.c \
113         report.c \
114         string.c \
115         strhash.c \
116         strwide.c \
117         subproc.c \
118         tarfn.c \
119         test.h \
120         treewalk.c \
121         trigname.c \
122         trignote.c \
123         triglib.c \
124         trigdeferred.c \
125         utils.c \
126         varbuf.c \
127         version.c \
128         # EOL
130 pkginclude_HEADERS = \
131         ar.h \
132         arch.h \
133         atomic-file.h \
134         buffer.h \
135         c-ctype.h \
136         color.h \
137         command.h \
138         compress.h \
139         db-ctrl.h \
140         db-fsys.h \
141         deb-version.h \
142         debug.h \
143         dir.h \
144         dpkg.h \
145         dpkg-db.h \
146         ehandle.h \
147         error.h \
148         fdio.h \
149         file.h \
150         fsys.h \
151         glob.h \
152         macros.h \
153         namevalue.h \
154         options.h \
155         pager.h \
156         parsedump.h \
157         path.h \
158         pkg.h \
159         pkg-array.h \
160         pkg-files.h \
161         pkg-format.h \
162         pkg-list.h \
163         pkg-queue.h \
164         pkg-show.h \
165         pkg-spec.h \
166         progname.h \
167         program.h \
168         progress.h \
169         report.h \
170         string.h \
171         subproc.h \
172         tarfn.h \
173         treewalk.h \
174         trigdeferred.h \
175         triglib.h \
176         varbuf.h \
177         version.h \
178         # EOL
180 t_t_headers_cpp_SOURCES = \
181         t/t-headers-cpp.cc \
182         # EOL
184 # The tests are sorted in order of increasing complexity.
185 test_programs = \
186         t/t-test \
187         t/t-test-skip \
188         t/t-macros \
189         t/t-headers-cpp \
190         t/t-c-ctype \
191         t/t-namevalue \
192         t/t-ehandle \
193         t/t-error \
194         t/t-string \
195         t/t-file \
196         t/t-buffer \
197         t/t-path \
198         t/t-progname \
199         t/t-subproc \
200         t/t-command \
201         t/t-pager \
202         t/t-varbuf \
203         t/t-ar \
204         t/t-tar \
205         t/t-deb-version \
206         t/t-arch \
207         t/t-version \
208         t/t-pkginfo \
209         t/t-pkg-list \
210         t/t-pkg-queue \
211         t/t-pkg-hash \
212         t/t-pkg-show \
213         t/t-pkg-format \
214         t/t-fsys-dir \
215         t/t-fsys-hash \
216         t/t-trigger \
217         t/t-mod-db \
218         # EOL
220 test_scripts = \
221         t/t-tarextract.t \
222         t/t-treewalk.t \
223         t/t-trigdeferred.t \
224         # EOL
226 BENCHMARK_LDADD_FLAGS = \
227         -lrt \
228         $(LDADD) \
229         # EOL
231 t_b_fsys_hash_LDADD = $(BENCHMARK_LDADD_FLAGS)
232 t_b_pkg_hash_LDADD = $(BENCHMARK_LDADD_FLAGS)
234 check_PROGRAMS = \
235         $(test_programs) \
236         t/b-fsys-hash \
237         t/b-pkg-hash \
238         t/c-tarextract \
239         t/c-treewalk \
240         t/c-trigdeferred \
241         # EOL
243 TEST_ENV_VARS = \
244         DPKG_PROGTAR=$(TAR) \
245         # EOL
247 test_tmpdir = t.tmp
249 include $(top_srcdir)/build-aux/tap.am
251 check-local: tap-check
253 clean-local: tap-clean