source: trunk/third/popt/Makefile.in @ 18470

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