1 # Makefile.in generated by automake 1.15 from Makefile.am.
4 # Copyright (C) 1994-2014 Free Software Foundation, Inc.
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.
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
17 # Variables to be defined:
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
30 if test -z '$(MAKELEVEL)'; then \
32 elif test -n '$(MAKE_HOST)'; then \
34 elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
40 am__make_running_with_option = \
41 case $${target_option-} in \
43 *) echo "am__make_running_with_option: internal error: invalid" \
44 "target option '$${target_option-}' specified" >&2; \
48 sane_makeflags=$$MAKEFLAGS; \
49 if $(am__is_gnu_make); then \
50 sane_makeflags=$$MFLAGS; \
55 sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
56 | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
62 flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
64 for flg in $$sane_makeflags; do \
65 test $$skip_next = yes && { skip_next=no; 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;; \
78 *$$target_option*) has_opt=yes; break;; \
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)
100 build_triplet = @build@
101 host_triplet = @host@
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) \
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@)
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 " $@;
137 AM_V_at = $(am__v_at_@AM_V@)
138 am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
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 \
154 *) (install-info --version) >/dev/null 2>&1;; \
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/||"`;; \
161 am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
163 am__nobase_strip_setup = \
164 srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
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] }'
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 = { \
179 || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
180 || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
181 $(am__cd) "$$dir" && rm -f $$files; }; \
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) \
195 # Read a list of newline-separated strings from the standard input,
196 # and print each of them once, without duplicates. Input order is
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; }; } \
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)`
214 DIST_SUBDIRS = lib dpkg-deb dpkg-split src utils dselect scripts \
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 \
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)"; }; \
238 am__post_remove_distdir = $(am__remove_distdir)
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"`; \
252 first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
253 if test "$$first2" = "$$first"; then \
254 dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
258 dir0="$$dir0"/"$$first"; \
261 dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
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
273 AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
275 AUTOCONF = @AUTOCONF@
276 AUTOHEADER = @AUTOHEADER@
277 AUTOM4TE = @AUTOM4TE@
278 AUTOMAKE = @AUTOMAKE@
280 BUILD_DEVEL_DOCS = @BUILD_DEVEL_DOCS@
281 BZ2_LIBS = @BZ2_LIBS@
283 CCDEPMODE = @CCDEPMODE@
286 CPPFLAGS = @CPPFLAGS@
287 CURSES_LIBS = @CURSES_LIBS@
290 CXXDEPMODE = @CXXDEPMODE@
291 CXXFLAGS = @CXXFLAGS@
292 CYGPATH_W = @CYGPATH_W@
297 DSYMUTIL = @DSYMUTIL@
306 GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@
308 GMSGFMT_015 = @GMSGFMT_015@
310 HAVE_DOT = @HAVE_DOT@
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@
320 LCOV_GENHTML = @LCOV_GENHTML@
323 LIBICONV = @LIBICONV@
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@
340 MSGFMT_015 = @MSGFMT_015@
341 MSGMERGE = @MSGMERGE@
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@
358 PATH_SEPARATOR = @PATH_SEPARATOR@
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@
372 SELINUX_CFLAGS = @SELINUX_CFLAGS@
373 SELINUX_LIBS = @SELINUX_LIBS@
374 SET_MAKE = @SET_MAKE@
379 USE_PO4A = @USE_PO4A@
380 USE_UNICODE = @USE_UNICODE@
382 XGETTEXT = @XGETTEXT@
383 XGETTEXT_015 = @XGETTEXT_015@
384 XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@
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@
399 am__untar = @am__untar@
402 build_alias = @build_alias@
403 build_cpu = @build_cpu@
404 build_os = @build_os@
405 build_vendor = @build_vendor@
406 builddir = @builddir@
408 datarootdir = @datarootdir@
409 devlibdir = @devlibdir@
412 exec_prefix = @exec_prefix@
414 host_alias = @host_alias@
415 host_cpu = @host_cpu@
417 host_vendor = @host_vendor@
419 includedir = @includedir@
421 install_sh = @install_sh@
423 libexecdir = @libexecdir@
424 localedir = @localedir@
425 localstatedir = @localstatedir@
429 oldincludedir = @oldincludedir@
431 pkgconfdir = @pkgconfdir@
433 program_transform_name = @program_transform_name@
435 runstatedir = @runstatedir@
437 sharedstatedir = @sharedstatedir@
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
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 \
476 doc/README.feature-removal-schedule \
477 doc/coding-style.txt \
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 \
491 debian/dpkg.cron.daily \
493 debian/dpkg.install \
494 debian/dpkg.manpages \
495 debian/dpkg.postinst \
498 debian/dpkg.logrotate \
499 debian/dpkg.lintian-overrides \
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 \
517 debian/shlibs.default \
518 debian/shlibs.override \
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
529 @COVERAGE_ENABLED_TRUE@LCOV_INJECT = $(PERL) -i $(top_srcdir)/doc/lcov-inject.pl
535 t/minimum-version.t \
542 t/critic/perlcriticrc \
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.
549 DPKG_DATADIR=$(abs_top_srcdir)/data \
553 my $$harness = TAP::Harness->new({ \
554 exec => sub { my (undef, $$test) = @_; \
555 return [ $$test ] if $$test !~ "\.t\$$" and -x $$test; \
557 lib => [ "$(top_srcdir)/scripts", "$(top_srcdir)/dselect/methods" ], \
559 verbosity => $(TEST_VERBOSE), \
560 jobs => $(TEST_PARALLEL), \
563 my $$aggregate = $$harness->runtests(@ARGV); \
564 die "FAIL: test suite has errors\n" if $$aggregate->has_errors;'
567 $(MAKE) $(AM_MAKEFLAGS) all-recursive
570 am--refresh: Makefile
572 $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(top_srcdir)/check.am $(am__configure_deps)
574 case '$(am__configure_deps)' in \
576 echo ' cd $(srcdir) && $(AUTOMAKE) --foreign'; \
577 $(am__cd) $(srcdir) && $(AUTOMAKE) --foreign \
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
588 echo ' $(SHELL) ./config.status'; \
589 $(SHELL) ./config.status;; \
591 echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
592 cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
594 $(top_srcdir)/check.am $(am__empty):
596 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
597 $(SHELL) ./config.status --recheck
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):
606 @test -f $@ || rm -f stamp-h1
607 @test -f $@ || $(MAKE) $(AM_MAKEFLAGS) stamp-h1
609 stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
611 cd $(top_builddir) && $(SHELL) ./config.status config.h
612 $(srcdir)/config.h.in: $(am__configure_deps)
613 ($(am__cd) $(top_srcdir) && $(AUTOHEADER))
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 $@
629 -rm -f libtool config.lt
630 install-dist_pkgdataDATA: $(dist_pkgdata_DATA)
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; \
637 for p in $$list; do \
638 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
640 done | $(am__base_list) | \
641 while read files; do \
642 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(pkgdatadir)'"; \
643 $(INSTALL_DATA) $$files "$(DESTDIR)$(pkgdatadir)" || exit $$?; \
646 uninstall-dist_pkgdataDATA:
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)
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):
660 if $(am__make_keepgoing); then \
661 failcom='fail=yes'; \
666 target=`echo $@ | sed s/-recursive//`; \
668 distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
669 *) list='$(SUBDIRS)' ;; \
671 for subdir in $$list; do \
672 echo "Making $$target in $$subdir"; \
673 if test "$$subdir" = "."; then \
675 local_target="$$target-am"; \
677 local_target="$$target"; \
679 ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
682 if test "$$dot_seen" = "no"; then \
683 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
686 ID: $(am__tagged_files)
687 $(am__define_uniq_tagged_files); mkid -fID $$unique
691 tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
694 if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
695 include_option=--etags-include; \
698 include_option=--include; \
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"; \
707 $(am__define_uniq_tagged_files); \
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) \
715 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
719 ctags: ctags-recursive
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) \
729 here=`$(am__cd) $(top_builddir) && pwd` \
730 && $(am__cd) $(top_srcdir) \
731 && gtags -i $(GTAGS_ARGS) "$$here"
733 test ! -s cscope.files \
734 || $(CSCOPE) -b -q $(AM_CSCOPEFLAGS) $(CSCOPEFLAGS) -i cscope.files $(CSCOPE_ARGS)
737 cscope.files: clean-cscope cscopelist
738 cscopelist: cscopelist-recursive
740 cscopelist-am: $(am__tagged_files)
741 list='$(am__tagged_files)'; \
742 case "$(srcdir)" in \
743 [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
744 *) sdir=$(subdir)/$(srcdir) ;; \
746 for i in $$list; do \
747 if test -f "$$i"; then \
748 echo "$(subdir)/$$i"; \
752 done >> $(top_builddir)/cscope.files
755 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
756 -rm -f cscope.out cscope.in.out cscope.po.out cscope.files
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,/[^/]*$$,,' | \
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 {} \;; \
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 {} \;; \
783 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
785 test -f "$(distdir)/$$file" \
786 || cp -p $$d/$$file "$(distdir)/$$file" \
790 @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
791 if test "$$subdir" = .; then :; else \
793 || test -d "$(distdir)/$$subdir" \
794 || $(MKDIR_P) "$(distdir)/$$subdir" \
796 dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
798 new_distdir=$$reldir; \
799 dir1=$$subdir; dir2="$(top_distdir)"; \
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=: \
815 $(MAKE) $(AM_MAKEFLAGS) \
816 top_distdir="$(top_distdir)" distdir="$(distdir)" \
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)"
826 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
827 $(am__post_remove_distdir)
830 tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2
831 $(am__post_remove_distdir)
834 tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz
835 $(am__post_remove_distdir)
837 tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz
838 $(am__post_remove_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)
848 @echo WARNING: "Support for shar distribution archives is" \
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)
855 -rm -f $(distdir).zip
856 zip -rq $(distdir).zip $(distdir)
857 $(am__post_remove_distdir)
860 $(MAKE) $(AM_MAKEFLAGS) $(DIST_TARGETS) am__post_remove_distdir='@:'
861 $(am__post_remove_distdir)
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
867 case '$(DIST_ARCHIVES)' in \
869 GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\
871 bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
873 lzip -dc $(distdir).tar.lz | $(am__untar) ;;\
875 xz -dc $(distdir).tar.xz | $(am__untar) ;;\
877 uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
879 GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\
881 unzip $(distdir).zip ;;\
883 chmod -R a-w $(distdir)
885 mkdir $(distdir)/_build $(distdir)/_build/sub $(distdir)/_inst
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-$$$$/" \
891 && $(am__cd) $(distdir)/_build/sub \
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" \
904 && chmod -R a-w "$$dc_install_base" \
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 \
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'
923 @test -n '$(distuninstallcheck_dir)' || { \
924 echo 'ERROR: trying to run $@ with an empty' \
925 '$$(distuninstallcheck_dir)' >&2; \
928 $(am__cd) '$(distuninstallcheck_dir)' || { \
929 echo 'ERROR: cannot chdir into $(distuninstallcheck_dir)' >&2; \
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)"; \
937 $(distuninstallcheck_listfiles) ; \
939 distcleancheck: distclean
940 @if test '$(srcdir)' = . ; then \
941 echo "ERROR: distcleancheck can only run from a VPATH build" ; \
944 @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
945 || { echo "ERROR: files left in build directory after distclean:" ; \
946 $(distcleancheck_listfiles) ; \
949 $(MAKE) $(AM_MAKEFLAGS) check-local
950 check: check-recursive
951 all-am: Makefile $(DATA) config.h
952 installdirs: installdirs-recursive
954 for dir in "$(DESTDIR)$(pkgdatadir)"; do \
955 test -z "$$dir" || $(MKDIR_P) "$$dir"; \
957 install: install-recursive
958 install-exec: install-exec-recursive
959 install-data: install-data-recursive
960 uninstall: uninstall-recursive
963 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
965 installcheck: installcheck-recursive
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 \
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; \
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)
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
989 clean-am: clean-generic clean-libtool clean-local mostlyclean-am
991 distclean: distclean-recursive
992 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
994 distclean-am: clean-am distclean-generic distclean-hdr \
995 distclean-libtool distclean-tags
1001 html: html-recursive
1005 info: info-recursive
1009 install-data-am: install-dist_pkgdataDATA
1011 install-dvi: install-dvi-recursive
1017 install-html: install-html-recursive
1021 install-info: install-info-recursive
1027 install-pdf: install-pdf-recursive
1031 install-ps: install-ps-recursive
1037 maintainer-clean: maintainer-clean-recursive
1038 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
1039 -rm -rf $(top_srcdir)/autom4te.cache
1041 maintainer-clean-am: distclean-am maintainer-clean-generic
1043 mostlyclean: mostlyclean-recursive
1045 mostlyclean-am: mostlyclean-generic mostlyclean-libtool
1055 uninstall-am: uninstall-dist_pkgdataDATA
1057 .MAKE: $(am__recursive_targets) all check-am install-am install-strip
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
1083 $(DOXYGEN) doc/Doxyfile
1088 # Code coverage support
1090 .PHONY: coverage coverage-clean
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
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
1114 @COVERAGE_ENABLED_TRUE@ $(MAKE) -C scripts $@
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
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"
1131 @COVERAGE_ENABLED_FALSE@coverage-clean:
1137 [ -z "$(test_tmpdir)" ] || rm -fr $(test_tmpdir)
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)" \
1145 srcdir=$(srcdir) builddir=$(builddir) \
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))
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
1163 # If we create the dist tarball from the git repository, make sure
1164 # that we're not forgetting some files...
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 ; \
1174 XDG_CONFIG_HOME= HOME= \
1175 git log -C --stat 1.15.0.. >$(distdir)/ChangeLog; \
1178 clean-local: doc-clean coverage-clean check-clean
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.