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

Revision 18180, 25.3 KB checked in by ghudson, 22 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r18179, which included commits to RCS files with non-trunk default branches.
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
133noinst_PROGRAMS = test1 test2 test3
134test1_SOURCES = test1.c
135test1_LDFLAGS = -all-static
136test1_LDADD = $(lib_LTLIBRARIES)
137test2_SOURCES = test2.c
138test2_LDFLAGS = -all-static
139test2_LDADD = $(lib_LTLIBRARIES)
140test3_SOURCES = test3.c
141test3_LDFLAGS = -all-static
142test3_LDADD = $(lib_LTLIBRARIES)
143
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)
171noinst_PROGRAMS = test1$(EXEEXT) test2$(EXEEXT) test3$(EXEEXT)
172PROGRAMS = $(noinst_PROGRAMS)
173
174am_test1_OBJECTS = test1.$(OBJEXT)
175test1_OBJECTS = $(am_test1_OBJECTS)
176test1_DEPENDENCIES = libpopt.la
177am_test2_OBJECTS = test2.$(OBJEXT)
178test2_OBJECTS = $(am_test2_OBJECTS)
179test2_DEPENDENCIES = libpopt.la
180am_test3_OBJECTS = test3.$(OBJEXT)
181test3_OBJECTS = $(am_test3_OBJECTS)
182test3_DEPENDENCIES = libpopt.la
183SCRIPTS = $(noinst_SCRIPTS)
184
185
186DEFS = @DEFS@
187DEFAULT_INCLUDES =  -I. -I$(srcdir) -I.
188CPPFLAGS = @CPPFLAGS@
189LDFLAGS = @LDFLAGS@
190LIBS = @LIBS@
191depcomp = $(SHELL) $(top_srcdir)/depcomp
192am__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
197COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
198        $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
199LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
200        $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
201CCLD = $(CC)
202LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
203        $(AM_LDFLAGS) $(LDFLAGS) -o $@
204CFLAGS = @CFLAGS@
205DIST_SOURCES = $(libpopt_la_SOURCES) $(test1_SOURCES) $(test2_SOURCES) \
206        $(test3_SOURCES)
207
208NROFF = nroff
209MANS = $(man_MANS)
210HEADERS = $(include_HEADERS) $(noinst_HEADERS)
211
212
213RECURSIVE_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
217DIST_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
221DIST_SUBDIRS = $(SUBDIRS)
222SOURCES = $(libpopt_la_SOURCES) $(test1_SOURCES) $(test2_SOURCES) $(test3_SOURCES)
223
224all: config.h
225        $(MAKE) $(AM_MAKEFLAGS) all-recursive
226
227.SUFFIXES:
228.SUFFIXES: .c .lo .o .obj
229
230am__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
235Makefile:  $(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
246config.h: stamp-h1
247        @if test ! -f $@; then \
248          rm -f stamp-h1; \
249          $(MAKE) stamp-h1; \
250        else :; fi
251
252stamp-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
260distclean-hdr:
261        -rm -f config.h stamp-h1
262Doxyfile: $(top_builddir)/config.status Doxyfile.in
263        cd $(top_builddir) && $(SHELL) ./config.status $@
264intl/Makefile: $(top_builddir)/config.status $(top_srcdir)/intl/Makefile.in
265        cd $(top_builddir) && $(SHELL) ./config.status $@
266libLTLIBRARIES_INSTALL = $(INSTALL)
267install-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
278uninstall-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
286clean-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
294libpopt.la: $(libpopt_la_OBJECTS) $(libpopt_la_DEPENDENCIES)
295        $(LINK) -rpath $(libdir) $(libpopt_la_LDFLAGS) $(libpopt_la_OBJECTS) $(libpopt_la_LIBADD) $(LIBS)
296
297clean-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
303test1$(EXEEXT): $(test1_OBJECTS) $(test1_DEPENDENCIES)
304        @rm -f test1$(EXEEXT)
305        $(LINK) $(test1_LDFLAGS) $(test1_OBJECTS) $(test1_LDADD) $(LIBS)
306test2$(EXEEXT): $(test2_OBJECTS) $(test2_DEPENDENCIES)
307        @rm -f test2$(EXEEXT)
308        $(LINK) $(test2_LDFLAGS) $(test2_OBJECTS) $(test2_LDADD) $(LIBS)
309test3$(EXEEXT): $(test3_OBJECTS) $(test3_DEPENDENCIES)
310        @rm -f test3$(EXEEXT)
311        $(LINK) $(test3_LDFLAGS) $(test3_OBJECTS) $(test3_LDADD) $(LIBS)
312
313mostlyclean-compile:
314        -rm -f *.$(OBJEXT) core *.core
315
316distclean-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
328distclean-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)/'`$<
348CCDEPMODE = @CCDEPMODE@
349
350mostlyclean-libtool:
351        -rm -f *.lo
352
353clean-libtool:
354        -rm -rf .libs _libs
355
356distclean-libtool:
357        -rm -f libtool
358uninstall-info-am:
359
360man3dir = $(mandir)/man3
361install-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
385uninstall-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
402includeHEADERS_INSTALL = $(INSTALL_HEADER)
403install-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
413uninstall-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
446mostlyclean-recursive clean-recursive distclean-recursive \
447maintainer-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"
471tags-recursive:
472        list='$(SUBDIRS)'; for subdir in $$list; do \
473          test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
474        done
475
476ETAGS = etags
477ETAGSFLAGS =
478
479tags: TAGS
480
481ID: $(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
490TAGS: 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
509GTAGS:
510        here=`$(am__cd) $(top_builddir) && pwd` \
511          && cd $(top_srcdir) \
512          && gtags -i $(GTAGS_ARGS) $$here
513
514distclean-tags:
515        -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH
516
517check-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
571DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
572
573top_distdir = .
574distdir = $(PACKAGE)-$(VERSION)
575
576am__remove_distdir = \
577  { test ! -d $(distdir) \
578    || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \
579         && rm -fr $(distdir); }; }
580
581GZIP_ENV = --best
582distcleancheck_listfiles = find . -type f -print
583
584distdir: $(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)
626dist-gzip: distdir
627        $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
628        $(am__remove_distdir)
629
630dist 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.
637distcheck: 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'
665distcleancheck: 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
674check-am: all-am
675        $(MAKE) $(AM_MAKEFLAGS) check-TESTS
676check: check-recursive
677all-am: Makefile $(LTLIBRARIES) $(PROGRAMS) $(SCRIPTS) $(MANS) \
678                $(HEADERS) config.h
679installdirs: installdirs-recursive
680installdirs-am:
681        $(mkinstalldirs) $(DESTDIR)$(libdir) $(DESTDIR)$(man3dir) $(DESTDIR)$(includedir)
682
683install: install-recursive
684install-exec: install-exec-recursive
685install-data: install-data-recursive
686uninstall: uninstall-recursive
687
688install-am: all-am
689        @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
690
691installcheck: installcheck-recursive
692install-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
697mostlyclean-generic:
698
699clean-generic:
700
701distclean-generic:
702        -rm -f Makefile $(CONFIG_CLEAN_FILES)
703
704maintainer-clean-generic:
705        @echo "This command is intended for maintainers to use"
706        @echo "it deletes files that may require special tools to rebuild."
707clean: clean-recursive
708
709clean-am: clean-generic clean-libLTLIBRARIES clean-libtool \
710        clean-noinstPROGRAMS mostlyclean-am
711
712distclean: distclean-recursive
713        -rm -f $(am__CONFIG_DISTCLEAN_FILES)
714distclean-am: clean-am distclean-compile distclean-depend \
715        distclean-generic distclean-hdr distclean-libtool \
716        distclean-tags
717
718dvi: dvi-recursive
719
720dvi-am:
721
722info: info-recursive
723
724info-am:
725
726install-data-am: install-includeHEADERS install-man
727
728install-exec-am: install-libLTLIBRARIES
729
730install-info: install-info-recursive
731
732install-man: install-man3
733
734installcheck-am:
735
736maintainer-clean: maintainer-clean-recursive
737        -rm -f $(am__CONFIG_DISTCLEAN_FILES)
738        -rm -rf autom4te.cache
739maintainer-clean-am: distclean-am maintainer-clean-generic
740
741mostlyclean: mostlyclean-recursive
742
743mostlyclean-am: mostlyclean-compile mostlyclean-generic \
744        mostlyclean-libtool
745
746uninstall-am: uninstall-includeHEADERS uninstall-info-am \
747        uninstall-libLTLIBRARIES uninstall-man
748
749uninstall-info: uninstall-info-recursive
750
751uninstall-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
777popt.lcd: Makefile.am ${libpopt_la_SOURCES} ${include_HEADERS} ${noinst_HEADERS}
778        lclint -dump $@ ${libpopt_la_SOURCES}
779
780.PHONY: sources
781sources:
782        @echo $(libpopt_la_SOURCES:%=popt/%)
783
784.PHONY: lclint
785lclint:
786        lclint ${DEFS} ${INCLUDES} test1.c ${libpopt_la_SOURCES}
787
788.PHONY: archive
789archive:
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
806doxygen: 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:
Note: See TracBrowser for help on using the repository browser.