1 # Makefile.in generated by automake 1.6.3 from Makefile.am.
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.
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
17 # Makefile for popt library.
21 top_srcdir = @top_srcdir@
24 exec_prefix = @exec_prefix@
28 libexecdir = @libexecdir@
30 sysconfdir = @sysconfdir@
31 sharedstatedir = @sharedstatedir@
32 localstatedir = @localstatedir@
36 includedir = @includedir@
37 oldincludedir = /usr/include
38 pkgdatadir = $(datadir)/@PACKAGE@
39 pkglibdir = $(libdir)/@PACKAGE@
40 pkgincludedir = $(includedir)/@PACKAGE@
46 AUTOHEADER = @AUTOHEADER@
48 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
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@
64 build_alias = @build_alias@
65 build_triplet = @build@
66 host_alias = @host_alias@
68 target_alias = @target_alias@
69 target_triplet = @target@
73 PATH_SEPARATOR = @PATH_SEPARATOR@
77 BUILD_INCLUDED_LIBINTL = @BUILD_INCLUDED_LIBINTL@
78 CATOBJEXT = @CATOBJEXT@
81 DATADIRNAME = @DATADIRNAME@
89 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
90 INSTOBJEXT = @INSTOBJEXT@
91 INTLBISON = @INTLBISON@
94 INTL_LIBTOOL_SUFFIX_PREFIX = @INTL_LIBTOOL_SUFFIX_PREFIX@
101 LTLIBICONV = @LTLIBICONV@
102 LTLIBINTL = @LTLIBINTL@
103 MKINSTALLDIRS = @MKINSTALLDIRS@
106 POPT_SOURCE_PATH = @POPT_SOURCE_PATH@
112 USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@
115 am__include = @am__include@
116 am__quote = @am__quote@
117 install_sh = @install_sh@
119 AUTOMAKE_OPTIONS = 1.4 foreign
121 EXTRA_DIST = autogen.sh CHANGES $(man_MANS) popt.spec \
122 testit.sh test-poptrc \
123 po/*.in po/*.po po/popt.pot \
129 INCLUDES = -I. -I$(top_srcdir)
131 noinst_HEADERS = findme.h poptint.h system.h
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)
144 noinst_SCRIPTS = testit.sh
146 TESTS_ENVIRONMENT = \
152 include_HEADERS = popt.h
153 lib_LTLIBRARIES = libpopt.la
154 libpopt_la_SOURCES = popt.c findme.c poptparse.c poptconfig.c popthelp.c
158 CVSTAG = $(PACKAGE)-$(subst .,_,$(VERSION))
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)
168 am_libpopt_la_OBJECTS = popt.lo findme.lo poptparse.lo poptconfig.lo \
170 libpopt_la_OBJECTS = $(am_libpopt_la_OBJECTS)
171 noinst_PROGRAMS = test1$(EXEEXT) test2$(EXEEXT) test3$(EXEEXT)
172 PROGRAMS = $(noinst_PROGRAMS)
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)
187 DEFAULT_INCLUDES = -I. -I$(srcdir) -I.
188 CPPFLAGS = @CPPFLAGS@
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)
202 LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
203 $(AM_LDFLAGS) $(LDFLAGS) -o $@
205 DIST_SOURCES = $(libpopt_la_SOURCES) $(test1_SOURCES) $(test2_SOURCES) \
210 HEADERS = $(include_HEADERS) $(noinst_HEADERS)
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)
225 $(MAKE) $(AM_MAKEFLAGS) all-recursive
228 .SUFFIXES: .c .lo .o .obj
230 am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
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)
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)
243 $(ACLOCAL_M4): configure.in
244 cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
247 @if test ! -f $@; then \
252 stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
254 cd $(top_builddir) && $(SHELL) ./config.status config.h
256 $(srcdir)/config.h.in: $(top_srcdir)/configure.in $(ACLOCAL_M4)
257 cd $(top_srcdir) && $(AUTOHEADER)
258 touch $(srcdir)/config.h.in
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)
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; \
278 uninstall-libLTLIBRARIES:
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; \
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"; \
294 libpopt.la: $(libpopt_la_OBJECTS) $(libpopt_la_DEPENDENCIES)
295 $(LINK) -rpath $(libdir) $(libpopt_la_LDFLAGS) $(libpopt_la_OBJECTS) $(libpopt_la_LIBADD) $(LIBS)
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"; \
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)
314 -rm -f *.$(OBJEXT) core *.core
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@
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)/'`$<
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 $<`
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@
360 man3dir = $(mandir)/man3
361 install-man3: $(man3_MANS) $(man_MANS)
363 $(mkinstalldirs) $(DESTDIR)$(man3dir)
364 @list='$(man3_MANS) $(dist_man3_MANS) $(nodist_man3_MANS)'; \
365 l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
368 *.3*) list="$$list $$i" ;; \
371 for i in $$list; do \
372 if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
374 ext=`echo $$i | sed -e 's/^.*\\.//'`; \
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; \
387 @list='$(man3_MANS) $(dist_man3_MANS) $(nodist_man3_MANS)'; \
388 l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
391 *.3*) list="$$list $$i" ;; \
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; \
402 includeHEADERS_INSTALL = $(INSTALL_HEADER)
403 install-includeHEADERS: $(include_HEADERS)
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; \
413 uninstall-includeHEADERS:
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; \
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; \
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 \
435 local_target="$$target-am"; \
437 local_target="$$target"; \
439 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
440 || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
442 if test "$$dot_seen" = "no"; then \
443 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
446 mostlyclean-recursive clean-recursive distclean-recursive \
447 maintainer-clean-recursive:
448 @set fnord $$MAKEFLAGS; amf=$$2; \
451 distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
452 *) list='$(SUBDIRS)' ;; \
454 rev=''; for subdir in $$list; do \
455 if test "$$subdir" = "."; then :; else \
456 rev="$$subdir $$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"; \
466 local_target="$$target"; \
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"
472 list='$(SUBDIRS)'; for subdir in $$list; do \
473 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
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; \
486 $(AWK) ' { files[$$0] = 1; } \
487 END { for (i in files) print i; }'`; \
490 TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
491 $(TAGS_FILES) $(LISP)
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"; \
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; \
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) \
510 here=`$(am__cd) $(top_builddir) && pwd` \
511 && cd $(top_srcdir) \
512 && gtags -i $(GTAGS_ARGS) $$here
515 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH
517 check-TESTS: $(TESTS)
518 @failed=0; all=0; xfail=0; xpass=0; \
519 srcdir=$(srcdir); export srcdir; \
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 \
530 xpass=`expr $$xpass + 1`; \
531 failed=`expr $$failed + 1`; \
532 echo "XPASS: $$tst"; \
535 echo "PASS: $$tst"; \
538 elif test $$? -ne 77; then \
539 all=`expr $$all + 1`; \
540 case " $(XFAIL_TESTS) " in \
542 xfail=`expr $$xfail + 1`; \
543 echo "XFAIL: $$tst"; \
546 failed=`expr $$failed + 1`; \
547 echo "FAIL: $$tst"; \
552 if test "$$failed" -eq 0; then \
553 if test "$$xfail" -eq 0; then \
554 banner="All $$all tests passed"; \
556 banner="All $$all tests behaved as expected ($$xfail expected failures)"; \
559 if test "$$xpass" -eq 0; then \
560 banner="$$failed of $$all tests failed"; \
562 banner="$$failed of $$all tests did not behave as expected ($$xpass unexpected passes)"; \
565 dashes=`echo "$$banner" | sed s/./=/g`; \
569 test "$$failed" -eq 0; \
571 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
574 distdir = $(PACKAGE)-$(VERSION)
576 am__remove_distdir = \
577 { test ! -d $(distdir) \
578 || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \
579 && rm -fr $(distdir); }; }
582 distcleancheck_listfiles = find . -type f -print
584 distdir: $(DISTFILES)
585 $(am__remove_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 \
593 $(mkinstalldirs) "$(distdir)$$dir"; \
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; \
601 cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
603 test -f $(distdir)/$$file \
604 || cp -p $$d/$$file $(distdir)/$$file \
608 list='$(SUBDIRS)'; for subdir in $$list; do \
609 if test "$$subdir" = .; then :; else \
610 test -d $(distdir)/$$subdir \
611 || mkdir $(distdir)/$$subdir \
614 $(MAKE) $(AM_MAKEFLAGS) \
615 top_distdir="$(top_distdir)" \
616 distdir=../$(distdir)/$$subdir \
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)
627 $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
628 $(am__remove_distdir)
630 dist dist-all: distdir
631 $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
632 $(am__remove_distdir)
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
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
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 ; \
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" ; \
670 test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
671 || { echo "ERROR: files left after distclean:" ; \
672 $(distcleancheck_listfiles) ; \
675 $(MAKE) $(AM_MAKEFLAGS) check-TESTS
676 check: check-recursive
677 all-am: Makefile $(LTLIBRARIES) $(PROGRAMS) $(SCRIPTS) $(MANS) \
679 installdirs: installdirs-recursive
681 $(mkinstalldirs) $(DESTDIR)$(libdir) $(DESTDIR)$(man3dir) $(DESTDIR)$(includedir)
683 install: install-recursive
684 install-exec: install-exec-recursive
685 install-data: install-data-recursive
686 uninstall: uninstall-recursive
689 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
691 installcheck: installcheck-recursive
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
702 -rm -f Makefile $(CONFIG_CLEAN_FILES)
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
709 clean-am: clean-generic clean-libLTLIBRARIES clean-libtool \
710 clean-noinstPROGRAMS mostlyclean-am
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 \
726 install-data-am: install-includeHEADERS install-man
728 install-exec-am: install-libLTLIBRARIES
730 install-info: install-info-recursive
732 install-man: install-man3
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
741 mostlyclean: mostlyclean-recursive
743 mostlyclean-am: mostlyclean-compile mostlyclean-generic \
746 uninstall-am: uninstall-includeHEADERS uninstall-info-am \
747 uninstall-libLTLIBRARIES uninstall-man
749 uninstall-info: uninstall-info-recursive
751 uninstall-man: uninstall-man3
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
775 #BUILT_SOURCES = popt.lcd
777 popt.lcd: Makefile.am ${libpopt_la_SOURCES} ${include_HEADERS} ${noinst_HEADERS}
778 lclint -dump $@ ${libpopt_la_SOURCES}
782 @echo $(libpopt_la_SOURCES:%=popt/%)
786 lclint ${DEFS} ${INCLUDES} test1.c ${libpopt_la_SOURCES}
790 @echo "This is $(PACKAGE)-$(VERSION)."
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
803 @echo "The final archive is ./$(PACKAGE)-$(VERSION).tar.gz."
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.