52078d8bc01e2ac378f43fdf5b2ce91bbb236930
[external/popt.git] / Makefile.in
1 # Makefile.in generated by automake 1.6.3 from Makefile.am.
2 # @configure_input@
3
4 # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
5 # 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.
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 SHELL = @SHELL@
19
20 srcdir = @srcdir@
21 top_srcdir = @top_srcdir@
22 VPATH = @srcdir@
23 prefix = @prefix@
24 exec_prefix = @exec_prefix@
25
26 bindir = @bindir@
27 sbindir = @sbindir@
28 libexecdir = @libexecdir@
29 datadir = @datadir@
30 sysconfdir = @sysconfdir@
31 sharedstatedir = @sharedstatedir@
32 localstatedir = @localstatedir@
33 libdir = @libdir@
34 infodir = @infodir@
35 mandir = @mandir@
36 includedir = @includedir@
37 oldincludedir = /usr/include
38 pkgdatadir = $(datadir)/@PACKAGE@
39 pkglibdir = $(libdir)/@PACKAGE@
40 pkgincludedir = $(includedir)/@PACKAGE@
41 top_builddir = .
42
43 ACLOCAL = @ACLOCAL@
44 AUTOCONF = @AUTOCONF@
45 AUTOMAKE = @AUTOMAKE@
46 AUTOHEADER = @AUTOHEADER@
47
48 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
49 INSTALL = @INSTALL@
50 INSTALL_PROGRAM = @INSTALL_PROGRAM@
51 INSTALL_DATA = @INSTALL_DATA@
52 install_sh_DATA = $(install_sh) -c -m 644
53 install_sh_PROGRAM = $(install_sh) -c
54 install_sh_SCRIPT = $(install_sh) -c
55 INSTALL_SCRIPT = @INSTALL_SCRIPT@
56 INSTALL_HEADER = $(INSTALL_DATA)
57 transform = @program_transform_name@
58 NORMAL_INSTALL = :
59 PRE_INSTALL = :
60 POST_INSTALL = :
61 NORMAL_UNINSTALL = :
62 PRE_UNINSTALL = :
63 POST_UNINSTALL = :
64 build_alias = @build_alias@
65 build_triplet = @build@
66 host_alias = @host_alias@
67 host_triplet = @host@
68 target_alias = @target_alias@
69 target_triplet = @target@
70
71 EXEEXT = @EXEEXT@
72 OBJEXT = @OBJEXT@
73 PATH_SEPARATOR = @PATH_SEPARATOR@
74 AMTAR = @AMTAR@
75 AS = @AS@
76 AWK = @AWK@
77 BUILD_INCLUDED_LIBINTL = @BUILD_INCLUDED_LIBINTL@
78 CATOBJEXT = @CATOBJEXT@
79 CC = @CC@
80 CPP = @CPP@
81 DATADIRNAME = @DATADIRNAME@
82 DEPDIR = @DEPDIR@
83 DLLTOOL = @DLLTOOL@
84 ECHO = @ECHO@
85 GENCAT = @GENCAT@
86 GLIBC21 = @GLIBC21@
87 GMSGFMT = @GMSGFMT@
88 HAVE_LIB = @HAVE_LIB@
89 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
90 INSTOBJEXT = @INSTOBJEXT@
91 INTLBISON = @INTLBISON@
92 INTLLIBS = @INTLLIBS@
93 INTLOBJS = @INTLOBJS@
94 INTL_LIBTOOL_SUFFIX_PREFIX = @INTL_LIBTOOL_SUFFIX_PREFIX@
95 LIB = @LIB@
96 LIBICONV = @LIBICONV@
97 LIBINTL = @LIBINTL@
98 LIBTOOL = @LIBTOOL@
99 LN_S = @LN_S@
100 LTLIB = @LTLIB@
101 LTLIBICONV = @LTLIBICONV@
102 LTLIBINTL = @LTLIBINTL@
103 MKINSTALLDIRS = @MKINSTALLDIRS@
104 OBJDUMP = @OBJDUMP@
105 PACKAGE = @PACKAGE@
106 POPT_SOURCE_PATH = @POPT_SOURCE_PATH@
107 POSUB = @POSUB@
108 RANLIB = @RANLIB@
109 STRIP = @STRIP@
110 TARGET = @TARGET@
111 U = @U@
112 USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@
113 USE_NLS = @USE_NLS@
114 VERSION = @VERSION@
115 am__include = @am__include@
116 am__quote = @am__quote@
117 install_sh = @install_sh@
118
119 AUTOMAKE_OPTIONS = 1.4 foreign
120
121 EXTRA_DIST = autogen.sh CHANGES $(man_MANS) popt.spec \
122         testit.sh test-poptrc \
123         po/*.in po/*.po po/popt.pot \
124         popt.ps
125
126
127 SUBDIRS = intl po
128
129 INCLUDES = -I. -I$(top_srcdir)
130
131 noinst_HEADERS = findme.h poptint.h system.h
132
133 noinst_PROGRAMS = test1 test2 test3
134 test1_SOURCES = test1.c
135 test1_LDFLAGS = -all-static
136 test1_LDADD = $(lib_LTLIBRARIES)
137 test2_SOURCES = test2.c
138 test2_LDFLAGS = -all-static
139 test2_LDADD = $(lib_LTLIBRARIES)
140 test3_SOURCES = test3.c
141 test3_LDFLAGS = -all-static
142 test3_LDADD = $(lib_LTLIBRARIES)
143
144 noinst_SCRIPTS = testit.sh
145
146 TESTS_ENVIRONMENT = \
147 test1="./test1"
148
149
150 TESTS = testit.sh
151
152 include_HEADERS = popt.h
153 lib_LTLIBRARIES = libpopt.la
154 libpopt_la_SOURCES = popt.c findme.c poptparse.c poptconfig.c popthelp.c
155
156 man_MANS = popt.3
157
158 CVSTAG = $(PACKAGE)-$(subst .,_,$(VERSION))
159 subdir = .
160 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
161 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
162 CONFIG_HEADER = config.h
163 CONFIG_CLEAN_FILES = Doxyfile intl/Makefile
164 LTLIBRARIES = $(lib_LTLIBRARIES)
165
166 libpopt_la_LDFLAGS =
167 libpopt_la_LIBADD =
168 am_libpopt_la_OBJECTS = popt.lo findme.lo poptparse.lo poptconfig.lo \
169         popthelp.lo
170 libpopt_la_OBJECTS = $(am_libpopt_la_OBJECTS)
171 noinst_PROGRAMS = test1$(EXEEXT) test2$(EXEEXT) test3$(EXEEXT)
172 PROGRAMS = $(noinst_PROGRAMS)
173
174 am_test1_OBJECTS = test1.$(OBJEXT)
175 test1_OBJECTS = $(am_test1_OBJECTS)
176 test1_DEPENDENCIES = libpopt.la
177 am_test2_OBJECTS = test2.$(OBJEXT)
178 test2_OBJECTS = $(am_test2_OBJECTS)
179 test2_DEPENDENCIES = libpopt.la
180 am_test3_OBJECTS = test3.$(OBJEXT)
181 test3_OBJECTS = $(am_test3_OBJECTS)
182 test3_DEPENDENCIES = libpopt.la
183 SCRIPTS = $(noinst_SCRIPTS)
184
185
186 DEFS = @DEFS@
187 DEFAULT_INCLUDES =  -I. -I$(srcdir) -I.
188 CPPFLAGS = @CPPFLAGS@
189 LDFLAGS = @LDFLAGS@
190 LIBS = @LIBS@
191 depcomp = $(SHELL) $(top_srcdir)/depcomp
192 am__depfiles_maybe = depfiles
193 @AMDEP_TRUE@DEP_FILES = ./$(DEPDIR)/findme.Plo ./$(DEPDIR)/popt.Plo \
194 @AMDEP_TRUE@    ./$(DEPDIR)/poptconfig.Plo ./$(DEPDIR)/popthelp.Plo \
195 @AMDEP_TRUE@    ./$(DEPDIR)/poptparse.Plo ./$(DEPDIR)/test1.Po \
196 @AMDEP_TRUE@    ./$(DEPDIR)/test2.Po ./$(DEPDIR)/test3.Po
197 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
198         $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
199 LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
200         $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
201 CCLD = $(CC)
202 LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
203         $(AM_LDFLAGS) $(LDFLAGS) -o $@
204 CFLAGS = @CFLAGS@
205 DIST_SOURCES = $(libpopt_la_SOURCES) $(test1_SOURCES) $(test2_SOURCES) \
206         $(test3_SOURCES)
207
208 NROFF = nroff
209 MANS = $(man_MANS)
210 HEADERS = $(include_HEADERS) $(noinst_HEADERS)
211
212
213 RECURSIVE_TARGETS = info-recursive dvi-recursive install-info-recursive \
214         uninstall-info-recursive all-recursive install-data-recursive \
215         install-exec-recursive installdirs-recursive install-recursive \
216         uninstall-recursive check-recursive installcheck-recursive
217 DIST_COMMON = README $(include_HEADERS) $(noinst_HEADERS) ABOUT-NLS \
218         COPYING Doxyfile.in Makefile.am Makefile.in aclocal.m4 \
219         config.guess config.h.in config.sub configure configure.in \
220         depcomp install-sh ltmain.sh missing mkinstalldirs
221 DIST_SUBDIRS = $(SUBDIRS)
222 SOURCES = $(libpopt_la_SOURCES) $(test1_SOURCES) $(test2_SOURCES) $(test3_SOURCES)
223
224 all: config.h
225         $(MAKE) $(AM_MAKEFLAGS) all-recursive
226
227 .SUFFIXES:
228 .SUFFIXES: .c .lo .o .obj
229
230 am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
231  configure.lineno
232 $(srcdir)/Makefile.in:  Makefile.am  $(top_srcdir)/configure.in $(ACLOCAL_M4)
233         cd $(top_srcdir) && \
234           $(AUTOMAKE) --foreign  Makefile
235 Makefile:  $(srcdir)/Makefile.in  $(top_builddir)/config.status
236         cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)
237
238 $(top_builddir)/config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
239         $(SHELL) ./config.status --recheck
240 $(srcdir)/configure:  $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
241         cd $(srcdir) && $(AUTOCONF)
242
243 $(ACLOCAL_M4):  configure.in 
244         cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
245
246 config.h: stamp-h1
247         @if test ! -f $@; then \
248           rm -f stamp-h1; \
249           $(MAKE) stamp-h1; \
250         else :; fi
251
252 stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
253         @rm -f stamp-h1
254         cd $(top_builddir) && $(SHELL) ./config.status config.h
255
256 $(srcdir)/config.h.in:  $(top_srcdir)/configure.in $(ACLOCAL_M4) 
257         cd $(top_srcdir) && $(AUTOHEADER)
258         touch $(srcdir)/config.h.in
259
260 distclean-hdr:
261         -rm -f config.h stamp-h1
262 Doxyfile: $(top_builddir)/config.status Doxyfile.in
263         cd $(top_builddir) && $(SHELL) ./config.status $@
264 intl/Makefile: $(top_builddir)/config.status $(top_srcdir)/intl/Makefile.in
265         cd $(top_builddir) && $(SHELL) ./config.status $@
266 libLTLIBRARIES_INSTALL = $(INSTALL)
267 install-libLTLIBRARIES: $(lib_LTLIBRARIES)
268         @$(NORMAL_INSTALL)
269         $(mkinstalldirs) $(DESTDIR)$(libdir)
270         @list='$(lib_LTLIBRARIES)'; for p in $$list; do \
271           if test -f $$p; then \
272             f="`echo $$p | sed -e 's|^.*/||'`"; \
273             echo " $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/$$f"; \
274             $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/$$f; \
275           else :; fi; \
276         done
277
278 uninstall-libLTLIBRARIES:
279         @$(NORMAL_UNINSTALL)
280         @list='$(lib_LTLIBRARIES)'; for p in $$list; do \
281             p="`echo $$p | sed -e 's|^.*/||'`"; \
282           echo " $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p"; \
283           $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p; \
284         done
285
286 clean-libLTLIBRARIES:
287         -test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
288         @list='$(lib_LTLIBRARIES)'; for p in $$list; do \
289           dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
290           test -z "$dir" && dir=.; \
291           echo "rm -f \"$${dir}/so_locations\""; \
292           rm -f "$${dir}/so_locations"; \
293         done
294 libpopt.la: $(libpopt_la_OBJECTS) $(libpopt_la_DEPENDENCIES) 
295         $(LINK) -rpath $(libdir) $(libpopt_la_LDFLAGS) $(libpopt_la_OBJECTS) $(libpopt_la_LIBADD) $(LIBS)
296
297 clean-noinstPROGRAMS:
298         @list='$(noinst_PROGRAMS)'; for p in $$list; do \
299           f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
300           echo " rm -f $$p $$f"; \
301           rm -f $$p $$f ; \
302         done
303 test1$(EXEEXT): $(test1_OBJECTS) $(test1_DEPENDENCIES) 
304         @rm -f test1$(EXEEXT)
305         $(LINK) $(test1_LDFLAGS) $(test1_OBJECTS) $(test1_LDADD) $(LIBS)
306 test2$(EXEEXT): $(test2_OBJECTS) $(test2_DEPENDENCIES) 
307         @rm -f test2$(EXEEXT)
308         $(LINK) $(test2_LDFLAGS) $(test2_OBJECTS) $(test2_LDADD) $(LIBS)
309 test3$(EXEEXT): $(test3_OBJECTS) $(test3_DEPENDENCIES) 
310         @rm -f test3$(EXEEXT)
311         $(LINK) $(test3_LDFLAGS) $(test3_OBJECTS) $(test3_LDADD) $(LIBS)
312
313 mostlyclean-compile:
314         -rm -f *.$(OBJEXT) core *.core
315
316 distclean-compile:
317         -rm -f *.tab.c
318
319 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/findme.Plo@am__quote@
320 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/popt.Plo@am__quote@
321 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/poptconfig.Plo@am__quote@
322 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/popthelp.Plo@am__quote@
323 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/poptparse.Plo@am__quote@
324 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test1.Po@am__quote@
325 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test2.Po@am__quote@
326 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test3.Po@am__quote@
327
328 distclean-depend:
329         -rm -rf ./$(DEPDIR)
330
331 .c.o:
332 @AMDEP_TRUE@    source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
333 @AMDEP_TRUE@    depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
334 @AMDEP_TRUE@    $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
335         $(COMPILE) -c `test -f '$<' || echo '$(srcdir)/'`$<
336
337 .c.obj:
338 @AMDEP_TRUE@    source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
339 @AMDEP_TRUE@    depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
340 @AMDEP_TRUE@    $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
341         $(COMPILE) -c `cygpath -w $<`
342
343 .c.lo:
344 @AMDEP_TRUE@    source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
345 @AMDEP_TRUE@    depfile='$(DEPDIR)/$*.Plo' tmpdepfile='$(DEPDIR)/$*.TPlo' @AMDEPBACKSLASH@
346 @AMDEP_TRUE@    $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
347         $(LTCOMPILE) -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<
348 CCDEPMODE = @CCDEPMODE@
349
350 mostlyclean-libtool:
351         -rm -f *.lo
352
353 clean-libtool:
354         -rm -rf .libs _libs
355
356 distclean-libtool:
357         -rm -f libtool
358 uninstall-info-am:
359
360 man3dir = $(mandir)/man3
361 install-man3: $(man3_MANS) $(man_MANS)
362         @$(NORMAL_INSTALL)
363         $(mkinstalldirs) $(DESTDIR)$(man3dir)
364         @list='$(man3_MANS) $(dist_man3_MANS) $(nodist_man3_MANS)'; \
365         l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
366         for i in $$l2; do \
367           case "$$i" in \
368             *.3*) list="$$list $$i" ;; \
369           esac; \
370         done; \
371         for i in $$list; do \
372           if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
373           else file=$$i; fi; \
374           ext=`echo $$i | sed -e 's/^.*\\.//'`; \
375           case "$$ext" in \
376             3*) ;; \
377             *) ext='3' ;; \
378           esac; \
379           inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
380           inst=`echo $$inst | sed -e 's/^.*\///'`; \
381           inst=`echo $$inst | sed '$(transform)'`.$$ext; \
382           echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man3dir)/$$inst"; \
383           $(INSTALL_DATA) $$file $(DESTDIR)$(man3dir)/$$inst; \
384         done
385 uninstall-man3:
386         @$(NORMAL_UNINSTALL)
387         @list='$(man3_MANS) $(dist_man3_MANS) $(nodist_man3_MANS)'; \
388         l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
389         for i in $$l2; do \
390           case "$$i" in \
391             *.3*) list="$$list $$i" ;; \
392           esac; \
393         done; \
394         for i in $$list; do \
395           ext=`echo $$i | sed -e 's/^.*\\.//'`; \
396           inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
397           inst=`echo $$inst | sed -e 's/^.*\///'`; \
398           inst=`echo $$inst | sed '$(transform)'`.$$ext; \
399           echo " rm -f $(DESTDIR)$(man3dir)/$$inst"; \
400           rm -f $(DESTDIR)$(man3dir)/$$inst; \
401         done
402 includeHEADERS_INSTALL = $(INSTALL_HEADER)
403 install-includeHEADERS: $(include_HEADERS)
404         @$(NORMAL_INSTALL)
405         $(mkinstalldirs) $(DESTDIR)$(includedir)
406         @list='$(include_HEADERS)'; for p in $$list; do \
407           if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
408           f="`echo $$p | sed -e 's|^.*/||'`"; \
409           echo " $(includeHEADERS_INSTALL) $$d$$p $(DESTDIR)$(includedir)/$$f"; \
410           $(includeHEADERS_INSTALL) $$d$$p $(DESTDIR)$(includedir)/$$f; \
411         done
412
413 uninstall-includeHEADERS:
414         @$(NORMAL_UNINSTALL)
415         @list='$(include_HEADERS)'; for p in $$list; do \
416           f="`echo $$p | sed -e 's|^.*/||'`"; \
417           echo " rm -f $(DESTDIR)$(includedir)/$$f"; \
418           rm -f $(DESTDIR)$(includedir)/$$f; \
419         done
420
421 # This directory's subdirectories are mostly independent; you can cd
422 # into them and run `make' without going through this Makefile.
423 # To change the values of `make' variables: instead of editing Makefiles,
424 # (1) if the variable is set in `config.status', edit `config.status'
425 #     (which will cause the Makefiles to be regenerated when you run `make');
426 # (2) otherwise, pass the desired values on the `make' command line.
427 $(RECURSIVE_TARGETS):
428         @set fnord $$MAKEFLAGS; amf=$$2; \
429         dot_seen=no; \
430         target=`echo $@ | sed s/-recursive//`; \
431         list='$(SUBDIRS)'; for subdir in $$list; do \
432           echo "Making $$target in $$subdir"; \
433           if test "$$subdir" = "."; then \
434             dot_seen=yes; \
435             local_target="$$target-am"; \
436           else \
437             local_target="$$target"; \
438           fi; \
439           (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
440            || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
441         done; \
442         if test "$$dot_seen" = "no"; then \
443           $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
444         fi; test -z "$$fail"
445
446 mostlyclean-recursive clean-recursive distclean-recursive \
447 maintainer-clean-recursive:
448         @set fnord $$MAKEFLAGS; amf=$$2; \
449         dot_seen=no; \
450         case "$@" in \
451           distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
452           *) list='$(SUBDIRS)' ;; \
453         esac; \
454         rev=''; for subdir in $$list; do \
455           if test "$$subdir" = "."; then :; else \
456             rev="$$subdir $$rev"; \
457           fi; \
458         done; \
459         rev="$$rev ."; \
460         target=`echo $@ | sed s/-recursive//`; \
461         for subdir in $$rev; do \
462           echo "Making $$target in $$subdir"; \
463           if test "$$subdir" = "."; then \
464             local_target="$$target-am"; \
465           else \
466             local_target="$$target"; \
467           fi; \
468           (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
469            || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
470         done && test -z "$$fail"
471 tags-recursive:
472         list='$(SUBDIRS)'; for subdir in $$list; do \
473           test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
474         done
475
476 ETAGS = etags
477 ETAGSFLAGS =
478
479 tags: TAGS
480
481 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
482         list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
483         unique=`for i in $$list; do \
484             if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
485           done | \
486           $(AWK) '    { files[$$0] = 1; } \
487                END { for (i in files) print i; }'`; \
488         mkid -fID $$unique
489
490 TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
491                 $(TAGS_FILES) $(LISP)
492         tags=; \
493         here=`pwd`; \
494         list='$(SUBDIRS)'; for subdir in $$list; do \
495           if test "$$subdir" = .; then :; else \
496             test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
497           fi; \
498         done; \
499         list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
500         unique=`for i in $$list; do \
501             if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
502           done | \
503           $(AWK) '    { files[$$0] = 1; } \
504                END { for (i in files) print i; }'`; \
505         test -z "$(ETAGS_ARGS)$$tags$$unique" \
506           || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
507              $$tags $$unique
508
509 GTAGS:
510         here=`$(am__cd) $(top_builddir) && pwd` \
511           && cd $(top_srcdir) \
512           && gtags -i $(GTAGS_ARGS) $$here
513
514 distclean-tags:
515         -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH
516
517 check-TESTS: $(TESTS)
518         @failed=0; all=0; xfail=0; xpass=0; \
519         srcdir=$(srcdir); export srcdir; \
520         list='$(TESTS)'; \
521         if test -n "$$list"; then \
522           for tst in $$list; do \
523             if test -f ./$$tst; then dir=./; \
524             elif test -f $$tst; then dir=; \
525             else dir="$(srcdir)/"; fi; \
526             if $(TESTS_ENVIRONMENT) $${dir}$$tst; then \
527               all=`expr $$all + 1`; \
528               case " $(XFAIL_TESTS) " in \
529               *" $$tst "*) \
530                 xpass=`expr $$xpass + 1`; \
531                 failed=`expr $$failed + 1`; \
532                 echo "XPASS: $$tst"; \
533               ;; \
534               *) \
535                 echo "PASS: $$tst"; \
536               ;; \
537               esac; \
538             elif test $$? -ne 77; then \
539               all=`expr $$all + 1`; \
540               case " $(XFAIL_TESTS) " in \
541               *" $$tst "*) \
542                 xfail=`expr $$xfail + 1`; \
543                 echo "XFAIL: $$tst"; \
544               ;; \
545               *) \
546                 failed=`expr $$failed + 1`; \
547                 echo "FAIL: $$tst"; \
548               ;; \
549               esac; \
550             fi; \
551           done; \
552           if test "$$failed" -eq 0; then \
553             if test "$$xfail" -eq 0; then \
554               banner="All $$all tests passed"; \
555             else \
556               banner="All $$all tests behaved as expected ($$xfail expected failures)"; \
557             fi; \
558           else \
559             if test "$$xpass" -eq 0; then \
560               banner="$$failed of $$all tests failed"; \
561             else \
562               banner="$$failed of $$all tests did not behave as expected ($$xpass unexpected passes)"; \
563             fi; \
564           fi; \
565           dashes=`echo "$$banner" | sed s/./=/g`; \
566           echo "$$dashes"; \
567           echo "$$banner"; \
568           echo "$$dashes"; \
569           test "$$failed" -eq 0; \
570         else :; fi
571 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
572
573 top_distdir = .
574 distdir = $(PACKAGE)-$(VERSION)
575
576 am__remove_distdir = \
577   { test ! -d $(distdir) \
578     || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \
579          && rm -fr $(distdir); }; }
580
581 GZIP_ENV = --best
582 distcleancheck_listfiles = find . -type f -print
583
584 distdir: $(DISTFILES)
585         $(am__remove_distdir)
586         mkdir $(distdir)
587         $(mkinstalldirs) $(distdir)/. $(distdir)/intl $(distdir)/po
588         @list='$(DISTFILES)'; for file in $$list; do \
589           if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
590           dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
591           if test "$$dir" != "$$file" && test "$$dir" != "."; then \
592             dir="/$$dir"; \
593             $(mkinstalldirs) "$(distdir)$$dir"; \
594           else \
595             dir=''; \
596           fi; \
597           if test -d $$d/$$file; then \
598             if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
599               cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
600             fi; \
601             cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
602           else \
603             test -f $(distdir)/$$file \
604             || cp -p $$d/$$file $(distdir)/$$file \
605             || exit 1; \
606           fi; \
607         done
608         list='$(SUBDIRS)'; for subdir in $$list; do \
609           if test "$$subdir" = .; then :; else \
610             test -d $(distdir)/$$subdir \
611             || mkdir $(distdir)/$$subdir \
612             || exit 1; \
613             (cd $$subdir && \
614               $(MAKE) $(AM_MAKEFLAGS) \
615                 top_distdir="$(top_distdir)" \
616                 distdir=../$(distdir)/$$subdir \
617                 distdir) \
618               || exit 1; \
619           fi; \
620         done
621         -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
622           ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
623           ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
624           ! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \
625         || chmod -R a+r $(distdir)
626 dist-gzip: distdir
627         $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
628         $(am__remove_distdir)
629
630 dist dist-all: distdir
631         $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
632         $(am__remove_distdir)
633
634 # This target untars the dist file and tries a VPATH configuration.  Then
635 # it guarantees that the distribution is self-contained by making another
636 # tarfile.
637 distcheck: dist
638         $(am__remove_distdir)
639         GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(AMTAR) xf -
640         chmod -R a-w $(distdir); chmod a+w $(distdir)
641         mkdir $(distdir)/=build
642         mkdir $(distdir)/=inst
643         chmod a-w $(distdir)
644         dc_install_base=`$(am__cd) $(distdir)/=inst && pwd` \
645           && cd $(distdir)/=build \
646           && ../configure --srcdir=.. --prefix=$$dc_install_base \
647             --with-included-gettext \
648             $(DISTCHECK_CONFIGURE_FLAGS) \
649           && $(MAKE) $(AM_MAKEFLAGS) \
650           && $(MAKE) $(AM_MAKEFLAGS) dvi \
651           && $(MAKE) $(AM_MAKEFLAGS) check \
652           && $(MAKE) $(AM_MAKEFLAGS) install \
653           && $(MAKE) $(AM_MAKEFLAGS) installcheck \
654           && $(MAKE) $(AM_MAKEFLAGS) uninstall \
655           && (test `find $$dc_install_base -type f -print | wc -l` -le 1 \
656               || { echo "ERROR: files left after uninstall:" ; \
657                    find $$dc_install_base -type f -print ; \
658                    exit 1; } >&2 ) \
659           && $(MAKE) $(AM_MAKEFLAGS) dist-gzip \
660           && rm -f $(distdir).tar.gz \
661           && $(MAKE) $(AM_MAKEFLAGS) distcleancheck
662         $(am__remove_distdir)
663         @echo "$(distdir).tar.gz is ready for distribution" | \
664           sed 'h;s/./=/g;p;x;p;x'
665 distcleancheck: distclean
666         if test '$(srcdir)' = . ; then \
667           echo "ERROR: distcleancheck can only run from a VPATH build" ; \
668           exit 1 ; \
669         fi
670         test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
671           || { echo "ERROR: files left after distclean:" ; \
672                $(distcleancheck_listfiles) ; \
673                exit 1; } >&2
674 check-am: all-am
675         $(MAKE) $(AM_MAKEFLAGS) check-TESTS
676 check: check-recursive
677 all-am: Makefile $(LTLIBRARIES) $(PROGRAMS) $(SCRIPTS) $(MANS) \
678                 $(HEADERS) config.h
679 installdirs: installdirs-recursive
680 installdirs-am:
681         $(mkinstalldirs) $(DESTDIR)$(libdir) $(DESTDIR)$(man3dir) $(DESTDIR)$(includedir)
682
683 install: install-recursive
684 install-exec: install-exec-recursive
685 install-data: install-data-recursive
686 uninstall: uninstall-recursive
687
688 install-am: all-am
689         @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
690
691 installcheck: installcheck-recursive
692 install-strip:
693         $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
694           INSTALL_STRIP_FLAG=-s \
695           `test -z '$(STRIP)' || \
696             echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
697 mostlyclean-generic:
698
699 clean-generic:
700
701 distclean-generic:
702         -rm -f Makefile $(CONFIG_CLEAN_FILES)
703
704 maintainer-clean-generic:
705         @echo "This command is intended for maintainers to use"
706         @echo "it deletes files that may require special tools to rebuild."
707 clean: clean-recursive
708
709 clean-am: clean-generic clean-libLTLIBRARIES clean-libtool \
710         clean-noinstPROGRAMS mostlyclean-am
711
712 distclean: distclean-recursive
713         -rm -f $(am__CONFIG_DISTCLEAN_FILES)
714 distclean-am: clean-am distclean-compile distclean-depend \
715         distclean-generic distclean-hdr distclean-libtool \
716         distclean-tags
717
718 dvi: dvi-recursive
719
720 dvi-am:
721
722 info: info-recursive
723
724 info-am:
725
726 install-data-am: install-includeHEADERS install-man
727
728 install-exec-am: install-libLTLIBRARIES
729
730 install-info: install-info-recursive
731
732 install-man: install-man3
733
734 installcheck-am:
735
736 maintainer-clean: maintainer-clean-recursive
737         -rm -f $(am__CONFIG_DISTCLEAN_FILES)
738         -rm -rf autom4te.cache
739 maintainer-clean-am: distclean-am maintainer-clean-generic
740
741 mostlyclean: mostlyclean-recursive
742
743 mostlyclean-am: mostlyclean-compile mostlyclean-generic \
744         mostlyclean-libtool
745
746 uninstall-am: uninstall-includeHEADERS uninstall-info-am \
747         uninstall-libLTLIBRARIES uninstall-man
748
749 uninstall-info: uninstall-info-recursive
750
751 uninstall-man: uninstall-man3
752
753 .PHONY: $(RECURSIVE_TARGETS) GTAGS all all-am check check-TESTS check-am \
754         clean clean-generic clean-libLTLIBRARIES clean-libtool \
755         clean-noinstPROGRAMS clean-recursive dist dist-all dist-gzip \
756         distcheck distclean distclean-compile distclean-depend \
757         distclean-generic distclean-hdr distclean-libtool \
758         distclean-recursive distclean-tags distcleancheck distdir dvi \
759         dvi-am dvi-recursive info info-am info-recursive install \
760         install-am install-data install-data-am install-data-recursive \
761         install-exec install-exec-am install-exec-recursive \
762         install-includeHEADERS install-info install-info-am \
763         install-info-recursive install-libLTLIBRARIES install-man \
764         install-man3 install-recursive install-strip installcheck \
765         installcheck-am installdirs installdirs-am \
766         installdirs-recursive maintainer-clean maintainer-clean-generic \
767         maintainer-clean-recursive mostlyclean mostlyclean-compile \
768         mostlyclean-generic mostlyclean-libtool mostlyclean-recursive \
769         tags tags-recursive uninstall uninstall-am \
770         uninstall-includeHEADERS uninstall-info-am \
771         uninstall-info-recursive uninstall-libLTLIBRARIES uninstall-man \
772         uninstall-man3 uninstall-recursive
773
774
775 #BUILT_SOURCES = popt.lcd
776
777 popt.lcd: Makefile.am ${libpopt_la_SOURCES} ${include_HEADERS} ${noinst_HEADERS}
778         lclint -dump $@ ${libpopt_la_SOURCES}
779
780 .PHONY: sources
781 sources:
782         @echo $(libpopt_la_SOURCES:%=popt/%)
783
784 .PHONY: lclint
785 lclint:
786         lclint ${DEFS} ${INCLUDES} test1.c ${libpopt_la_SOURCES}
787
788 .PHONY: archive
789 archive: 
790         @echo "This is $(PACKAGE)-$(VERSION)."
791         @sleep 5
792         @cvs -Q tag -F $(CVSTAG) .
793         @rm -rf /tmp/$(PACKAGE)-$(VERSION) /tmp/$(PACKAGE)
794         @cd /tmp; cvs -Q -d $(CVSROOT) export -r$(CVSTAG) $(PACKAGE) || :
795         @mv /tmp/$(PACKAGE) /tmp/$(PACKAGE)-$(VERSION)
796         @cd /tmp/$(PACKAGE)-$(VERSION); ./autogen.sh ; make depend; make distclean
797         @cd /tmp/$(PACKAGE)-$(VERSION); ./autogen.sh --noconfigure
798         @cd /tmp; tar czSpf $(PACKAGE)-$(VERSION).tar.gz $(PACKAGE)-$(VERSION)
799         @rm -rf /tmp/$(PACKAGE)-$(VERSION)
800         @cp /tmp/$(PACKAGE)-$(VERSION).tar.gz .
801         @rm -f /tmp/$(PACKAGE)-$(VERSION).tar.gz 
802         @echo " "
803         @echo "The final archive is ./$(PACKAGE)-$(VERSION).tar.gz."
804
805 .PHONY: doxygen
806 doxygen: Doxyfile
807         rm -rf doxygen
808         mkdir -p doxygen
809         doxygen
810 # Tell versions [3.59,3.63) of GNU make to not export all variables.
811 # Otherwise a system limit (for SysV at least) may be exceeded.
812 .NOEXPORT: