Reorganisation of the source tree
[ghc-hetmet.git] / rts / gmp / mpn / Makefile.in
1 # Makefile.in generated automatically by automake 1.4a from Makefile.am
2
3 # Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
4 # This Makefile.in is free software; the Free Software Foundation
5 # gives unlimited permission to copy and/or distribute it,
6 # with or without modifications, as long as this notice is preserved.
7
8 # This program is distributed in the hope that it will be useful,
9 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
10 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
11 # PARTICULAR PURPOSE.
12
13 SHELL = @SHELL@
14
15 srcdir = @srcdir@
16 top_srcdir = @top_srcdir@
17 VPATH = @srcdir@
18 prefix = @prefix@
19 exec_prefix = @exec_prefix@
20
21 bindir = @bindir@
22 sbindir = @sbindir@
23 libexecdir = @libexecdir@
24 datadir = @datadir@
25 sysconfdir = @sysconfdir@
26 sharedstatedir = @sharedstatedir@
27 localstatedir = @localstatedir@
28 libdir = @libdir@
29 infodir = @infodir@
30 mandir = @mandir@
31 includedir = @includedir@
32 oldincludedir = /usr/include
33
34 DESTDIR =
35
36 pkgdatadir = $(datadir)/@PACKAGE@
37 pkglibdir = $(libdir)/@PACKAGE@
38 pkgincludedir = $(includedir)/@PACKAGE@
39
40 top_builddir = ..
41
42 ACLOCAL = @ACLOCAL@
43 AUTOCONF = @AUTOCONF@
44 AUTOMAKE = @AUTOMAKE@
45 AUTOHEADER = @AUTOHEADER@
46
47 INSTALL = @INSTALL@
48 INSTALL_PROGRAM = @INSTALL_PROGRAM@
49 INSTALL_DATA = @INSTALL_DATA@
50 INSTALL_SCRIPT = @INSTALL_SCRIPT@
51 INSTALL_STRIP_FLAG =
52 transform = @program_transform_name@
53
54 NORMAL_INSTALL = :
55 PRE_INSTALL = :
56 POST_INSTALL = :
57 NORMAL_UNINSTALL = :
58 PRE_UNINSTALL = :
59 POST_UNINSTALL = :
60
61 @SET_MAKE@
62 build_alias = @build_alias@
63 build_triplet = @build@
64 host_alias = @host_alias@
65 host_triplet = @host@
66 target_alias = @target_alias@
67 target_triplet = @target@
68 AMDEP = @AMDEP@
69 AMTAR = @AMTAR@
70 AR = @AR@
71 AS = @AS@
72 AWK = @AWK@
73 CALLING_CONVENTIONS_OBJS = @CALLING_CONVENTIONS_OBJS@
74 CC = @CC@
75 CCAS = @CCAS@
76 CPP = @CPP@
77 CXX = @CXX@
78 CXXCPP = @CXXCPP@
79 DEPDIR = @DEPDIR@
80 DLLTOOL = @DLLTOOL@
81 EXEEXT = @EXEEXT@
82 LIBTOOL = @LIBTOOL@
83 LN_S = @LN_S@
84 M4 = @M4@
85 MAINT = @MAINT@
86 MAKEINFO = @MAKEINFO@
87 OBJDUMP = @OBJDUMP@
88 OBJEXT = @OBJEXT@
89 PACKAGE = @PACKAGE@
90 RANLIB = @RANLIB@
91 SPEED_CYCLECOUNTER_OBJS = @SPEED_CYCLECOUNTER_OBJS@
92 STRIP = @STRIP@
93 U = @U@
94 VERSION = @VERSION@
95 gmp_srclinks = @gmp_srclinks@
96 install_sh = @install_sh@
97 mpn_objects = @mpn_objects@
98 mpn_objs_in_libgmp = @mpn_objs_in_libgmp@
99
100 # Copyright (C) 1996, 1998, 1999, 2000 Free Software Foundation, Inc.
101 #
102 # This file is part of the GNU MP Library.
103 #
104 # The GNU MP Library is free software; you can redistribute it and/or modify
105 # it under the terms of the GNU Lesser General Public License as published by
106 # the Free Software Foundation; either version 2.1 of the License, or (at your
107 # option) any later version.
108 #
109 # The GNU MP Library is distributed in the hope that it will be useful, but
110 # WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
111 # or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public
112 # License for more details.
113 #
114 # You should have received a copy of the GNU Lesser General Public License
115 # along with the GNU MP Library; see the file COPYING.LIB.  If not, write to
116 # the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
117 # MA 02111-1307, USA.
118
119
120 AUTOMAKE_OPTIONS = gnu no-dependencies
121 SUBDIRS =
122
123 CPP = @CPP@
124
125 # -DOPERATION_$* tells multi-function files which function to produce.
126 INCLUDES = -I$(top_srcdir) -DOPERATION_$*
127
128 GENERIC_SOURCES = mp_bases.c
129 OFILES = @mpn_objects@
130
131 noinst_LTLIBRARIES = libmpn.la
132 libmpn_la_SOURCES = $(GENERIC_SOURCES)
133 libmpn_la_LIBADD = $(OFILES)
134 libmpn_la_DEPENDENCIES = $(OFILES)
135
136 TARG_DIST = a29k alpha arm clipper cray generic hppa i960 lisp m68k m88k \
137   mips2 mips3 ns32k pa64 pa64w power powerpc32 powerpc64 pyr sh sparc32 \
138   sparc64 thumb vax x86 z8000 z8000x
139
140
141 EXTRA_DIST = underscore.h asm-defs.m4 $(TARG_DIST)
142
143 # COMPILE minus CC.  FIXME: Really pass *_CFLAGS to CPP?
144 COMPILE_FLAGS = \
145         $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
146
147
148 SUFFIXES = .s .S .asm
149 subdir = mpn
150 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
151 CONFIG_HEADER = ../config.h
152 CONFIG_CLEAN_FILES = 
153 LTLIBRARIES =  $(noinst_LTLIBRARIES)
154
155
156 DEFS = @DEFS@ -I. -I$(srcdir) -I..
157 CPPFLAGS = @CPPFLAGS@
158 LDFLAGS = @LDFLAGS@
159 LIBS = @LIBS@
160 libmpn_la_LDFLAGS = 
161 am_libmpn_la_OBJECTS =  mp_bases.lo
162 libmpn_la_OBJECTS =  $(am_libmpn_la_OBJECTS)
163 COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
164 LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
165 CFLAGS = @CFLAGS@
166 CCLD = $(CC)
167 LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
168 DIST_SOURCES =  $(libmpn_la_SOURCES)
169 DIST_COMMON =  README Makefile.am Makefile.in
170
171
172 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
173
174 GZIP_ENV = --best
175 depcomp = 
176 SOURCES = $(libmpn_la_SOURCES)
177 OBJECTS = $(am_libmpn_la_OBJECTS)
178
179 all: all-redirect
180 .SUFFIXES:
181 .SUFFIXES: .S .asm .c .lo .o .obj .s
182 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) 
183         cd $(top_srcdir) && $(AUTOMAKE) --gnu mpn/Makefile
184
185 Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
186         cd $(top_builddir) \
187           && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
188
189
190 mostlyclean-noinstLTLIBRARIES:
191
192 clean-noinstLTLIBRARIES:
193         -test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES)
194
195 distclean-noinstLTLIBRARIES:
196
197 maintainer-clean-noinstLTLIBRARIES:
198
199 mostlyclean-compile:
200         -rm -f *.o core *.core
201         -rm -f *.$(OBJEXT)
202
203 clean-compile:
204
205 distclean-compile:
206         -rm -f *.tab.c
207
208 maintainer-clean-compile:
209
210 mostlyclean-libtool:
211         -rm -f *.lo
212
213 clean-libtool:
214         -rm -rf .libs _libs
215
216 distclean-libtool:
217
218 maintainer-clean-libtool:
219
220 libmpn.la: $(libmpn_la_OBJECTS) $(libmpn_la_DEPENDENCIES)
221         $(LINK)  $(libmpn_la_LDFLAGS) $(libmpn_la_OBJECTS) $(libmpn_la_LIBADD) $(LIBS)
222 .c.o:
223         $(COMPILE) -c $<
224 .c.obj:
225         $(COMPILE) -c `cygpath -w $<`
226 .c.lo:
227         $(LTCOMPILE) -c -o $@ $<
228
229 # This directory's subdirectories are mostly independent; you can cd
230 # into them and run `make' without going through this Makefile.
231 # To change the values of `make' variables: instead of editing Makefiles,
232 # (1) if the variable is set in `config.status', edit `config.status'
233 #     (which will cause the Makefiles to be regenerated when you run `make');
234 # (2) otherwise, pass the desired values on the `make' command line.
235
236 all-recursive install-data-recursive install-exec-recursive \
237 installdirs-recursive install-recursive uninstall-recursive  \
238 check-recursive installcheck-recursive info-recursive dvi-recursive:
239         @set fnord $(MAKEFLAGS); amf=$$2; \
240         dot_seen=no; \
241         target=`echo $@ | sed s/-recursive//`; \
242         list='$(SUBDIRS)'; for subdir in $$list; do \
243           echo "Making $$target in $$subdir"; \
244           if test "$$subdir" = "."; then \
245             dot_seen=yes; \
246             local_target="$$target-am"; \
247           else \
248             local_target="$$target"; \
249           fi; \
250           (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
251            || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
252         done; \
253         if test "$$dot_seen" = "no"; then \
254           $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
255         fi; test -z "$$fail"
256
257 mostlyclean-recursive clean-recursive distclean-recursive \
258 maintainer-clean-recursive:
259         @set fnord $(MAKEFLAGS); amf=$$2; \
260         dot_seen=no; \
261         rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \
262           rev="$$subdir $$rev"; \
263           if test "$$subdir" = "."; then dot_seen=yes; else :; fi; \
264         done; \
265         test "$$dot_seen" = "no" && rev=". $$rev"; \
266         target=`echo $@ | sed s/-recursive//`; \
267         for subdir in $$rev; do \
268           echo "Making $$target in $$subdir"; \
269           if test "$$subdir" = "."; then \
270             local_target="$$target-am"; \
271           else \
272             local_target="$$target"; \
273           fi; \
274           (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
275            || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
276         done && test -z "$$fail"
277 tags-recursive:
278         list='$(SUBDIRS)'; for subdir in $$list; do \
279           test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
280         done
281
282 tags: TAGS
283
284 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
285         list='$(SOURCES) $(HEADERS) $(TAGS_FILES)'; \
286         unique=`for i in $$list; do \
287             if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
288           done | \
289           $(AWK) '    { files[$$0] = 1; } \
290                END { for (i in files) print i; }'`; \
291         mkid -f$$here/ID $$unique $(LISP)
292
293 TAGS: tags-recursive $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
294                 $(TAGS_FILES) $(LISP)
295         tags=; \
296         here=`pwd`; \
297         list='$(SUBDIRS)'; for subdir in $$list; do \
298    if test "$$subdir" = .; then :; else \
299             test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
300    fi; \
301         done; \
302         list='$(SOURCES) $(HEADERS) $(TAGS_FILES)'; \
303         unique=`for i in $$list; do \
304             if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
305           done | \
306           $(AWK) '    { files[$$0] = 1; } \
307                END { for (i in files) print i; }'`; \
308         test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
309           || etags $(ETAGS_ARGS) $$tags  $$unique $(LISP)
310
311 mostlyclean-tags:
312
313 clean-tags:
314
315 distclean-tags:
316         -rm -f TAGS ID
317
318 maintainer-clean-tags:
319
320 distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
321
322 distdir: $(DISTFILES)
323         @for file in $(DISTFILES); do \
324           d=$(srcdir); \
325           if test -d $$d/$$file; then \
326             cp -pR $$d/$$file $(distdir); \
327           else \
328             test -f $(distdir)/$$file \
329             || cp -p $$d/$$file $(distdir)/$$file || :; \
330           fi; \
331         done
332         for subdir in $(SUBDIRS); do \
333           if test "$$subdir" = .; then :; else \
334             test -d $(distdir)/$$subdir \
335             || mkdir $(distdir)/$$subdir \
336             || exit 1; \
337             (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir=../$(top_distdir) distdir=../$(distdir)/$$subdir distdir) \
338               || exit 1; \
339           fi; \
340         done
341 info-am:
342 info: info-recursive
343 dvi-am:
344 dvi: dvi-recursive
345 check-am: all-am
346 check: check-recursive
347 installcheck-am:
348 installcheck: installcheck-recursive
349 install-exec-am:
350 install-exec: install-exec-recursive
351
352 install-data-am:
353 install-data: install-data-recursive
354
355 install-am: all-am
356         @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
357 install: install-recursive
358 uninstall-am:
359 uninstall: uninstall-recursive
360 all-am: Makefile $(LTLIBRARIES)
361 all-redirect: all-recursive
362 install-strip:
363         $(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install
364 installdirs: installdirs-recursive
365 installdirs-am:
366
367
368 mostlyclean-generic:
369
370 clean-generic:
371
372 distclean-generic:
373         -rm -f Makefile $(CONFIG_CLEAN_FILES)
374         -rm -f config.cache config.log stamp-h stamp-h[0-9]*
375
376 maintainer-clean-generic:
377         -rm -f Makefile.in
378 mostlyclean-am:  mostlyclean-noinstLTLIBRARIES mostlyclean-compile \
379                 mostlyclean-libtool mostlyclean-tags \
380                 mostlyclean-generic
381
382 mostlyclean: mostlyclean-recursive
383
384 clean-am:  clean-noinstLTLIBRARIES clean-compile clean-libtool \
385                 clean-tags clean-generic mostlyclean-am
386
387 clean: clean-recursive
388
389 distclean-am:  distclean-noinstLTLIBRARIES distclean-compile \
390                 distclean-libtool distclean-tags distclean-generic \
391                 clean-am
392         -rm -f libtool
393
394 distclean: distclean-recursive
395
396 maintainer-clean-am:  maintainer-clean-noinstLTLIBRARIES \
397                 maintainer-clean-compile maintainer-clean-libtool \
398                 maintainer-clean-tags maintainer-clean-generic \
399                 distclean-am
400         @echo "This command is intended for maintainers to use;"
401         @echo "it deletes files that may require special tools to rebuild."
402
403 maintainer-clean: maintainer-clean-recursive
404
405 .PHONY: mostlyclean-noinstLTLIBRARIES distclean-noinstLTLIBRARIES \
406 clean-noinstLTLIBRARIES maintainer-clean-noinstLTLIBRARIES \
407 mostlyclean-compile distclean-compile clean-compile \
408 maintainer-clean-compile mostlyclean-libtool distclean-libtool \
409 clean-libtool maintainer-clean-libtool install-recursive \
410 uninstall-recursive install-data-recursive uninstall-data-recursive \
411 install-exec-recursive uninstall-exec-recursive installdirs-recursive \
412 uninstalldirs-recursive all-recursive check-recursive \
413 installcheck-recursive info-recursive dvi-recursive \
414 mostlyclean-recursive distclean-recursive clean-recursive \
415 maintainer-clean-recursive tags tags-recursive mostlyclean-tags \
416 distclean-tags clean-tags maintainer-clean-tags distdir info-am info \
417 dvi-am dvi check check-am installcheck-am installcheck install-exec-am \
418 install-exec install-data-am install-data install-am install \
419 uninstall-am uninstall all-redirect all-am all install-strip \
420 installdirs-am installdirs mostlyclean-generic distclean-generic \
421 clean-generic maintainer-clean-generic clean mostlyclean distclean \
422 maintainer-clean
423
424
425 # *.s are not preprocessed at all.
426 .s.o:
427         $(CCAS) $(COMPILE_FLAGS) $<
428 .s.obj:
429         $(CCAS) $(COMPILE_FLAGS) `cygpath -w $<`
430 .s.lo:
431         $(LIBTOOL) --mode=compile $(CCAS) $(COMPILE_FLAGS) $<
432
433 # *.S are preprocessed with CPP.
434 .S.o:
435         $(CPP) $(COMPILE_FLAGS) $< | grep -v '^#' >tmp-$*.s
436         $(CCAS) $(COMPILE_FLAGS) tmp-$*.s -o $@
437         rm -f tmp-$*.s
438 .S.obj:
439         $(CPP) $(COMPILE_FLAGS) `cygpath -w $<` | grep -v '^#' >tmp-$*.s
440         $(CCAS) $(COMPILE_FLAGS) tmp-$*.s -o $@
441         rm -f tmp-$*.s
442
443 # We have to rebuild the static object file without passing -DPIC to
444 # preprocessor.  The overhead cost is one extra assemblation.  FIXME:
445 # Teach libtool how to assemble with a preprocessor pass (CPP or m4).
446
447 .S.lo:
448         $(CPP) $(COMPILE_FLAGS) -DPIC $< | grep -v '^#' >tmp-$*.s
449         $(LIBTOOL) --mode=compile $(CCAS) $(COMPILE_FLAGS) tmp-$*.s -o $@
450         $(CPP) $(COMPILE_FLAGS) $< | grep -v '^#' >tmp-$*.s
451         $(CCAS) $(COMPILE_FLAGS) tmp-$*.s -o $*.o
452         rm -f tmp-$*.s
453
454 # *.m4 are preprocessed with m4.
455 .asm.o:
456         $(M4) -DOPERATION_$* $< >tmp-$*.s
457         $(CCAS) $(COMPILE_FLAGS) tmp-$*.s -o $@
458         rm -f tmp-$*.s
459 .asm.obj:
460         $(M4) -DOPERATION_$* `cygpath -w $<` >tmp-$*.s
461         $(CCAS) $(COMPILE_FLAGS) tmp-$*.s -o $@
462         rm -f tmp-$*.s
463 .asm.lo:
464         $(M4) -DPIC -DOPERATION_$* $< >tmp-$*.s
465         $(LIBTOOL) --mode=compile $(CCAS) $(COMPILE_FLAGS) tmp-$*.s -o $@
466         $(M4) -DOPERATION_$* $< >tmp-$*.s
467         $(CCAS) $(COMPILE_FLAGS) tmp-$*.s -o $*.o
468         rm -f tmp-$*.s
469
470 # Tell versions [3.59,3.63) of GNU make to not export all variables.
471 # Otherwise a system limit (for SysV at least) may be exceeded.
472 .NOEXPORT: