chiark / gitweb /
dpkg (1.18.25) stretch; urgency=medium
[dpkg] / Makefile.in
1 # Makefile.in generated by automake 1.15 from Makefile.am.
2 # @configure_input@
3
4 # Copyright (C) 1994-2014 Free Software Foundation, Inc.
5
6 # This Makefile.in is free software; the Free Software Foundation
7 # gives unlimited permission to copy and/or distribute it,
8 # with or without modifications, as long as this notice is preserved.
9
10 # This program is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
12 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
13 # PARTICULAR PURPOSE.
14
15 @SET_MAKE@
16
17 # Variables to be defined:
18 #
19 #  TEST_VERBOSE - set to 0 (default) or 1 to control test suite verbosity
20 #  TEST_PARALLEL - set to 1 (default) or N to control the parallel jobs
21 #  TEST_ENV_VARS - environment variables to be set for the test suite
22 #  TEST_COVERAGE - set to the perl module in charge of getting test coverage
23 #  test_tmpdir - test suite temporary directory
24 #  test_scripts - list of test case scripts
25 #  test_programs - list of test case programs
26 #  test_data - list of test data files
27
28 VPATH = @srcdir@
29 am__is_gnu_make = { \
30   if test -z '$(MAKELEVEL)'; then \
31     false; \
32   elif test -n '$(MAKE_HOST)'; then \
33     true; \
34   elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
35     true; \
36   else \
37     false; \
38   fi; \
39 }
40 am__make_running_with_option = \
41   case $${target_option-} in \
42       ?) ;; \
43       *) echo "am__make_running_with_option: internal error: invalid" \
44               "target option '$${target_option-}' specified" >&2; \
45          exit 1;; \
46   esac; \
47   has_opt=no; \
48   sane_makeflags=$$MAKEFLAGS; \
49   if $(am__is_gnu_make); then \
50     sane_makeflags=$$MFLAGS; \
51   else \
52     case $$MAKEFLAGS in \
53       *\\[\ \   ]*) \
54         bs=\\; \
55         sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
56           | sed "s/$$bs$$bs[$$bs $$bs   ]*//g"`;; \
57     esac; \
58   fi; \
59   skip_next=no; \
60   strip_trailopt () \
61   { \
62     flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
63   }; \
64   for flg in $$sane_makeflags; do \
65     test $$skip_next = yes && { skip_next=no; continue; }; \
66     case $$flg in \
67       *=*|--*) continue;; \
68         -*I) strip_trailopt 'I'; skip_next=yes;; \
69       -*I?*) strip_trailopt 'I';; \
70         -*O) strip_trailopt 'O'; skip_next=yes;; \
71       -*O?*) strip_trailopt 'O';; \
72         -*l) strip_trailopt 'l'; skip_next=yes;; \
73       -*l?*) strip_trailopt 'l';; \
74       -[dEDm]) skip_next=yes;; \
75       -[JT]) skip_next=yes;; \
76     esac; \
77     case $$flg in \
78       *$$target_option*) has_opt=yes; break;; \
79     esac; \
80   done; \
81   test $$has_opt = yes
82 am__make_dryrun = (target_option=n; $(am__make_running_with_option))
83 am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
84 pkgdatadir = $(datadir)/@PACKAGE@
85 pkgincludedir = $(includedir)/@PACKAGE@
86 pkglibdir = $(libdir)/@PACKAGE@
87 pkglibexecdir = $(libexecdir)/@PACKAGE@
88 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
89 install_sh_DATA = $(install_sh) -c -m 644
90 install_sh_PROGRAM = $(install_sh) -c
91 install_sh_SCRIPT = $(install_sh) -c
92 INSTALL_HEADER = $(INSTALL_DATA)
93 transform = $(program_transform_name)
94 NORMAL_INSTALL = :
95 PRE_INSTALL = :
96 POST_INSTALL = :
97 NORMAL_UNINSTALL = :
98 PRE_UNINSTALL = :
99 POST_UNINSTALL = :
100 build_triplet = @build@
101 host_triplet = @host@
102 subdir = .
103 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
104 am__aclocal_m4_deps = $(top_srcdir)/m4/dpkg-arch.m4 \
105         $(top_srcdir)/m4/dpkg-build.m4 \
106         $(top_srcdir)/m4/dpkg-compiler.m4 \
107         $(top_srcdir)/m4/dpkg-coverage.m4 \
108         $(top_srcdir)/m4/dpkg-funcs.m4 $(top_srcdir)/m4/dpkg-libs.m4 \
109         $(top_srcdir)/m4/dpkg-linker.m4 $(top_srcdir)/m4/dpkg-progs.m4 \
110         $(top_srcdir)/m4/dpkg-types.m4 \
111         $(top_srcdir)/m4/dpkg-unicode.m4 $(top_srcdir)/m4/gettext.m4 \
112         $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/intlmacosx.m4 \
113         $(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \
114         $(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/libtool.m4 \
115         $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
116         $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
117         $(top_srcdir)/m4/nls.m4 $(top_srcdir)/m4/po.m4 \
118         $(top_srcdir)/m4/progtest.m4 $(top_srcdir)/configure.ac
119 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
120         $(ACLOCAL_M4)
121 DIST_COMMON = $(srcdir)/Makefile.am $(top_srcdir)/configure \
122         $(am__configure_deps) $(dist_pkgdata_DATA) $(am__DIST_COMMON)
123 am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
124  configure.lineno config.status.lineno
125 mkinstalldirs = $(install_sh) -d
126 CONFIG_HEADER = config.h
127 CONFIG_CLEAN_FILES = doc/Doxyfile
128 CONFIG_CLEAN_VPATH_FILES =
129 AM_V_P = $(am__v_P_@AM_V@)
130 am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
131 am__v_P_0 = false
132 am__v_P_1 = :
133 AM_V_GEN = $(am__v_GEN_@AM_V@)
134 am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
135 am__v_GEN_0 = @echo "  GEN     " $@;
136 am__v_GEN_1 = 
137 AM_V_at = $(am__v_at_@AM_V@)
138 am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
139 am__v_at_0 = @
140 am__v_at_1 = 
141 SOURCES =
142 DIST_SOURCES =
143 RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \
144         ctags-recursive dvi-recursive html-recursive info-recursive \
145         install-data-recursive install-dvi-recursive \
146         install-exec-recursive install-html-recursive \
147         install-info-recursive install-pdf-recursive \
148         install-ps-recursive install-recursive installcheck-recursive \
149         installdirs-recursive pdf-recursive ps-recursive \
150         tags-recursive uninstall-recursive
151 am__can_run_installinfo = \
152   case $$AM_UPDATE_INFO_DIR in \
153     n|no|NO) false;; \
154     *) (install-info --version) >/dev/null 2>&1;; \
155   esac
156 am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
157 am__vpath_adj = case $$p in \
158     $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
159     *) f=$$p;; \
160   esac;
161 am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
162 am__install_max = 40
163 am__nobase_strip_setup = \
164   srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
165 am__nobase_strip = \
166   for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
167 am__nobase_list = $(am__nobase_strip_setup); \
168   for p in $$list; do echo "$$p $$p"; done | \
169   sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
170   $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
171     if (++n[$$2] == $(am__install_max)) \
172       { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
173     END { for (dir in files) print dir, files[dir] }'
174 am__base_list = \
175   sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
176   sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
177 am__uninstall_files_from_dir = { \
178   test -z "$$files" \
179     || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
180     || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
181          $(am__cd) "$$dir" && rm -f $$files; }; \
182   }
183 am__installdirs = "$(DESTDIR)$(pkgdatadir)"
184 DATA = $(dist_pkgdata_DATA)
185 RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
186   distclean-recursive maintainer-clean-recursive
187 am__recursive_targets = \
188   $(RECURSIVE_TARGETS) \
189   $(RECURSIVE_CLEAN_TARGETS) \
190   $(am__extra_recursive_targets)
191 AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \
192         cscope distdir dist dist-all distcheck
193 am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) \
194         $(LISP)config.h.in
195 # Read a list of newline-separated strings from the standard input,
196 # and print each of them once, without duplicates.  Input order is
197 # *not* preserved.
198 am__uniquify_input = $(AWK) '\
199   BEGIN { nonempty = 0; } \
200   { items[$$0] = 1; nonempty = 1; } \
201   END { if (nonempty) { for (i in items) print i; }; } \
202 '
203 # Make sure the list of sources is unique.  This is necessary because,
204 # e.g., the same source file might be shared among _SOURCES variables
205 # for different programs/libraries.
206 am__define_uniq_tagged_files = \
207   list='$(am__tagged_files)'; \
208   unique=`for i in $$list; do \
209     if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
210   done | $(am__uniquify_input)`
211 ETAGS = etags
212 CTAGS = ctags
213 CSCOPE = cscope
214 DIST_SUBDIRS = lib dpkg-deb dpkg-split src utils dselect scripts \
215         t-func po man
216 am__DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/config.h.in \
217         $(top_srcdir)/build-aux/ar-lib $(top_srcdir)/build-aux/compile \
218         $(top_srcdir)/build-aux/config.guess \
219         $(top_srcdir)/build-aux/config.rpath \
220         $(top_srcdir)/build-aux/config.sub \
221         $(top_srcdir)/build-aux/install-sh \
222         $(top_srcdir)/build-aux/ltmain.sh \
223         $(top_srcdir)/build-aux/missing $(top_srcdir)/check.am \
224         $(top_srcdir)/doc/Doxyfile.in ABOUT-NLS AUTHORS COPYING NEWS \
225         README THANKS TODO build-aux/ar-lib build-aux/compile \
226         build-aux/config.guess build-aux/config.rpath \
227         build-aux/config.sub build-aux/install-sh build-aux/ltmain.sh \
228         build-aux/missing
229 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
230 distdir = $(PACKAGE)-$(VERSION)
231 top_distdir = $(distdir)
232 am__remove_distdir = \
233   if test -d "$(distdir)"; then \
234     find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
235       && rm -rf "$(distdir)" \
236       || { sleep 5 && rm -rf "$(distdir)"; }; \
237   else :; fi
238 am__post_remove_distdir = $(am__remove_distdir)
239 am__relativize = \
240   dir0=`pwd`; \
241   sed_first='s,^\([^/]*\)/.*$$,\1,'; \
242   sed_rest='s,^[^/]*/*,,'; \
243   sed_last='s,^.*/\([^/]*\)$$,\1,'; \
244   sed_butlast='s,/*[^/]*$$,,'; \
245   while test -n "$$dir1"; do \
246     first=`echo "$$dir1" | sed -e "$$sed_first"`; \
247     if test "$$first" != "."; then \
248       if test "$$first" = ".."; then \
249         dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
250         dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
251       else \
252         first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
253         if test "$$first2" = "$$first"; then \
254           dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
255         else \
256           dir2="../$$dir2"; \
257         fi; \
258         dir0="$$dir0"/"$$first"; \
259       fi; \
260     fi; \
261     dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
262   done; \
263   reldir="$$dir2"
264 GZIP_ENV = --best
265 DIST_ARCHIVES = $(distdir).tar.xz
266 DIST_TARGETS = dist-xz
267 distuninstallcheck_listfiles = find . -type f -print
268 am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \
269   | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$'
270 distcleancheck_listfiles = find . -type f -print
271 ACLOCAL = @ACLOCAL@
272 AMTAR = @AMTAR@
273 AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
274 AR = @AR@
275 AUTOCONF = @AUTOCONF@
276 AUTOHEADER = @AUTOHEADER@
277 AUTOM4TE = @AUTOM4TE@
278 AUTOMAKE = @AUTOMAKE@
279 AWK = @AWK@
280 BUILD_DEVEL_DOCS = @BUILD_DEVEL_DOCS@
281 BZ2_LIBS = @BZ2_LIBS@
282 CC = @CC@
283 CCDEPMODE = @CCDEPMODE@
284 CFLAGS = @CFLAGS@
285 CPP = @CPP@
286 CPPFLAGS = @CPPFLAGS@
287 CURSES_LIBS = @CURSES_LIBS@
288 CXX = @CXX@
289 CXXCPP = @CXXCPP@
290 CXXDEPMODE = @CXXDEPMODE@
291 CXXFLAGS = @CXXFLAGS@
292 CYGPATH_W = @CYGPATH_W@
293 DEFS = @DEFS@
294 DEPDIR = @DEPDIR@
295 DLLTOOL = @DLLTOOL@
296 DOXYGEN = @DOXYGEN@
297 DSYMUTIL = @DSYMUTIL@
298 DUMPBIN = @DUMPBIN@
299 ECHO_C = @ECHO_C@
300 ECHO_N = @ECHO_N@
301 ECHO_T = @ECHO_T@
302 EGREP = @EGREP@
303 EXEEXT = @EXEEXT@
304 FGREP = @FGREP@
305 GCOV = @GCOV@
306 GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@
307 GMSGFMT = @GMSGFMT@
308 GMSGFMT_015 = @GMSGFMT_015@
309 GREP = @GREP@
310 HAVE_DOT = @HAVE_DOT@
311 INSTALL = @INSTALL@
312 INSTALL_DATA = @INSTALL_DATA@
313 INSTALL_PROGRAM = @INSTALL_PROGRAM@
314 INSTALL_SCRIPT = @INSTALL_SCRIPT@
315 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
316 INTLLIBS = @INTLLIBS@
317 INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@
318 KVM_LIBS = @KVM_LIBS@
319 LCOV = @LCOV@
320 LCOV_GENHTML = @LCOV_GENHTML@
321 LD = @LD@
322 LDFLAGS = @LDFLAGS@
323 LIBICONV = @LIBICONV@
324 LIBINTL = @LIBINTL@
325 LIBOBJS = @LIBOBJS@
326 LIBS = @LIBS@
327 LIBTOOL = @LIBTOOL@
328 LIPO = @LIPO@
329 LN_S = @LN_S@
330 LTLIBICONV = @LTLIBICONV@
331 LTLIBINTL = @LTLIBINTL@
332 LTLIBOBJS = @LTLIBOBJS@
333 LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
334 LZMA_LIBS = @LZMA_LIBS@
335 MAKEINFO = @MAKEINFO@
336 MANIFEST_TOOL = @MANIFEST_TOOL@
337 MD_LIBS = @MD_LIBS@
338 MKDIR_P = @MKDIR_P@
339 MSGFMT = @MSGFMT@
340 MSGFMT_015 = @MSGFMT_015@
341 MSGMERGE = @MSGMERGE@
342 NM = @NM@
343 NMEDIT = @NMEDIT@
344 OBJDUMP = @OBJDUMP@
345 OBJEXT = @OBJEXT@
346 OTOOL = @OTOOL@
347 OTOOL64 = @OTOOL64@
348 PACKAGE = @PACKAGE@
349 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
350 PACKAGE_COPYRIGHT_HOLDER = @PACKAGE_COPYRIGHT_HOLDER@
351 PACKAGE_NAME = @PACKAGE_NAME@
352 PACKAGE_RELEASE_DATE = @PACKAGE_RELEASE_DATE@
353 PACKAGE_STRING = @PACKAGE_STRING@
354 PACKAGE_TARNAME = @PACKAGE_TARNAME@
355 PACKAGE_URL = @PACKAGE_URL@
356 PACKAGE_VERSION = @PACKAGE_VERSION@
357 PATCH = @PATCH@
358 PATH_SEPARATOR = @PATH_SEPARATOR@
359 PERL = @PERL@
360 PERL_COVER = @PERL_COVER@
361 PERL_COVERAGE = @PERL_COVERAGE@
362 PERL_LIBDIR = @PERL_LIBDIR@
363 PKG_CONFIG = @PKG_CONFIG@
364 PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
365 PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
366 PO4A = @PO4A@
367 POD2MAN = @POD2MAN@
368 POSUB = @POSUB@
369 PS_LIBS = @PS_LIBS@
370 RANLIB = @RANLIB@
371 SED = @SED@
372 SELINUX_CFLAGS = @SELINUX_CFLAGS@
373 SELINUX_LIBS = @SELINUX_LIBS@
374 SET_MAKE = @SET_MAKE@
375 SHELL = @SHELL@
376 STRIP = @STRIP@
377 TAR = @TAR@
378 USE_NLS = @USE_NLS@
379 USE_PO4A = @USE_PO4A@
380 USE_UNICODE = @USE_UNICODE@
381 VERSION = @VERSION@
382 XGETTEXT = @XGETTEXT@
383 XGETTEXT_015 = @XGETTEXT_015@
384 XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@
385 Z_LIBS = @Z_LIBS@
386 abs_builddir = @abs_builddir@
387 abs_srcdir = @abs_srcdir@
388 abs_top_builddir = @abs_top_builddir@
389 abs_top_srcdir = @abs_top_srcdir@
390 ac_ct_AR = @ac_ct_AR@
391 ac_ct_CC = @ac_ct_CC@
392 ac_ct_CXX = @ac_ct_CXX@
393 ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
394 admindir = @admindir@
395 am__include = @am__include@
396 am__leading_dot = @am__leading_dot@
397 am__quote = @am__quote@
398 am__tar = @am__tar@
399 am__untar = @am__untar@
400 bindir = @bindir@
401 build = @build@
402 build_alias = @build_alias@
403 build_cpu = @build_cpu@
404 build_os = @build_os@
405 build_vendor = @build_vendor@
406 builddir = @builddir@
407 datadir = @datadir@
408 datarootdir = @datarootdir@
409 devlibdir = @devlibdir@
410 docdir = @docdir@
411 dvidir = @dvidir@
412 exec_prefix = @exec_prefix@
413 host = @host@
414 host_alias = @host_alias@
415 host_cpu = @host_cpu@
416 host_os = @host_os@
417 host_vendor = @host_vendor@
418 htmldir = @htmldir@
419 includedir = @includedir@
420 infodir = @infodir@
421 install_sh = @install_sh@
422 libdir = @libdir@
423 libexecdir = @libexecdir@
424 localedir = @localedir@
425 localstatedir = @localstatedir@
426 logdir = @logdir@
427 mandir = @mandir@
428 mkdir_p = @mkdir_p@
429 oldincludedir = @oldincludedir@
430 pdfdir = @pdfdir@
431 pkgconfdir = @pkgconfdir@
432 prefix = @prefix@
433 program_transform_name = @program_transform_name@
434 psdir = @psdir@
435 runstatedir = @runstatedir@
436 sbindir = @sbindir@
437 sharedstatedir = @sharedstatedir@
438 srcdir = @srcdir@
439 sysconfdir = @sysconfdir@
440 target_alias = @target_alias@
441 top_build_prefix = @top_build_prefix@
442 top_builddir = @top_builddir@
443 top_srcdir = @top_srcdir@
444 @BUILD_DSELECT_TRUE@MAYBE_DSELECT = dselect
445 SUBDIRS = \
446         lib \
447         dpkg-deb \
448         dpkg-split \
449         src \
450         utils \
451         $(MAYBE_DSELECT) \
452         scripts \
453         t-func \
454         po \
455         man
456
457 ACLOCAL_AMFLAGS = -I m4
458 dist_pkgdata_DATA = \
459         data/pie-compile.specs \
460         data/pie-link.specs \
461         data/no-pie-compile.specs \
462         data/no-pie-link.specs \
463         data/cputable \
464         data/ostable \
465         data/abitable \
466         data/tupletable \
467         $(nil)
468
469 EXTRA_DIST = \
470         .mailmap \
471         ChangeLog.old \
472         README.l10n \
473         get-version \
474         run-script \
475         doc/README.api \
476         doc/README.feature-removal-schedule \
477         doc/coding-style.txt \
478         doc/frontend.txt \
479         doc/lcov-inject.pl \
480         doc/triggers.txt \
481         debian/changelog \
482         debian/compat \
483         debian/control \
484         debian/copyright \
485         debian/dpkg-dev.docs \
486         debian/dpkg-dev.install \
487         debian/dpkg-dev.manpages \
488         debian/dpkg-dev.preinst \
489         debian/dpkg-dev.lintian-overrides \
490         debian/dpkg.cfg \
491         debian/dpkg.cron.daily \
492         debian/dpkg.docs \
493         debian/dpkg.install \
494         debian/dpkg.manpages \
495         debian/dpkg.postinst \
496         debian/dpkg.postrm \
497         debian/dpkg.prerm \
498         debian/dpkg.logrotate \
499         debian/dpkg.lintian-overrides \
500         debian/dselect.cfg \
501         debian/dselect.docs \
502         debian/dselect.install \
503         debian/dselect.manpages \
504         debian/dselect.preinst \
505         debian/dselect.lintian-overrides \
506         debian/libdpkg-dev.docs \
507         debian/libdpkg-dev.install \
508         debian/libdpkg-dev.lintian-overrides \
509         debian/libdpkg-perl.docs \
510         debian/libdpkg-perl.install \
511         debian/libdpkg-perl.lintian-overrides \
512         debian/source/lintian-overrides \
513         debian/source/format \
514         debian/source/options \
515         debian/usertags \
516         debian/rules \
517         debian/shlibs.default \
518         debian/shlibs.override \
519         $(test_scripts) \
520         $(test_data) \
521         $(nil)
522
523 @COVERAGE_ENABLED_TRUE@LCOV_OPTS = -q --rc geninfo_checksum=1 --rc lcov_branch_coverage=1
524 @COVERAGE_ENABLED_TRUE@LCOV_CAPTURE_OPTS = $(LCOV_OPTS) --no-recursion \
525 @COVERAGE_ENABLED_TRUE@ -d $(top_builddir)/lib/dpkg \
526 @COVERAGE_ENABLED_TRUE@ -d $(top_builddir)/src \
527 @COVERAGE_ENABLED_TRUE@ -d $(top_builddir)/utils
528
529 @COVERAGE_ENABLED_TRUE@LCOV_INJECT = $(PERL) -i $(top_srcdir)/doc/lcov-inject.pl
530 test_scripts = \
531         t/pod.t \
532         t/pod-spell.t \
533         t/pod-coverage.t \
534         t/synopsis.t \
535         t/minimum-version.t \
536         t/syntax.t \
537         t/strict.t \
538         t/critic.t \
539         $(nil)
540
541 test_data = \
542         t/critic/perlcriticrc \
543         $(nil)
544
545
546 # We need to use absolute paths here due to strict.t invoking a sub-perl,
547 # while changing dir to source dir on out-of-tree builds.
548 TEST_ENV_VARS = \
549         DPKG_DATADIR=$(abs_top_srcdir)/data \
550         $(nil)
551
552 TEST_RUNNER = '\
553         my $$harness = TAP::Harness->new({ \
554             exec => sub { my (undef, $$test) = @_; \
555                 return [ $$test ] if $$test !~ "\.t\$$" and -x $$test; \
556                 return }, \
557             lib => [ "$(top_srcdir)/scripts", "$(top_srcdir)/dselect/methods"  ], \
558             color => 1, \
559             verbosity => $(TEST_VERBOSE), \
560             jobs => $(TEST_PARALLEL), \
561             failures => 1, \
562         }); \
563         my $$aggregate = $$harness->runtests(@ARGV); \
564         die "FAIL: test suite has errors\n" if $$aggregate->has_errors;'
565
566 all: config.h
567         $(MAKE) $(AM_MAKEFLAGS) all-recursive
568
569 .SUFFIXES:
570 am--refresh: Makefile
571         @:
572 $(srcdir)/Makefile.in:  $(srcdir)/Makefile.am $(top_srcdir)/check.am $(am__configure_deps)
573         @for dep in $?; do \
574           case '$(am__configure_deps)' in \
575             *$$dep*) \
576               echo ' cd $(srcdir) && $(AUTOMAKE) --foreign'; \
577               $(am__cd) $(srcdir) && $(AUTOMAKE) --foreign \
578                 && exit 0; \
579               exit 1;; \
580           esac; \
581         done; \
582         echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \
583         $(am__cd) $(top_srcdir) && \
584           $(AUTOMAKE) --foreign Makefile
585 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
586         @case '$?' in \
587           *config.status*) \
588             echo ' $(SHELL) ./config.status'; \
589             $(SHELL) ./config.status;; \
590           *) \
591             echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
592             cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
593         esac;
594 $(top_srcdir)/check.am $(am__empty):
595
596 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
597         $(SHELL) ./config.status --recheck
598
599 $(top_srcdir)/configure:  $(am__configure_deps)
600         $(am__cd) $(srcdir) && $(AUTOCONF)
601 $(ACLOCAL_M4):  $(am__aclocal_m4_deps)
602         $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
603 $(am__aclocal_m4_deps):
604
605 config.h: stamp-h1
606         @test -f $@ || rm -f stamp-h1
607         @test -f $@ || $(MAKE) $(AM_MAKEFLAGS) stamp-h1
608
609 stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
610         @rm -f stamp-h1
611         cd $(top_builddir) && $(SHELL) ./config.status config.h
612 $(srcdir)/config.h.in:  $(am__configure_deps) 
613         ($(am__cd) $(top_srcdir) && $(AUTOHEADER))
614         rm -f stamp-h1
615         touch $@
616
617 distclean-hdr:
618         -rm -f config.h stamp-h1
619 doc/Doxyfile: $(top_builddir)/config.status $(top_srcdir)/doc/Doxyfile.in
620         cd $(top_builddir) && $(SHELL) ./config.status $@
621
622 mostlyclean-libtool:
623         -rm -f *.lo
624
625 clean-libtool:
626         -rm -rf .libs _libs
627
628 distclean-libtool:
629         -rm -f libtool config.lt
630 install-dist_pkgdataDATA: $(dist_pkgdata_DATA)
631         @$(NORMAL_INSTALL)
632         @list='$(dist_pkgdata_DATA)'; test -n "$(pkgdatadir)" || list=; \
633         if test -n "$$list"; then \
634           echo " $(MKDIR_P) '$(DESTDIR)$(pkgdatadir)'"; \
635           $(MKDIR_P) "$(DESTDIR)$(pkgdatadir)" || exit 1; \
636         fi; \
637         for p in $$list; do \
638           if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
639           echo "$$d$$p"; \
640         done | $(am__base_list) | \
641         while read files; do \
642           echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(pkgdatadir)'"; \
643           $(INSTALL_DATA) $$files "$(DESTDIR)$(pkgdatadir)" || exit $$?; \
644         done
645
646 uninstall-dist_pkgdataDATA:
647         @$(NORMAL_UNINSTALL)
648         @list='$(dist_pkgdata_DATA)'; test -n "$(pkgdatadir)" || list=; \
649         files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
650         dir='$(DESTDIR)$(pkgdatadir)'; $(am__uninstall_files_from_dir)
651
652 # This directory's subdirectories are mostly independent; you can cd
653 # into them and run 'make' without going through this Makefile.
654 # To change the values of 'make' variables: instead of editing Makefiles,
655 # (1) if the variable is set in 'config.status', edit 'config.status'
656 #     (which will cause the Makefiles to be regenerated when you run 'make');
657 # (2) otherwise, pass the desired values on the 'make' command line.
658 $(am__recursive_targets):
659         @fail=; \
660         if $(am__make_keepgoing); then \
661           failcom='fail=yes'; \
662         else \
663           failcom='exit 1'; \
664         fi; \
665         dot_seen=no; \
666         target=`echo $@ | sed s/-recursive//`; \
667         case "$@" in \
668           distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
669           *) list='$(SUBDIRS)' ;; \
670         esac; \
671         for subdir in $$list; do \
672           echo "Making $$target in $$subdir"; \
673           if test "$$subdir" = "."; then \
674             dot_seen=yes; \
675             local_target="$$target-am"; \
676           else \
677             local_target="$$target"; \
678           fi; \
679           ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
680           || eval $$failcom; \
681         done; \
682         if test "$$dot_seen" = "no"; then \
683           $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
684         fi; test -z "$$fail"
685
686 ID: $(am__tagged_files)
687         $(am__define_uniq_tagged_files); mkid -fID $$unique
688 tags: tags-recursive
689 TAGS: tags
690
691 tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
692         set x; \
693         here=`pwd`; \
694         if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
695           include_option=--etags-include; \
696           empty_fix=.; \
697         else \
698           include_option=--include; \
699           empty_fix=; \
700         fi; \
701         list='$(SUBDIRS)'; for subdir in $$list; do \
702           if test "$$subdir" = .; then :; else \
703             test ! -f $$subdir/TAGS || \
704               set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
705           fi; \
706         done; \
707         $(am__define_uniq_tagged_files); \
708         shift; \
709         if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
710           test -n "$$unique" || unique=$$empty_fix; \
711           if test $$# -gt 0; then \
712             $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
713               "$$@" $$unique; \
714           else \
715             $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
716               $$unique; \
717           fi; \
718         fi
719 ctags: ctags-recursive
720
721 CTAGS: ctags
722 ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
723         $(am__define_uniq_tagged_files); \
724         test -z "$(CTAGS_ARGS)$$unique" \
725           || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
726              $$unique
727
728 GTAGS:
729         here=`$(am__cd) $(top_builddir) && pwd` \
730           && $(am__cd) $(top_srcdir) \
731           && gtags -i $(GTAGS_ARGS) "$$here"
732 cscope: cscope.files
733         test ! -s cscope.files \
734           || $(CSCOPE) -b -q $(AM_CSCOPEFLAGS) $(CSCOPEFLAGS) -i cscope.files $(CSCOPE_ARGS)
735 clean-cscope:
736         -rm -f cscope.files
737 cscope.files: clean-cscope cscopelist
738 cscopelist: cscopelist-recursive
739
740 cscopelist-am: $(am__tagged_files)
741         list='$(am__tagged_files)'; \
742         case "$(srcdir)" in \
743           [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
744           *) sdir=$(subdir)/$(srcdir) ;; \
745         esac; \
746         for i in $$list; do \
747           if test -f "$$i"; then \
748             echo "$(subdir)/$$i"; \
749           else \
750             echo "$$sdir/$$i"; \
751           fi; \
752         done >> $(top_builddir)/cscope.files
753
754 distclean-tags:
755         -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
756         -rm -f cscope.out cscope.in.out cscope.po.out cscope.files
757
758 distdir: $(DISTFILES)
759         $(am__remove_distdir)
760         test -d "$(distdir)" || mkdir "$(distdir)"
761         @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
762         topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
763         list='$(DISTFILES)'; \
764           dist_files=`for file in $$list; do echo $$file; done | \
765           sed -e "s|^$$srcdirstrip/||;t" \
766               -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
767         case $$dist_files in \
768           */*) $(MKDIR_P) `echo "$$dist_files" | \
769                            sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
770                            sort -u` ;; \
771         esac; \
772         for file in $$dist_files; do \
773           if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
774           if test -d $$d/$$file; then \
775             dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
776             if test -d "$(distdir)/$$file"; then \
777               find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
778             fi; \
779             if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
780               cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
781               find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
782             fi; \
783             cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
784           else \
785             test -f "$(distdir)/$$file" \
786             || cp -p $$d/$$file "$(distdir)/$$file" \
787             || exit 1; \
788           fi; \
789         done
790         @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
791           if test "$$subdir" = .; then :; else \
792             $(am__make_dryrun) \
793               || test -d "$(distdir)/$$subdir" \
794               || $(MKDIR_P) "$(distdir)/$$subdir" \
795               || exit 1; \
796             dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
797             $(am__relativize); \
798             new_distdir=$$reldir; \
799             dir1=$$subdir; dir2="$(top_distdir)"; \
800             $(am__relativize); \
801             new_top_distdir=$$reldir; \
802             echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
803             echo "     am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
804             ($(am__cd) $$subdir && \
805               $(MAKE) $(AM_MAKEFLAGS) \
806                 top_distdir="$$new_top_distdir" \
807                 distdir="$$new_distdir" \
808                 am__remove_distdir=: \
809                 am__skip_length_check=: \
810                 am__skip_mode_fix=: \
811                 distdir) \
812               || exit 1; \
813           fi; \
814         done
815         $(MAKE) $(AM_MAKEFLAGS) \
816           top_distdir="$(top_distdir)" distdir="$(distdir)" \
817           dist-hook
818         -test -n "$(am__skip_mode_fix)" \
819         || find "$(distdir)" -type d ! -perm -755 \
820                 -exec chmod u+rwx,go+rx {} \; -o \
821           ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
822           ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
823           ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
824         || chmod -R a+r "$(distdir)"
825 dist-gzip: distdir
826         tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
827         $(am__post_remove_distdir)
828
829 dist-bzip2: distdir
830         tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2
831         $(am__post_remove_distdir)
832
833 dist-lzip: distdir
834         tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz
835         $(am__post_remove_distdir)
836 dist-xz: distdir
837         tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz
838         $(am__post_remove_distdir)
839
840 dist-tarZ: distdir
841         @echo WARNING: "Support for distribution archives compressed with" \
842                        "legacy program 'compress' is deprecated." >&2
843         @echo WARNING: "It will be removed altogether in Automake 2.0" >&2
844         tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
845         $(am__post_remove_distdir)
846
847 dist-shar: distdir
848         @echo WARNING: "Support for shar distribution archives is" \
849                        "deprecated." >&2
850         @echo WARNING: "It will be removed altogether in Automake 2.0" >&2
851         shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
852         $(am__post_remove_distdir)
853
854 dist-zip: distdir
855         -rm -f $(distdir).zip
856         zip -rq $(distdir).zip $(distdir)
857         $(am__post_remove_distdir)
858
859 dist dist-all:
860         $(MAKE) $(AM_MAKEFLAGS) $(DIST_TARGETS) am__post_remove_distdir='@:'
861         $(am__post_remove_distdir)
862
863 # This target untars the dist file and tries a VPATH configuration.  Then
864 # it guarantees that the distribution is self-contained by making another
865 # tarfile.
866 distcheck: dist
867         case '$(DIST_ARCHIVES)' in \
868         *.tar.gz*) \
869           GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\
870         *.tar.bz2*) \
871           bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
872         *.tar.lz*) \
873           lzip -dc $(distdir).tar.lz | $(am__untar) ;;\
874         *.tar.xz*) \
875           xz -dc $(distdir).tar.xz | $(am__untar) ;;\
876         *.tar.Z*) \
877           uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
878         *.shar.gz*) \
879           GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\
880         *.zip*) \
881           unzip $(distdir).zip ;;\
882         esac
883         chmod -R a-w $(distdir)
884         chmod u+w $(distdir)
885         mkdir $(distdir)/_build $(distdir)/_build/sub $(distdir)/_inst
886         chmod a-w $(distdir)
887         test -d $(distdir)/_build || exit 0; \
888         dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
889           && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
890           && am__cwd=`pwd` \
891           && $(am__cd) $(distdir)/_build/sub \
892           && ../../configure \
893             $(AM_DISTCHECK_CONFIGURE_FLAGS) \
894             $(DISTCHECK_CONFIGURE_FLAGS) \
895             --srcdir=../.. --prefix="$$dc_install_base" \
896           && $(MAKE) $(AM_MAKEFLAGS) \
897           && $(MAKE) $(AM_MAKEFLAGS) dvi \
898           && $(MAKE) $(AM_MAKEFLAGS) check \
899           && $(MAKE) $(AM_MAKEFLAGS) install \
900           && $(MAKE) $(AM_MAKEFLAGS) installcheck \
901           && $(MAKE) $(AM_MAKEFLAGS) uninstall \
902           && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
903                 distuninstallcheck \
904           && chmod -R a-w "$$dc_install_base" \
905           && ({ \
906                (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
907                && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
908                && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
909                && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
910                     distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
911               } || { rm -rf "$$dc_destdir"; exit 1; }) \
912           && rm -rf "$$dc_destdir" \
913           && $(MAKE) $(AM_MAKEFLAGS) dist \
914           && rm -rf $(DIST_ARCHIVES) \
915           && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
916           && cd "$$am__cwd" \
917           || exit 1
918         $(am__post_remove_distdir)
919         @(echo "$(distdir) archives ready for distribution: "; \
920           list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
921           sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
922 distuninstallcheck:
923         @test -n '$(distuninstallcheck_dir)' || { \
924           echo 'ERROR: trying to run $@ with an empty' \
925                '$$(distuninstallcheck_dir)' >&2; \
926           exit 1; \
927         }; \
928         $(am__cd) '$(distuninstallcheck_dir)' || { \
929           echo 'ERROR: cannot chdir into $(distuninstallcheck_dir)' >&2; \
930           exit 1; \
931         }; \
932         test `$(am__distuninstallcheck_listfiles) | wc -l` -eq 0 \
933            || { echo "ERROR: files left after uninstall:" ; \
934                 if test -n "$(DESTDIR)"; then \
935                   echo "  (check DESTDIR support)"; \
936                 fi ; \
937                 $(distuninstallcheck_listfiles) ; \
938                 exit 1; } >&2
939 distcleancheck: distclean
940         @if test '$(srcdir)' = . ; then \
941           echo "ERROR: distcleancheck can only run from a VPATH build" ; \
942           exit 1 ; \
943         fi
944         @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
945           || { echo "ERROR: files left in build directory after distclean:" ; \
946                $(distcleancheck_listfiles) ; \
947                exit 1; } >&2
948 check-am: all-am
949         $(MAKE) $(AM_MAKEFLAGS) check-local
950 check: check-recursive
951 all-am: Makefile $(DATA) config.h
952 installdirs: installdirs-recursive
953 installdirs-am:
954         for dir in "$(DESTDIR)$(pkgdatadir)"; do \
955           test -z "$$dir" || $(MKDIR_P) "$$dir"; \
956         done
957 install: install-recursive
958 install-exec: install-exec-recursive
959 install-data: install-data-recursive
960 uninstall: uninstall-recursive
961
962 install-am: all-am
963         @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
964
965 installcheck: installcheck-recursive
966 install-strip:
967         if test -z '$(STRIP)'; then \
968           $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
969             install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
970               install; \
971         else \
972           $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
973             install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
974             "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
975         fi
976 mostlyclean-generic:
977
978 clean-generic:
979
980 distclean-generic:
981         -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
982         -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
983
984 maintainer-clean-generic:
985         @echo "This command is intended for maintainers to use"
986         @echo "it deletes files that may require special tools to rebuild."
987 clean: clean-recursive
988
989 clean-am: clean-generic clean-libtool clean-local mostlyclean-am
990
991 distclean: distclean-recursive
992         -rm -f $(am__CONFIG_DISTCLEAN_FILES)
993         -rm -f Makefile
994 distclean-am: clean-am distclean-generic distclean-hdr \
995         distclean-libtool distclean-tags
996
997 dvi: dvi-recursive
998
999 dvi-am:
1000
1001 html: html-recursive
1002
1003 html-am:
1004
1005 info: info-recursive
1006
1007 info-am:
1008
1009 install-data-am: install-dist_pkgdataDATA
1010
1011 install-dvi: install-dvi-recursive
1012
1013 install-dvi-am:
1014
1015 install-exec-am:
1016
1017 install-html: install-html-recursive
1018
1019 install-html-am:
1020
1021 install-info: install-info-recursive
1022
1023 install-info-am:
1024
1025 install-man:
1026
1027 install-pdf: install-pdf-recursive
1028
1029 install-pdf-am:
1030
1031 install-ps: install-ps-recursive
1032
1033 install-ps-am:
1034
1035 installcheck-am:
1036
1037 maintainer-clean: maintainer-clean-recursive
1038         -rm -f $(am__CONFIG_DISTCLEAN_FILES)
1039         -rm -rf $(top_srcdir)/autom4te.cache
1040         -rm -f Makefile
1041 maintainer-clean-am: distclean-am maintainer-clean-generic
1042
1043 mostlyclean: mostlyclean-recursive
1044
1045 mostlyclean-am: mostlyclean-generic mostlyclean-libtool
1046
1047 pdf: pdf-recursive
1048
1049 pdf-am:
1050
1051 ps: ps-recursive
1052
1053 ps-am:
1054
1055 uninstall-am: uninstall-dist_pkgdataDATA
1056
1057 .MAKE: $(am__recursive_targets) all check-am install-am install-strip
1058
1059 .PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am \
1060         am--refresh check check-am check-local clean clean-cscope \
1061         clean-generic clean-libtool clean-local cscope cscopelist-am \
1062         ctags ctags-am dist dist-all dist-bzip2 dist-gzip dist-hook \
1063         dist-lzip dist-shar dist-tarZ dist-xz dist-zip distcheck \
1064         distclean distclean-generic distclean-hdr distclean-libtool \
1065         distclean-tags distcleancheck distdir distuninstallcheck dvi \
1066         dvi-am html html-am info info-am install install-am \
1067         install-data install-data-am install-dist_pkgdataDATA \
1068         install-dvi install-dvi-am install-exec install-exec-am \
1069         install-html install-html-am install-info install-info-am \
1070         install-man install-pdf install-pdf-am install-ps \
1071         install-ps-am install-strip installcheck installcheck-am \
1072         installdirs installdirs-am maintainer-clean \
1073         maintainer-clean-generic mostlyclean mostlyclean-generic \
1074         mostlyclean-libtool pdf pdf-am ps ps-am tags tags-am uninstall \
1075         uninstall-am uninstall-dist_pkgdataDATA
1076
1077 .PRECIOUS: Makefile
1078
1079
1080 .PHONY: doc
1081
1082 doc: doc/Doxyfile
1083         $(DOXYGEN) doc/Doxyfile
1084
1085 doc-clean:
1086         rm -rf doc/html/
1087
1088 # Code coverage support
1089
1090 .PHONY: coverage coverage-clean
1091
1092 @COVERAGE_ENABLED_TRUE@coverage: all
1093 @COVERAGE_ENABLED_TRUE@ : # Remove coverage data from any previous run
1094 @COVERAGE_ENABLED_TRUE@ rm -f *.lcov
1095 @COVERAGE_ENABLED_TRUE@ find -name '*.gcda' -o -name '*.gcov' | xargs rm -f
1096
1097 @COVERAGE_ENABLED_TRUE@ : # Initialize data
1098 @COVERAGE_ENABLED_TRUE@ $(LCOV) $(LCOV_CAPTURE_OPTS) -c -o dpkg_base.lcov -i
1099 @COVERAGE_ENABLED_TRUE@ : # Run test cases
1100 @COVERAGE_ENABLED_TRUE@ $(MAKE) -C lib/dpkg check
1101 @COVERAGE_ENABLED_TRUE@ $(MAKE) -C src check
1102 @COVERAGE_ENABLED_TRUE@ $(MAKE) -C utils check
1103 @COVERAGE_ENABLED_TRUE@ : # Merge test coverage data
1104 @COVERAGE_ENABLED_TRUE@ $(LCOV) $(LCOV_CAPTURE_OPTS) -c -o dpkg_test.lcov
1105 @COVERAGE_ENABLED_TRUE@ $(LCOV) $(LCOV_OPTS) -a dpkg_base.lcov -a dpkg_test.lcov \
1106 @COVERAGE_ENABLED_TRUE@   -o dpkg_merge.lcov
1107 @COVERAGE_ENABLED_TRUE@ $(LCOV) $(LCOV_OPTS) -r dpkg_merge.lcov '/usr/include/*' -o dpkg.lcov
1108 @COVERAGE_ENABLED_TRUE@ : # Generate reports
1109 @COVERAGE_ENABLED_TRUE@ $(LCOV) $(LCOV_OPTS) -l dpkg.lcov
1110 @COVERAGE_ENABLED_TRUE@ $(LCOV_GENHTML) $(LCOV_OPTS) \
1111 @COVERAGE_ENABLED_TRUE@   --legend --title "dpkg $(VERSION) C code coverage" \
1112 @COVERAGE_ENABLED_TRUE@   -o doc/coverage dpkg.lcov
1113
1114 @COVERAGE_ENABLED_TRUE@ $(MAKE) -C scripts $@
1115
1116 @COVERAGE_ENABLED_TRUE@ : # XXX: Inject perl coverage into lcov index files. This is a fragile
1117 @COVERAGE_ENABLED_TRUE@ : # hack which might break depending on the html output generated.
1118 @COVERAGE_ENABLED_TRUE@ $(LCOV_INJECT) doc/coverage/index-sort-b.html
1119 @COVERAGE_ENABLED_TRUE@ $(LCOV_INJECT) doc/coverage/index-sort-f.html
1120 @COVERAGE_ENABLED_TRUE@ $(LCOV_INJECT) doc/coverage/index-sort-l.html
1121 @COVERAGE_ENABLED_TRUE@ $(LCOV_INJECT) doc/coverage/index.html
1122
1123 @COVERAGE_ENABLED_TRUE@coverage-clean:
1124 @COVERAGE_ENABLED_TRUE@ rm -rf doc/coverage/
1125 @COVERAGE_ENABLED_TRUE@ find -name '*.gcno' -o -name '*.gcda' -o \
1126 @COVERAGE_ENABLED_TRUE@      -name '*.gcov' -o -name '*.lcov' | xargs rm -f
1127 @COVERAGE_ENABLED_TRUE@ $(MAKE) -C scripts $@
1128 @COVERAGE_ENABLED_FALSE@coverage:
1129 @COVERAGE_ENABLED_FALSE@        @echo "Need to reconfigure with --enable-coverage"
1130
1131 @COVERAGE_ENABLED_FALSE@coverage-clean:
1132
1133 TEST_VERBOSE ?= 0
1134 TEST_PARALLEL ?= 1
1135
1136 check-clean:
1137         [ -z "$(test_tmpdir)" ] || rm -fr $(test_tmpdir)
1138
1139 check-local: $(test_data) $(test_programs) $(test_scripts)
1140         [ -z "$(test_tmpdir)" ] || $(MKDIR_P) $(test_tmpdir)
1141         PATH="$(abs_top_builddir)/src:$(abs_top_builddir)/scripts:$(abs_top_builddir)/utils:$(PATH)" \
1142           LC_ALL=C \
1143           DPKG_COLORS=never \
1144           $(TEST_ENV_VARS) \
1145           srcdir=$(srcdir) builddir=$(builddir) \
1146           CC=$(CC) \
1147           PERL=$(PERL) \
1148           PERL_DL_NONLAZY=1 \
1149           PERL5LIB=$(abs_top_srcdir)/scripts:$(abs_top_srcdir)/dselect/methods \
1150           PERL5OPT=$(TEST_COVERAGE) \
1151           $(PERL) -MTAP::Harness -e $(TEST_RUNNER) \
1152             $(addprefix $(builddir)/,$(test_programs)) \
1153             $(addprefix $(srcdir)/,$(test_scripts))
1154
1155 .PHONY: update-po
1156
1157 update-po:
1158         $(MAKE) -C po update-po
1159         $(MAKE) -C scripts/po update-po
1160         $(MAKE) -C dselect/po update-po
1161         $(MAKE) -C man update-po
1162
1163 # If we create the dist tarball from the git repository, make sure
1164 # that we're not forgetting some files...
1165 dist-hook:
1166         echo $(VERSION) >$(distdir)/.dist-version
1167         if [ -e .git ]; then \
1168           for file in `git ls-files | grep -v .gitignore`; do \
1169             if [ ! -e "$(distdir)/$$file" ]; then \
1170               echo "$$file is missing in $(distdir)" >&2 ; \
1171               exit 1 ; \
1172             fi ; \
1173           done ; \
1174           XDG_CONFIG_HOME= HOME= \
1175           git log -C --stat 1.15.0.. >$(distdir)/ChangeLog; \
1176         fi
1177
1178 clean-local: doc-clean coverage-clean check-clean
1179
1180 # Tell versions [3.59,3.63) of GNU make to not export all variables.
1181 # Otherwise a system limit (for SysV at least) may be exceeded.
1182 .NOEXPORT: