xref: /netbsd-src/external/lgpl3/gmp/dist/mpn/Makefile.in (revision 19ef5b5b0bcb90f63509df6e78769de1b57c2758)
1# Makefile.in generated by automake 1.11.6 from Makefile.am.
2# @configure_input@
3
4# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5# 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software
6# Foundation, Inc.
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.
10
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
14# PARTICULAR PURPOSE.
15
16@SET_MAKE@
17
18# Copyright 1996, 1998, 1999, 2000, 2001, 2002, 2005, 2011 Free Software
19# Foundation, Inc.
20#
21# This file is part of the GNU MP Library.
22#
23# The GNU MP Library is free software; you can redistribute it and/or modify
24# it under the terms of the GNU Lesser General Public License as published by
25# the Free Software Foundation; either version 3 of the License, or (at your
26# option) any later version.
27#
28# The GNU MP Library is distributed in the hope that it will be useful, but
29# WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
30# or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public
31# License for more details.
32#
33# You should have received a copy of the GNU Lesser General Public License
34# along with the GNU MP Library.  If not, see http://www.gnu.org/licenses/.
35
36# Copyright 1996, 1998, 1999, 2000, 2001, 2002 Free Software Foundation,
37# Inc.
38#
39# This file is part of the GNU MP Library.
40#
41# The GNU MP Library is free software; you can redistribute it and/or modify
42# it under the terms of the GNU Lesser General Public License as published by
43# the Free Software Foundation; either version 3 of the License, or (at your
44# option) any later version.
45#
46# The GNU MP Library is distributed in the hope that it will be useful, but
47# WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
48# or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public
49# License for more details.
50#
51# You should have received a copy of the GNU Lesser General Public License
52# along with the GNU MP Library.  If not, see http://www.gnu.org/licenses/.
53
54VPATH = @srcdir@
55am__make_dryrun = \
56  { \
57    am__dry=no; \
58    case $$MAKEFLAGS in \
59      *\\[\ \	]*) \
60        echo 'am--echo: ; @echo "AM"  OK' | $(MAKE) -f - 2>/dev/null \
61          | grep '^AM OK$$' >/dev/null || am__dry=yes;; \
62      *) \
63        for am__flg in $$MAKEFLAGS; do \
64          case $$am__flg in \
65            *=*|--*) ;; \
66            *n*) am__dry=yes; break;; \
67          esac; \
68        done;; \
69    esac; \
70    test $$am__dry = yes; \
71  }
72pkgdatadir = $(datadir)/@PACKAGE@
73pkgincludedir = $(includedir)/@PACKAGE@
74pkglibdir = $(libdir)/@PACKAGE@
75pkglibexecdir = $(libexecdir)/@PACKAGE@
76am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
77install_sh_DATA = $(install_sh) -c -m 644
78install_sh_PROGRAM = $(install_sh) -c
79install_sh_SCRIPT = $(install_sh) -c
80INSTALL_HEADER = $(INSTALL_DATA)
81transform = $(program_transform_name)
82NORMAL_INSTALL = :
83PRE_INSTALL = :
84POST_INSTALL = :
85NORMAL_UNINSTALL = :
86PRE_UNINSTALL = :
87POST_UNINSTALL = :
88build_triplet = @build@
89host_triplet = @host@
90DIST_COMMON = README $(srcdir)/Makeasm.am $(srcdir)/Makefile.am \
91	$(srcdir)/Makefile.in
92subdir = mpn
93ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
94am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
95	$(top_srcdir)/configure.ac
96am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
97	$(ACLOCAL_M4)
98mkinstalldirs = $(install_sh) -d
99CONFIG_HEADER = $(top_builddir)/config.h
100CONFIG_CLEAN_FILES =
101CONFIG_CLEAN_VPATH_FILES =
102LTLIBRARIES = $(noinst_LTLIBRARIES)
103am__DEPENDENCIES_1 =
104nodist_libmpn_la_OBJECTS = fib_table.lo mp_bases.lo
105libmpn_la_OBJECTS = $(nodist_libmpn_la_OBJECTS)
106DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
107depcomp =
108am__depfiles_maybe =
109COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
110	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
111LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
112	--mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
113	$(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
114CCLD = $(CC)
115LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
116	--mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \
117	$(LDFLAGS) -o $@
118SOURCES = $(nodist_libmpn_la_SOURCES)
119DIST_SOURCES =
120am__can_run_installinfo = \
121  case $$AM_UPDATE_INFO_DIR in \
122    n|no|NO) false;; \
123    *) (install-info --version) >/dev/null 2>&1;; \
124  esac
125ETAGS = etags
126CTAGS = ctags
127DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
128ABI = @ABI@
129ACLOCAL = @ACLOCAL@
130AMTAR = @AMTAR@
131AR = @AR@
132AS = @AS@
133ASMFLAGS = @ASMFLAGS@
134AUTOCONF = @AUTOCONF@
135AUTOHEADER = @AUTOHEADER@
136AUTOMAKE = @AUTOMAKE@
137AWK = @AWK@
138CALLING_CONVENTIONS_OBJS = @CALLING_CONVENTIONS_OBJS@
139CC = @CC@
140CCAS = @CCAS@
141CC_FOR_BUILD = @CC_FOR_BUILD@
142CFLAGS = @CFLAGS@
143CPP = @CPP@
144CPPFLAGS = @CPPFLAGS@
145CPP_FOR_BUILD = @CPP_FOR_BUILD@
146CXX = @CXX@
147CXXCPP = @CXXCPP@
148CXXFLAGS = @CXXFLAGS@
149CYGPATH_W = @CYGPATH_W@
150DEFN_LONG_LONG_LIMB = @DEFN_LONG_LONG_LIMB@
151DEFS = @DEFS@
152DLLTOOL = @DLLTOOL@
153DSYMUTIL = @DSYMUTIL@
154DUMPBIN = @DUMPBIN@
155ECHO_C = @ECHO_C@
156ECHO_N = @ECHO_N@
157ECHO_T = @ECHO_T@
158EGREP = @EGREP@
159EXEEXT = @EXEEXT@
160EXEEXT_FOR_BUILD = @EXEEXT_FOR_BUILD@
161FGREP = @FGREP@
162GMP_LDFLAGS = @GMP_LDFLAGS@
163GMP_LIMB_BITS = @GMP_LIMB_BITS@
164GMP_NAIL_BITS = @GMP_NAIL_BITS@
165GREP = @GREP@
166HAVE_CLOCK_01 = @HAVE_CLOCK_01@
167HAVE_CPUTIME_01 = @HAVE_CPUTIME_01@
168HAVE_GETRUSAGE_01 = @HAVE_GETRUSAGE_01@
169HAVE_GETTIMEOFDAY_01 = @HAVE_GETTIMEOFDAY_01@
170HAVE_HOST_CPU_FAMILY_power = @HAVE_HOST_CPU_FAMILY_power@
171HAVE_HOST_CPU_FAMILY_powerpc = @HAVE_HOST_CPU_FAMILY_powerpc@
172HAVE_SIGACTION_01 = @HAVE_SIGACTION_01@
173HAVE_SIGALTSTACK_01 = @HAVE_SIGALTSTACK_01@
174HAVE_SIGSTACK_01 = @HAVE_SIGSTACK_01@
175HAVE_STACK_T_01 = @HAVE_STACK_T_01@
176HAVE_SYS_RESOURCE_H_01 = @HAVE_SYS_RESOURCE_H_01@
177INSTALL = @INSTALL@
178INSTALL_DATA = @INSTALL_DATA@
179INSTALL_PROGRAM = @INSTALL_PROGRAM@
180INSTALL_SCRIPT = @INSTALL_SCRIPT@
181INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
182LD = @LD@
183LDFLAGS = @LDFLAGS@
184LEX = @LEX@
185LEXLIB = @LEXLIB@
186LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
187LIBCURSES = @LIBCURSES@
188LIBGMPXX_LDFLAGS = @LIBGMPXX_LDFLAGS@
189LIBGMP_DLL = @LIBGMP_DLL@
190LIBGMP_LDFLAGS = @LIBGMP_LDFLAGS@
191LIBM = @LIBM@
192LIBM_FOR_BUILD = @LIBM_FOR_BUILD@
193LIBOBJS = @LIBOBJS@
194LIBREADLINE = @LIBREADLINE@
195LIBS = @LIBS@
196LIBTOOL = @LIBTOOL@
197LIPO = @LIPO@
198LN_S = @LN_S@
199LTLIBOBJS = @LTLIBOBJS@
200M4 = @M4@
201MAINT = @MAINT@
202MAKEINFO = @MAKEINFO@
203MANIFEST_TOOL = @MANIFEST_TOOL@
204MKDIR_P = @MKDIR_P@
205NM = @NM@
206NMEDIT = @NMEDIT@
207OBJDUMP = @OBJDUMP@
208OBJEXT = @OBJEXT@
209OTOOL = @OTOOL@
210OTOOL64 = @OTOOL64@
211PACKAGE = @PACKAGE@
212PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
213PACKAGE_NAME = @PACKAGE_NAME@
214PACKAGE_STRING = @PACKAGE_STRING@
215PACKAGE_TARNAME = @PACKAGE_TARNAME@
216PACKAGE_URL = @PACKAGE_URL@
217PACKAGE_VERSION = @PACKAGE_VERSION@
218PATH_SEPARATOR = @PATH_SEPARATOR@
219RANLIB = @RANLIB@
220SED = @SED@
221SET_MAKE = @SET_MAKE@
222SHELL = @SHELL@
223SPEED_CYCLECOUNTER_OBJ = @SPEED_CYCLECOUNTER_OBJ@
224STRIP = @STRIP@
225TAL_OBJECT = @TAL_OBJECT@
226TUNE_LIBS = @TUNE_LIBS@
227TUNE_SQR_OBJ = @TUNE_SQR_OBJ@
228U_FOR_BUILD = @U_FOR_BUILD@
229VERSION = @VERSION@
230WITH_READLINE_01 = @WITH_READLINE_01@
231YACC = @YACC@
232YFLAGS = @YFLAGS@
233abs_builddir = @abs_builddir@
234abs_srcdir = @abs_srcdir@
235abs_top_builddir = @abs_top_builddir@
236abs_top_srcdir = @abs_top_srcdir@
237ac_ct_AR = @ac_ct_AR@
238ac_ct_CC = @ac_ct_CC@
239ac_ct_CXX = @ac_ct_CXX@
240ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
241am__leading_dot = @am__leading_dot@
242am__tar = @am__tar@
243am__untar = @am__untar@
244bindir = @bindir@
245build = @build@
246build_alias = @build_alias@
247build_cpu = @build_cpu@
248build_os = @build_os@
249build_vendor = @build_vendor@
250builddir = @builddir@
251datadir = @datadir@
252datarootdir = @datarootdir@
253docdir = @docdir@
254dvidir = @dvidir@
255exec_prefix = @exec_prefix@
256gmp_srclinks = @gmp_srclinks@
257host = @host@
258host_alias = @host_alias@
259host_cpu = @host_cpu@
260host_os = @host_os@
261host_vendor = @host_vendor@
262htmldir = @htmldir@
263includedir = @includedir@
264infodir = @infodir@
265install_sh = @install_sh@
266libdir = @libdir@
267libexecdir = @libexecdir@
268localedir = @localedir@
269localstatedir = @localstatedir@
270mandir = @mandir@
271mkdir_p = @mkdir_p@
272mpn_objects = @mpn_objects@
273mpn_objs_in_libgmp = @mpn_objs_in_libgmp@
274oldincludedir = @oldincludedir@
275pdfdir = @pdfdir@
276prefix = @prefix@
277program_transform_name = @program_transform_name@
278psdir = @psdir@
279sbindir = @sbindir@
280sharedstatedir = @sharedstatedir@
281srcdir = @srcdir@
282sysconfdir = @sysconfdir@
283target_alias = @target_alias@
284top_build_prefix = @top_build_prefix@
285top_builddir = @top_builddir@
286top_srcdir = @top_srcdir@
287INCLUDES = -D__GMP_WITHIN_GMP -I$(top_srcdir) \
288  -DOPERATION_`echo $* | sed 's/_$$//'`
289
290OFILES = @mpn_objects@
291noinst_LTLIBRARIES = libmpn.la
292nodist_libmpn_la_SOURCES = fib_table.c mp_bases.c
293libmpn_la_LIBADD = $(OFILES)
294libmpn_la_DEPENDENCIES = $(OFILES)
295TARG_DIST = a29k alpha arm clipper cray generic i960 ia64 lisp m68k m88k \
296  minithres mips32 mips64 ns32k pa32 pa64 power powerpc32 powerpc64 pyr \
297  s390_32 s390_64 sh sparc32 sparc64 thumb vax x86 x86_64 z8000
298
299EXTRA_DIST = asm-defs.m4 cpp-ccas m4-ccas $(TARG_DIST)
300
301# COMPILE minus CC.
302#
303COMPILE_FLAGS = $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
304	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) $(ASMFLAGS)
305
306
307# Flags used for preprocessing (in ansi2knr rules).
308#
309PREPROCESS_FLAGS = $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
310	$(CPPFLAGS)
311
312
313# Recent versions of automake (1.5 and up for instance) append automake
314# generated suffixes to this $(SUFFIXES) list.  This is essential for us,
315# since .c must come after .s, .S and .asm.  If .c is before .s, for
316# instance, then in the mpn directory "make" will see add_n.c mentioned in
317# an explicit rule (the ansi2knr stuff) and decide it must have add_n.c,
318# even if add_n.c doesn't exist but add_n.s does.  See GNU make
319# documentation "(make)Implicit Rule Search", part 5c.
320#
321# On IRIX 6 native make this doesn't work properly though.  Somehow .c
322# remains ahead of .s, perhaps because .c.s is a builtin rule.  .asm works
323# fine though, and mpn/mips3 uses this.
324#
325SUFFIXES = .s .S .asm
326
327# can be overridden during development, eg. "make RM_TMP=: mul_1.lo"
328RM_TMP = rm -f
329all: all-am
330
331.SUFFIXES:
332.SUFFIXES: .s .S .asm .c .lo .o .obj
333$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(srcdir)/Makeasm.am $(am__configure_deps)
334	@for dep in $?; do \
335	  case '$(am__configure_deps)' in \
336	    *$$dep*) \
337	      ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
338	        && { if test -f $@; then exit 0; else break; fi; }; \
339	      exit 1;; \
340	  esac; \
341	done; \
342	echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu --ignore-deps mpn/Makefile'; \
343	$(am__cd) $(top_srcdir) && \
344	  $(AUTOMAKE) --gnu --ignore-deps mpn/Makefile
345.PRECIOUS: Makefile
346Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
347	@case '$?' in \
348	  *config.status*) \
349	    cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
350	  *) \
351	    echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
352	    cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
353	esac;
354$(srcdir)/Makeasm.am:
355
356$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
357	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
358
359$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
360	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
361$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
362	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
363$(am__aclocal_m4_deps):
364
365clean-noinstLTLIBRARIES:
366	-test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES)
367	@list='$(noinst_LTLIBRARIES)'; for p in $$list; do \
368	  dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
369	  test "$$dir" != "$$p" || dir=.; \
370	  echo "rm -f \"$${dir}/so_locations\""; \
371	  rm -f "$${dir}/so_locations"; \
372	done
373libmpn.la: $(libmpn_la_OBJECTS) $(libmpn_la_DEPENDENCIES) $(EXTRA_libmpn_la_DEPENDENCIES)
374	$(LINK)  $(libmpn_la_OBJECTS) $(libmpn_la_LIBADD) $(LIBS)
375
376mostlyclean-compile:
377	-rm -f *.$(OBJEXT)
378
379distclean-compile:
380	-rm -f *.tab.c
381
382.c.o:
383	$(COMPILE) -c $<
384
385.c.obj:
386	$(COMPILE) -c `$(CYGPATH_W) '$<'`
387
388.c.lo:
389	$(LTCOMPILE) -c -o $@ $<
390
391mostlyclean-libtool:
392	-rm -f *.lo
393
394clean-libtool:
395	-rm -rf .libs _libs
396
397ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
398	list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
399	unique=`for i in $$list; do \
400	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
401	  done | \
402	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
403	      END { if (nonempty) { for (i in files) print i; }; }'`; \
404	mkid -fID $$unique
405tags: TAGS
406
407TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
408		$(TAGS_FILES) $(LISP)
409	set x; \
410	here=`pwd`; \
411	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
412	unique=`for i in $$list; do \
413	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
414	  done | \
415	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
416	      END { if (nonempty) { for (i in files) print i; }; }'`; \
417	shift; \
418	if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
419	  test -n "$$unique" || unique=$$empty_fix; \
420	  if test $$# -gt 0; then \
421	    $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
422	      "$$@" $$unique; \
423	  else \
424	    $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
425	      $$unique; \
426	  fi; \
427	fi
428ctags: CTAGS
429CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
430		$(TAGS_FILES) $(LISP)
431	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
432	unique=`for i in $$list; do \
433	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
434	  done | \
435	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
436	      END { if (nonempty) { for (i in files) print i; }; }'`; \
437	test -z "$(CTAGS_ARGS)$$unique" \
438	  || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
439	     $$unique
440
441GTAGS:
442	here=`$(am__cd) $(top_builddir) && pwd` \
443	  && $(am__cd) $(top_srcdir) \
444	  && gtags -i $(GTAGS_ARGS) "$$here"
445
446distclean-tags:
447	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
448
449distdir: $(DISTFILES)
450	@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
451	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
452	list='$(DISTFILES)'; \
453	  dist_files=`for file in $$list; do echo $$file; done | \
454	  sed -e "s|^$$srcdirstrip/||;t" \
455	      -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
456	case $$dist_files in \
457	  */*) $(MKDIR_P) `echo "$$dist_files" | \
458			   sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
459			   sort -u` ;; \
460	esac; \
461	for file in $$dist_files; do \
462	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
463	  if test -d $$d/$$file; then \
464	    dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
465	    if test -d "$(distdir)/$$file"; then \
466	      find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
467	    fi; \
468	    if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
469	      cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
470	      find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
471	    fi; \
472	    cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
473	  else \
474	    test -f "$(distdir)/$$file" \
475	    || cp -p $$d/$$file "$(distdir)/$$file" \
476	    || exit 1; \
477	  fi; \
478	done
479check-am: all-am
480check: check-am
481all-am: Makefile $(LTLIBRARIES)
482installdirs:
483install: install-am
484install-exec: install-exec-am
485install-data: install-data-am
486uninstall: uninstall-am
487
488install-am: all-am
489	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
490
491installcheck: installcheck-am
492install-strip:
493	if test -z '$(STRIP)'; then \
494	  $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
495	    install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
496	      install; \
497	else \
498	  $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
499	    install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
500	    "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
501	fi
502mostlyclean-generic:
503
504clean-generic:
505
506distclean-generic:
507	-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
508	-test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
509
510maintainer-clean-generic:
511	@echo "This command is intended for maintainers to use"
512	@echo "it deletes files that may require special tools to rebuild."
513clean: clean-am
514
515clean-am: clean-generic clean-libtool clean-noinstLTLIBRARIES \
516	mostlyclean-am
517
518distclean: distclean-am
519	-rm -f Makefile
520distclean-am: clean-am distclean-compile distclean-generic \
521	distclean-tags
522
523dvi: dvi-am
524
525dvi-am:
526
527html: html-am
528
529html-am:
530
531info: info-am
532
533info-am:
534
535install-data-am:
536
537install-dvi: install-dvi-am
538
539install-dvi-am:
540
541install-exec-am:
542
543install-html: install-html-am
544
545install-html-am:
546
547install-info: install-info-am
548
549install-info-am:
550
551install-man:
552
553install-pdf: install-pdf-am
554
555install-pdf-am:
556
557install-ps: install-ps-am
558
559install-ps-am:
560
561installcheck-am:
562
563maintainer-clean: maintainer-clean-am
564	-rm -f Makefile
565maintainer-clean-am: distclean-am maintainer-clean-generic
566
567mostlyclean: mostlyclean-am
568
569mostlyclean-am: mostlyclean-compile mostlyclean-generic \
570	mostlyclean-libtool
571
572pdf: pdf-am
573
574pdf-am:
575
576ps: ps-am
577
578ps-am:
579
580uninstall-am:
581
582.MAKE: install-am install-strip
583
584.PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \
585	clean-libtool clean-noinstLTLIBRARIES ctags distclean \
586	distclean-compile distclean-generic distclean-libtool \
587	distclean-tags distdir dvi dvi-am html html-am info info-am \
588	install install-am install-data install-data-am install-dvi \
589	install-dvi-am install-exec install-exec-am install-html \
590	install-html-am install-info install-info-am install-man \
591	install-pdf install-pdf-am install-ps install-ps-am \
592	install-strip installcheck installcheck-am installdirs \
593	maintainer-clean maintainer-clean-generic mostlyclean \
594	mostlyclean-compile mostlyclean-generic mostlyclean-libtool \
595	pdf pdf-am ps ps-am tags uninstall uninstall-am
596
597
598# These are BUILT_SOURCES at the top-level, so normally they're built before
599# recursing into this directory.
600#
601fib_table.c:
602	cd ..; $(MAKE) $(AM_MAKEFLAGS) mpn/fib_table.c
603mp_bases.c:
604	cd ..; $(MAKE) $(AM_MAKEFLAGS) mpn/mp_bases.c
605perfsqr.h:
606	cd ..; $(MAKE) $(AM_MAKEFLAGS) mpn/perfsqr.h
607
608# .s assembler, no preprocessing.
609#
610.s.o:
611	$(CCAS) $(COMPILE_FLAGS) `test -f '$<' || echo '$(srcdir)/'`$<
612.s.obj:
613	$(CCAS) $(COMPILE_FLAGS) `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'; fi`
614.s.lo:
615	$(LIBTOOL) --mode=compile --tag=CC $(CCAS) $(COMPILE_FLAGS) `test -f '$<' || echo '$(srcdir)/'`$<
616
617# .S assembler, preprocessed with cpp.
618#
619# It's necessary to run $(CPP) separately, since it seems not all compilers
620# recognise .S files, in particular "cc" on HP-UX 10 and 11 doesn't (and
621# will silently do nothing if given a .S).
622#
623# For .lo we need a helper script, as described below for .asm.lo.
624#
625.S.o:
626	$(CPP) $(PREPROCESS_FLAGS) `test -f '$<' || echo '$(srcdir)/'`$< | grep -v '^#' >tmp-$*.s
627	$(CCAS) $(COMPILE_FLAGS) tmp-$*.s -o $@
628	$(RM_TMP) tmp-$*.s
629.S.obj:
630	$(CPP) $(PREPROCESS_FLAGS) `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'; fi` | grep -v '^#' >tmp-$*.s
631	$(CCAS) $(COMPILE_FLAGS) tmp-$*.s -o $@
632	$(RM_TMP) tmp-$*.s
633.S.lo:
634	$(LIBTOOL) --mode=compile --tag=CC $(SHELL) $(top_srcdir)/mpn/cpp-ccas --cpp="$(CPP) $(PREPROCESS_FLAGS)" $(CCAS) $(COMPILE_FLAGS) `test -f '$<' || echo '$(srcdir)/'`$<
635
636# .asm assembler, preprocessed with m4.
637#
638# .o and .obj are non-PIC and just need m4 followed by a compile.
639#
640# .lo is a bit tricky.  Libtool (as of version 1.5) has foo.lo as a little
641# text file, and .libs/foo.o and foo.o as the PIC and non-PIC objects,
642# respectively.  It'd be asking for lots of trouble to try to create foo.lo
643# ourselves, so instead arrange to invoke libtool like a --mode=compile, but
644# with a special m4-ccas script which first m4 preprocesses, then compiles.
645# --tag=CC is necessary since foo.asm is otherwise unknown to libtool.
646#
647# Libtool adds -DPIC when building a shared object and the .asm files look
648# for that.  But it should be noted that the other PIC flags are on occasion
649# important too, in particular FreeBSD 2.2.8 gas 1.92.3 requires -k before
650# it accepts PIC constructs like @GOT, and gcc adds that flag only under
651# -fPIC.  (Later versions of gas are happy to accept PIC stuff any time.)
652#
653.asm.o:
654	$(M4) -DOPERATION_$* `test -f '$<' || echo '$(srcdir)/'`$< >tmp-$*.s
655	$(CCAS) $(COMPILE_FLAGS) tmp-$*.s -o $@
656	$(RM_TMP) tmp-$*.s
657.asm.obj:
658	$(M4) -DOPERATION_$* `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'; fi` >tmp-$*.s
659	$(CCAS) $(COMPILE_FLAGS) tmp-$*.s -o $@
660	$(RM_TMP) tmp-$*.s
661.asm.lo:
662	$(LIBTOOL) --mode=compile --tag=CC $(SHELL) $(top_srcdir)/mpn/m4-ccas --m4="$(M4)" $(CCAS) $(COMPILE_FLAGS) `test -f '$<' || echo '$(srcdir)/'`$<
663
664# Tell versions [3.59,3.63) of GNU make to not export all variables.
665# Otherwise a system limit (for SysV at least) may be exceeded.
666.NOEXPORT:
667