Add license file into rpm package
[external/popt.git] / Makefile.in
1 # Makefile.in generated by automake 1.11.1 from Makefile.am.
2 # @configure_input@
3
4 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5 # 2003, 2004, 2005, 2006, 2007, 2008, 2009  Free Software Foundation,
6 # Inc.
7 # This Makefile.in is free software; the Free Software Foundation
8 # gives unlimited permission to copy and/or distribute it,
9 # with or without modifications, as long as this notice is preserved.
10
11 # This program is distributed in the hope that it will be useful,
12 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
13 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
14 # PARTICULAR PURPOSE.
15
16 @SET_MAKE@
17
18 # Makefile for popt library.
19
20
21
22
23
24 VPATH = @srcdir@
25 pkgdatadir = $(datadir)/@PACKAGE@
26 pkgincludedir = $(includedir)/@PACKAGE@
27 pkglibdir = $(libdir)/@PACKAGE@
28 pkglibexecdir = $(libexecdir)/@PACKAGE@
29 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
30 install_sh_DATA = $(install_sh) -c -m 644
31 install_sh_PROGRAM = $(install_sh) -c
32 install_sh_SCRIPT = $(install_sh) -c
33 INSTALL_HEADER = $(INSTALL_DATA)
34 transform = $(program_transform_name)
35 NORMAL_INSTALL = :
36 PRE_INSTALL = :
37 POST_INSTALL = :
38 NORMAL_UNINSTALL = :
39 PRE_UNINSTALL = :
40 POST_UNINSTALL = :
41 build_triplet = @build@
42 host_triplet = @host@
43 target_triplet = @target@
44 noinst_PROGRAMS = test1$(EXEEXT) test2$(EXEEXT) tdict$(EXEEXT)
45 @HAVE_LD_VERSION_SCRIPT_TRUE@am__append_1 = -Wl,--version-script=$(top_srcdir)/libpopt.vers
46 subdir = .
47 DIST_COMMON = README $(am__configure_deps) $(include_HEADERS) \
48         $(noinst_HEADERS) $(srcdir)/Doxyfile.in $(srcdir)/Makefile.am \
49         $(srcdir)/Makefile.in $(srcdir)/config.h.in \
50         $(srcdir)/popt.pc.in $(srcdir)/popt.spec.in \
51         $(srcdir)/test-poptrc.in $(top_srcdir)/configure ABOUT-NLS \
52         COPYING config.guess config.rpath config.sub depcomp \
53         install-sh ltmain.sh missing
54 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
55 am__aclocal_m4_deps = $(top_srcdir)/m4/gettext.m4 \
56         $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/lib-ld.m4 \
57         $(top_srcdir)/m4/lib-link.m4 $(top_srcdir)/m4/lib-prefix.m4 \
58         $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \
59         $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
60         $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/m4/nls.m4 \
61         $(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/progtest.m4 \
62         $(top_srcdir)/configure.ac
63 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
64         $(ACLOCAL_M4)
65 am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
66  configure.lineno config.status.lineno
67 mkinstalldirs = $(install_sh) -d
68 CONFIG_HEADER = config.h
69 CONFIG_CLEAN_FILES = Doxyfile popt.pc popt.spec test-poptrc
70 CONFIG_CLEAN_VPATH_FILES =
71 am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
72 am__vpath_adj = case $$p in \
73     $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
74     *) f=$$p;; \
75   esac;
76 am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
77 am__install_max = 40
78 am__nobase_strip_setup = \
79   srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
80 am__nobase_strip = \
81   for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
82 am__nobase_list = $(am__nobase_strip_setup); \
83   for p in $$list; do echo "$$p $$p"; done | \
84   sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
85   $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
86     if (++n[$$2] == $(am__install_max)) \
87       { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
88     END { for (dir in files) print dir, files[dir] }'
89 am__base_list = \
90   sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
91   sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
92 am__installdirs = "$(DESTDIR)$(usrlibdir)" "$(DESTDIR)$(man3dir)" \
93         "$(DESTDIR)$(pkgconfigdir)" "$(DESTDIR)$(includedir)"
94 LTLIBRARIES = $(usrlib_LTLIBRARIES)
95 libpopt_la_LIBADD =
96 am_libpopt_la_OBJECTS = popt.lo poptparse.lo poptconfig.lo popthelp.lo \
97         poptint.lo
98 libpopt_la_OBJECTS = $(am_libpopt_la_OBJECTS)
99 libpopt_la_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \
100         $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
101         $(libpopt_la_LDFLAGS) $(LDFLAGS) -o $@
102 PROGRAMS = $(noinst_PROGRAMS)
103 am_tdict_OBJECTS = tdict.$(OBJEXT)
104 tdict_OBJECTS = $(am_tdict_OBJECTS)
105 tdict_DEPENDENCIES = $(usrlib_LTLIBRARIES)
106 tdict_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
107         --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(tdict_LDFLAGS) \
108         $(LDFLAGS) -o $@
109 am_test1_OBJECTS = test1.$(OBJEXT)
110 test1_OBJECTS = $(am_test1_OBJECTS)
111 test1_DEPENDENCIES = $(usrlib_LTLIBRARIES)
112 test1_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
113         --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(test1_LDFLAGS) \
114         $(LDFLAGS) -o $@
115 am_test2_OBJECTS = test2.$(OBJEXT)
116 test2_OBJECTS = $(am_test2_OBJECTS)
117 test2_DEPENDENCIES = $(usrlib_LTLIBRARIES)
118 test2_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
119         --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(test2_LDFLAGS) \
120         $(LDFLAGS) -o $@
121 SCRIPTS = $(noinst_SCRIPTS)
122 DEFAULT_INCLUDES = -I.@am__isrc@
123 depcomp = $(SHELL) $(top_srcdir)/depcomp
124 am__depfiles_maybe = depfiles
125 am__mv = mv -f
126 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
127         $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
128 LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
129         --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
130         $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
131 CCLD = $(CC)
132 LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
133         --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \
134         $(LDFLAGS) -o $@
135 SOURCES = $(libpopt_la_SOURCES) $(tdict_SOURCES) $(test1_SOURCES) \
136         $(test2_SOURCES)
137 DIST_SOURCES = $(libpopt_la_SOURCES) $(tdict_SOURCES) $(test1_SOURCES) \
138         $(test2_SOURCES)
139 RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
140         html-recursive info-recursive install-data-recursive \
141         install-dvi-recursive install-exec-recursive \
142         install-html-recursive install-info-recursive \
143         install-pdf-recursive install-ps-recursive install-recursive \
144         installcheck-recursive installdirs-recursive pdf-recursive \
145         ps-recursive uninstall-recursive
146 man3dir = $(mandir)/man3
147 NROFF = nroff
148 MANS = $(man_MANS)
149 DATA = $(pkgconfig_DATA)
150 HEADERS = $(include_HEADERS) $(noinst_HEADERS)
151 RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
152   distclean-recursive maintainer-clean-recursive
153 AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
154         $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
155         distdir dist dist-all distcheck
156 ETAGS = etags
157 CTAGS = ctags
158 am__tty_colors = \
159 red=; grn=; lgn=; blu=; std=
160 DIST_SUBDIRS = $(SUBDIRS)
161 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
162 distdir = $(PACKAGE)-$(VERSION)
163 top_distdir = $(distdir)
164 am__remove_distdir = \
165   { test ! -d "$(distdir)" \
166     || { find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
167          && rm -fr "$(distdir)"; }; }
168 am__relativize = \
169   dir0=`pwd`; \
170   sed_first='s,^\([^/]*\)/.*$$,\1,'; \
171   sed_rest='s,^[^/]*/*,,'; \
172   sed_last='s,^.*/\([^/]*\)$$,\1,'; \
173   sed_butlast='s,/*[^/]*$$,,'; \
174   while test -n "$$dir1"; do \
175     first=`echo "$$dir1" | sed -e "$$sed_first"`; \
176     if test "$$first" != "."; then \
177       if test "$$first" = ".."; then \
178         dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
179         dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
180       else \
181         first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
182         if test "$$first2" = "$$first"; then \
183           dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
184         else \
185           dir2="../$$dir2"; \
186         fi; \
187         dir0="$$dir0"/"$$first"; \
188       fi; \
189     fi; \
190     dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
191   done; \
192   reldir="$$dir2"
193 DIST_ARCHIVES = $(distdir).tar.gz
194 GZIP_ENV = --best
195 distuninstallcheck_listfiles = find . -type f -print
196 distcleancheck_listfiles = find . -type f -print
197 ACLOCAL = @ACLOCAL@
198 AMTAR = @AMTAR@
199 AR = @AR@
200 AUTOCONF = @AUTOCONF@
201 AUTOHEADER = @AUTOHEADER@
202 AUTOMAKE = @AUTOMAKE@
203 AWK = @AWK@
204 CC = @CC@
205 CCDEPMODE = @CCDEPMODE@
206 CFLAGS = @CFLAGS@
207 CPP = @CPP@
208 CPPFLAGS = @CPPFLAGS@
209 CYGPATH_W = @CYGPATH_W@
210 DEFS = @DEFS@
211 DEPDIR = @DEPDIR@
212 DSYMUTIL = @DSYMUTIL@
213 DUMPBIN = @DUMPBIN@
214 ECHO_C = @ECHO_C@
215 ECHO_N = @ECHO_N@
216 ECHO_T = @ECHO_T@
217 EGREP = @EGREP@
218 EXEEXT = @EXEEXT@
219 FGREP = @FGREP@
220 GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@
221 GMSGFMT = @GMSGFMT@
222 GMSGFMT_015 = @GMSGFMT_015@
223 GREP = @GREP@
224 INSTALL = @INSTALL@
225 INSTALL_DATA = @INSTALL_DATA@
226 INSTALL_PROGRAM = @INSTALL_PROGRAM@
227 INSTALL_SCRIPT = @INSTALL_SCRIPT@
228 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
229 INTLLIBS = @INTLLIBS@
230 INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@
231 LD = @LD@
232 LDFLAGS = @LDFLAGS@
233 LIBICONV = @LIBICONV@
234 LIBINTL = @LIBINTL@
235 LIBOBJS = @LIBOBJS@
236 LIBS = @LIBS@
237 LIBTOOL = @LIBTOOL@
238 LIPO = @LIPO@
239 LN_S = @LN_S@
240 LTLIBICONV = @LTLIBICONV@
241 LTLIBINTL = @LTLIBINTL@
242 LTLIBOBJS = @LTLIBOBJS@
243 LT_AGE = @LT_AGE@
244 LT_CURRENT = @LT_CURRENT@
245 LT_REVISION = @LT_REVISION@
246 MAINT = @MAINT@
247 MAKEINFO = @MAKEINFO@
248 MKDIR_P = @MKDIR_P@
249 MSGFMT = @MSGFMT@
250 MSGFMT_015 = @MSGFMT_015@
251 MSGMERGE = @MSGMERGE@
252 NM = @NM@
253 NMEDIT = @NMEDIT@
254 OBJDUMP = @OBJDUMP@
255 OBJEXT = @OBJEXT@
256 OTOOL = @OTOOL@
257 OTOOL64 = @OTOOL64@
258 PACKAGE = @PACKAGE@
259 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
260 PACKAGE_NAME = @PACKAGE_NAME@
261 PACKAGE_STRING = @PACKAGE_STRING@
262 PACKAGE_TARNAME = @PACKAGE_TARNAME@
263 PACKAGE_VERSION = @PACKAGE_VERSION@
264 PATH_SEPARATOR = @PATH_SEPARATOR@
265 POPT_PKGCONFIG_LIBS = @POPT_PKGCONFIG_LIBS@
266 POPT_SOURCE_PATH = @POPT_SOURCE_PATH@
267 POSUB = @POSUB@
268 RANLIB = @RANLIB@
269 SED = @SED@
270 SET_MAKE = @SET_MAKE@
271 SHELL = @SHELL@
272 STRIP = @STRIP@
273 TARGET = @TARGET@
274 U = @U@
275 USE_NLS = @USE_NLS@
276 VERSION = @VERSION@
277 XGETTEXT = @XGETTEXT@
278 XGETTEXT_015 = @XGETTEXT_015@
279 XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@
280 abs_builddir = @abs_builddir@
281 abs_srcdir = @abs_srcdir@
282 abs_top_builddir = @abs_top_builddir@
283 abs_top_srcdir = @abs_top_srcdir@
284 ac_ct_CC = @ac_ct_CC@
285 ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
286 am__include = @am__include@
287 am__leading_dot = @am__leading_dot@
288 am__quote = @am__quote@
289 am__tar = @am__tar@
290 am__untar = @am__untar@
291 bindir = @bindir@
292 build = @build@
293 build_alias = @build_alias@
294 build_cpu = @build_cpu@
295 build_os = @build_os@
296 build_vendor = @build_vendor@
297 builddir = @builddir@
298 datadir = @datadir@
299 datarootdir = @datarootdir@
300 docdir = @docdir@
301 dvidir = @dvidir@
302 exec_prefix = @exec_prefix@
303 host = @host@
304 host_alias = @host_alias@
305 host_cpu = @host_cpu@
306 host_os = @host_os@
307 host_vendor = @host_vendor@
308 htmldir = @htmldir@
309 includedir = @includedir@
310 infodir = @infodir@
311 install_sh = @install_sh@
312 libdir = @libdir@
313 libexecdir = @libexecdir@
314 localedir = @localedir@
315 localstatedir = @localstatedir@
316 lt_ECHO = @lt_ECHO@
317 mandir = @mandir@
318 mkdir_p = @mkdir_p@
319 oldincludedir = @oldincludedir@
320 pdfdir = @pdfdir@
321 prefix = @prefix@
322 program_transform_name = @program_transform_name@
323 psdir = @psdir@
324 sbindir = @sbindir@
325 sharedstatedir = @sharedstatedir@
326 srcdir = @srcdir@
327 subdirs = @subdirs@
328 sysconfdir = @sysconfdir@
329 target = @target@
330 target_alias = @target_alias@
331 target_cpu = @target_cpu@
332 target_os = @target_os@
333 target_vendor = @target_vendor@
334 top_build_prefix = @top_build_prefix@
335 top_builddir = @top_builddir@
336 top_srcdir = @top_srcdir@
337 AUTOMAKE_OPTIONS = 1.4 foreign
338 LINT = splint
339 MCCABE = pmccabe
340 EXTRA_DIST = config.rpath lookup3.c autogen.sh CHANGES $(man_MANS) \
341         m4/Makefile.in \
342         footer_no_timestamp.html libpopt.vers \
343         testit.sh test-poptrc \
344         popt.xcodeproj/project.pbxproj \
345         popt.ps
346
347 SUBDIRS = po . auto
348 AM_CPPFLAGS = -I. -I$(top_srcdir)
349 noinst_HEADERS = poptint.h system.h
350 test1_SOURCES = test1.c
351 test1_LDFLAGS = 
352 test1_LDADD = $(usrlib_LTLIBRARIES)
353 test2_SOURCES = test2.c
354 test2_LDFLAGS = 
355 test2_LDADD = $(usrlib_LTLIBRARIES)
356 #test3_SOURCES = test3.c
357 #test3_LDFLAGS = 
358 #test3_LDADD = $(usrlib_LTLIBRARIES)
359 tdict_SOURCES = tdict.c
360 tdict_LDFLAGS = 
361 tdict_LDADD = $(usrlib_LTLIBRARIES)
362 noinst_SCRIPTS = testit.sh
363 TESTS_ENVIRONMENT = \
364 test1="$(top_builddir)/test1"
365
366 TESTS = $(top_srcdir)/testit.sh
367 include_HEADERS = popt.h
368 usrlibdir = $(libdir)
369 usrlib_LTLIBRARIES = libpopt.la
370 libpopt_la_SOURCES = popt.c poptparse.c poptconfig.c popthelp.c poptint.c
371 libpopt_la_LDFLAGS = -no-undefined @LTLIBINTL@ @LTLIBICONV@ \
372         $(am__append_1)
373 pkgconfigdir = $(prefix)/lib/pkgconfig
374 pkgconfig_DATA = popt.pc
375 man_MANS = popt.3
376 BUILT_SOURCES = popt.pc # popt.lcd
377
378 #.PHONY:        lcov-upload
379 #lcov-upload: lcov
380 #       rsync -rvz -e ssh --delete lcov/* ???
381 ACLOCAL_AMFLAGS = -I m4
382 all: $(BUILT_SOURCES) config.h
383         $(MAKE) $(AM_MAKEFLAGS) all-recursive
384
385 .SUFFIXES:
386 .SUFFIXES: .c .lo .o .obj
387 am--refresh:
388         @:
389 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am  $(am__configure_deps)
390         @for dep in $?; do \
391           case '$(am__configure_deps)' in \
392             *$$dep*) \
393               echo ' cd $(srcdir) && $(AUTOMAKE) --foreign'; \
394               $(am__cd) $(srcdir) && $(AUTOMAKE) --foreign \
395                 && exit 0; \
396               exit 1;; \
397           esac; \
398         done; \
399         echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \
400         $(am__cd) $(top_srcdir) && \
401           $(AUTOMAKE) --foreign Makefile
402 .PRECIOUS: Makefile
403 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
404         @case '$?' in \
405           *config.status*) \
406             echo ' $(SHELL) ./config.status'; \
407             $(SHELL) ./config.status;; \
408           *) \
409             echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
410             cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
411         esac;
412
413 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
414         $(SHELL) ./config.status --recheck
415
416 $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
417         $(am__cd) $(srcdir) && $(AUTOCONF)
418 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
419         $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
420 $(am__aclocal_m4_deps):
421
422 config.h: stamp-h1
423         @if test ! -f $@; then \
424           rm -f stamp-h1; \
425           $(MAKE) $(AM_MAKEFLAGS) stamp-h1; \
426         else :; fi
427
428 stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
429         @rm -f stamp-h1
430         cd $(top_builddir) && $(SHELL) ./config.status config.h
431 $(srcdir)/config.h.in: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) 
432         ($(am__cd) $(top_srcdir) && $(AUTOHEADER))
433         rm -f stamp-h1
434         touch $@
435
436 distclean-hdr:
437         -rm -f config.h stamp-h1
438 Doxyfile: $(top_builddir)/config.status $(srcdir)/Doxyfile.in
439         cd $(top_builddir) && $(SHELL) ./config.status $@
440 popt.pc: $(top_builddir)/config.status $(srcdir)/popt.pc.in
441         cd $(top_builddir) && $(SHELL) ./config.status $@
442 popt.spec: $(top_builddir)/config.status $(srcdir)/popt.spec.in
443         cd $(top_builddir) && $(SHELL) ./config.status $@
444 test-poptrc: $(top_builddir)/config.status $(srcdir)/test-poptrc.in
445         cd $(top_builddir) && $(SHELL) ./config.status $@
446 install-usrlibLTLIBRARIES: $(usrlib_LTLIBRARIES)
447         @$(NORMAL_INSTALL)
448         test -z "$(usrlibdir)" || $(MKDIR_P) "$(DESTDIR)$(usrlibdir)"
449         @list='$(usrlib_LTLIBRARIES)'; test -n "$(usrlibdir)" || list=; \
450         list2=; for p in $$list; do \
451           if test -f $$p; then \
452             list2="$$list2 $$p"; \
453           else :; fi; \
454         done; \
455         test -z "$$list2" || { \
456           echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(usrlibdir)'"; \
457           $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(usrlibdir)"; \
458         }
459
460 uninstall-usrlibLTLIBRARIES:
461         @$(NORMAL_UNINSTALL)
462         @list='$(usrlib_LTLIBRARIES)'; test -n "$(usrlibdir)" || list=; \
463         for p in $$list; do \
464           $(am__strip_dir) \
465           echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(usrlibdir)/$$f'"; \
466           $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(usrlibdir)/$$f"; \
467         done
468
469 clean-usrlibLTLIBRARIES:
470         -test -z "$(usrlib_LTLIBRARIES)" || rm -f $(usrlib_LTLIBRARIES)
471         @list='$(usrlib_LTLIBRARIES)'; for p in $$list; do \
472           dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
473           test "$$dir" != "$$p" || dir=.; \
474           echo "rm -f \"$${dir}/so_locations\""; \
475           rm -f "$${dir}/so_locations"; \
476         done
477 libpopt.la: $(libpopt_la_OBJECTS) $(libpopt_la_DEPENDENCIES) 
478         $(libpopt_la_LINK) -rpath $(usrlibdir) $(libpopt_la_OBJECTS) $(libpopt_la_LIBADD) $(LIBS)
479
480 clean-noinstPROGRAMS:
481         @list='$(noinst_PROGRAMS)'; test -n "$$list" || exit 0; \
482         echo " rm -f" $$list; \
483         rm -f $$list || exit $$?; \
484         test -n "$(EXEEXT)" || exit 0; \
485         list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
486         echo " rm -f" $$list; \
487         rm -f $$list
488 tdict$(EXEEXT): $(tdict_OBJECTS) $(tdict_DEPENDENCIES) 
489         @rm -f tdict$(EXEEXT)
490         $(tdict_LINK) $(tdict_OBJECTS) $(tdict_LDADD) $(LIBS)
491 test1$(EXEEXT): $(test1_OBJECTS) $(test1_DEPENDENCIES) 
492         @rm -f test1$(EXEEXT)
493         $(test1_LINK) $(test1_OBJECTS) $(test1_LDADD) $(LIBS)
494 test2$(EXEEXT): $(test2_OBJECTS) $(test2_DEPENDENCIES) 
495         @rm -f test2$(EXEEXT)
496         $(test2_LINK) $(test2_OBJECTS) $(test2_LDADD) $(LIBS)
497
498 mostlyclean-compile:
499         -rm -f *.$(OBJEXT)
500
501 distclean-compile:
502         -rm -f *.tab.c
503
504 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/popt.Plo@am__quote@
505 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/poptconfig.Plo@am__quote@
506 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/popthelp.Plo@am__quote@
507 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/poptint.Plo@am__quote@
508 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/poptparse.Plo@am__quote@
509 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/tdict.Po@am__quote@
510 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test1.Po@am__quote@
511 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test2.Po@am__quote@
512
513 .c.o:
514 @am__fastdepCC_TRUE@    $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
515 @am__fastdepCC_TRUE@    $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
516 @AMDEP_TRUE@@am__fastdepCC_FALSE@       source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
517 @AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
518 @am__fastdepCC_FALSE@   $(COMPILE) -c $<
519
520 .c.obj:
521 @am__fastdepCC_TRUE@    $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
522 @am__fastdepCC_TRUE@    $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
523 @AMDEP_TRUE@@am__fastdepCC_FALSE@       source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
524 @AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
525 @am__fastdepCC_FALSE@   $(COMPILE) -c `$(CYGPATH_W) '$<'`
526
527 .c.lo:
528 @am__fastdepCC_TRUE@    $(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
529 @am__fastdepCC_TRUE@    $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
530 @AMDEP_TRUE@@am__fastdepCC_FALSE@       source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
531 @AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
532 @am__fastdepCC_FALSE@   $(LTCOMPILE) -c -o $@ $<
533
534 mostlyclean-libtool:
535         -rm -f *.lo
536
537 clean-libtool:
538         -rm -rf .libs _libs
539
540 distclean-libtool:
541         -rm -f libtool config.lt
542 install-man3: $(man_MANS)
543         @$(NORMAL_INSTALL)
544         test -z "$(man3dir)" || $(MKDIR_P) "$(DESTDIR)$(man3dir)"
545         @list=''; test -n "$(man3dir)" || exit 0; \
546         { for i in $$list; do echo "$$i"; done; \
547         l2='$(man_MANS)'; for i in $$l2; do echo "$$i"; done | \
548           sed -n '/\.3[a-z]*$$/p'; \
549         } | while read p; do \
550           if test -f $$p; then d=; else d="$(srcdir)/"; fi; \
551           echo "$$d$$p"; echo "$$p"; \
552         done | \
553         sed -e 'n;s,.*/,,;p;h;s,.*\.,,;s,^[^3][0-9a-z]*$$,3,;x' \
554               -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,' | \
555         sed 'N;N;s,\n, ,g' | { \
556         list=; while read file base inst; do \
557           if test "$$base" = "$$inst"; then list="$$list $$file"; else \
558             echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man3dir)/$$inst'"; \
559             $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man3dir)/$$inst" || exit $$?; \
560           fi; \
561         done; \
562         for i in $$list; do echo "$$i"; done | $(am__base_list) | \
563         while read files; do \
564           test -z "$$files" || { \
565             echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man3dir)'"; \
566             $(INSTALL_DATA) $$files "$(DESTDIR)$(man3dir)" || exit $$?; }; \
567         done; }
568
569 uninstall-man3:
570         @$(NORMAL_UNINSTALL)
571         @list=''; test -n "$(man3dir)" || exit 0; \
572         files=`{ for i in $$list; do echo "$$i"; done; \
573         l2='$(man_MANS)'; for i in $$l2; do echo "$$i"; done | \
574           sed -n '/\.3[a-z]*$$/p'; \
575         } | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^3][0-9a-z]*$$,3,;x' \
576               -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \
577         test -z "$$files" || { \
578           echo " ( cd '$(DESTDIR)$(man3dir)' && rm -f" $$files ")"; \
579           cd "$(DESTDIR)$(man3dir)" && rm -f $$files; }
580 install-pkgconfigDATA: $(pkgconfig_DATA)
581         @$(NORMAL_INSTALL)
582         test -z "$(pkgconfigdir)" || $(MKDIR_P) "$(DESTDIR)$(pkgconfigdir)"
583         @list='$(pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \
584         for p in $$list; do \
585           if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
586           echo "$$d$$p"; \
587         done | $(am__base_list) | \
588         while read files; do \
589           echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(pkgconfigdir)'"; \
590           $(INSTALL_DATA) $$files "$(DESTDIR)$(pkgconfigdir)" || exit $$?; \
591         done
592
593 uninstall-pkgconfigDATA:
594         @$(NORMAL_UNINSTALL)
595         @list='$(pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \
596         files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
597         test -n "$$files" || exit 0; \
598         echo " ( cd '$(DESTDIR)$(pkgconfigdir)' && rm -f" $$files ")"; \
599         cd "$(DESTDIR)$(pkgconfigdir)" && rm -f $$files
600 install-includeHEADERS: $(include_HEADERS)
601         @$(NORMAL_INSTALL)
602         test -z "$(includedir)" || $(MKDIR_P) "$(DESTDIR)$(includedir)"
603         @list='$(include_HEADERS)'; test -n "$(includedir)" || list=; \
604         for p in $$list; do \
605           if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
606           echo "$$d$$p"; \
607         done | $(am__base_list) | \
608         while read files; do \
609           echo " $(INSTALL_HEADER) $$files '$(DESTDIR)$(includedir)'"; \
610           $(INSTALL_HEADER) $$files "$(DESTDIR)$(includedir)" || exit $$?; \
611         done
612
613 uninstall-includeHEADERS:
614         @$(NORMAL_UNINSTALL)
615         @list='$(include_HEADERS)'; test -n "$(includedir)" || list=; \
616         files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
617         test -n "$$files" || exit 0; \
618         echo " ( cd '$(DESTDIR)$(includedir)' && rm -f" $$files ")"; \
619         cd "$(DESTDIR)$(includedir)" && rm -f $$files
620
621 # This directory's subdirectories are mostly independent; you can cd
622 # into them and run `make' without going through this Makefile.
623 # To change the values of `make' variables: instead of editing Makefiles,
624 # (1) if the variable is set in `config.status', edit `config.status'
625 #     (which will cause the Makefiles to be regenerated when you run `make');
626 # (2) otherwise, pass the desired values on the `make' command line.
627 $(RECURSIVE_TARGETS):
628         @fail= failcom='exit 1'; \
629         for f in x $$MAKEFLAGS; do \
630           case $$f in \
631             *=* | --[!k]*);; \
632             *k*) failcom='fail=yes';; \
633           esac; \
634         done; \
635         dot_seen=no; \
636         target=`echo $@ | sed s/-recursive//`; \
637         list='$(SUBDIRS)'; for subdir in $$list; do \
638           echo "Making $$target in $$subdir"; \
639           if test "$$subdir" = "."; then \
640             dot_seen=yes; \
641             local_target="$$target-am"; \
642           else \
643             local_target="$$target"; \
644           fi; \
645           ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
646           || eval $$failcom; \
647         done; \
648         if test "$$dot_seen" = "no"; then \
649           $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
650         fi; test -z "$$fail"
651
652 $(RECURSIVE_CLEAN_TARGETS):
653         @fail= failcom='exit 1'; \
654         for f in x $$MAKEFLAGS; do \
655           case $$f in \
656             *=* | --[!k]*);; \
657             *k*) failcom='fail=yes';; \
658           esac; \
659         done; \
660         dot_seen=no; \
661         case "$@" in \
662           distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
663           *) list='$(SUBDIRS)' ;; \
664         esac; \
665         rev=''; for subdir in $$list; do \
666           if test "$$subdir" = "."; then :; else \
667             rev="$$subdir $$rev"; \
668           fi; \
669         done; \
670         rev="$$rev ."; \
671         target=`echo $@ | sed s/-recursive//`; \
672         for subdir in $$rev; do \
673           echo "Making $$target in $$subdir"; \
674           if test "$$subdir" = "."; then \
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 && test -z "$$fail"
682 tags-recursive:
683         list='$(SUBDIRS)'; for subdir in $$list; do \
684           test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
685         done
686 ctags-recursive:
687         list='$(SUBDIRS)'; for subdir in $$list; do \
688           test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
689         done
690
691 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
692         list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
693         unique=`for i in $$list; do \
694             if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
695           done | \
696           $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
697               END { if (nonempty) { for (i in files) print i; }; }'`; \
698         mkid -fID $$unique
699 tags: TAGS
700
701 TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
702                 $(TAGS_FILES) $(LISP)
703         set x; \
704         here=`pwd`; \
705         if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
706           include_option=--etags-include; \
707           empty_fix=.; \
708         else \
709           include_option=--include; \
710           empty_fix=; \
711         fi; \
712         list='$(SUBDIRS)'; for subdir in $$list; do \
713           if test "$$subdir" = .; then :; else \
714             test ! -f $$subdir/TAGS || \
715               set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
716           fi; \
717         done; \
718         list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
719         unique=`for i in $$list; do \
720             if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
721           done | \
722           $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
723               END { if (nonempty) { for (i in files) print i; }; }'`; \
724         shift; \
725         if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
726           test -n "$$unique" || unique=$$empty_fix; \
727           if test $$# -gt 0; then \
728             $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
729               "$$@" $$unique; \
730           else \
731             $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
732               $$unique; \
733           fi; \
734         fi
735 ctags: CTAGS
736 CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
737                 $(TAGS_FILES) $(LISP)
738         list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
739         unique=`for i in $$list; do \
740             if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
741           done | \
742           $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
743               END { if (nonempty) { for (i in files) print i; }; }'`; \
744         test -z "$(CTAGS_ARGS)$$unique" \
745           || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
746              $$unique
747
748 GTAGS:
749         here=`$(am__cd) $(top_builddir) && pwd` \
750           && $(am__cd) $(top_srcdir) \
751           && gtags -i $(GTAGS_ARGS) "$$here"
752
753 distclean-tags:
754         -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
755
756 check-TESTS: $(TESTS)
757         @failed=0; all=0; xfail=0; xpass=0; skip=0; \
758         srcdir=$(srcdir); export srcdir; \
759         list=' $(TESTS) '; \
760         $(am__tty_colors); \
761         if test -n "$$list"; then \
762           for tst in $$list; do \
763             if test -f ./$$tst; then dir=./; \
764             elif test -f $$tst; then dir=; \
765             else dir="$(srcdir)/"; fi; \
766             if $(TESTS_ENVIRONMENT) $${dir}$$tst; then \
767               all=`expr $$all + 1`; \
768               case " $(XFAIL_TESTS) " in \
769               *[\ \     ]$$tst[\ \      ]*) \
770                 xpass=`expr $$xpass + 1`; \
771                 failed=`expr $$failed + 1`; \
772                 col=$$red; res=XPASS; \
773               ;; \
774               *) \
775                 col=$$grn; res=PASS; \
776               ;; \
777               esac; \
778             elif test $$? -ne 77; then \
779               all=`expr $$all + 1`; \
780               case " $(XFAIL_TESTS) " in \
781               *[\ \     ]$$tst[\ \      ]*) \
782                 xfail=`expr $$xfail + 1`; \
783                 col=$$lgn; res=XFAIL; \
784               ;; \
785               *) \
786                 failed=`expr $$failed + 1`; \
787                 col=$$red; res=FAIL; \
788               ;; \
789               esac; \
790             else \
791               skip=`expr $$skip + 1`; \
792               col=$$blu; res=SKIP; \
793             fi; \
794             echo "$${col}$$res$${std}: $$tst"; \
795           done; \
796           if test "$$all" -eq 1; then \
797             tests="test"; \
798             All=""; \
799           else \
800             tests="tests"; \
801             All="All "; \
802           fi; \
803           if test "$$failed" -eq 0; then \
804             if test "$$xfail" -eq 0; then \
805               banner="$$All$$all $$tests passed"; \
806             else \
807               if test "$$xfail" -eq 1; then failures=failure; else failures=failures; fi; \
808               banner="$$All$$all $$tests behaved as expected ($$xfail expected $$failures)"; \
809             fi; \
810           else \
811             if test "$$xpass" -eq 0; then \
812               banner="$$failed of $$all $$tests failed"; \
813             else \
814               if test "$$xpass" -eq 1; then passes=pass; else passes=passes; fi; \
815               banner="$$failed of $$all $$tests did not behave as expected ($$xpass unexpected $$passes)"; \
816             fi; \
817           fi; \
818           dashes="$$banner"; \
819           skipped=""; \
820           if test "$$skip" -ne 0; then \
821             if test "$$skip" -eq 1; then \
822               skipped="($$skip test was not run)"; \
823             else \
824               skipped="($$skip tests were not run)"; \
825             fi; \
826             test `echo "$$skipped" | wc -c` -le `echo "$$banner" | wc -c` || \
827               dashes="$$skipped"; \
828           fi; \
829           report=""; \
830           if test "$$failed" -ne 0 && test -n "$(PACKAGE_BUGREPORT)"; then \
831             report="Please report to $(PACKAGE_BUGREPORT)"; \
832             test `echo "$$report" | wc -c` -le `echo "$$banner" | wc -c` || \
833               dashes="$$report"; \
834           fi; \
835           dashes=`echo "$$dashes" | sed s/./=/g`; \
836           if test "$$failed" -eq 0; then \
837             echo "$$grn$$dashes"; \
838           else \
839             echo "$$red$$dashes"; \
840           fi; \
841           echo "$$banner"; \
842           test -z "$$skipped" || echo "$$skipped"; \
843           test -z "$$report" || echo "$$report"; \
844           echo "$$dashes$$std"; \
845           test "$$failed" -eq 0; \
846         else :; fi
847
848 distdir: $(DISTFILES)
849         @list='$(MANS)'; if test -n "$$list"; then \
850           list=`for p in $$list; do \
851             if test -f $$p; then d=; else d="$(srcdir)/"; fi; \
852             if test -f "$$d$$p"; then echo "$$d$$p"; else :; fi; done`; \
853           if test -n "$$list" && \
854             grep 'ab help2man is required to generate this page' $$list >/dev/null; then \
855             echo "error: found man pages containing the \`missing help2man' replacement text:" >&2; \
856             grep -l 'ab help2man is required to generate this page' $$list | sed 's/^/         /' >&2; \
857             echo "       to fix them, install help2man, remove and regenerate the man pages;" >&2; \
858             echo "       typically \`make maintainer-clean' will remove them" >&2; \
859             exit 1; \
860           else :; fi; \
861         else :; fi
862         $(am__remove_distdir)
863         test -d "$(distdir)" || mkdir "$(distdir)"
864         @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
865         topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
866         list='$(DISTFILES)'; \
867           dist_files=`for file in $$list; do echo $$file; done | \
868           sed -e "s|^$$srcdirstrip/||;t" \
869               -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
870         case $$dist_files in \
871           */*) $(MKDIR_P) `echo "$$dist_files" | \
872                            sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
873                            sort -u` ;; \
874         esac; \
875         for file in $$dist_files; do \
876           if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
877           if test -d $$d/$$file; then \
878             dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
879             if test -d "$(distdir)/$$file"; then \
880               find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
881             fi; \
882             if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
883               cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
884               find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
885             fi; \
886             cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
887           else \
888             test -f "$(distdir)/$$file" \
889             || cp -p $$d/$$file "$(distdir)/$$file" \
890             || exit 1; \
891           fi; \
892         done
893         @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
894           if test "$$subdir" = .; then :; else \
895             test -d "$(distdir)/$$subdir" \
896             || $(MKDIR_P) "$(distdir)/$$subdir" \
897             || exit 1; \
898           fi; \
899         done
900         @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
901           if test "$$subdir" = .; then :; else \
902             dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
903             $(am__relativize); \
904             new_distdir=$$reldir; \
905             dir1=$$subdir; dir2="$(top_distdir)"; \
906             $(am__relativize); \
907             new_top_distdir=$$reldir; \
908             echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
909             echo "     am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
910             ($(am__cd) $$subdir && \
911               $(MAKE) $(AM_MAKEFLAGS) \
912                 top_distdir="$$new_top_distdir" \
913                 distdir="$$new_distdir" \
914                 am__remove_distdir=: \
915                 am__skip_length_check=: \
916                 am__skip_mode_fix=: \
917                 distdir) \
918               || exit 1; \
919           fi; \
920         done
921         -test -n "$(am__skip_mode_fix)" \
922         || find "$(distdir)" -type d ! -perm -755 \
923                 -exec chmod u+rwx,go+rx {} \; -o \
924           ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
925           ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
926           ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
927         || chmod -R a+r "$(distdir)"
928 dist-gzip: distdir
929         tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
930         $(am__remove_distdir)
931
932 dist-bzip2: distdir
933         tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
934         $(am__remove_distdir)
935
936 dist-lzma: distdir
937         tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma
938         $(am__remove_distdir)
939
940 dist-xz: distdir
941         tardir=$(distdir) && $(am__tar) | xz -c >$(distdir).tar.xz
942         $(am__remove_distdir)
943
944 dist-tarZ: distdir
945         tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
946         $(am__remove_distdir)
947
948 dist-shar: distdir
949         shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
950         $(am__remove_distdir)
951
952 dist-zip: distdir
953         -rm -f $(distdir).zip
954         zip -rq $(distdir).zip $(distdir)
955         $(am__remove_distdir)
956
957 dist dist-all: distdir
958         tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
959         $(am__remove_distdir)
960
961 # This target untars the dist file and tries a VPATH configuration.  Then
962 # it guarantees that the distribution is self-contained by making another
963 # tarfile.
964 distcheck: dist
965         case '$(DIST_ARCHIVES)' in \
966         *.tar.gz*) \
967           GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\
968         *.tar.bz2*) \
969           bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
970         *.tar.lzma*) \
971           lzma -dc $(distdir).tar.lzma | $(am__untar) ;;\
972         *.tar.xz*) \
973           xz -dc $(distdir).tar.xz | $(am__untar) ;;\
974         *.tar.Z*) \
975           uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
976         *.shar.gz*) \
977           GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\
978         *.zip*) \
979           unzip $(distdir).zip ;;\
980         esac
981         chmod -R a-w $(distdir); chmod a+w $(distdir)
982         mkdir $(distdir)/_build
983         mkdir $(distdir)/_inst
984         chmod a-w $(distdir)
985         test -d $(distdir)/_build || exit 0; \
986         dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
987           && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
988           && am__cwd=`pwd` \
989           && $(am__cd) $(distdir)/_build \
990           && ../configure --srcdir=.. --prefix="$$dc_install_base" \
991             $(DISTCHECK_CONFIGURE_FLAGS) \
992           && $(MAKE) $(AM_MAKEFLAGS) \
993           && $(MAKE) $(AM_MAKEFLAGS) dvi \
994           && $(MAKE) $(AM_MAKEFLAGS) check \
995           && $(MAKE) $(AM_MAKEFLAGS) install \
996           && $(MAKE) $(AM_MAKEFLAGS) installcheck \
997           && $(MAKE) $(AM_MAKEFLAGS) uninstall \
998           && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
999                 distuninstallcheck \
1000           && chmod -R a-w "$$dc_install_base" \
1001           && ({ \
1002                (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
1003                && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
1004                && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
1005                && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
1006                     distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
1007               } || { rm -rf "$$dc_destdir"; exit 1; }) \
1008           && rm -rf "$$dc_destdir" \
1009           && $(MAKE) $(AM_MAKEFLAGS) dist \
1010           && rm -rf $(DIST_ARCHIVES) \
1011           && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
1012           && cd "$$am__cwd" \
1013           || exit 1
1014         $(am__remove_distdir)
1015         @(echo "$(distdir) archives ready for distribution: "; \
1016           list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
1017           sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
1018 distuninstallcheck:
1019         @$(am__cd) '$(distuninstallcheck_dir)' \
1020         && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
1021            || { echo "ERROR: files left after uninstall:" ; \
1022                 if test -n "$(DESTDIR)"; then \
1023                   echo "  (check DESTDIR support)"; \
1024                 fi ; \
1025                 $(distuninstallcheck_listfiles) ; \
1026                 exit 1; } >&2
1027 distcleancheck: distclean
1028         @if test '$(srcdir)' = . ; then \
1029           echo "ERROR: distcleancheck can only run from a VPATH build" ; \
1030           exit 1 ; \
1031         fi
1032         @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
1033           || { echo "ERROR: files left in build directory after distclean:" ; \
1034                $(distcleancheck_listfiles) ; \
1035                exit 1; } >&2
1036 check-am: all-am
1037         $(MAKE) $(AM_MAKEFLAGS) check-TESTS
1038 check: $(BUILT_SOURCES)
1039         $(MAKE) $(AM_MAKEFLAGS) check-recursive
1040 all-am: Makefile $(LTLIBRARIES) $(PROGRAMS) $(SCRIPTS) $(MANS) $(DATA) \
1041                 $(HEADERS) config.h
1042 installdirs: installdirs-recursive
1043 installdirs-am:
1044         for dir in "$(DESTDIR)$(usrlibdir)" "$(DESTDIR)$(man3dir)" "$(DESTDIR)$(pkgconfigdir)" "$(DESTDIR)$(includedir)"; do \
1045           test -z "$$dir" || $(MKDIR_P) "$$dir"; \
1046         done
1047 install: $(BUILT_SOURCES)
1048         $(MAKE) $(AM_MAKEFLAGS) install-recursive
1049 install-exec: install-exec-recursive
1050 install-data: install-data-recursive
1051 uninstall: uninstall-recursive
1052
1053 install-am: all-am
1054         @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
1055
1056 installcheck: installcheck-recursive
1057 install-strip:
1058         $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
1059           install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
1060           `test -z '$(STRIP)' || \
1061             echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
1062 mostlyclean-generic:
1063
1064 clean-generic:
1065
1066 distclean-generic:
1067         -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
1068         -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
1069
1070 maintainer-clean-generic:
1071         @echo "This command is intended for maintainers to use"
1072         @echo "it deletes files that may require special tools to rebuild."
1073         -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
1074 clean: clean-recursive
1075
1076 clean-am: clean-generic clean-libtool clean-noinstPROGRAMS \
1077         clean-usrlibLTLIBRARIES mostlyclean-am
1078
1079 distclean: distclean-recursive
1080         -rm -f $(am__CONFIG_DISTCLEAN_FILES)
1081         -rm -rf ./$(DEPDIR)
1082         -rm -f Makefile
1083 distclean-am: clean-am distclean-compile distclean-generic \
1084         distclean-hdr distclean-libtool distclean-local distclean-tags
1085
1086 dvi: dvi-recursive
1087
1088 dvi-am:
1089
1090 html: html-recursive
1091
1092 html-am:
1093
1094 info: info-recursive
1095
1096 info-am:
1097
1098 install-data-am: install-includeHEADERS install-man \
1099         install-pkgconfigDATA install-usrlibLTLIBRARIES
1100
1101 install-dvi: install-dvi-recursive
1102
1103 install-dvi-am:
1104
1105 install-exec-am:
1106
1107 install-html: install-html-recursive
1108
1109 install-html-am:
1110
1111 install-info: install-info-recursive
1112
1113 install-info-am:
1114
1115 install-man: install-man3
1116
1117 install-pdf: install-pdf-recursive
1118
1119 install-pdf-am:
1120
1121 install-ps: install-ps-recursive
1122
1123 install-ps-am:
1124
1125 installcheck-am:
1126
1127 maintainer-clean: maintainer-clean-recursive
1128         -rm -f $(am__CONFIG_DISTCLEAN_FILES)
1129         -rm -rf $(top_srcdir)/autom4te.cache
1130         -rm -rf ./$(DEPDIR)
1131         -rm -f Makefile
1132 maintainer-clean-am: distclean-am maintainer-clean-generic
1133
1134 mostlyclean: mostlyclean-recursive
1135
1136 mostlyclean-am: mostlyclean-compile mostlyclean-generic \
1137         mostlyclean-libtool
1138
1139 pdf: pdf-recursive
1140
1141 pdf-am:
1142
1143 ps: ps-recursive
1144
1145 ps-am:
1146
1147 uninstall-am: uninstall-includeHEADERS uninstall-man \
1148         uninstall-pkgconfigDATA uninstall-usrlibLTLIBRARIES
1149
1150 uninstall-man: uninstall-man3
1151
1152 .MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) all check \
1153         check-am ctags-recursive install install-am install-strip \
1154         tags-recursive
1155
1156 .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
1157         all all-am am--refresh check check-TESTS check-am clean \
1158         clean-generic clean-libtool clean-noinstPROGRAMS \
1159         clean-usrlibLTLIBRARIES ctags ctags-recursive dist dist-all \
1160         dist-bzip2 dist-gzip dist-lzma dist-shar dist-tarZ dist-xz \
1161         dist-zip distcheck distclean distclean-compile \
1162         distclean-generic distclean-hdr distclean-libtool \
1163         distclean-local distclean-tags distcleancheck distdir \
1164         distuninstallcheck dvi dvi-am html html-am info info-am \
1165         install install-am install-data install-data-am install-dvi \
1166         install-dvi-am install-exec install-exec-am install-html \
1167         install-html-am install-includeHEADERS install-info \
1168         install-info-am install-man install-man3 install-pdf \
1169         install-pdf-am install-pkgconfigDATA install-ps install-ps-am \
1170         install-strip install-usrlibLTLIBRARIES installcheck \
1171         installcheck-am installdirs installdirs-am maintainer-clean \
1172         maintainer-clean-generic mostlyclean mostlyclean-compile \
1173         mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
1174         tags tags-recursive uninstall uninstall-am \
1175         uninstall-includeHEADERS uninstall-man uninstall-man3 \
1176         uninstall-pkgconfigDATA uninstall-usrlibLTLIBRARIES
1177
1178
1179 distclean-local:
1180         rm -rf .ccache
1181
1182 .PHONY: updatepo
1183 updatepo:
1184         rsync -Lrtvz  translationproject.org::tp/latest/popt/  po
1185
1186 popt.lcd: Makefile.am ${libpopt_la_SOURCES} ${include_HEADERS} ${noinst_HEADERS}
1187         lclint -dump $@ ${libpopt_la_SOURCES}
1188
1189 .PHONY: sources
1190 sources:
1191         @echo $(libpopt_la_SOURCES:%=popt/%)
1192
1193 .PHONY: lint
1194 lint:
1195         $(LINT) ${DEFS} ${INCLUDES} test1.c ${libpopt_la_SOURCES}
1196
1197 .PHONY: mccabe
1198 mccabe:
1199         $(MCCABE) $(libpopt_la_SOURCES) | sort -n -r | head -n 10
1200
1201 .PHONY: doxygen
1202 doxygen: Doxyfile
1203         rm -rf doxygen
1204         mkdir -p doxygen
1205         doxygen
1206
1207 .PHONY: lcov-reset      # run lcov from scratch, always
1208 lcov-reset:
1209         make lcov-run
1210         make lcov-report
1211
1212 .PHONY: lcov            # run lcov from scratch if the dir is not there
1213 lcov:
1214         make lcov-reset
1215
1216 .PHONY: lcov-run        # reset run coverage tests
1217 lcov-run:
1218         @-rm -rf lcov
1219         find . -name "*.gcda" -exec rm {} \;
1220         make check
1221
1222 .PHONY: lcov-report     # generate report based on current coverage data
1223 lcov-report:
1224         mkdir lcov
1225         lcov --directory . --capture --output-file lcov/lcov.info
1226         lcov -l lcov/lcov.info | grep -v "`cd $(top_srcdir) && pwd`" | cut -d: -f1 > lcov/remove
1227         lcov -r lcov/lcov.info `cat lcov/remove` > lcov/lcov.cleaned.info
1228         rm lcov/remove
1229         mv lcov/lcov.cleaned.info lcov/lcov.info
1230         genhtml -t "$(PACKAGE_STRING)" -o lcov lcov/lcov.info
1231
1232 # Tell versions [3.59,3.63) of GNU make to not export all variables.
1233 # Otherwise a system limit (for SysV at least) may be exceeded.
1234 .NOEXPORT: