Annotation of OpenXM_contrib/gmp/demos/Makefile.in, Revision 1.1.1.1
1.1 maekawa 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) 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 $(top_builddir)/ansi2knr
121:
122: INCLUDES = -I$(top_srcdir)
123: LDADD = $(top_builddir)/libgmp.la
124:
125: EXTRA_DIST = calc.y calclex.l
126:
127: calc_SOURCES = calc.c calclex.c calc.h
128: qcn_LDADD = $(LDADD) -lm
129:
130: # None of these programs are built by default, but "make <whatever>" will
131: # build them once libgmp.la is built.
132: #
133: EXTRA_PROGRAMS = calc factorize isprime pexpr primes qcn
134:
135: CLEANFILES = $(EXTRA_PROGRAMS)
136: subdir = demos
137: mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
138: CONFIG_HEADER = ../config.h
139: CONFIG_CLEAN_FILES =
140: EXTRA_PROGRAMS = calc$(EXEEXT) factorize$(EXEEXT) isprime$(EXEEXT) \
141: pexpr$(EXEEXT) primes$(EXEEXT) qcn$(EXEEXT)
142:
143: DEFS = @DEFS@ -I. -I$(srcdir) -I..
144: CPPFLAGS = @CPPFLAGS@
145: LDFLAGS = @LDFLAGS@
146: LIBS = @LIBS@
147: ANSI2KNR = $(top_builddir)/ansi2knr
148: am_calc_OBJECTS = calc$U.$(OBJEXT) calclex$U.$(OBJEXT)
149: calc_OBJECTS = $(am_calc_OBJECTS)
150: calc_LDADD = $(LDADD)
151: calc_DEPENDENCIES = $(top_builddir)/libgmp.la
152: calc_LDFLAGS =
153: factorize_SOURCES = factorize.c
154: factorize_OBJECTS = factorize$U.$(OBJEXT)
155: factorize_LDADD = $(LDADD)
156: factorize_DEPENDENCIES = $(top_builddir)/libgmp.la
157: factorize_LDFLAGS =
158: isprime_SOURCES = isprime.c
159: isprime_OBJECTS = isprime$U.$(OBJEXT)
160: isprime_LDADD = $(LDADD)
161: isprime_DEPENDENCIES = $(top_builddir)/libgmp.la
162: isprime_LDFLAGS =
163: pexpr_SOURCES = pexpr.c
164: pexpr_OBJECTS = pexpr$U.$(OBJEXT)
165: pexpr_LDADD = $(LDADD)
166: pexpr_DEPENDENCIES = $(top_builddir)/libgmp.la
167: pexpr_LDFLAGS =
168: primes_SOURCES = primes.c
169: primes_OBJECTS = primes$U.$(OBJEXT)
170: primes_LDADD = $(LDADD)
171: primes_DEPENDENCIES = $(top_builddir)/libgmp.la
172: primes_LDFLAGS =
173: qcn_SOURCES = qcn.c
174: qcn_OBJECTS = qcn$U.$(OBJEXT)
175: qcn_DEPENDENCIES = $(top_builddir)/libgmp.la
176: qcn_LDFLAGS =
177: COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
178: LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
179: CFLAGS = @CFLAGS@
180: CCLD = $(CC)
181: LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
182: DIST_SOURCES = $(calc_SOURCES) factorize.c isprime.c pexpr.c primes.c \
183: qcn.c
184: DIST_COMMON = Makefile.am Makefile.in
185:
186:
187: DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
188:
189: GZIP_ENV = --best
190: depcomp =
191: SOURCES = $(calc_SOURCES) factorize.c isprime.c pexpr.c primes.c qcn.c
192: OBJECTS = $(am_calc_OBJECTS) factorize$U.$(OBJEXT) isprime$U.$(OBJEXT) pexpr$U.$(OBJEXT) primes$U.$(OBJEXT) qcn$U.$(OBJEXT)
193:
194: all: all-redirect
195: .SUFFIXES:
196: .SUFFIXES: .c .h .lo .o .obj
197: $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
198: cd $(top_srcdir) && $(AUTOMAKE) --gnu demos/Makefile
199:
200: Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
201: cd $(top_builddir) \
202: && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
203:
204:
205: mostlyclean-compile:
206: -rm -f *.o core *.core
207: -rm -f *.$(OBJEXT)
208:
209: clean-compile:
210:
211: distclean-compile:
212: -rm -f *.tab.c
213:
214: maintainer-clean-compile:
215:
216: mostlyclean-libtool:
217: -rm -f *.lo
218:
219: clean-libtool:
220: -rm -rf .libs _libs
221:
222: distclean-libtool:
223:
224: maintainer-clean-libtool:
225: $(top_builddir)/ansi2knr: $(top_builddir)/ansi2knr.$(OBJEXT)
226: cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) ansi2knr
227:
228: $(top_builddir)/ansi2knr.$(OBJEXT):
229: cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) ansi2knr.$(OBJEXT)
230:
231:
232: mostlyclean-kr:
233: -rm -f *_.c
234:
235: clean-kr:
236:
237: distclean-kr:
238:
239: maintainer-clean-kr:
240:
241: calc$(EXEEXT): $(calc_OBJECTS) $(calc_DEPENDENCIES)
242: @rm -f calc$(EXEEXT)
243: $(LINK) $(calc_LDFLAGS) $(calc_OBJECTS) $(calc_LDADD) $(LIBS)
244:
245: factorize$(EXEEXT): $(factorize_OBJECTS) $(factorize_DEPENDENCIES)
246: @rm -f factorize$(EXEEXT)
247: $(LINK) $(factorize_LDFLAGS) $(factorize_OBJECTS) $(factorize_LDADD) $(LIBS)
248:
249: isprime$(EXEEXT): $(isprime_OBJECTS) $(isprime_DEPENDENCIES)
250: @rm -f isprime$(EXEEXT)
251: $(LINK) $(isprime_LDFLAGS) $(isprime_OBJECTS) $(isprime_LDADD) $(LIBS)
252:
253: pexpr$(EXEEXT): $(pexpr_OBJECTS) $(pexpr_DEPENDENCIES)
254: @rm -f pexpr$(EXEEXT)
255: $(LINK) $(pexpr_LDFLAGS) $(pexpr_OBJECTS) $(pexpr_LDADD) $(LIBS)
256:
257: primes$(EXEEXT): $(primes_OBJECTS) $(primes_DEPENDENCIES)
258: @rm -f primes$(EXEEXT)
259: $(LINK) $(primes_LDFLAGS) $(primes_OBJECTS) $(primes_LDADD) $(LIBS)
260:
261: qcn$(EXEEXT): $(qcn_OBJECTS) $(qcn_DEPENDENCIES)
262: @rm -f qcn$(EXEEXT)
263: $(LINK) $(qcn_LDFLAGS) $(qcn_OBJECTS) $(qcn_LDADD) $(LIBS)
264: .c.o:
265: $(COMPILE) -c $<
266: .c.obj:
267: $(COMPILE) -c `cygpath -w $<`
268: .c.lo:
269: $(LTCOMPILE) -c -o $@ $<
270: calc_.c: calc.c $(ANSI2KNR)
271: $(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/calc.c; then echo $(srcdir)/calc.c; else echo calc.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > calc_.c
272: calclex_.c: calclex.c $(ANSI2KNR)
273: $(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/calclex.c; then echo $(srcdir)/calclex.c; else echo calclex.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > calclex_.c
274: factorize_.c: factorize.c $(ANSI2KNR)
275: $(CPP) $(DEFS) $(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) > factorize_.c
276: isprime_.c: isprime.c $(ANSI2KNR)
277: $(CPP) $(DEFS) $(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) > isprime_.c
278: pexpr_.c: pexpr.c $(ANSI2KNR)
279: $(CPP) $(DEFS) $(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) > pexpr_.c
280: primes_.c: primes.c $(ANSI2KNR)
281: $(CPP) $(DEFS) $(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) > primes_.c
282: qcn_.c: qcn.c $(ANSI2KNR)
283: $(CPP) $(DEFS) $(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) > qcn_.c
284: calc_.$(OBJEXT) calc_.lo calclex_.$(OBJEXT) calclex_.lo \
285: factorize_.$(OBJEXT) factorize_.lo isprime_.$(OBJEXT) isprime_.lo \
286: pexpr_.$(OBJEXT) pexpr_.lo primes_.$(OBJEXT) primes_.lo qcn_.$(OBJEXT) \
287: qcn_.lo : $(ANSI2KNR)
288:
289: tags: TAGS
290:
291: ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
292: list='$(SOURCES) $(HEADERS) $(TAGS_FILES)'; \
293: unique=`for i in $$list; do \
294: if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
295: done | \
296: $(AWK) ' { files[$$0] = 1; } \
297: END { for (i in files) print i; }'`; \
298: mkid -f$$here/ID $$unique $(LISP)
299:
300: TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
301: $(TAGS_FILES) $(LISP)
302: tags=; \
303: here=`pwd`; \
304: list='$(SOURCES) $(HEADERS) $(TAGS_FILES)'; \
305: unique=`for i in $$list; do \
306: if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
307: done | \
308: $(AWK) ' { files[$$0] = 1; } \
309: END { for (i in files) print i; }'`; \
310: test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
311: || etags $(ETAGS_ARGS) $$tags $$unique $(LISP)
312:
313: mostlyclean-tags:
314:
315: clean-tags:
316:
317: distclean-tags:
318: -rm -f TAGS ID
319:
320: maintainer-clean-tags:
321:
322: distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
323:
324: distdir: $(DISTFILES)
325: @for file in $(DISTFILES); do \
326: d=$(srcdir); \
327: if test -d $$d/$$file; then \
328: cp -pR $$d/$$file $(distdir); \
329: else \
330: test -f $(distdir)/$$file \
331: || cp -p $$d/$$file $(distdir)/$$file || :; \
332: fi; \
333: done
334: info-am:
335: info: info-am
336: dvi-am:
337: dvi: dvi-am
338: check-am: all-am
339: check: check-am
340: installcheck-am:
341: installcheck: installcheck-am
342: install-exec-am:
343: install-exec: install-exec-am
344:
345: install-data-am:
346: install-data: install-data-am
347:
348: install-am: all-am
349: @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
350: install: install-am
351: uninstall-am:
352: uninstall: uninstall-am
353: all-am: Makefile
354: all-redirect: all-am
355: install-strip:
356: $(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install
357: installdirs:
358:
359:
360: mostlyclean-generic:
361:
362: clean-generic:
363: -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
364:
365: distclean-generic:
366: -rm -f Makefile $(CONFIG_CLEAN_FILES)
367: -rm -f config.cache config.log stamp-h stamp-h[0-9]*
368:
369: maintainer-clean-generic:
370: -rm -f Makefile.in
371: mostlyclean-am: mostlyclean-compile mostlyclean-libtool mostlyclean-kr \
372: mostlyclean-tags mostlyclean-generic
373:
374: mostlyclean: mostlyclean-am
375:
376: clean-am: clean-compile clean-libtool clean-kr clean-tags clean-generic \
377: mostlyclean-am
378:
379: clean: clean-am
380:
381: distclean-am: distclean-compile distclean-libtool distclean-kr \
382: distclean-tags distclean-generic clean-am
383: -rm -f libtool
384:
385: distclean: distclean-am
386:
387: maintainer-clean-am: maintainer-clean-compile maintainer-clean-libtool \
388: maintainer-clean-kr maintainer-clean-tags \
389: maintainer-clean-generic distclean-am
390: @echo "This command is intended for maintainers to use;"
391: @echo "it deletes files that may require special tools to rebuild."
392:
393: maintainer-clean: maintainer-clean-am
394:
395: .PHONY: mostlyclean-compile distclean-compile clean-compile \
396: maintainer-clean-compile mostlyclean-libtool distclean-libtool \
397: clean-libtool maintainer-clean-libtool mostlyclean-kr distclean-kr \
398: clean-kr maintainer-clean-kr tags mostlyclean-tags distclean-tags \
399: clean-tags maintainer-clean-tags distdir info-am info dvi-am dvi check \
400: check-am installcheck-am installcheck install-exec-am install-exec \
401: install-data-am install-data install-am install uninstall-am uninstall \
402: all-redirect all-am all install-strip installdirs mostlyclean-generic \
403: distclean-generic clean-generic maintainer-clean-generic clean \
404: mostlyclean distclean maintainer-clean
405:
406:
407: allprogs: $(EXTRA_PROGRAMS)
408:
409: # The distribution includes calc.c, calc.h and calclex.c, generated with
410: # bison and flex, so the calc program will build even if yacc and lex aren't
411: # available. The rules below regenerate those files if you modify calc.y or
412: # calclex.l.
413: #
414: # Using "cd"s instead of a $(srcdir) path ensures $(srcdir) doesn't get into
415: # the "#line"s in the generated files.
416: #
417: # FIXME: Automake yacc handling isn't quite right when building in a
418: # separate object directory, hence the explicit rules used for now.
419: #
420: # FIXME: With ansi2knr and no-dependencies, there doesn't seem any easy way
421: # to manually express that calclex$U.lo depends on calc.h. Making calclex.c
422: # depend on calc.h gets the right result, but the extra lex runs are
423: # unnecessary.
424:
425: $(srcdir)/calclex.c: calclex.l calc.h
426: cd $(srcdir); lex -ocalclex.c calclex.l
427: $(srcdir)/calc.c $(srcdir)/calc.h: calc.y
428: cd $(srcdir); yacc -d -ocalc.c calc.y
429:
430: # Tell versions [3.59,3.63) of GNU make to not export all variables.
431: # Otherwise a system limit (for SysV at least) may be exceeded.
432: .NOEXPORT:
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>