Debian Codegraph @

Makefile.in

raw
1 # Makefile.in generated by automake 1.16.5 from Makefile.am.
2 # @configure_input@
3
4 # Copyright (C) 1994-2021 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 # Makefile for popt library.
18
19 VPATH = @srcdir@
20 am__is_gnu_make = { \
21 if test -z '$(MAKELEVEL)'; then \
22 false; \
23 elif test -n '$(MAKE_HOST)'; then \
24 true; \
25 elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
26 true; \
27 else \
28 false; \
29 fi; \
30 }
31 am__make_running_with_option = \
32 case $${target_option-} in \
33 ?) ;; \
34 *) echo "am__make_running_with_option: internal error: invalid" \
35 "target option '$${target_option-}' specified" >&2; \
36 exit 1;; \
37 esac; \
38 has_opt=no; \
39 sane_makeflags=$$MAKEFLAGS; \
40 if $(am__is_gnu_make); then \
41 sane_makeflags=$$MFLAGS; \
42 else \
43 case $$MAKEFLAGS in \
44 *\\[\ \ ]*) \
45 bs=\\; \
46 sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
47 | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
48 esac; \
49 fi; \
50 skip_next=no; \
51 strip_trailopt () \
52 { \
53 flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
54 }; \
55 for flg in $$sane_makeflags; do \
56 test $$skip_next = yes && { skip_next=no; continue; }; \
57 case $$flg in \
58 *=*|--*) continue;; \
59 -*I) strip_trailopt 'I'; skip_next=yes;; \
60 -*I?*) strip_trailopt 'I';; \
61 -*O) strip_trailopt 'O'; skip_next=yes;; \
62 -*O?*) strip_trailopt 'O';; \
63 -*l) strip_trailopt 'l'; skip_next=yes;; \
64 -*l?*) strip_trailopt 'l';; \
65 -[dEDm]) skip_next=yes;; \
66 -[JT]) skip_next=yes;; \
67 esac; \
68 case $$flg in \
69 *$$target_option*) has_opt=yes; break;; \
70 esac; \
71 done; \
72 test $$has_opt = yes
73 am__make_dryrun = (target_option=n; $(am__make_running_with_option))
74 am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
75 pkgdatadir = $(datadir)/@PACKAGE@
76 pkgincludedir = $(includedir)/@PACKAGE@
77 pkglibdir = $(libdir)/@PACKAGE@
78 pkglibexecdir = $(libexecdir)/@PACKAGE@
79 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
80 install_sh_DATA = $(install_sh) -c -m 644
81 install_sh_PROGRAM = $(install_sh) -c
82 install_sh_SCRIPT = $(install_sh) -c
83 INSTALL_HEADER = $(INSTALL_DATA)
84 transform = $(program_transform_name)
85 NORMAL_INSTALL = :
86 PRE_INSTALL = :
87 POST_INSTALL = :
88 NORMAL_UNINSTALL = :
89 PRE_UNINSTALL = :
90 POST_UNINSTALL = :
91 build_triplet = @build@
92 host_triplet = @host@
93 subdir = .
94 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
95 am__aclocal_m4_deps = $(top_srcdir)/m4/gettext.m4 \
96 $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/intlmacosx.m4 \
97 $(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \
98 $(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/libtool.m4 \
99 $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
100 $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
101 $(top_srcdir)/m4/nls.m4 $(top_srcdir)/m4/po.m4 \
102 $(top_srcdir)/m4/progtest.m4 $(top_srcdir)/configure.ac
103 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
104 $(ACLOCAL_M4)
105 DIST_COMMON = $(srcdir)/Makefile.am $(top_srcdir)/configure \
106 $(am__configure_deps) $(am__DIST_COMMON)
107 am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
108 configure.lineno config.status.lineno
109 mkinstalldirs = $(install_sh) -d
110 CONFIG_HEADER = config.h
111 CONFIG_CLEAN_FILES = Doxyfile popt.pc
112 CONFIG_CLEAN_VPATH_FILES =
113 AM_V_P = $(am__v_P_@AM_V@)
114 am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
115 am__v_P_0 = false
116 am__v_P_1 = :
117 AM_V_GEN = $(am__v_GEN_@AM_V@)
118 am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
119 am__v_GEN_0 = @echo " GEN " $@;
120 am__v_GEN_1 =
121 AM_V_at = $(am__v_at_@AM_V@)
122 am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
123 am__v_at_0 = @
124 am__v_at_1 =
125 SOURCES =
126 DIST_SOURCES =
127 RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \
128 ctags-recursive dvi-recursive html-recursive info-recursive \
129 install-data-recursive install-dvi-recursive \
130 install-exec-recursive install-html-recursive \
131 install-info-recursive install-pdf-recursive \
132 install-ps-recursive install-recursive installcheck-recursive \
133 installdirs-recursive pdf-recursive ps-recursive \
134 tags-recursive uninstall-recursive
135 am__can_run_installinfo = \
136 case $$AM_UPDATE_INFO_DIR in \
137 n|no|NO) false;; \
138 *) (install-info --version) >/dev/null 2>&1;; \
139 esac
140 am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
141 am__vpath_adj = case $$p in \
142 $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
143 *) f=$$p;; \
144 esac;
145 am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
146 am__install_max = 40
147 am__nobase_strip_setup = \
148 srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
149 am__nobase_strip = \
150 for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
151 am__nobase_list = $(am__nobase_strip_setup); \
152 for p in $$list; do echo "$$p $$p"; done | \
153 sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
154 $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
155 if (++n[$$2] == $(am__install_max)) \
156 { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
157 END { for (dir in files) print dir, files[dir] }'
158 am__base_list = \
159 sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
160 sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
161 am__uninstall_files_from_dir = { \
162 test -z "$$files" \
163 || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
164 || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
165 $(am__cd) "$$dir" && rm -f $$files; }; \
166 }
167 man3dir = $(mandir)/man3
168 am__installdirs = "$(DESTDIR)$(man3dir)" "$(DESTDIR)$(pkgconfigdir)"
169 NROFF = nroff
170 MANS = $(man_MANS)
171 DATA = $(pkgconfig_DATA)
172 RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
173 distclean-recursive maintainer-clean-recursive
174 am__recursive_targets = \
175 $(RECURSIVE_TARGETS) \
176 $(RECURSIVE_CLEAN_TARGETS) \
177 $(am__extra_recursive_targets)
178 AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \
179 cscope distdir distdir-am dist dist-all distcheck
180 am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) \
181 config.h.in
182 # Read a list of newline-separated strings from the standard input,
183 # and print each of them once, without duplicates. Input order is
184 # *not* preserved.
185 am__uniquify_input = $(AWK) '\
186 BEGIN { nonempty = 0; } \
187 { items[$$0] = 1; nonempty = 1; } \
188 END { if (nonempty) { for (i in items) print i; }; } \
189 '
190 # Make sure the list of sources is unique. This is necessary because,
191 # e.g., the same source file might be shared among _SOURCES variables
192 # for different programs/libraries.
193 am__define_uniq_tagged_files = \
194 list='$(am__tagged_files)'; \
195 unique=`for i in $$list; do \
196 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
197 done | $(am__uniquify_input)`
198 DIST_SUBDIRS = $(SUBDIRS)
199 am__DIST_COMMON = $(srcdir)/Doxyfile.in $(srcdir)/Makefile.in \
200 $(srcdir)/config.h.in $(srcdir)/popt.pc.in \
201 $(top_srcdir)/build-aux/ar-lib $(top_srcdir)/build-aux/compile \
202 $(top_srcdir)/build-aux/config.guess \
203 $(top_srcdir)/build-aux/config.rpath \
204 $(top_srcdir)/build-aux/config.sub \
205 $(top_srcdir)/build-aux/install-sh \
206 $(top_srcdir)/build-aux/ltmain.sh \
207 $(top_srcdir)/build-aux/missing ABOUT-NLS COPYING README \
208 build-aux/ar-lib build-aux/compile build-aux/config.guess \
209 build-aux/config.rpath build-aux/config.sub build-aux/depcomp \
210 build-aux/install-sh build-aux/ltmain.sh build-aux/missing
211 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
212 distdir = $(PACKAGE)-$(VERSION)
213 top_distdir = $(distdir)
214 am__remove_distdir = \
215 if test -d "$(distdir)"; then \
216 find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
217 && rm -rf "$(distdir)" \
218 || { sleep 5 && rm -rf "$(distdir)"; }; \
219 else :; fi
220 am__post_remove_distdir = $(am__remove_distdir)
221 am__relativize = \
222 dir0=`pwd`; \
223 sed_first='s,^\([^/]*\)/.*$$,\1,'; \
224 sed_rest='s,^[^/]*/*,,'; \
225 sed_last='s,^.*/\([^/]*\)$$,\1,'; \
226 sed_butlast='s,/*[^/]*$$,,'; \
227 while test -n "$$dir1"; do \
228 first=`echo "$$dir1" | sed -e "$$sed_first"`; \
229 if test "$$first" != "."; then \
230 if test "$$first" = ".."; then \
231 dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
232 dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
233 else \
234 first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
235 if test "$$first2" = "$$first"; then \
236 dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
237 else \
238 dir2="../$$dir2"; \
239 fi; \
240 dir0="$$dir0"/"$$first"; \
241 fi; \
242 fi; \
243 dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
244 done; \
245 reldir="$$dir2"
246 DIST_ARCHIVES = $(distdir).tar.gz
247 GZIP_ENV = --best
248 DIST_TARGETS = dist-gzip
249 # Exists only to be overridden by the user if desired.
250 AM_DISTCHECK_DVI_TARGET = dvi
251 distuninstallcheck_listfiles = find . -type f -print
252 am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \
253 | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$'
254 distcleancheck_listfiles = find . -type f -print
255 ACLOCAL = @ACLOCAL@
256 AMTAR = @AMTAR@
257 AM_CFLAGS = @AM_CFLAGS@
258 AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
259 AR = @AR@
260 AUTOCONF = @AUTOCONF@
261 AUTOHEADER = @AUTOHEADER@
262 AUTOMAKE = @AUTOMAKE@
263 AWK = @AWK@
264 CC = @CC@
265 CCDEPMODE = @CCDEPMODE@
266 CFLAGS = @CFLAGS@
267 CPP = @CPP@
268 CPPFLAGS = @CPPFLAGS@
269 CSCOPE = @CSCOPE@
270 CTAGS = @CTAGS@
271 CYGPATH_W = @CYGPATH_W@
272 DEFS = @DEFS@
273 DEPDIR = @DEPDIR@
274 DLLTOOL = @DLLTOOL@
275 DSYMUTIL = @DSYMUTIL@
276 DUMPBIN = @DUMPBIN@
277 ECHO_C = @ECHO_C@
278 ECHO_N = @ECHO_N@
279 ECHO_T = @ECHO_T@
280 EGREP = @EGREP@
281 ETAGS = @ETAGS@
282 EXEEXT = @EXEEXT@
283 FGREP = @FGREP@
284 GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@
285 GMSGFMT = @GMSGFMT@
286 GMSGFMT_015 = @GMSGFMT_015@
287 GREP = @GREP@
288 INSTALL = @INSTALL@
289 INSTALL_DATA = @INSTALL_DATA@
290 INSTALL_PROGRAM = @INSTALL_PROGRAM@
291 INSTALL_SCRIPT = @INSTALL_SCRIPT@
292 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
293 INTLLIBS = @INTLLIBS@
294 INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@
295 LD = @LD@
296 LDFLAGS = @LDFLAGS@
297 LIBICONV = @LIBICONV@
298 LIBINTL = @LIBINTL@
299 LIBOBJS = @LIBOBJS@
300 LIBS = @LIBS@
301 LIBTOOL = @LIBTOOL@
302 LIPO = @LIPO@
303 LN_S = @LN_S@
304 LTLIBICONV = @LTLIBICONV@
305 LTLIBINTL = @LTLIBINTL@
306 LTLIBOBJS = @LTLIBOBJS@
307 LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
308 MAKEINFO = @MAKEINFO@
309 MANIFEST_TOOL = @MANIFEST_TOOL@
310 MKDIR_P = @MKDIR_P@
311 MSGFMT = @MSGFMT@
312 MSGFMT_015 = @MSGFMT_015@
313 MSGMERGE = @MSGMERGE@
314 NM = @NM@
315 NMEDIT = @NMEDIT@
316 OBJDUMP = @OBJDUMP@
317 OBJEXT = @OBJEXT@
318 OTOOL = @OTOOL@
319 OTOOL64 = @OTOOL64@
320 PACKAGE = @PACKAGE@
321 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
322 PACKAGE_NAME = @PACKAGE_NAME@
323 PACKAGE_STRING = @PACKAGE_STRING@
324 PACKAGE_TARNAME = @PACKAGE_TARNAME@
325 PACKAGE_URL = @PACKAGE_URL@
326 PACKAGE_VERSION = @PACKAGE_VERSION@
327 PATH_SEPARATOR = @PATH_SEPARATOR@
328 POSUB = @POSUB@
329 RANLIB = @RANLIB@
330 SED = @SED@
331 SET_MAKE = @SET_MAKE@
332 SHELL = @SHELL@
333 STRIP = @STRIP@
334 USE_NLS = @USE_NLS@
335 VERSION = @VERSION@
336 XGETTEXT = @XGETTEXT@
337 XGETTEXT_015 = @XGETTEXT_015@
338 XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@
339 abs_builddir = @abs_builddir@
340 abs_srcdir = @abs_srcdir@
341 abs_top_builddir = @abs_top_builddir@
342 abs_top_srcdir = @abs_top_srcdir@
343 ac_ct_AR = @ac_ct_AR@
344 ac_ct_CC = @ac_ct_CC@
345 ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
346 am__include = @am__include@
347 am__leading_dot = @am__leading_dot@
348 am__quote = @am__quote@
349 am__tar = @am__tar@
350 am__untar = @am__untar@
351 bindir = @bindir@
352 build = @build@
353 build_alias = @build_alias@
354 build_cpu = @build_cpu@
355 build_os = @build_os@
356 build_vendor = @build_vendor@
357 builddir = @builddir@
358 datadir = @datadir@
359 datarootdir = @datarootdir@
360 docdir = @docdir@
361 dvidir = @dvidir@
362 exec_prefix = @exec_prefix@
363 host = @host@
364 host_alias = @host_alias@
365 host_cpu = @host_cpu@
366 host_os = @host_os@
367 host_vendor = @host_vendor@
368 htmldir = @htmldir@
369 includedir = @includedir@
370 infodir = @infodir@
371 install_sh = @install_sh@
372 libdir = @libdir@
373 libexecdir = @libexecdir@
374 localedir = @localedir@
375 localstatedir = @localstatedir@
376 mandir = @mandir@
377 mkdir_p = @mkdir_p@
378 oldincludedir = @oldincludedir@
379 pdfdir = @pdfdir@
380 prefix = @prefix@
381 program_transform_name = @program_transform_name@
382 psdir = @psdir@
383 runstatedir = @runstatedir@
384 sbindir = @sbindir@
385 sharedstatedir = @sharedstatedir@
386 srcdir = @srcdir@
387 subdirs = @subdirs@
388 sysconfdir = @sysconfdir@
389 target_alias = @target_alias@
390 top_build_prefix = @top_build_prefix@
391 top_builddir = @top_builddir@
392 top_srcdir = @top_srcdir@
393 MCCABE = pmccabe
394 EXTRA_DIST = autogen.sh CREDITS $(man_MANS) ci/Dockerfile build-aux popt.pdf
395 SUBDIRS = src po tests
396 pkgconfigdir = $(libdir)/pkgconfig
397 pkgconfig_DATA = popt.pc
398 man_MANS = popt.3
399 BUILT_SOURCES = popt.pc # popt.lcd
400
401 #.PHONY: lcov-upload
402 #lcov-upload: lcov
403 # rsync -rvz -e ssh --delete lcov/* ???
404 ACLOCAL_AMFLAGS = -I m4
405 all: $(BUILT_SOURCES) config.h
406 $(MAKE) $(AM_MAKEFLAGS) all-recursive
407
408 .SUFFIXES:
409 am--refresh: Makefile
410 @:
411 $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
412 @for dep in $?; do \
413 case '$(am__configure_deps)' in \
414 *$$dep*) \
415 echo ' cd $(srcdir) && $(AUTOMAKE) --foreign'; \
416 $(am__cd) $(srcdir) && $(AUTOMAKE) --foreign \
417 && exit 0; \
418 exit 1;; \
419 esac; \
420 done; \
421 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \
422 $(am__cd) $(top_srcdir) && \
423 $(AUTOMAKE) --foreign Makefile
424 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
425 @case '$?' in \
426 *config.status*) \
427 echo ' $(SHELL) ./config.status'; \
428 $(SHELL) ./config.status;; \
429 *) \
430 echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__maybe_remake_depfiles)'; \
431 cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__maybe_remake_depfiles);; \
432 esac;
433
434 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
435 $(SHELL) ./config.status --recheck
436
437 $(top_srcdir)/configure: $(am__configure_deps)
438 $(am__cd) $(srcdir) && $(AUTOCONF)
439 $(ACLOCAL_M4): $(am__aclocal_m4_deps)
440 $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
441 $(am__aclocal_m4_deps):
442
443 config.h: stamp-h1
444 @test -f $@ || rm -f stamp-h1
445 @test -f $@ || $(MAKE) $(AM_MAKEFLAGS) stamp-h1
446
447 stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
448 @rm -f stamp-h1
449 cd $(top_builddir) && $(SHELL) ./config.status config.h
450 $(srcdir)/config.h.in: $(am__configure_deps)
451 ($(am__cd) $(top_srcdir) && $(AUTOHEADER))
452 rm -f stamp-h1
453 touch $@
454
455 distclean-hdr:
456 -rm -f config.h stamp-h1
457 Doxyfile: $(top_builddir)/config.status $(srcdir)/Doxyfile.in
458 cd $(top_builddir) && $(SHELL) ./config.status $@
459 popt.pc: $(top_builddir)/config.status $(srcdir)/popt.pc.in
460 cd $(top_builddir) && $(SHELL) ./config.status $@
461
462 mostlyclean-libtool:
463 -rm -f *.lo
464
465 clean-libtool:
466 -rm -rf .libs _libs
467
468 distclean-libtool:
469 -rm -f libtool config.lt
470 install-man3: $(man_MANS)
471 @$(NORMAL_INSTALL)
472 @list1=''; \
473 list2='$(man_MANS)'; \
474 test -n "$(man3dir)" \
475 && test -n "`echo $$list1$$list2`" \
476 || exit 0; \
477 echo " $(MKDIR_P) '$(DESTDIR)$(man3dir)'"; \
478 $(MKDIR_P) "$(DESTDIR)$(man3dir)" || exit 1; \
479 { for i in $$list1; do echo "$$i"; done; \
480 if test -n "$$list2"; then \
481 for i in $$list2; do echo "$$i"; done \
482 | sed -n '/\.3[a-z]*$$/p'; \
483 fi; \
484 } | while read p; do \
485 if test -f $$p; then d=; else d="$(srcdir)/"; fi; \
486 echo "$$d$$p"; echo "$$p"; \
487 done | \
488 sed -e 'n;s,.*/,,;p;h;s,.*\.,,;s,^[^3][0-9a-z]*$$,3,;x' \
489 -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,' | \
490 sed 'N;N;s,\n, ,g' | { \
491 list=; while read file base inst; do \
492 if test "$$base" = "$$inst"; then list="$$list $$file"; else \
493 echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man3dir)/$$inst'"; \
494 $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man3dir)/$$inst" || exit $$?; \
495 fi; \
496 done; \
497 for i in $$list; do echo "$$i"; done | $(am__base_list) | \
498 while read files; do \
499 test -z "$$files" || { \
500 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man3dir)'"; \
501 $(INSTALL_DATA) $$files "$(DESTDIR)$(man3dir)" || exit $$?; }; \
502 done; }
503
504 uninstall-man3:
505 @$(NORMAL_UNINSTALL)
506 @list=''; test -n "$(man3dir)" || exit 0; \
507 files=`{ for i in $$list; do echo "$$i"; done; \
508 l2='$(man_MANS)'; for i in $$l2; do echo "$$i"; done | \
509 sed -n '/\.3[a-z]*$$/p'; \
510 } | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^3][0-9a-z]*$$,3,;x' \
511 -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \
512 dir='$(DESTDIR)$(man3dir)'; $(am__uninstall_files_from_dir)
513 install-pkgconfigDATA: $(pkgconfig_DATA)
514 @$(NORMAL_INSTALL)
515 @list='$(pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \
516 if test -n "$$list"; then \
517 echo " $(MKDIR_P) '$(DESTDIR)$(pkgconfigdir)'"; \
518 $(MKDIR_P) "$(DESTDIR)$(pkgconfigdir)" || exit 1; \
519 fi; \
520 for p in $$list; do \
521 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
522 echo "$$d$$p"; \
523 done | $(am__base_list) | \
524 while read files; do \
525 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(pkgconfigdir)'"; \
526 $(INSTALL_DATA) $$files "$(DESTDIR)$(pkgconfigdir)" || exit $$?; \
527 done
528
529 uninstall-pkgconfigDATA:
530 @$(NORMAL_UNINSTALL)
531 @list='$(pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \
532 files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
533 dir='$(DESTDIR)$(pkgconfigdir)'; $(am__uninstall_files_from_dir)
534
535 # This directory's subdirectories are mostly independent; you can cd
536 # into them and run 'make' without going through this Makefile.
537 # To change the values of 'make' variables: instead of editing Makefiles,
538 # (1) if the variable is set in 'config.status', edit 'config.status'
539 # (which will cause the Makefiles to be regenerated when you run 'make');
540 # (2) otherwise, pass the desired values on the 'make' command line.
541 $(am__recursive_targets):
542 @fail=; \
543 if $(am__make_keepgoing); then \
544 failcom='fail=yes'; \
545 else \
546 failcom='exit 1'; \
547 fi; \
548 dot_seen=no; \
549 target=`echo $@ | sed s/-recursive//`; \
550 case "$@" in \
551 distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
552 *) list='$(SUBDIRS)' ;; \
553 esac; \
554 for subdir in $$list; do \
555 echo "Making $$target in $$subdir"; \
556 if test "$$subdir" = "."; then \
557 dot_seen=yes; \
558 local_target="$$target-am"; \
559 else \
560 local_target="$$target"; \
561 fi; \
562 ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
563 || eval $$failcom; \
564 done; \
565 if test "$$dot_seen" = "no"; then \
566 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
567 fi; test -z "$$fail"
568
569 ID: $(am__tagged_files)
570 $(am__define_uniq_tagged_files); mkid -fID $$unique
571 tags: tags-recursive
572 TAGS: tags
573
574 tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
575 set x; \
576 here=`pwd`; \
577 if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
578 include_option=--etags-include; \
579 empty_fix=.; \
580 else \
581 include_option=--include; \
582 empty_fix=; \
583 fi; \
584 list='$(SUBDIRS)'; for subdir in $$list; do \
585 if test "$$subdir" = .; then :; else \
586 test ! -f $$subdir/TAGS || \
587 set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
588 fi; \
589 done; \
590 $(am__define_uniq_tagged_files); \
591 shift; \
592 if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
593 test -n "$$unique" || unique=$$empty_fix; \
594 if test $$# -gt 0; then \
595 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
596 "$$@" $$unique; \
597 else \
598 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
599 $$unique; \
600 fi; \
601 fi
602 ctags: ctags-recursive
603
604 CTAGS: ctags
605 ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
606 $(am__define_uniq_tagged_files); \
607 test -z "$(CTAGS_ARGS)$$unique" \
608 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
609 $$unique
610
611 GTAGS:
612 here=`$(am__cd) $(top_builddir) && pwd` \
613 && $(am__cd) $(top_srcdir) \
614 && gtags -i $(GTAGS_ARGS) "$$here"
615 cscope: cscope.files
616 test ! -s cscope.files \
617 || $(CSCOPE) -b -q $(AM_CSCOPEFLAGS) $(CSCOPEFLAGS) -i cscope.files $(CSCOPE_ARGS)
618 clean-cscope:
619 -rm -f cscope.files
620 cscope.files: clean-cscope cscopelist
621 cscopelist: cscopelist-recursive
622
623 cscopelist-am: $(am__tagged_files)
624 list='$(am__tagged_files)'; \
625 case "$(srcdir)" in \
626 [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
627 *) sdir=$(subdir)/$(srcdir) ;; \
628 esac; \
629 for i in $$list; do \
630 if test -f "$$i"; then \
631 echo "$(subdir)/$$i"; \
632 else \
633 echo "$$sdir/$$i"; \
634 fi; \
635 done >> $(top_builddir)/cscope.files
636
637 distclean-tags:
638 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
639 -rm -f cscope.out cscope.in.out cscope.po.out cscope.files
640 distdir: $(BUILT_SOURCES)
641 $(MAKE) $(AM_MAKEFLAGS) distdir-am
642
643 distdir-am: $(DISTFILES)
644 $(am__remove_distdir)
645 test -d "$(distdir)" || mkdir "$(distdir)"
646 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
647 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
648 list='$(DISTFILES)'; \
649 dist_files=`for file in $$list; do echo $$file; done | \
650 sed -e "s|^$$srcdirstrip/||;t" \
651 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
652 case $$dist_files in \
653 */*) $(MKDIR_P) `echo "$$dist_files" | \
654 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
655 sort -u` ;; \
656 esac; \
657 for file in $$dist_files; do \
658 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
659 if test -d $$d/$$file; then \
660 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
661 if test -d "$(distdir)/$$file"; then \
662 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
663 fi; \
664 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
665 cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
666 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
667 fi; \
668 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
669 else \
670 test -f "$(distdir)/$$file" \
671 || cp -p $$d/$$file "$(distdir)/$$file" \
672 || exit 1; \
673 fi; \
674 done
675 @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
676 if test "$$subdir" = .; then :; else \
677 $(am__make_dryrun) \
678 || test -d "$(distdir)/$$subdir" \
679 || $(MKDIR_P) "$(distdir)/$$subdir" \
680 || exit 1; \
681 dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
682 $(am__relativize); \
683 new_distdir=$$reldir; \
684 dir1=$$subdir; dir2="$(top_distdir)"; \
685 $(am__relativize); \
686 new_top_distdir=$$reldir; \
687 echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
688 echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
689 ($(am__cd) $$subdir && \
690 $(MAKE) $(AM_MAKEFLAGS) \
691 top_distdir="$$new_top_distdir" \
692 distdir="$$new_distdir" \
693 am__remove_distdir=: \
694 am__skip_length_check=: \
695 am__skip_mode_fix=: \
696 distdir) \
697 || exit 1; \
698 fi; \
699 done
700 -test -n "$(am__skip_mode_fix)" \
701 || find "$(distdir)" -type d ! -perm -755 \
702 -exec chmod u+rwx,go+rx {} \; -o \
703 ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
704 ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
705 ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
706 || chmod -R a+r "$(distdir)"
707 dist-gzip: distdir
708 tardir=$(distdir) && $(am__tar) | eval GZIP= gzip $(GZIP_ENV) -c >$(distdir).tar.gz
709 $(am__post_remove_distdir)
710
711 dist-bzip2: distdir
712 tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2
713 $(am__post_remove_distdir)
714
715 dist-lzip: distdir
716 tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz
717 $(am__post_remove_distdir)
718
719 dist-xz: distdir
720 tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz
721 $(am__post_remove_distdir)
722
723 dist-zstd: distdir
724 tardir=$(distdir) && $(am__tar) | zstd -c $${ZSTD_CLEVEL-$${ZSTD_OPT--19}} >$(distdir).tar.zst
725 $(am__post_remove_distdir)
726
727 dist-tarZ: distdir
728 @echo WARNING: "Support for distribution archives compressed with" \
729 "legacy program 'compress' is deprecated." >&2
730 @echo WARNING: "It will be removed altogether in Automake 2.0" >&2
731 tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
732 $(am__post_remove_distdir)
733
734 dist-shar: distdir
735 @echo WARNING: "Support for shar distribution archives is" \
736 "deprecated." >&2
737 @echo WARNING: "It will be removed altogether in Automake 2.0" >&2
738 shar $(distdir) | eval GZIP= gzip $(GZIP_ENV) -c >$(distdir).shar.gz
739 $(am__post_remove_distdir)
740
741 dist-zip: distdir
742 -rm -f $(distdir).zip
743 zip -rq $(distdir).zip $(distdir)
744 $(am__post_remove_distdir)
745
746 dist dist-all:
747 $(MAKE) $(AM_MAKEFLAGS) $(DIST_TARGETS) am__post_remove_distdir='@:'
748 $(am__post_remove_distdir)
749
750 # This target untars the dist file and tries a VPATH configuration. Then
751 # it guarantees that the distribution is self-contained by making another
752 # tarfile.
753 distcheck: dist
754 case '$(DIST_ARCHIVES)' in \
755 *.tar.gz*) \
756 eval GZIP= gzip $(GZIP_ENV) -dc $(distdir).tar.gz | $(am__untar) ;;\
757 *.tar.bz2*) \
758 bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
759 *.tar.lz*) \
760 lzip -dc $(distdir).tar.lz | $(am__untar) ;;\
761 *.tar.xz*) \
762 xz -dc $(distdir).tar.xz | $(am__untar) ;;\
763 *.tar.Z*) \
764 uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
765 *.shar.gz*) \
766 eval GZIP= gzip $(GZIP_ENV) -dc $(distdir).shar.gz | unshar ;;\
767 *.zip*) \
768 unzip $(distdir).zip ;;\
769 *.tar.zst*) \
770 zstd -dc $(distdir).tar.zst | $(am__untar) ;;\
771 esac
772 chmod -R a-w $(distdir)
773 chmod u+w $(distdir)
774 mkdir $(distdir)/_build $(distdir)/_build/sub $(distdir)/_inst
775 chmod a-w $(distdir)
776 test -d $(distdir)/_build || exit 0; \
777 dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
778 && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
779 && am__cwd=`pwd` \
780 && $(am__cd) $(distdir)/_build/sub \
781 && ../../configure \
782 $(AM_DISTCHECK_CONFIGURE_FLAGS) \
783 $(DISTCHECK_CONFIGURE_FLAGS) \
784 --srcdir=../.. --prefix="$$dc_install_base" \
785 && $(MAKE) $(AM_MAKEFLAGS) \
786 && $(MAKE) $(AM_MAKEFLAGS) $(AM_DISTCHECK_DVI_TARGET) \
787 && $(MAKE) $(AM_MAKEFLAGS) check \
788 && $(MAKE) $(AM_MAKEFLAGS) install \
789 && $(MAKE) $(AM_MAKEFLAGS) installcheck \
790 && $(MAKE) $(AM_MAKEFLAGS) uninstall \
791 && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
792 distuninstallcheck \
793 && chmod -R a-w "$$dc_install_base" \
794 && ({ \
795 (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
796 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
797 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
798 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
799 distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
800 } || { rm -rf "$$dc_destdir"; exit 1; }) \
801 && rm -rf "$$dc_destdir" \
802 && $(MAKE) $(AM_MAKEFLAGS) dist \
803 && rm -rf $(DIST_ARCHIVES) \
804 && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
805 && cd "$$am__cwd" \
806 || exit 1
807 $(am__post_remove_distdir)
808 @(echo "$(distdir) archives ready for distribution: "; \
809 list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
810 sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
811 distuninstallcheck:
812 @test -n '$(distuninstallcheck_dir)' || { \
813 echo 'ERROR: trying to run $@ with an empty' \
814 '$$(distuninstallcheck_dir)' >&2; \
815 exit 1; \
816 }; \
817 $(am__cd) '$(distuninstallcheck_dir)' || { \
818 echo 'ERROR: cannot chdir into $(distuninstallcheck_dir)' >&2; \
819 exit 1; \
820 }; \
821 test `$(am__distuninstallcheck_listfiles) | wc -l` -eq 0 \
822 || { echo "ERROR: files left after uninstall:" ; \
823 if test -n "$(DESTDIR)"; then \
824 echo " (check DESTDIR support)"; \
825 fi ; \
826 $(distuninstallcheck_listfiles) ; \
827 exit 1; } >&2
828 distcleancheck: distclean
829 @if test '$(srcdir)' = . ; then \
830 echo "ERROR: distcleancheck can only run from a VPATH build" ; \
831 exit 1 ; \
832 fi
833 @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
834 || { echo "ERROR: files left in build directory after distclean:" ; \
835 $(distcleancheck_listfiles) ; \
836 exit 1; } >&2
837 check-am: all-am
838 check: $(BUILT_SOURCES)
839 $(MAKE) $(AM_MAKEFLAGS) check-recursive
840 all-am: Makefile $(MANS) $(DATA) config.h
841 installdirs: installdirs-recursive
842 installdirs-am:
843 for dir in "$(DESTDIR)$(man3dir)" "$(DESTDIR)$(pkgconfigdir)"; do \
844 test -z "$$dir" || $(MKDIR_P) "$$dir"; \
845 done
846 install: $(BUILT_SOURCES)
847 $(MAKE) $(AM_MAKEFLAGS) install-recursive
848 install-exec: $(BUILT_SOURCES)
849 $(MAKE) $(AM_MAKEFLAGS) install-exec-recursive
850 install-data: install-data-recursive
851 uninstall: uninstall-recursive
852
853 install-am: all-am
854 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
855
856 installcheck: installcheck-recursive
857 install-strip:
858 if test -z '$(STRIP)'; then \
859 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
860 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
861 install; \
862 else \
863 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
864 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
865 "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
866 fi
867 mostlyclean-generic:
868
869 clean-generic:
870
871 distclean-generic:
872 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
873 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
874
875 maintainer-clean-generic:
876 @echo "This command is intended for maintainers to use"
877 @echo "it deletes files that may require special tools to rebuild."
878 -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
879 clean: clean-recursive
880
881 clean-am: clean-generic clean-libtool mostlyclean-am
882
883 distclean: distclean-recursive
884 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
885 -rm -f Makefile
886 distclean-am: clean-am distclean-generic distclean-hdr \
887 distclean-libtool distclean-tags
888
889 dvi: dvi-recursive
890
891 dvi-am:
892
893 html: html-recursive
894
895 html-am:
896
897 info: info-recursive
898
899 info-am:
900
901 install-data-am: install-man install-pkgconfigDATA
902
903 install-dvi: install-dvi-recursive
904
905 install-dvi-am:
906
907 install-exec-am:
908
909 install-html: install-html-recursive
910
911 install-html-am:
912
913 install-info: install-info-recursive
914
915 install-info-am:
916
917 install-man: install-man3
918
919 install-pdf: install-pdf-recursive
920
921 install-pdf-am:
922
923 install-ps: install-ps-recursive
924
925 install-ps-am:
926
927 installcheck-am:
928
929 maintainer-clean: maintainer-clean-recursive
930 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
931 -rm -rf $(top_srcdir)/autom4te.cache
932 -rm -f Makefile
933 maintainer-clean-am: distclean-am maintainer-clean-generic
934
935 mostlyclean: mostlyclean-recursive
936
937 mostlyclean-am: mostlyclean-generic mostlyclean-libtool
938
939 pdf: pdf-recursive
940
941 pdf-am:
942
943 ps: ps-recursive
944
945 ps-am:
946
947 uninstall-am: uninstall-man uninstall-pkgconfigDATA
948
949 uninstall-man: uninstall-man3
950
951 .MAKE: $(am__recursive_targets) all check install install-am \
952 install-exec install-strip
953
954 .PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am \
955 am--refresh check check-am clean clean-cscope clean-generic \
956 clean-libtool cscope cscopelist-am ctags ctags-am dist \
957 dist-all dist-bzip2 dist-gzip dist-lzip dist-shar dist-tarZ \
958 dist-xz dist-zip dist-zstd distcheck distclean \
959 distclean-generic distclean-hdr distclean-libtool \
960 distclean-tags distcleancheck distdir distuninstallcheck dvi \
961 dvi-am html html-am info info-am install install-am \
962 install-data install-data-am install-dvi install-dvi-am \
963 install-exec install-exec-am install-html install-html-am \
964 install-info install-info-am install-man install-man3 \
965 install-pdf install-pdf-am install-pkgconfigDATA install-ps \
966 install-ps-am install-strip installcheck installcheck-am \
967 installdirs installdirs-am maintainer-clean \
968 maintainer-clean-generic mostlyclean mostlyclean-generic \
969 mostlyclean-libtool pdf pdf-am ps ps-am tags tags-am uninstall \
970 uninstall-am uninstall-man uninstall-man3 \
971 uninstall-pkgconfigDATA
972
973 .PRECIOUS: Makefile
974
975
976 .PHONY: ci
977 ci:
978 podman build -t popt -f ci/Dockerfile .
979 podman run -t popt
980
981 .PHONY: updatepo
982 updatepo:
983 rsync -Lrtvz translationproject.org::tp/latest/popt/ po
984
985 popt.lcd: Makefile.am ${libpopt_la_SOURCES} ${include_HEADERS} ${noinst_HEADERS}
986 lclint -dump $@ ${libpopt_la_SOURCES}
987
988 .PHONY: sources
989 sources:
990 @echo $(libpopt_la_SOURCES:%=popt/%)
991
992 .PHONY: mccabe
993 mccabe:
994 $(MCCABE) $(libpopt_la_SOURCES) | sort -n -r | head -n 10
995
996 .PHONY: doxygen
997 doxygen: Doxyfile
998 rm -rf doxygen
999 mkdir -p doxygen
1000 doxygen
1001
1002 .PHONY: lcov-reset # run lcov from scratch, always
1003 lcov-reset:
1004 make lcov-run
1005 make lcov-report
1006
1007 .PHONY: lcov # run lcov from scratch if the dir is not there
1008 lcov:
1009 make lcov-reset
1010
1011 .PHONY: lcov-run # reset run coverage tests
1012 lcov-run:
1013 @-rm -rf lcov
1014 find . -name "*.gcda" -exec rm {} \;
1015 make check
1016
1017 .PHONY: lcov-report # generate report based on current coverage data
1018 lcov-report:
1019 mkdir lcov
1020 lcov --directory . --capture --output-file lcov/lcov.info
1021 lcov -l lcov/lcov.info | grep -v "`cd $(top_srcdir) && pwd`" | cut -d: -f1 > lcov/remove
1022 lcov -r lcov/lcov.info `cat lcov/remove` > lcov/lcov.cleaned.info
1023 rm lcov/remove
1024 mv lcov/lcov.cleaned.info lcov/lcov.info
1025 genhtml -t "$(PACKAGE_STRING)" -o lcov lcov/lcov.info
1026
1027 # Tell versions [3.59,3.63) of GNU make to not export all variables.
1028 # Otherwise a system limit (for SysV at least) may be exceeded.
1029 .NOEXPORT: