1 # Makefile.in generated by automake 1.11.1 from Makefile.am.
4 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5 # 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
7 # This Makefile.in is free software; the Free Software Foundation
8 # gives unlimited permission to copy and/or distribute it,
9 # with or without modifications, as long as this notice is preserved.
11 # This program is distributed in the hope that it will be useful,
12 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
13 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
18 # Copyright 2000, 2001, 2002 Free Software Foundation, Inc.
20 # This file is part of the GNU MP Library.
22 # The GNU MP Library is free software; you can redistribute it and/or modify
23 # it under the terms of the GNU Lesser General Public License as published by
24 # the Free Software Foundation; either version 3 of the License, or (at your
25 # option) any later version.
27 # The GNU MP Library is distributed in the hope that it will be useful, but
28 # WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
29 # or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
30 # License for more details.
32 # You should have received a copy of the GNU Lesser General Public License
33 # along with the GNU MP Library. If not, see http://www.gnu.org/licenses/.
35 pkgdatadir = $(datadir)/@PACKAGE@
36 pkgincludedir = $(includedir)/@PACKAGE@
37 pkglibdir = $(libdir)/@PACKAGE@
38 pkglibexecdir = $(libexecdir)/@PACKAGE@
39 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
40 install_sh_DATA = $(install_sh) -c -m 644
41 install_sh_PROGRAM = $(install_sh) -c
42 install_sh_SCRIPT = $(install_sh) -c
43 INSTALL_HEADER = $(INSTALL_DATA)
44 transform = $(program_transform_name)
51 build_triplet = @build@
53 ANSI2KNR = $(top_builddir)/ansi2knr
54 EXTRA_PROGRAMS = factorize$(EXEEXT) isprime$(EXEEXT) pexpr$(EXEEXT) \
55 primes$(EXEEXT) qcn$(EXEEXT)
57 DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
58 $(srcdir)/pexpr-config-h.in
59 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
60 am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
61 $(top_srcdir)/configure.in
62 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
64 mkinstalldirs = $(install_sh) -d
65 CONFIG_HEADER = $(top_builddir)/config.h
66 CONFIG_CLEAN_FILES = pexpr-config.h
67 CONFIG_CLEAN_VPATH_FILES =
68 factorize_SOURCES = factorize.c
69 factorize_OBJECTS = factorize$U.$(OBJEXT)
70 factorize_LDADD = $(LDADD)
71 factorize_DEPENDENCIES = $(top_builddir)/libgmp.la
72 isprime_SOURCES = isprime.c
73 isprime_OBJECTS = isprime$U.$(OBJEXT)
74 isprime_LDADD = $(LDADD)
75 isprime_DEPENDENCIES = $(top_builddir)/libgmp.la
76 pexpr_SOURCES = pexpr.c
77 pexpr_OBJECTS = pexpr$U.$(OBJEXT)
78 pexpr_LDADD = $(LDADD)
79 pexpr_DEPENDENCIES = $(top_builddir)/libgmp.la
80 primes_SOURCES = primes.c
81 primes_OBJECTS = primes$U.$(OBJEXT)
83 primes_DEPENDENCIES = $(LDADD) $(am__DEPENDENCIES_1)
85 qcn_OBJECTS = qcn$U.$(OBJEXT)
86 qcn_DEPENDENCIES = $(LDADD) $(am__DEPENDENCIES_1)
87 DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
90 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
91 $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
92 LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
93 --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
94 $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
96 LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
97 --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \
99 SOURCES = factorize.c isprime.c pexpr.c primes.c qcn.c
100 DIST_SOURCES = factorize.c isprime.c pexpr.c primes.c qcn.c
101 RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
102 html-recursive info-recursive install-data-recursive \
103 install-dvi-recursive install-exec-recursive \
104 install-html-recursive install-info-recursive \
105 install-pdf-recursive install-ps-recursive install-recursive \
106 installcheck-recursive installdirs-recursive pdf-recursive \
107 ps-recursive uninstall-recursive
108 RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
109 distclean-recursive maintainer-clean-recursive
110 AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
111 $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
115 DIST_SUBDIRS = $(SUBDIRS)
116 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
119 sed_first='s,^\([^/]*\)/.*$$,\1,'; \
120 sed_rest='s,^[^/]*/*,,'; \
121 sed_last='s,^.*/\([^/]*\)$$,\1,'; \
122 sed_butlast='s,/*[^/]*$$,,'; \
123 while test -n "$$dir1"; do \
124 first=`echo "$$dir1" | sed -e "$$sed_first"`; \
125 if test "$$first" != "."; then \
126 if test "$$first" = ".."; then \
127 dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
128 dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
130 first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
131 if test "$$first2" = "$$first"; then \
132 dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
136 dir0="$$dir0"/"$$first"; \
139 dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
147 ASMFLAGS = @ASMFLAGS@
148 AUTOCONF = @AUTOCONF@
149 AUTOHEADER = @AUTOHEADER@
150 AUTOMAKE = @AUTOMAKE@
152 CALLING_CONVENTIONS_OBJS = @CALLING_CONVENTIONS_OBJS@
155 CC_FOR_BUILD = @CC_FOR_BUILD@
158 CPPFLAGS = @CPPFLAGS@
159 CPP_FOR_BUILD = @CPP_FOR_BUILD@
162 CXXFLAGS = @CXXFLAGS@
163 CYGPATH_W = @CYGPATH_W@
164 DEFN_LONG_LONG_LIMB = @DEFN_LONG_LONG_LIMB@
167 DSYMUTIL = @DSYMUTIL@
174 EXEEXT_FOR_BUILD = @EXEEXT_FOR_BUILD@
178 GMP_LDFLAGS = @GMP_LDFLAGS@
179 GMP_LIMB_BITS = @GMP_LIMB_BITS@
180 GMP_NAIL_BITS = @GMP_NAIL_BITS@
182 HAVE_CLOCK_01 = @HAVE_CLOCK_01@
183 HAVE_CPUTIME_01 = @HAVE_CPUTIME_01@
184 HAVE_GETRUSAGE_01 = @HAVE_GETRUSAGE_01@
185 HAVE_GETTIMEOFDAY_01 = @HAVE_GETTIMEOFDAY_01@
186 HAVE_HOST_CPU_FAMILY_power = @HAVE_HOST_CPU_FAMILY_power@
187 HAVE_HOST_CPU_FAMILY_powerpc = @HAVE_HOST_CPU_FAMILY_powerpc@
188 HAVE_SIGACTION_01 = @HAVE_SIGACTION_01@
189 HAVE_SIGALTSTACK_01 = @HAVE_SIGALTSTACK_01@
190 HAVE_SIGSTACK_01 = @HAVE_SIGSTACK_01@
191 HAVE_STACK_T_01 = @HAVE_STACK_T_01@
192 HAVE_SYS_RESOURCE_H_01 = @HAVE_SYS_RESOURCE_H_01@
194 INSTALL_DATA = @INSTALL_DATA@
195 INSTALL_PROGRAM = @INSTALL_PROGRAM@
196 INSTALL_SCRIPT = @INSTALL_SCRIPT@
197 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
202 LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
203 LIBCURSES = @LIBCURSES@
204 LIBGMPXX_LDFLAGS = @LIBGMPXX_LDFLAGS@
205 LIBGMP_DLL = @LIBGMP_DLL@
206 LIBGMP_LDFLAGS = @LIBGMP_LDFLAGS@
208 LIBM_FOR_BUILD = @LIBM_FOR_BUILD@
210 LIBREADLINE = @LIBREADLINE@
215 LTLIBOBJS = @LTLIBOBJS@
218 MAKEINFO = @MAKEINFO@
227 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
228 PACKAGE_NAME = @PACKAGE_NAME@
229 PACKAGE_STRING = @PACKAGE_STRING@
230 PACKAGE_TARNAME = @PACKAGE_TARNAME@
231 PACKAGE_URL = @PACKAGE_URL@
232 PACKAGE_VERSION = @PACKAGE_VERSION@
233 PATH_SEPARATOR = @PATH_SEPARATOR@
236 SET_MAKE = @SET_MAKE@
238 SPEED_CYCLECOUNTER_OBJ = @SPEED_CYCLECOUNTER_OBJ@
240 TAL_OBJECT = @TAL_OBJECT@
241 TUNE_SQR_OBJ = @TUNE_SQR_OBJ@
243 U_FOR_BUILD = @U_FOR_BUILD@
245 WITH_READLINE_01 = @WITH_READLINE_01@
248 abs_builddir = @abs_builddir@
249 abs_srcdir = @abs_srcdir@
250 abs_top_builddir = @abs_top_builddir@
251 abs_top_srcdir = @abs_top_srcdir@
252 ac_ct_CC = @ac_ct_CC@
253 ac_ct_CXX = @ac_ct_CXX@
254 ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
255 ac_ct_F77 = @ac_ct_F77@
256 am__leading_dot = @am__leading_dot@
258 am__untar = @am__untar@
261 build_alias = @build_alias@
262 build_cpu = @build_cpu@
263 build_os = @build_os@
264 build_vendor = @build_vendor@
265 builddir = @builddir@
267 datarootdir = @datarootdir@
270 exec_prefix = @exec_prefix@
271 gmp_srclinks = @gmp_srclinks@
273 host_alias = @host_alias@
274 host_cpu = @host_cpu@
276 host_vendor = @host_vendor@
278 includedir = @includedir@
280 install_sh = @install_sh@
282 libexecdir = @libexecdir@
283 localedir = @localedir@
284 localstatedir = @localstatedir@
288 mpn_objects = @mpn_objects@
289 mpn_objs_in_libgmp = @mpn_objs_in_libgmp@
290 mpn_objs_in_libmp = @mpn_objs_in_libmp@
291 oldincludedir = @oldincludedir@
294 program_transform_name = @program_transform_name@
297 sharedstatedir = @sharedstatedir@
299 sysconfdir = @sysconfdir@
300 target_alias = @target_alias@
301 top_build_prefix = @top_build_prefix@
302 top_builddir = @top_builddir@
303 top_srcdir = @top_srcdir@
306 INCLUDES = -I$(top_srcdir)
307 LDADD = $(top_builddir)/libgmp.la
308 qcn_LDADD = $(LDADD) $(LIBM)
309 primes_LDADD = $(LDADD) $(LIBM)
310 CLEANFILES = $(EXTRA_PROGRAMS)
314 .SUFFIXES: .c .lo .o .obj
315 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
317 case '$(am__configure_deps)' in \
319 ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
320 && { if test -f $@; then exit 0; else break; fi; }; \
324 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu --ignore-deps demos/Makefile'; \
325 $(am__cd) $(top_srcdir) && \
326 $(AUTOMAKE) --gnu --ignore-deps demos/Makefile
328 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
331 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
333 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
334 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
337 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
338 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
340 $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
341 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
342 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
343 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
344 $(am__aclocal_m4_deps):
345 pexpr-config.h: $(top_builddir)/config.status $(srcdir)/pexpr-config-h.in
346 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@
347 factorize$(EXEEXT): $(factorize_OBJECTS) $(factorize_DEPENDENCIES)
348 @rm -f factorize$(EXEEXT)
349 $(LINK) $(factorize_OBJECTS) $(factorize_LDADD) $(LIBS)
350 isprime$(EXEEXT): $(isprime_OBJECTS) $(isprime_DEPENDENCIES)
351 @rm -f isprime$(EXEEXT)
352 $(LINK) $(isprime_OBJECTS) $(isprime_LDADD) $(LIBS)
353 pexpr$(EXEEXT): $(pexpr_OBJECTS) $(pexpr_DEPENDENCIES)
354 @rm -f pexpr$(EXEEXT)
355 $(LINK) $(pexpr_OBJECTS) $(pexpr_LDADD) $(LIBS)
356 primes$(EXEEXT): $(primes_OBJECTS) $(primes_DEPENDENCIES)
357 @rm -f primes$(EXEEXT)
358 $(LINK) $(primes_OBJECTS) $(primes_LDADD) $(LIBS)
359 qcn$(EXEEXT): $(qcn_OBJECTS) $(qcn_DEPENDENCIES)
361 $(LINK) $(qcn_OBJECTS) $(qcn_LDADD) $(LIBS)
368 $(top_builddir)/ansi2knr:
369 $(am__cd) $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) ./ansi2knr
372 -test "$U" = "" || rm -f *_.c
378 $(COMPILE) -c `$(CYGPATH_W) '$<'`
381 $(LTCOMPILE) -c -o $@ $<
382 factorize_.c: factorize.c $(ANSI2KNR)
383 $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/factorize.c; then echo $(srcdir)/factorize.c; else echo factorize.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > $@ || rm -f $@
384 isprime_.c: isprime.c $(ANSI2KNR)
385 $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/isprime.c; then echo $(srcdir)/isprime.c; else echo isprime.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > $@ || rm -f $@
386 pexpr_.c: pexpr.c $(ANSI2KNR)
387 $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/pexpr.c; then echo $(srcdir)/pexpr.c; else echo pexpr.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > $@ || rm -f $@
388 primes_.c: primes.c $(ANSI2KNR)
389 $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/primes.c; then echo $(srcdir)/primes.c; else echo primes.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > $@ || rm -f $@
390 qcn_.c: qcn.c $(ANSI2KNR)
391 $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/qcn.c; then echo $(srcdir)/qcn.c; else echo qcn.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > $@ || rm -f $@
392 factorize_.$(OBJEXT) factorize_.lo isprime_.$(OBJEXT) isprime_.lo \
393 pexpr_.$(OBJEXT) pexpr_.lo primes_.$(OBJEXT) primes_.lo qcn_.$(OBJEXT) \
394 qcn_.lo : $(ANSI2KNR)
402 # This directory's subdirectories are mostly independent; you can cd
403 # into them and run `make' without going through this Makefile.
404 # To change the values of `make' variables: instead of editing Makefiles,
405 # (1) if the variable is set in `config.status', edit `config.status'
406 # (which will cause the Makefiles to be regenerated when you run `make');
407 # (2) otherwise, pass the desired values on the `make' command line.
408 $(RECURSIVE_TARGETS):
409 @fail= failcom='exit 1'; \
410 for f in x $$MAKEFLAGS; do \
413 *k*) failcom='fail=yes';; \
417 target=`echo $@ | sed s/-recursive//`; \
418 list='$(SUBDIRS)'; for subdir in $$list; do \
419 echo "Making $$target in $$subdir"; \
420 if test "$$subdir" = "."; then \
422 local_target="$$target-am"; \
424 local_target="$$target"; \
426 ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
429 if test "$$dot_seen" = "no"; then \
430 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
433 $(RECURSIVE_CLEAN_TARGETS):
434 @fail= failcom='exit 1'; \
435 for f in x $$MAKEFLAGS; do \
438 *k*) failcom='fail=yes';; \
443 distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
444 *) list='$(SUBDIRS)' ;; \
446 rev=''; for subdir in $$list; do \
447 if test "$$subdir" = "."; then :; else \
448 rev="$$subdir $$rev"; \
452 target=`echo $@ | sed s/-recursive//`; \
453 for subdir in $$rev; do \
454 echo "Making $$target in $$subdir"; \
455 if test "$$subdir" = "."; then \
456 local_target="$$target-am"; \
458 local_target="$$target"; \
460 ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
462 done && test -z "$$fail"
464 list='$(SUBDIRS)'; for subdir in $$list; do \
465 test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
468 list='$(SUBDIRS)'; for subdir in $$list; do \
469 test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
472 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
473 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
474 unique=`for i in $$list; do \
475 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
477 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
478 END { if (nonempty) { for (i in files) print i; }; }'`; \
482 TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
483 $(TAGS_FILES) $(LISP)
486 if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
487 include_option=--etags-include; \
490 include_option=--include; \
493 list='$(SUBDIRS)'; for subdir in $$list; do \
494 if test "$$subdir" = .; then :; else \
495 test ! -f $$subdir/TAGS || \
496 set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
499 list='$(SOURCES) $(HEADERS) $(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; nonempty = 1; } \
504 END { if (nonempty) { for (i in files) print i; }; }'`; \
506 if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
507 test -n "$$unique" || unique=$$empty_fix; \
508 if test $$# -gt 0; then \
509 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
512 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
517 CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
518 $(TAGS_FILES) $(LISP)
519 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
520 unique=`for i in $$list; do \
521 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
523 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
524 END { if (nonempty) { for (i in files) print i; }; }'`; \
525 test -z "$(CTAGS_ARGS)$$unique" \
526 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
530 here=`$(am__cd) $(top_builddir) && pwd` \
531 && $(am__cd) $(top_srcdir) \
532 && gtags -i $(GTAGS_ARGS) "$$here"
535 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
537 distdir: $(DISTFILES)
538 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
539 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
540 list='$(DISTFILES)'; \
541 dist_files=`for file in $$list; do echo $$file; done | \
542 sed -e "s|^$$srcdirstrip/||;t" \
543 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
544 case $$dist_files in \
545 */*) $(MKDIR_P) `echo "$$dist_files" | \
546 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
549 for file in $$dist_files; do \
550 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
551 if test -d $$d/$$file; then \
552 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
553 if test -d "$(distdir)/$$file"; then \
554 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
556 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
557 cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
558 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
560 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
562 test -f "$(distdir)/$$file" \
563 || cp -p $$d/$$file "$(distdir)/$$file" \
567 @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
568 if test "$$subdir" = .; then :; else \
569 test -d "$(distdir)/$$subdir" \
570 || $(MKDIR_P) "$(distdir)/$$subdir" \
574 @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
575 if test "$$subdir" = .; then :; else \
576 dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
578 new_distdir=$$reldir; \
579 dir1=$$subdir; dir2="$(top_distdir)"; \
581 new_top_distdir=$$reldir; \
582 echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
583 echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
584 ($(am__cd) $$subdir && \
585 $(MAKE) $(AM_MAKEFLAGS) \
586 top_distdir="$$new_top_distdir" \
587 distdir="$$new_distdir" \
588 am__remove_distdir=: \
589 am__skip_length_check=: \
590 am__skip_mode_fix=: \
596 check: check-recursive
598 installdirs: installdirs-recursive
600 install: install-recursive
601 install-exec: install-exec-recursive
602 install-data: install-data-recursive
603 uninstall: uninstall-recursive
606 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
608 installcheck: installcheck-recursive
610 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
611 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
612 `test -z '$(STRIP)' || \
613 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
617 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
620 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
621 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
623 maintainer-clean-generic:
624 @echo "This command is intended for maintainers to use"
625 @echo "it deletes files that may require special tools to rebuild."
626 clean: clean-recursive
628 clean-am: clean-generic clean-libtool mostlyclean-am
630 distclean: distclean-recursive
632 distclean-am: clean-am distclean-compile distclean-generic \
649 install-dvi: install-dvi-recursive
655 install-html: install-html-recursive
659 install-info: install-info-recursive
665 install-pdf: install-pdf-recursive
669 install-ps: install-ps-recursive
675 maintainer-clean: maintainer-clean-recursive
677 maintainer-clean-am: distclean-am maintainer-clean-generic
679 mostlyclean: mostlyclean-recursive
681 mostlyclean-am: mostlyclean-compile mostlyclean-generic mostlyclean-kr \
694 .MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) \
695 $(top_builddir)/ansi2knr ctags-recursive install-am \
696 install-strip tags-recursive
698 .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
699 all all-am check check-am clean clean-generic clean-libtool \
700 ctags ctags-recursive distclean distclean-compile \
701 distclean-generic distclean-libtool distclean-tags distdir dvi \
702 dvi-am html html-am info info-am install install-am \
703 install-data install-data-am install-dvi install-dvi-am \
704 install-exec install-exec-am install-html install-html-am \
705 install-info install-info-am install-man install-pdf \
706 install-pdf-am install-ps install-ps-am install-strip \
707 installcheck installcheck-am installdirs installdirs-am \
708 maintainer-clean maintainer-clean-generic mostlyclean \
709 mostlyclean-compile mostlyclean-generic mostlyclean-kr \
710 mostlyclean-libtool pdf pdf-am ps ps-am tags tags-recursive \
711 uninstall uninstall-am
714 allprogs: $(EXTRA_PROGRAMS)
715 cd calc; $(MAKE) $(AM_MAKEFLAGS) allprogs
716 cd expr; $(MAKE) $(AM_MAKEFLAGS) allprogs
718 # Tell versions [3.59,3.63) of GNU make to not export all variables.
719 # Otherwise a system limit (for SysV at least) may be exceeded.