Annotation of OpenXM_contrib/gmp/Makefile.in, Revision 1.1.1.4
1.1.1.4 ! ohara 1: # Makefile.in generated automatically by automake 1.5 from Makefile.am.
1.1 maekawa 2:
1.1.1.4 ! ohara 3: # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
! 4: # Free Software Foundation, Inc.
1.1.1.2 maekawa 5: # This Makefile.in is free software; the Free Software Foundation
6: # gives unlimited permission to copy and/or distribute it,
7: # with or without modifications, as long as this notice is preserved.
8:
9: # This program is distributed in the hope that it will be useful,
10: # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
11: # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
12: # PARTICULAR PURPOSE.
13:
1.1.1.4 ! ohara 14: @SET_MAKE@
! 15:
! 16: # Copyright 1991, 1993, 1994, 1996, 1997, 1999, 2000, 2001, 2002 Free
! 17: # Software Foundation, Inc.
! 18: #
! 19: # This file is part of the GNU MP Library.
! 20: #
! 21: # The GNU MP Library is free software; you can redistribute it and/or modify
! 22: # it under the terms of the GNU Lesser General Public License as published by
! 23: # the Free Software Foundation; either version 2.1 of the License, or (at your
! 24: # option) any later version.
! 25: #
! 26: # The GNU MP Library is distributed in the hope that it will be useful, but
! 27: # WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
! 28: # or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
! 29: # License for more details.
! 30: #
! 31: # You should have received a copy of the GNU Lesser General Public License
! 32: # along with the GNU MP Library; see the file COPYING.LIB. If not, write to
! 33: # the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
! 34: # MA 02111-1307, USA.
! 35:
! 36: # Libtool -version-info for libgmp.la and libmp.la. See "Versioning" in the
! 37: # libtool manual.
! 38: #
! 39: # 1. No interfaces changed, only implementations (good): Increment REVISION.
! 40: #
! 41: # 2. Interfaces added, none removed (good): Increment CURRENT, increment
! 42: # AGE, set REVISION to 0.
! 43: #
! 44: # 3. Interfaces removed (BAD, breaks upward compatibility): Increment
! 45: # CURRENT, set AGE and REVISION to 0.
! 46: #
! 47: # Do this separately for libgmp and libmp, and only for releases.
! 48: #
! 49: # GMP -version-info
! 50: # release libgmp libgmpxx libmp
! 51: # 2.0.x - - -
! 52: # 3.0 3:0:0 - 3:0:0
! 53: # 3.0.1 3:1:0 - 3:0:0
! 54: # 3.1 4:0:1 - 4:0:1
! 55: # 3.1.1 4:1:1 - 4:1:1
! 56: # 4.0 5:0:2 3:0:0 4:2:1
! 57: # 4.0.1 5:1:2 3:1:0 4:3:1
! 58: # 4.1 6:0:3 3:2:0 4:4:1
! 59: # 4.1.1 6:1:3 3:3:0 4:5:1
! 60: # 4.1.2 6:2:3 3:4:0 4:6:1
! 61: #
! 62: # Starting at 3:0:0 is a slight abuse of the versioning system, but it
! 63: # ensures we're past soname libgmp.so.2, which was used on Debian GNU/Linux
! 64: # packages of gmp 2. Pretend gmp 2 was 2:0:0, so the interface changes for
! 65: # gmp 3 mean 3:0:0 is right.
! 66:
1.1.1.2 maekawa 67: SHELL = @SHELL@
68:
69: srcdir = @srcdir@
70: top_srcdir = @top_srcdir@
71: VPATH = @srcdir@
72: prefix = @prefix@
73: exec_prefix = @exec_prefix@
74:
75: bindir = @bindir@
76: sbindir = @sbindir@
77: libexecdir = @libexecdir@
78: datadir = @datadir@
79: sysconfdir = @sysconfdir@
80: sharedstatedir = @sharedstatedir@
81: localstatedir = @localstatedir@
82: libdir = @libdir@
83: infodir = @infodir@
84: mandir = @mandir@
85: includedir = @includedir@
86: oldincludedir = /usr/include
87: pkgdatadir = $(datadir)/@PACKAGE@
88: pkglibdir = $(libdir)/@PACKAGE@
89: pkgincludedir = $(includedir)/@PACKAGE@
90: top_builddir = .
91:
92: ACLOCAL = @ACLOCAL@
93: AUTOCONF = @AUTOCONF@
94: AUTOMAKE = @AUTOMAKE@
95: AUTOHEADER = @AUTOHEADER@
96:
97: INSTALL = @INSTALL@
98: INSTALL_PROGRAM = @INSTALL_PROGRAM@
99: INSTALL_DATA = @INSTALL_DATA@
100: INSTALL_SCRIPT = @INSTALL_SCRIPT@
1.1.1.4 ! ohara 101: INSTALL_HEADER = $(INSTALL_DATA)
1.1.1.2 maekawa 102: transform = @program_transform_name@
103: NORMAL_INSTALL = :
104: PRE_INSTALL = :
105: POST_INSTALL = :
106: NORMAL_UNINSTALL = :
107: PRE_UNINSTALL = :
108: POST_UNINSTALL = :
109: host_alias = @host_alias@
110: host_triplet = @host@
111: AMTAR = @AMTAR@
112: AR = @AR@
113: AS = @AS@
114: AWK = @AWK@
1.1.1.4 ! ohara 115: BITS_PER_MP_LIMB = @BITS_PER_MP_LIMB@
1.1.1.2 maekawa 116: CALLING_CONVENTIONS_OBJS = @CALLING_CONVENTIONS_OBJS@
117: CC = @CC@
118: CCAS = @CCAS@
119: CPP = @CPP@
120: CXX = @CXX@
121: CXXCPP = @CXXCPP@
1.1.1.4 ! ohara 122: DEFN_LONG_LONG_LIMB = @DEFN_LONG_LONG_LIMB@
1.1.1.2 maekawa 123: DEPDIR = @DEPDIR@
124: DLLTOOL = @DLLTOOL@
1.1.1.4 ! ohara 125: ECHO = @ECHO@
1.1.1.2 maekawa 126: EXEEXT = @EXEEXT@
1.1.1.4 ! ohara 127: GCJ = @GCJ@
! 128: GCJFLAGS = @GCJFLAGS@
! 129: GMP_LDFLAGS = @GMP_LDFLAGS@
! 130: GMP_NAIL_BITS = @GMP_NAIL_BITS@
! 131: HAVE_DECL_OPTARG = @HAVE_DECL_OPTARG@
! 132: HAVE_HOST_CPU_FAMILY_power = @HAVE_HOST_CPU_FAMILY_power@
! 133: HAVE_HOST_CPU_FAMILY_powerpc = @HAVE_HOST_CPU_FAMILY_powerpc@
! 134: HAVE_MPFR_01 = @HAVE_MPFR_01@
! 135: HAVE_STACK_T_01 = @HAVE_STACK_T_01@
! 136: INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
! 137: LEX = @LEX@
! 138: LIBGMP_DLL = @LIBGMP_DLL@
! 139: LIBM = @LIBM@
! 140: LIBREADLINE = @LIBREADLINE@
1.1.1.2 maekawa 141: LIBTOOL = @LIBTOOL@
142: LN_S = @LN_S@
143: M4 = @M4@
144: MAINT = @MAINT@
1.1.1.4 ! ohara 145: MPFR_CFLAGS = @MPFR_CFLAGS@
! 146: MPFR_LIBS = @MPFR_LIBS@
1.1.1.2 maekawa 147: OBJDUMP = @OBJDUMP@
148: OBJEXT = @OBJEXT@
149: PACKAGE = @PACKAGE@
150: RANLIB = @RANLIB@
1.1.1.4 ! ohara 151: RC = @RC@
! 152: REPL_VSNPRINTF_OBJ = @REPL_VSNPRINTF_OBJ@
! 153: REPL_VSNPRINTF_PRINTF_OBJ = @REPL_VSNPRINTF_PRINTF_OBJ@
! 154: SPEED_CYCLECOUNTER_OBJ = @SPEED_CYCLECOUNTER_OBJ@
1.1.1.2 maekawa 155: STRIP = @STRIP@
1.1.1.4 ! ohara 156: TAL_OBJECT = @TAL_OBJECT@
! 157: TUNE_SQR_OBJ = @TUNE_SQR_OBJ@
1.1.1.2 maekawa 158: U = @U@
159: VERSION = @VERSION@
1.1.1.4 ! ohara 160: WITH_READLINE_01 = @WITH_READLINE_01@
! 161: YACC = @YACC@
! 162: am__include = @am__include@
! 163: am__quote = @am__quote@
1.1.1.2 maekawa 164: gmp_srclinks = @gmp_srclinks@
165: install_sh = @install_sh@
166: mpn_objects = @mpn_objects@
167: mpn_objs_in_libgmp = @mpn_objs_in_libgmp@
1.1.1.4 ! ohara 168: mpn_objs_in_libmp = @mpn_objs_in_libmp@
1.1.1.2 maekawa 169:
1.1.1.4 ! ohara 170: LIBGMP_LT_CURRENT = 6
! 171: LIBGMP_LT_REVISION = 2
! 172: LIBGMP_LT_AGE = 3
! 173:
! 174: LIBGMPXX_LT_CURRENT = 3
! 175: LIBGMPXX_LT_REVISION = 4
! 176: LIBGMPXX_LT_AGE = 0
1.1.1.2 maekawa 177:
178: LIBMP_LT_CURRENT = 4
1.1.1.4 ! ohara 179: LIBMP_LT_REVISION = 6
1.1.1.2 maekawa 180: LIBMP_LT_AGE = 1
181:
1.1.1.4 ! ohara 182: AUTOMAKE_OPTIONS = gnu no-dependencies ansi2knr
! 183: ACLOCAL_AMFLAGS = -I mpfr
1.1.1.2 maekawa 184:
1.1.1.4 ! ohara 185: # FIXME: This is a workaround for automake not allowing info_TEXINFOS to be
! 186: # conditionalized. We want mpfr/mpfr.info only installed under
! 187: # --enable-mpfr, but it and the rest of mpfr always included in a "make
! 188: # dist".
! 189: @MAINTAINER_MODE_TRUE@@WANT_MPFR_FALSE@MPFR_DIR = mpfr
! 190: @WANT_MPFR_TRUE@MPFR_DIR = mpfr
1.1.1.2 maekawa 191:
1.1.1.4 ! ohara 192: # "tests" ahead of "mpfr" ensures tests/t-constants is run before the
! 193: # mpfr/tests programs.
! 194: #
! 195: SUBDIRS = tests mpn mpz mpq mpf printf scanf cxx mpbsd $(MPFR_DIR) demos tune
1.1.1.2 maekawa 196:
1.1.1.4 ! ohara 197: @WANT_CXX_TRUE@GMPXX_HEADERS_OPTION = gmpxx.h
! 198: @WANT_CXX_TRUE@@WANT_MPFR_TRUE@MPFRXX_HEADERS_OPTION = mpfrxx.h
! 199: include_HEADERS = $(GMPXX_HEADERS_OPTION) $(MPFRXX_HEADERS_OPTION)
! 200: nodist_include_HEADERS = gmp.h $(MPBSD_HEADERS_OPTION)
! 201: lib_LTLIBRARIES = libgmp.la $(GMPXX_LTLIBRARIES_OPTION) $(MPBSD_LTLIBRARIES_OPTION)
! 202:
! 203: EXTRA_DIST = doc macos \
! 204: configfsf.guess configfsf.sub .gdbinit INSTALL.autoconf libmp.sym \
! 205: gmpxx.h mpfrxx.h mpfr/README
! 206:
! 207:
! 208: DISTCLEANFILES = $(nodist_include_HEADERS) config.m4 configure.lineno @gmp_srclinks@
! 209:
! 210: # Generated by current texinfo.tex when processing gmp.texi.
! 211: # FIXME: Maybe this should be added to automake.
! 212: MOSTLYCLEANFILES = gmp.tmp
! 213:
! 214: # Tell gmp.h it's building gmp, not an application, used by windows DLL stuff.
! 215: INCLUDES = -D__GMP_WITHIN_GMP
! 216:
! 217: MPF_OBJECTS = mpf/init$U.lo mpf/init2$U.lo mpf/set$U.lo mpf/set_ui$U.lo \
! 218: mpf/set_si$U.lo mpf/set_str$U.lo mpf/set_d$U.lo mpf/set_z$U.lo \
! 219: mpf/iset$U.lo mpf/iset_ui$U.lo mpf/iset_si$U.lo mpf/iset_str$U.lo \
! 220: mpf/iset_d$U.lo mpf/clear$U.lo mpf/get_str$U.lo mpf/dump$U.lo \
! 221: mpf/size$U.lo mpf/eq$U.lo mpf/reldiff$U.lo mpf/sqrt$U.lo mpf/random2$U.lo \
! 222: mpf/inp_str$U.lo mpf/out_str$U.lo mpf/add$U.lo mpf/add_ui$U.lo \
! 223: mpf/sub$U.lo mpf/sub_ui$U.lo mpf/ui_sub$U.lo mpf/mul$U.lo mpf/mul_ui$U.lo \
! 224: mpf/div$U.lo mpf/div_ui$U.lo \
! 225: mpf/cmp$U.lo mpf/cmp_d$U.lo mpf/cmp_ui$U.lo mpf/cmp_si$U.lo \
! 226: mpf/mul_2exp$U.lo mpf/div_2exp$U.lo mpf/abs$U.lo mpf/neg$U.lo \
! 227: mpf/set_q$U.lo mpf/get_d$U.lo mpf/get_d_2exp$U.lo mpf/set_dfl_prec$U.lo \
! 228: mpf/set_prc$U.lo mpf/set_prc_raw$U.lo mpf/get_dfl_prec$U.lo \
! 229: mpf/get_prc$U.lo mpf/ui_div$U.lo mpf/sqrt_ui$U.lo \
! 230: mpf/ceilfloor$U.lo mpf/trunc$U.lo mpf/pow_ui$U.lo \
! 231: mpf/urandomb$U.lo mpf/swap$U.lo \
! 232: mpf/fits_sint$U.lo mpf/fits_slong$U.lo mpf/fits_sshort$U.lo \
! 233: mpf/fits_uint$U.lo mpf/fits_ulong$U.lo mpf/fits_ushort$U.lo \
! 234: mpf/get_si$U.lo mpf/get_ui$U.lo \
! 235: mpf/int_p$U.lo
! 236:
! 237:
! 238: MPZ_OBJECTS = mpz/abs$U.lo mpz/add$U.lo mpz/add_ui$U.lo \
! 239: mpz/aorsmul$U.lo mpz/aorsmul_i$U.lo mpz/and$U.lo mpz/array_init$U.lo \
! 240: mpz/bin_ui$U.lo mpz/bin_uiui$U.lo \
! 241: mpz/cdiv_q$U.lo mpz/cdiv_q_ui$U.lo \
! 242: mpz/cdiv_qr$U.lo mpz/cdiv_qr_ui$U.lo \
! 243: mpz/cdiv_r$U.lo mpz/cdiv_r_ui$U.lo mpz/cdiv_ui$U.lo \
! 244: mpz/cfdiv_q_2exp$U.lo mpz/cfdiv_r_2exp$U.lo \
! 245: mpz/clear$U.lo mpz/clrbit$U.lo \
! 246: mpz/cmp$U.lo mpz/cmp_d$U.lo mpz/cmp_si$U.lo mpz/cmp_ui$U.lo \
! 247: mpz/cmpabs$U.lo mpz/cmpabs_d$U.lo mpz/cmpabs_ui$U.lo \
! 248: mpz/com$U.lo \
! 249: mpz/cong$U.lo mpz/cong_2exp$U.lo mpz/cong_ui$U.lo \
! 250: mpz/divexact$U.lo mpz/divegcd$U.lo mpz/dive_ui$U.lo \
! 251: mpz/divis$U.lo mpz/divis_ui$U.lo mpz/divis_2exp$U.lo mpz/dump$U.lo \
! 252: mpz/export$U.lo mpz/fac_ui$U.lo mpz/fdiv_q$U.lo \
! 253: mpz/fdiv_q_ui$U.lo mpz/fdiv_qr$U.lo mpz/fdiv_qr_ui$U.lo \
! 254: mpz/fdiv_r$U.lo mpz/fdiv_r_ui$U.lo \
! 255: mpz/fdiv_ui$U.lo mpz/fib_ui$U.lo mpz/fib2_ui$U.lo mpz/fits_sint$U.lo \
! 256: mpz/fits_slong$U.lo mpz/fits_sshort$U.lo mpz/fits_uint$U.lo \
! 257: mpz/fits_ulong$U.lo mpz/fits_ushort$U.lo mpz/gcd$U.lo \
! 258: mpz/gcd_ui$U.lo mpz/gcdext$U.lo mpz/get_d$U.lo mpz/get_d_2exp$U.lo \
! 259: mpz/get_si$U.lo mpz/get_str$U.lo mpz/get_ui$U.lo mpz/getlimbn$U.lo \
! 260: mpz/hamdist$U.lo \
! 261: mpz/import$U.lo mpz/init$U.lo mpz/init2$U.lo mpz/inp_raw$U.lo \
! 262: mpz/inp_str$U.lo mpz/invert$U.lo \
! 263: mpz/ior$U.lo mpz/iset$U.lo mpz/iset_d$U.lo mpz/iset_si$U.lo \
! 264: mpz/iset_str$U.lo mpz/iset_ui$U.lo mpz/jacobi$U.lo mpz/kronsz$U.lo \
! 265: mpz/kronuz$U.lo mpz/kronzs$U.lo mpz/kronzu$U.lo \
! 266: mpz/lcm$U.lo mpz/lcm_ui$U.lo mpz/lucnum_ui$U.lo mpz/lucnum2_ui$U.lo \
! 267: mpz/millerrabin$U.lo mpz/mod$U.lo mpz/mul$U.lo mpz/mul_2exp$U.lo \
! 268: mpz/mul_si$U.lo mpz/mul_ui$U.lo \
! 269: mpz/n_pow_ui$U.lo mpz/neg$U.lo mpz/nextprime$U.lo \
! 270: mpz/out_raw$U.lo mpz/out_str$U.lo mpz/perfpow$U.lo mpz/perfsqr$U.lo \
! 271: mpz/popcount$U.lo mpz/pow_ui$U.lo mpz/powm$U.lo mpz/powm_ui$U.lo \
! 272: mpz/pprime_p$U.lo mpz/random$U.lo mpz/random2$U.lo \
! 273: mpz/realloc$U.lo mpz/realloc2$U.lo \
! 274: mpz/remove$U.lo mpz/root$U.lo mpz/rrandomb$U.lo mpz/scan0$U.lo \
! 275: mpz/scan1$U.lo mpz/set$U.lo mpz/set_d$U.lo mpz/set_f$U.lo \
! 276: mpz/set_q$U.lo mpz/set_si$U.lo mpz/set_str$U.lo mpz/set_ui$U.lo \
! 277: mpz/setbit$U.lo \
! 278: mpz/size$U.lo mpz/sizeinbase$U.lo mpz/sqrt$U.lo \
! 279: mpz/sqrtrem$U.lo mpz/sub$U.lo mpz/sub_ui$U.lo mpz/swap$U.lo \
! 280: mpz/tdiv_ui$U.lo mpz/tdiv_q$U.lo mpz/tdiv_q_2exp$U.lo \
! 281: mpz/tdiv_q_ui$U.lo mpz/tdiv_qr$U.lo mpz/tdiv_qr_ui$U.lo \
! 282: mpz/tdiv_r$U.lo mpz/tdiv_r_2exp$U.lo mpz/tdiv_r_ui$U.lo \
! 283: mpz/tstbit$U.lo mpz/ui_pow_ui$U.lo mpz/ui_sub$U.lo mpz/urandomb$U.lo \
! 284: mpz/urandomm$U.lo mpz/xor$U.lo
! 285:
! 286:
! 287: MPQ_OBJECTS = mpq/abs$U.lo mpq/aors$U.lo \
! 288: mpq/canonicalize$U.lo mpq/clear$U.lo \
! 289: mpq/cmp$U.lo mpq/cmp_si$U.lo mpq/cmp_ui$U.lo mpq/div$U.lo \
! 290: mpq/get_d$U.lo mpq/get_den$U.lo mpq/get_num$U.lo mpq/get_str$U.lo \
! 291: mpq/init$U.lo mpq/inp_str$U.lo mpq/inv$U.lo \
! 292: mpq/md_2exp$U.lo mpq/mul$U.lo mpq/neg$U.lo mpq/out_str$U.lo \
! 293: mpq/set$U.lo mpq/set_den$U.lo mpq/set_num$U.lo \
! 294: mpq/set_si$U.lo mpq/set_str$U.lo mpq/set_ui$U.lo \
! 295: mpq/equal$U.lo mpq/set_z$U.lo mpq/set_d$U.lo \
! 296: mpq/set_f$U.lo mpq/swap$U.lo
1.1.1.2 maekawa 297:
298:
299: MPN_OBJECTS = @mpn_objs_in_libgmp@
300:
1.1.1.4 ! ohara 301: PRINTF_OBJECTS = \
! 302: @REPL_VSNPRINTF_PRINTF_OBJ@ \
! 303: printf/asprintf$U.lo printf/asprntffuns$U.lo \
! 304: printf/doprnt$U.lo printf/doprntf$U.lo printf/doprnti$U.lo \
! 305: printf/fprintf$U.lo \
! 306: printf/obprintf$U.lo printf/obvprintf$U.lo printf/obprntffuns$U.lo \
! 307: printf/printf$U.lo printf/printffuns$U.lo \
! 308: printf/snprintf$U.lo printf/snprntffuns$U.lo \
! 309: printf/sprintf$U.lo printf/sprintffuns$U.lo \
! 310: printf/vasprintf$U.lo printf/vfprintf$U.lo printf/vprintf$U.lo \
! 311: printf/vsnprintf$U.lo printf/vsprintf$U.lo
! 312:
! 313:
! 314: SCANF_OBJECTS = \
! 315: scanf/doscan$U.lo scanf/fscanf$U.lo scanf/fscanffuns$U.lo \
! 316: scanf/scanf$U.lo scanf/sscanf$U.lo scanf/sscanffuns$U.lo \
! 317: scanf/vfscanf$U.lo scanf/vscanf$U.lo scanf/vsscanf$U.lo
! 318:
! 319:
! 320: CXX_OBJECTS = \
! 321: cxx/isfuns$U.lo cxx/ismpf$U.lo cxx/ismpq$U.lo cxx/ismpz$U.lo \
! 322: cxx/osdoprnti$U.lo cxx/osfuns$U.lo \
! 323: cxx/osmpf$U.lo cxx/osmpq$U.lo cxx/osmpz$U.lo
! 324:
! 325:
! 326: MPBSD_OBJECTS = mpbsd/add$U.lo mpbsd/tdiv_qr$U.lo mpbsd/set$U.lo \
! 327: mpbsd/powm$U.lo mpbsd/sub$U.lo mpbsd/cmp$U.lo mpbsd/mfree$U.lo \
! 328: mpbsd/mtox$U.lo mpbsd/realloc$U.lo mpbsd/gcd$U.lo mpbsd/itom$U.lo \
! 329: mpbsd/min$U.lo mpbsd/mul$U.lo mpbsd/mout$U.lo mpbsd/rpow$U.lo \
! 330: mpbsd/sdiv$U.lo mpbsd/sqrtrem$U.lo mpbsd/xtom$U.lo
! 331:
! 332:
1.1.1.2 maekawa 333:
1.1.1.4 ! ohara 334: # In the current libtool it doesn't work to build libgmp.la from convenience
! 335: # libraries like mpz/libmpz.la. Or rather it works, but it ends up putting
! 336: # PIC objects into libgmp.a when shared and static are both built.
! 337: #
! 338: # For now the big lists of objects above are used. Something like mpz/*.lo
! 339: # would probably work, but might risk missing something out or getting
! 340: # something extra. The source files for each .lo are listed in the
! 341: # Makefile.am's in the subdirectories.
! 342: #
! 343: # Currently, unlike libmp below, we're not using -export-symbols, since the
! 344: # tune and speed programs, and perhaps some of the test programs, want to
! 345: # access undocumented symbols.
! 346: libgmp_la_SOURCES = gmp-impl.h longlong.h \
! 347: assert.c compat.c errno.c extract-dbl.c insert-dbl.c memory.c \
! 348: mp_bpl.c mp_clz_tab.c mp_minv_tab.c mp_set_fns.c \
! 349: rand.c randclr.c randdef.c randlc.c randlc2s.c randlc2x.c randraw.c \
! 350: rands.c randsd.c randsdui.c version.c
! 351:
! 352: libgmp_la_DEPENDENCIES = @TAL_OBJECT@ \
1.1.1.2 maekawa 353: $(MPF_OBJECTS) $(MPZ_OBJECTS) $(MPN_OBJECTS) $(MPQ_OBJECTS) \
1.1.1.4 ! ohara 354: $(PRINTF_OBJECTS) $(SCANF_OBJECTS)
1.1.1.2 maekawa 355:
1.1.1.4 ! ohara 356: libgmp_la_LIBADD = $(libgmp_la_DEPENDENCIES)
! 357: libgmp_la_LDFLAGS = $(GMP_LDFLAGS) \
1.1.1.2 maekawa 358: -version-info $(LIBGMP_LT_CURRENT):$(LIBGMP_LT_REVISION):$(LIBGMP_LT_AGE)
359:
360:
1.1.1.4 ! ohara 361:
! 362: # We need at least one .cc file in $(libgmpxx_la_SOURCES) so automake will
! 363: # use $(CXXLINK) rather than the plain C $(LINK). cxx/osfuns.cc is an
! 364: # arbitrary choice for that.
! 365: @WANT_CXX_TRUE@GMPXX_LTLIBRARIES_OPTION = libgmpxx.la
! 366: libgmpxx_la_SOURCES = dummy.cc
! 367: libgmpxx_la_DEPENDENCIES = $(CXX_OBJECTS) libgmp.la
! 368: libgmpxx_la_LIBADD = $(libgmpxx_la_DEPENDENCIES)
! 369: libgmpxx_la_LDFLAGS = $(GMP_LDFLAGS) \
! 370: -version-info $(LIBGMPXX_LT_CURRENT):$(LIBGMPXX_LT_REVISION):$(LIBGMPXX_LT_AGE)
! 371:
! 372:
! 373:
! 374: # The selected mpz objects here support mpz/powm.c (built as mpbsd/powm.lo)
! 375: # and can probably be removed when that switches to an mpn implementation.
! 376: # (Apart from mpz/n_pow_ui$U.lo, which supports mpbsd/rpow.c)
! 377: @WANT_MPBSD_TRUE@MPBSD_HEADERS_OPTION = mp.h
! 378: @WANT_MPBSD_TRUE@MPBSD_LTLIBRARIES_OPTION = libmp.la
1.1.1.2 maekawa 379: libmp_la_SOURCES = assert.c errno.c memory.c mp_bpl.c mp_clz_tab.c \
1.1.1.4 ! ohara 380: mp_minv_tab.c mp_set_fns.c
1.1.1.2 maekawa 381:
1.1.1.4 ! ohara 382: MPN_OBJS_IN_LIBMP = @mpn_objs_in_libmp@
! 383: libmp_la_DEPENDENCIES = $(srcdir)/libmp.sym \
! 384: @TAL_OBJECT@ $(MPBSD_OBJECTS) $(MPN_OBJS_IN_LIBMP) \
! 385: mpz/add$U.lo mpz/gcdext$U.lo mpz/invert$U.lo mpz/mul$U.lo \
! 386: mpz/n_pow_ui$U.lo mpz/realloc$U.lo mpz/set$U.lo mpz/sub$U.lo \
! 387: mpz/tdiv_q$U.lo
1.1.1.2 maekawa 388:
389: libmp_la_LIBADD = $(libmp_la_DEPENDENCIES)
1.1.1.4 ! ohara 390: libmp_la_LDFLAGS = $(GMP_LDFLAGS) \
! 391: -version-info $(LIBMP_LT_CURRENT):$(LIBMP_LT_REVISION):$(LIBMP_LT_AGE) \
! 392: -export-symbols $(srcdir)/libmp.sym
! 393:
1.1.1.2 maekawa 394:
1.1.1.4 ! ohara 395: # Optional objects, listed in a dummy library to generate ansi2knr rules and
! 396: # get them in "make dist".
! 397: #
! 398: EXTRA_LTLIBRARIES = libdummy.la
! 399: libdummy_la_SOURCES = tal-debug.c tal-notreent.c tal-reent.c
1.1.1.2 maekawa 400:
401: info_TEXINFOS = gmp.texi
1.1.1.4 ! ohara 402: gmp_TEXINFOS = fdl.texi
1.1.1.2 maekawa 403: subdir = .
404: ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
405: mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
406: CONFIG_HEADER = config.h
1.1.1.4 ! ohara 407: CONFIG_CLEAN_FILES = gmp.h mp.h
! 408: LTLIBRARIES = $(lib_LTLIBRARIES)
1.1.1.2 maekawa 409:
1.1.1.4 ! ohara 410: libdummy_la_LDFLAGS =
! 411: libdummy_la_LIBADD =
! 412: am_libdummy_la_OBJECTS = tal-debug$U.lo tal-notreent$U.lo tal-reent$U.lo
! 413: libdummy_la_OBJECTS = $(am_libdummy_la_OBJECTS)
! 414: am_libgmp_la_OBJECTS = assert$U.lo compat$U.lo errno$U.lo \
! 415: extract-dbl$U.lo insert-dbl$U.lo memory$U.lo mp_bpl$U.lo \
! 416: mp_clz_tab$U.lo mp_minv_tab$U.lo mp_set_fns$U.lo rand$U.lo \
! 417: randclr$U.lo randdef$U.lo randlc$U.lo randlc2s$U.lo \
! 418: randlc2x$U.lo randraw$U.lo rands$U.lo randsd$U.lo randsdui$U.lo \
! 419: version$U.lo
! 420: libgmp_la_OBJECTS = $(am_libgmp_la_OBJECTS)
! 421: am_libgmpxx_la_OBJECTS = dummy.lo
! 422: libgmpxx_la_OBJECTS = $(am_libgmpxx_la_OBJECTS)
! 423: am_libmp_la_OBJECTS = assert$U.lo errno$U.lo memory$U.lo mp_bpl$U.lo \
! 424: mp_clz_tab$U.lo mp_minv_tab$U.lo mp_set_fns$U.lo
! 425: libmp_la_OBJECTS = $(am_libmp_la_OBJECTS)
1.1.1.2 maekawa 426:
1.1.1.4 ! ohara 427: DEFS = @DEFS@
! 428: DEFAULT_INCLUDES = -I. -I$(srcdir) -I.
1.1.1.2 maekawa 429: CPPFLAGS = @CPPFLAGS@
430: LDFLAGS = @LDFLAGS@
431: LIBS = @LIBS@
1.1.1.4 ! ohara 432: depcomp =
! 433: COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
! 434: $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
! 435: LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
! 436: $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
1.1.1.2 maekawa 437: CCLD = $(CC)
1.1.1.4 ! ohara 438: LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
! 439: $(AM_LDFLAGS) $(LDFLAGS) -o $@
! 440: CFLAGS = @CFLAGS@
! 441: CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
! 442: $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
! 443: LTCXXCOMPILE = $(LIBTOOL) --mode=compile $(CXX) $(DEFS) \
! 444: $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
! 445: $(AM_CXXFLAGS) $(CXXFLAGS)
! 446: CXXLD = $(CXX)
! 447: CXXLINK = $(LIBTOOL) --mode=link $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) \
! 448: $(AM_LDFLAGS) $(LDFLAGS) -o $@
! 449: CXXFLAGS = @CXXFLAGS@
! 450: DIST_SOURCES = $(libdummy_la_SOURCES) $(libgmp_la_SOURCES) \
! 451: $(libgmpxx_la_SOURCES) $(libmp_la_SOURCES)
1.1.1.2 maekawa 452: INFO_DEPS = gmp.info
453: DVIS = gmp.dvi
454: TEXINFOS = gmp.texi
1.1.1.4 ! ohara 455: HEADERS = $(include_HEADERS) $(nodist_include_HEADERS)
1.1 maekawa 456:
457:
1.1.1.4 ! ohara 458: RECURSIVE_TARGETS = info-recursive dvi-recursive install-info-recursive \
! 459: uninstall-info-recursive all-recursive install-data-recursive \
! 460: install-exec-recursive installdirs-recursive install-recursive \
! 461: uninstall-recursive check-recursive installcheck-recursive
! 462: DIST_COMMON = README $(gmp_TEXINFOS) $(include_HEADERS) ./stamp-h1.in \
! 463: AUTHORS COPYING COPYING.LIB ChangeLog INSTALL Makefile.am \
! 464: Makefile.in NEWS acconfig.h acinclude.m4 aclocal.m4 ansi2knr.1 \
! 465: ansi2knr.c config.guess config.in config.sub configure \
! 466: configure.in gmp-h.in install-sh ltmain.sh mdate-sh missing \
! 467: mkinstalldirs mp-h.in stamp-vti texinfo.tex version.texi
! 468: DIST_SUBDIRS = tests mpn mpz mpq mpf printf scanf cxx mpbsd mpfr demos \
! 469: tune
! 470: SOURCES = $(libdummy_la_SOURCES) $(libgmp_la_SOURCES) $(libgmpxx_la_SOURCES) $(libmp_la_SOURCES)
1.1 maekawa 471:
1.1.1.4 ! ohara 472: all: config.h
! 473: $(MAKE) $(AM_MAKEFLAGS) all-recursive
1.1 maekawa 474:
1.1.1.2 maekawa 475: .SUFFIXES:
1.1.1.4 ! ohara 476: .SUFFIXES: .c .cc .dvi .info .lo .o .obj .ps .texi
1.1 maekawa 477:
1.1.1.4 ! ohara 478: mostlyclean-libtool:
! 479: -rm -f *.lo
1.1 maekawa 480:
1.1.1.4 ! ohara 481: clean-libtool:
! 482: -rm -rf .libs _libs
1.1.1.2 maekawa 483:
1.1.1.4 ! ohara 484: distclean-libtool:
! 485: -rm -f libtool
! 486: $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
! 487: cd $(top_srcdir) && \
! 488: $(AUTOMAKE) --gnu Makefile
! 489: Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in $(top_builddir)/config.status
! 490: cd $(top_builddir) && \
! 491: CONFIG_HEADERS= CONFIG_LINKS= \
! 492: CONFIG_FILES=$@ $(SHELL) ./config.status
! 493:
! 494: $(top_builddir)/config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
1.1.1.2 maekawa 495: $(SHELL) ./config.status --recheck
1.1.1.4 ! ohara 496: $(srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
1.1.1.2 maekawa 497: cd $(srcdir) && $(AUTOCONF)
498:
1.1.1.4 ! ohara 499: $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ configure.in acinclude.m4 mpfr/acinclude.m4
! 500: cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
! 501: config.h: stamp-h1
1.1.1.2 maekawa 502: @if test ! -f $@; then \
1.1.1.4 ! ohara 503: rm -f stamp-h1; \
! 504: $(MAKE) stamp-h1; \
1.1.1.2 maekawa 505: else :; fi
1.1.1.4 ! ohara 506: stamp-h1: $(srcdir)/config.in $(top_builddir)/config.status
! 507: @rm -f stamp-h1 stamp-h1T
! 508: @echo timestamp > stamp-h1T 2> /dev/null
1.1.1.2 maekawa 509: cd $(top_builddir) \
510: && CONFIG_FILES= CONFIG_HEADERS=config.h:config.in \
511: $(SHELL) ./config.status
1.1.1.4 ! ohara 512: @mv stamp-h1T stamp-h1
! 513: $(srcdir)/config.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/./stamp-h1.in
1.1.1.2 maekawa 514: @if test ! -f $@; then \
1.1.1.4 ! ohara 515: rm -f $(srcdir)/./stamp-h1.in; \
! 516: $(MAKE) $(srcdir)/./stamp-h1.in; \
1.1.1.2 maekawa 517: else :; fi
1.1.1.4 ! ohara 518: $(srcdir)/./stamp-h1.in: $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/acconfig.h
! 519: @rm -f $(srcdir)/./stamp-h1.in $(srcdir)/./stamp-h1.inT
! 520: @echo timestamp > $(srcdir)/./stamp-h1.inT 2> /dev/null
1.1.1.2 maekawa 521: cd $(top_srcdir) && $(AUTOHEADER)
1.1.1.4 ! ohara 522: @mv $(srcdir)/./stamp-h1.inT $(srcdir)/./stamp-h1.in
1.1.1.2 maekawa 523:
524: distclean-hdr:
525: -rm -f config.h
1.1.1.4 ! ohara 526: gmp.h: $(top_builddir)/config.status gmp-h.in
! 527: cd $(top_builddir) && CONFIG_FILES=$@:gmp-h.in CONFIG_HEADERS= CONFIG_LINKS= $(SHELL) ./config.status
! 528: mp.h: $(top_builddir)/config.status mp-h.in
! 529: cd $(top_builddir) && CONFIG_FILES=$@:mp-h.in CONFIG_HEADERS= CONFIG_LINKS= $(SHELL) ./config.status
1.1.1.2 maekawa 530: install-libLTLIBRARIES: $(lib_LTLIBRARIES)
531: @$(NORMAL_INSTALL)
532: $(mkinstalldirs) $(DESTDIR)$(libdir)
533: @list='$(lib_LTLIBRARIES)'; for p in $$list; do \
534: if test -f $$p; then \
1.1.1.4 ! ohara 535: echo " $(LIBTOOL) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/$$p"; \
! 536: $(LIBTOOL) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/$$p; \
1.1.1.2 maekawa 537: else :; fi; \
538: done
539:
540: uninstall-libLTLIBRARIES:
541: @$(NORMAL_UNINSTALL)
542: @list='$(lib_LTLIBRARIES)'; for p in $$list; do \
1.1.1.4 ! ohara 543: echo " $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p"; \
! 544: $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p; \
1.1.1.2 maekawa 545: done
546:
1.1.1.4 ! ohara 547: clean-libLTLIBRARIES:
! 548: -test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
! 549: libdummy.la: $(libdummy_la_OBJECTS) $(libdummy_la_DEPENDENCIES)
! 550: $(LINK) $(libdummy_la_LDFLAGS) $(libdummy_la_OBJECTS) $(libdummy_la_LIBADD) $(LIBS)
! 551: libgmp.la: $(libgmp_la_OBJECTS) $(libgmp_la_DEPENDENCIES)
! 552: $(LINK) -rpath $(libdir) $(libgmp_la_LDFLAGS) $(libgmp_la_OBJECTS) $(libgmp_la_LIBADD) $(LIBS)
! 553: libgmpxx.la: $(libgmpxx_la_OBJECTS) $(libgmpxx_la_DEPENDENCIES)
! 554: $(CXXLINK) -rpath $(libdir) $(libgmpxx_la_LDFLAGS) $(libgmpxx_la_OBJECTS) $(libgmpxx_la_LIBADD) $(LIBS)
! 555: libmp.la: $(libmp_la_OBJECTS) $(libmp_la_DEPENDENCIES)
! 556: $(LINK) -rpath $(libdir) $(libmp_la_LDFLAGS) $(libmp_la_OBJECTS) $(libmp_la_LIBADD) $(LIBS)
1.1 maekawa 557:
1.1.1.4 ! ohara 558: mostlyclean-compile:
! 559: -rm -f *.$(OBJEXT) core *.core
1.1.1.2 maekawa 560:
561: distclean-compile:
562: -rm -f *.tab.c
563:
1.1.1.4 ! ohara 564: ANSI2KNR = @ANSI2KNR@
1.1.1.2 maekawa 565: ansi2knr: ansi2knr.$(OBJEXT)
566: $(LINK) ansi2knr.$(OBJEXT) $(LIBS)
567: ansi2knr.$(OBJEXT): $(CONFIG_HEADER)
568:
1.1.1.4 ! ohara 569: clean-krextra:
! 570: -rm -f ansi2knr
1.1.1.2 maekawa 571:
572: mostlyclean-kr:
1.1.1.4 ! ohara 573: -test "$U" = "" || rm -f *_.c
1.1.1.2 maekawa 574:
575: .c.o:
1.1.1.4 ! ohara 576: $(COMPILE) -c `test -f $< || echo '$(srcdir)/'`$<
! 577:
1.1.1.2 maekawa 578: .c.obj:
579: $(COMPILE) -c `cygpath -w $<`
1.1.1.4 ! ohara 580:
1.1.1.2 maekawa 581: .c.lo:
1.1.1.4 ! ohara 582: $(LTCOMPILE) -c -o $@ `test -f $< || echo '$(srcdir)/'`$<
1.1.1.2 maekawa 583: assert_.c: assert.c $(ANSI2KNR)
1.1.1.4 ! ohara 584: $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/assert.c; then echo $(srcdir)/assert.c; else echo assert.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > assert_.c || rm -f assert_.c
1.1.1.2 maekawa 585: compat_.c: compat.c $(ANSI2KNR)
1.1.1.4 ! ohara 586: $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/compat.c; then echo $(srcdir)/compat.c; else echo compat.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > compat_.c || rm -f compat_.c
1.1.1.2 maekawa 587: errno_.c: errno.c $(ANSI2KNR)
1.1.1.4 ! ohara 588: $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/errno.c; then echo $(srcdir)/errno.c; else echo errno.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > errno_.c || rm -f errno_.c
1.1.1.2 maekawa 589: extract-dbl_.c: extract-dbl.c $(ANSI2KNR)
1.1.1.4 ! ohara 590: $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/extract-dbl.c; then echo $(srcdir)/extract-dbl.c; else echo extract-dbl.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > extract-dbl_.c || rm -f extract-dbl_.c
1.1.1.2 maekawa 591: insert-dbl_.c: insert-dbl.c $(ANSI2KNR)
1.1.1.4 ! ohara 592: $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/insert-dbl.c; then echo $(srcdir)/insert-dbl.c; else echo insert-dbl.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > insert-dbl_.c || rm -f insert-dbl_.c
1.1.1.2 maekawa 593: memory_.c: memory.c $(ANSI2KNR)
1.1.1.4 ! ohara 594: $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/memory.c; then echo $(srcdir)/memory.c; else echo memory.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > memory_.c || rm -f memory_.c
1.1.1.2 maekawa 595: mp_bpl_.c: mp_bpl.c $(ANSI2KNR)
1.1.1.4 ! ohara 596: $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/mp_bpl.c; then echo $(srcdir)/mp_bpl.c; else echo mp_bpl.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > mp_bpl_.c || rm -f mp_bpl_.c
1.1.1.2 maekawa 597: mp_clz_tab_.c: mp_clz_tab.c $(ANSI2KNR)
1.1.1.4 ! ohara 598: $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/mp_clz_tab.c; then echo $(srcdir)/mp_clz_tab.c; else echo mp_clz_tab.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > mp_clz_tab_.c || rm -f mp_clz_tab_.c
1.1.1.2 maekawa 599: mp_minv_tab_.c: mp_minv_tab.c $(ANSI2KNR)
1.1.1.4 ! ohara 600: $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/mp_minv_tab.c; then echo $(srcdir)/mp_minv_tab.c; else echo mp_minv_tab.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > mp_minv_tab_.c || rm -f mp_minv_tab_.c
1.1.1.2 maekawa 601: mp_set_fns_.c: mp_set_fns.c $(ANSI2KNR)
1.1.1.4 ! ohara 602: $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/mp_set_fns.c; then echo $(srcdir)/mp_set_fns.c; else echo mp_set_fns.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > mp_set_fns_.c || rm -f mp_set_fns_.c
1.1.1.2 maekawa 603: rand_.c: rand.c $(ANSI2KNR)
1.1.1.4 ! ohara 604: $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/rand.c; then echo $(srcdir)/rand.c; else echo rand.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > rand_.c || rm -f rand_.c
1.1.1.2 maekawa 605: randclr_.c: randclr.c $(ANSI2KNR)
1.1.1.4 ! ohara 606: $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/randclr.c; then echo $(srcdir)/randclr.c; else echo randclr.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > randclr_.c || rm -f randclr_.c
! 607: randdef_.c: randdef.c $(ANSI2KNR)
! 608: $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/randdef.c; then echo $(srcdir)/randdef.c; else echo randdef.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > randdef_.c || rm -f randdef_.c
1.1.1.2 maekawa 609: randlc_.c: randlc.c $(ANSI2KNR)
1.1.1.4 ! ohara 610: $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/randlc.c; then echo $(srcdir)/randlc.c; else echo randlc.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > randlc_.c || rm -f randlc_.c
! 611: randlc2s_.c: randlc2s.c $(ANSI2KNR)
! 612: $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/randlc2s.c; then echo $(srcdir)/randlc2s.c; else echo randlc2s.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > randlc2s_.c || rm -f randlc2s_.c
1.1.1.2 maekawa 613: randlc2x_.c: randlc2x.c $(ANSI2KNR)
1.1.1.4 ! ohara 614: $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/randlc2x.c; then echo $(srcdir)/randlc2x.c; else echo randlc2x.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > randlc2x_.c || rm -f randlc2x_.c
1.1.1.2 maekawa 615: randraw_.c: randraw.c $(ANSI2KNR)
1.1.1.4 ! ohara 616: $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/randraw.c; then echo $(srcdir)/randraw.c; else echo randraw.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > randraw_.c || rm -f randraw_.c
! 617: rands_.c: rands.c $(ANSI2KNR)
! 618: $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/rands.c; then echo $(srcdir)/rands.c; else echo rands.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > rands_.c || rm -f rands_.c
1.1.1.2 maekawa 619: randsd_.c: randsd.c $(ANSI2KNR)
1.1.1.4 ! ohara 620: $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/randsd.c; then echo $(srcdir)/randsd.c; else echo randsd.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > randsd_.c || rm -f randsd_.c
1.1.1.2 maekawa 621: randsdui_.c: randsdui.c $(ANSI2KNR)
1.1.1.4 ! ohara 622: $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/randsdui.c; then echo $(srcdir)/randsdui.c; else echo randsdui.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > randsdui_.c || rm -f randsdui_.c
! 623: tal-debug_.c: tal-debug.c $(ANSI2KNR)
! 624: $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/tal-debug.c; then echo $(srcdir)/tal-debug.c; else echo tal-debug.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > tal-debug_.c || rm -f tal-debug_.c
! 625: tal-notreent_.c: tal-notreent.c $(ANSI2KNR)
! 626: $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/tal-notreent.c; then echo $(srcdir)/tal-notreent.c; else echo tal-notreent.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > tal-notreent_.c || rm -f tal-notreent_.c
! 627: tal-reent_.c: tal-reent.c $(ANSI2KNR)
! 628: $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/tal-reent.c; then echo $(srcdir)/tal-reent.c; else echo tal-reent.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > tal-reent_.c || rm -f tal-reent_.c
1.1.1.2 maekawa 629: version_.c: version.c $(ANSI2KNR)
1.1.1.4 ! ohara 630: $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/version.c; then echo $(srcdir)/version.c; else echo version.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > version_.c || rm -f version_.c
1.1.1.2 maekawa 631: assert_.$(OBJEXT) assert_.lo compat_.$(OBJEXT) compat_.lo \
632: errno_.$(OBJEXT) errno_.lo extract-dbl_.$(OBJEXT) extract-dbl_.lo \
633: insert-dbl_.$(OBJEXT) insert-dbl_.lo memory_.$(OBJEXT) memory_.lo \
634: mp_bpl_.$(OBJEXT) mp_bpl_.lo mp_clz_tab_.$(OBJEXT) mp_clz_tab_.lo \
635: mp_minv_tab_.$(OBJEXT) mp_minv_tab_.lo mp_set_fns_.$(OBJEXT) \
636: mp_set_fns_.lo rand_.$(OBJEXT) rand_.lo randclr_.$(OBJEXT) randclr_.lo \
1.1.1.4 ! ohara 637: randdef_.$(OBJEXT) randdef_.lo randlc_.$(OBJEXT) randlc_.lo \
! 638: randlc2s_.$(OBJEXT) randlc2s_.lo randlc2x_.$(OBJEXT) randlc2x_.lo \
! 639: randraw_.$(OBJEXT) randraw_.lo rands_.$(OBJEXT) rands_.lo \
! 640: randsd_.$(OBJEXT) randsd_.lo randsdui_.$(OBJEXT) randsdui_.lo \
! 641: tal-debug_.$(OBJEXT) tal-debug_.lo tal-notreent_.$(OBJEXT) \
! 642: tal-notreent_.lo tal-reent_.$(OBJEXT) tal-reent_.lo version_.$(OBJEXT) \
! 643: version_.lo : $(ANSI2KNR)
! 644:
! 645: .cc.o:
! 646: $(CXXCOMPILE) -c -o $@ `test -f $< || echo '$(srcdir)/'`$<
1.1.1.2 maekawa 647:
1.1.1.4 ! ohara 648: .cc.obj:
! 649: $(CXXCOMPILE) -c -o $@ `cygpath -w $<`
! 650:
! 651: .cc.lo:
! 652: $(LTCXXCOMPILE) -c -o $@ `test -f $< || echo '$(srcdir)/'`$<
1.1.1.2 maekawa 653:
1.1.1.4 ! ohara 654: $(srcdir)/version.texi: @MAINTAINER_MODE_TRUE@ $(srcdir)/stamp-vti
! 655: @:
1.1.1.2 maekawa 656: $(srcdir)/stamp-vti: gmp.texi $(top_srcdir)/configure.in
1.1.1.4 ! ohara 657: @(set `$(SHELL) $(srcdir)/mdate-sh $(srcdir)/gmp.texi`; \
! 658: echo "@set UPDATED $$1 $$2 $$3"; \
! 659: echo "@set UPDATED-MONTH $$2 $$3"; \
! 660: echo "@set EDITION $(VERSION)"; \
! 661: echo "@set VERSION $(VERSION)") > vti.tmp
1.1.1.2 maekawa 662: @cmp -s vti.tmp $(srcdir)/version.texi \
663: || (echo "Updating $(srcdir)/version.texi"; \
664: cp vti.tmp $(srcdir)/version.texi)
665: -@rm -f vti.tmp
666: @cp $(srcdir)/version.texi $@
667:
668: mostlyclean-vti:
669: -rm -f vti.tmp
670:
671: maintainer-clean-vti:
1.1.1.4 ! ohara 672: @MAINTAINER_MODE_TRUE@ -rm -f $(srcdir)/stamp-vti $(srcdir)/version.texi
1.1.1.2 maekawa 673:
1.1.1.4 ! ohara 674: gmp.info: gmp.texi $(srcdir)/version.texi $(gmp_TEXINFOS)
! 675: gmp.dvi: gmp.texi $(srcdir)/version.texi $(gmp_TEXINFOS)
1.1.1.2 maekawa 676:
677: .texi.info:
678: @cd $(srcdir) && rm -f $@ $@-[0-9] $@-[0-9][0-9]
679: cd $(srcdir) \
1.1.1.4 ! ohara 680: && $(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) \
! 681: `echo $< | sed 's,.*/,,'`
1.1.1.2 maekawa 682:
683: .texi.dvi:
684: TEXINPUTS=$(srcdir):$$TEXINPUTS \
1.1.1.4 ! ohara 685: MAKEINFO='$(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) -I $(srcdir)' \
! 686: $(TEXI2DVI) $<
1.1.1.2 maekawa 687:
688: .texi:
689: @cd $(srcdir) && rm -f $@ $@-[0-9] $@-[0-9][0-9]
690: cd $(srcdir) \
1.1.1.4 ! ohara 691: && $(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) \
! 692: `echo $< | sed 's,.*/,,'`
1.1.1.2 maekawa 693:
1.1.1.4 ! ohara 694: MAKEINFO = @MAKEINFO@
! 695: TEXI2DVI = texi2dvi
! 696: DVIPS = dvips
1.1.1.2 maekawa 697: .dvi.ps:
698: $(DVIPS) $< -o $@
699:
1.1.1.4 ! ohara 700: uninstall-info-am:
1.1.1.2 maekawa 701: $(PRE_UNINSTALL)
1.1.1.4 ! ohara 702: @if (install-info --version && \
! 703: install-info --version | fgrep -i -v debian) >/dev/null 2>&1; then \
1.1.1.2 maekawa 704: list='$(INFO_DEPS)'; \
705: for file in $$list; do \
706: echo " install-info --info-dir=$(DESTDIR)$(infodir) --remove $(DESTDIR)$(infodir)/$$file"; \
707: install-info --info-dir=$(DESTDIR)$(infodir) --remove $(DESTDIR)$(infodir)/$$file; \
708: done; \
709: else :; fi
710: @$(NORMAL_UNINSTALL)
711: @list='$(INFO_DEPS)'; \
712: for file in $$list; do \
713: (if cd $(DESTDIR)$(infodir); then \
714: echo " rm -f $$file $$file-[0-9] $$file-[0-9][0-9])"; \
715: rm -f $$file $$file-[0-9] $$file-[0-9][0-9]; \
716: else :; fi); \
717: done
718:
719: dist-info: $(INFO_DEPS)
720: list='$(INFO_DEPS)'; \
721: for base in $$list; do \
722: d=$(srcdir); \
723: for file in `CDPATH=: && cd $$d && eval echo $$base*`; do \
724: test -f $(distdir)/$$file \
725: || cp -p $$d/$$file $(distdir)/$$file; \
726: done; \
727: done
728:
729: mostlyclean-aminfo:
1.1.1.4 ! ohara 730: -rm -f gmp.aux gmp.cp gmp.cps gmp.dvi gmp.fn gmp.fns gmp.ky gmp.log gmp.pg \
! 731: gmp.ps gmp.toc gmp.tp gmp.vr gmp.vrs
1.1.1.2 maekawa 732:
733: maintainer-clean-aminfo:
1.1.1.4 ! ohara 734: cd $(srcdir) && \
! 735: for i in $(INFO_DEPS); do \
1.1.1.2 maekawa 736: rm -f $$i; \
737: if test "`echo $$i-[0-9]*`" != "$$i-[0-9]*"; then \
738: rm -f $$i-[0-9]*; \
739: fi; \
740: done
741: install-includeHEADERS: $(include_HEADERS)
742: @$(NORMAL_INSTALL)
743: $(mkinstalldirs) $(DESTDIR)$(includedir)
744: @list='$(include_HEADERS)'; for p in $$list; do \
1.1.1.4 ! ohara 745: if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
1.1.1.2 maekawa 746: f="`echo $$p | sed -e 's|^.*/||'`"; \
1.1.1.4 ! ohara 747: echo " $(INSTALL_HEADER) $$d$$p $(DESTDIR)$(includedir)/$$f"; \
! 748: $(INSTALL_HEADER) $$d$$p $(DESTDIR)$(includedir)/$$f; \
1.1.1.2 maekawa 749: done
750:
751: uninstall-includeHEADERS:
752: @$(NORMAL_UNINSTALL)
753: @list='$(include_HEADERS)'; for p in $$list; do \
754: f="`echo $$p | sed -e 's|^.*/||'`"; \
755: echo " rm -f $(DESTDIR)$(includedir)/$$f"; \
756: rm -f $(DESTDIR)$(includedir)/$$f; \
757: done
1.1.1.4 ! ohara 758: install-nodist_includeHEADERS: $(nodist_include_HEADERS)
! 759: @$(NORMAL_INSTALL)
! 760: $(mkinstalldirs) $(DESTDIR)$(includedir)
! 761: @list='$(nodist_include_HEADERS)'; for p in $$list; do \
! 762: if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
! 763: f="`echo $$p | sed -e 's|^.*/||'`"; \
! 764: echo " $(INSTALL_HEADER) $$d$$p $(DESTDIR)$(includedir)/$$f"; \
! 765: $(INSTALL_HEADER) $$d$$p $(DESTDIR)$(includedir)/$$f; \
! 766: done
! 767:
! 768: uninstall-nodist_includeHEADERS:
! 769: @$(NORMAL_UNINSTALL)
! 770: @list='$(nodist_include_HEADERS)'; for p in $$list; do \
! 771: f="`echo $$p | sed -e 's|^.*/||'`"; \
! 772: echo " rm -f $(DESTDIR)$(includedir)/$$f"; \
! 773: rm -f $(DESTDIR)$(includedir)/$$f; \
! 774: done
1.1.1.2 maekawa 775:
776: # This directory's subdirectories are mostly independent; you can cd
777: # into them and run `make' without going through this Makefile.
778: # To change the values of `make' variables: instead of editing Makefiles,
779: # (1) if the variable is set in `config.status', edit `config.status'
780: # (which will cause the Makefiles to be regenerated when you run `make');
781: # (2) otherwise, pass the desired values on the `make' command line.
1.1.1.4 ! ohara 782: $(RECURSIVE_TARGETS):
1.1.1.2 maekawa 783: @set fnord $(MAKEFLAGS); amf=$$2; \
784: dot_seen=no; \
785: target=`echo $@ | sed s/-recursive//`; \
786: list='$(SUBDIRS)'; for subdir in $$list; do \
787: echo "Making $$target in $$subdir"; \
788: if test "$$subdir" = "."; then \
789: dot_seen=yes; \
790: local_target="$$target-am"; \
791: else \
792: local_target="$$target"; \
793: fi; \
794: (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
795: || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
796: done; \
797: if test "$$dot_seen" = "no"; then \
798: $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
799: fi; test -z "$$fail"
800:
801: mostlyclean-recursive clean-recursive distclean-recursive \
802: maintainer-clean-recursive:
803: @set fnord $(MAKEFLAGS); amf=$$2; \
804: dot_seen=no; \
1.1.1.4 ! ohara 805: case "$@" in \
! 806: distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
! 807: *) list='$(SUBDIRS)' ;; \
! 808: esac; \
! 809: rev=''; for subdir in $$list; do \
! 810: if test "$$subdir" = "."; then :; else \
! 811: rev="$$subdir $$rev"; \
! 812: fi; \
1.1.1.2 maekawa 813: done; \
1.1.1.4 ! ohara 814: rev="$$rev ."; \
1.1.1.2 maekawa 815: target=`echo $@ | sed s/-recursive//`; \
816: for subdir in $$rev; do \
817: echo "Making $$target in $$subdir"; \
818: if test "$$subdir" = "."; then \
819: local_target="$$target-am"; \
820: else \
821: local_target="$$target"; \
822: fi; \
823: (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
824: || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
825: done && test -z "$$fail"
826: tags-recursive:
827: list='$(SUBDIRS)'; for subdir in $$list; do \
828: test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
829: done
830:
831: tags: TAGS
832:
833: ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
834: list='$(SOURCES) $(HEADERS) $(TAGS_FILES)'; \
835: unique=`for i in $$list; do \
836: if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
837: done | \
838: $(AWK) ' { files[$$0] = 1; } \
839: END { for (i in files) print i; }'`; \
1.1.1.4 ! ohara 840: mkid -fID $$unique $(LISP)
1.1.1.2 maekawa 841:
842: TAGS: tags-recursive $(HEADERS) $(SOURCES) config.in $(TAGS_DEPENDENCIES) \
843: $(TAGS_FILES) $(LISP)
844: tags=; \
845: here=`pwd`; \
846: list='$(SUBDIRS)'; for subdir in $$list; do \
1.1.1.4 ! ohara 847: if test "$$subdir" = .; then :; else \
1.1.1.2 maekawa 848: test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
1.1.1.4 ! ohara 849: fi; \
1.1.1.2 maekawa 850: done; \
851: list='$(SOURCES) $(HEADERS) $(TAGS_FILES)'; \
852: unique=`for i in $$list; do \
853: if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
854: done | \
855: $(AWK) ' { files[$$0] = 1; } \
856: END { for (i in files) print i; }'`; \
857: test -z "$(ETAGS_ARGS)config.in$$unique$(LISP)$$tags" \
858: || etags $(ETAGS_ARGS) $$tags config.in $$unique $(LISP)
859:
1.1.1.4 ! ohara 860: GTAGS:
! 861: here=`CDPATH=: && cd $(top_builddir) && pwd` \
! 862: && cd $(top_srcdir) \
! 863: && gtags -i $(GTAGS_ARGS) $$here
1.1.1.2 maekawa 864:
865: distclean-tags:
1.1.1.4 ! ohara 866: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH
1.1.1.2 maekawa 867:
1.1.1.4 ! ohara 868: DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
1.1.1.2 maekawa 869:
1.1.1.4 ! ohara 870: top_distdir = .
! 871: # Avoid unsightly `./'.
1.1.1.2 maekawa 872: distdir = $(PACKAGE)-$(VERSION)
873:
1.1.1.4 ! ohara 874: GZIP_ENV = --best
! 875:
! 876: distdir: $(DISTFILES)
! 877: -chmod -R a+w $(distdir) >/dev/null 2>&1; rm -rf $(distdir)
! 878: mkdir $(distdir)
! 879: $(mkinstalldirs) $(distdir)/. $(distdir)/demos $(distdir)/demos/calc $(distdir)/demos/expr $(distdir)/mpfr
! 880: @for file in $(DISTFILES); do \
! 881: if test -f $$file; then d=.; else d=$(srcdir); fi; \
! 882: dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
! 883: if test "$$dir" != "$$file" && test "$$dir" != "."; then \
! 884: $(mkinstalldirs) "$(distdir)/$$dir"; \
! 885: fi; \
! 886: if test -d $$d/$$file; then \
! 887: cp -pR $$d/$$file $(distdir) \
! 888: || exit 1; \
! 889: else \
! 890: test -f $(distdir)/$$file \
! 891: || cp -p $$d/$$file $(distdir)/$$file \
! 892: || exit 1; \
! 893: fi; \
! 894: done
! 895: for subdir in $(DIST_SUBDIRS); do \
! 896: if test "$$subdir" = .; then :; else \
! 897: test -d $(distdir)/$$subdir \
! 898: || mkdir $(distdir)/$$subdir \
! 899: || exit 1; \
! 900: (cd $$subdir && \
! 901: $(MAKE) $(AM_MAKEFLAGS) \
! 902: top_distdir="$(top_distdir)" \
! 903: distdir=../$(distdir)/$$subdir \
! 904: distdir) \
! 905: || exit 1; \
! 906: fi; \
! 907: done
! 908: $(MAKE) $(AM_MAKEFLAGS) \
! 909: top_distdir="${top_distdir}" distdir="$(distdir)" \
! 910: dist-info dist-hook
! 911: -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
! 912: ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
! 913: ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
! 914: ! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \
! 915: || chmod -R a+r $(distdir)
! 916: dist: distdir
! 917: $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
! 918: -chmod -R a+w $(distdir) >/dev/null 2>&1; rm -rf $(distdir)
1.1.1.2 maekawa 919:
920: # This target untars the dist file and tries a VPATH configuration. Then
921: # it guarantees that the distribution is self-contained by making another
922: # tarfile.
923: distcheck: dist
924: -chmod -R a+w $(distdir) > /dev/null 2>&1; rm -rf $(distdir)
925: GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(AMTAR) xf -
926: chmod -R a-w $(distdir); chmod a+w $(distdir)
927: mkdir $(distdir)/=build
928: mkdir $(distdir)/=inst
929: chmod a-w $(distdir)
930: dc_install_base=`CDPATH=: && cd $(distdir)/=inst && pwd` \
931: && cd $(distdir)/=build \
932: && ../configure --srcdir=.. --prefix=$$dc_install_base \
933: && $(MAKE) $(AM_MAKEFLAGS) \
934: && $(MAKE) $(AM_MAKEFLAGS) dvi \
935: && $(MAKE) $(AM_MAKEFLAGS) check \
936: && $(MAKE) $(AM_MAKEFLAGS) install \
937: && $(MAKE) $(AM_MAKEFLAGS) installcheck \
938: && $(MAKE) $(AM_MAKEFLAGS) uninstall \
1.1.1.4 ! ohara 939: && (test `find $$dc_install_base -type f -print | wc -l` -le 1 \
! 940: || (echo "Error: files left after uninstall" 1>&2; \
! 941: exit 1) ) \
1.1.1.2 maekawa 942: && $(MAKE) $(AM_MAKEFLAGS) dist \
943: && $(MAKE) $(AM_MAKEFLAGS) distclean \
944: && rm -f $(distdir).tar.gz \
1.1.1.4 ! ohara 945: && (test `find . -type f -print | wc -l` -eq 0 \
! 946: || (echo "Error: files left after distclean" 1>&2; \
! 947: exit 1) )
1.1.1.2 maekawa 948: -chmod -R a+w $(distdir) > /dev/null 2>&1; rm -rf $(distdir)
1.1.1.4 ! ohara 949: @echo "$(distdir).tar.gz is ready for distribution" | \
! 950: sed 'h;s/./=/g;p;x;p;x'
1.1.1.2 maekawa 951: check-am: all-am
952: check: check-recursive
1.1.1.4 ! ohara 953: all-am: Makefile $(INFO_DEPS) $(ANSI2KNR) $(LTLIBRARIES) $(HEADERS) \
! 954: config.h
! 955: installdirs: installdirs-recursive
! 956: installdirs-am:
! 957: $(mkinstalldirs) $(DESTDIR)$(libdir) $(DESTDIR)$(infodir) $(DESTDIR)$(includedir) $(DESTDIR)$(includedir)
1.1.1.2 maekawa 958:
1.1.1.4 ! ohara 959: install: install-recursive
1.1.1.2 maekawa 960: install-exec: install-exec-recursive
961: install-data: install-data-recursive
1.1.1.4 ! ohara 962: uninstall: uninstall-recursive
1.1.1.2 maekawa 963:
964: install-am: all-am
965: @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
966:
1.1.1.4 ! ohara 967: installcheck: installcheck-recursive
! 968: install-strip:
! 969: $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
! 970: `test -z '$(STRIP)' || \
! 971: echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
1.1.1.2 maekawa 972: mostlyclean-generic:
1.1.1.4 ! ohara 973: -test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES)
1.1.1.2 maekawa 974:
975: clean-generic:
976:
977: distclean-generic:
1.1.1.4 ! ohara 978: -rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
1.1.1.2 maekawa 979: -test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES)
980:
981: maintainer-clean-generic:
1.1.1.4 ! ohara 982: @echo "This command is intended for maintainers to use"
! 983: @echo "it deletes files that may require special tools to rebuild."
! 984: clean: clean-recursive
1.1.1.2 maekawa 985:
1.1.1.4 ! ohara 986: clean-am: clean-generic clean-krextra clean-libLTLIBRARIES clean-libtool \
! 987: mostlyclean-am
1.1.1.2 maekawa 988:
1.1.1.4 ! ohara 989: dist-all: distdir
! 990: $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
! 991: -chmod -R a+w $(distdir) >/dev/null 2>&1; rm -rf $(distdir)
! 992: distclean: distclean-recursive
! 993: -rm -f config.status config.cache config.log
! 994: distclean-am: clean-am distclean-compile distclean-generic distclean-hdr \
! 995: distclean-libtool distclean-tags
1.1.1.2 maekawa 996:
1.1.1.4 ! ohara 997: dvi: dvi-recursive
1.1.1.2 maekawa 998:
1.1.1.4 ! ohara 999: dvi-am: $(DVIS)
1.1.1.2 maekawa 1000:
1.1.1.4 ! ohara 1001: info: info-recursive
1.1.1.2 maekawa 1002:
1.1.1.4 ! ohara 1003: info-am: $(INFO_DEPS)
! 1004:
! 1005: install-data-am: install-includeHEADERS install-info-am \
! 1006: install-nodist_includeHEADERS
! 1007:
! 1008: install-exec-am: install-libLTLIBRARIES
! 1009:
! 1010: install-info: install-info-recursive
! 1011:
! 1012: install-info-am: $(INFO_DEPS)
! 1013: @$(NORMAL_INSTALL)
! 1014: $(mkinstalldirs) $(DESTDIR)$(infodir)
! 1015: @list='$(INFO_DEPS)'; \
! 1016: for file in $$list; do \
! 1017: d=$(srcdir); \
! 1018: for ifile in `CDPATH=: && cd $$d && echo $$file $$file-[0-9] $$file-[0-9][0-9]`; do \
! 1019: if test -f $$d/$$ifile; then \
! 1020: echo " $(INSTALL_DATA) $$d/$$ifile $(DESTDIR)$(infodir)/$$ifile"; \
! 1021: $(INSTALL_DATA) $$d/$$ifile $(DESTDIR)$(infodir)/$$ifile; \
! 1022: else : ; fi; \
! 1023: done; \
! 1024: done
! 1025: @$(POST_INSTALL)
! 1026: @if (install-info --version && \
! 1027: install-info --version | fgrep -i -v debian) >/dev/null 2>&1; then \
! 1028: list='$(INFO_DEPS)'; \
! 1029: for file in $$list; do \
! 1030: echo " install-info --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/$$file";\
! 1031: install-info --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/$$file || :;\
! 1032: done; \
! 1033: else : ; fi
! 1034: install-man:
! 1035:
! 1036: installcheck-am:
1.1.1.2 maekawa 1037:
1038: maintainer-clean: maintainer-clean-recursive
1039:
1.1.1.4 ! ohara 1040: maintainer-clean-am: distclean-am maintainer-clean-aminfo \
! 1041: maintainer-clean-generic maintainer-clean-vti
1.1.1.2 maekawa 1042:
1.1.1.4 ! ohara 1043: mostlyclean: mostlyclean-recursive
1.1.1.2 maekawa 1044:
1.1.1.4 ! ohara 1045: mostlyclean-am: mostlyclean-aminfo mostlyclean-compile \
! 1046: mostlyclean-generic mostlyclean-kr mostlyclean-libtool \
! 1047: mostlyclean-vti
! 1048:
! 1049: uninstall-am: uninstall-includeHEADERS uninstall-info-am \
! 1050: uninstall-libLTLIBRARIES uninstall-nodist_includeHEADERS
! 1051:
! 1052: uninstall-info: uninstall-info-recursive
! 1053:
! 1054: .PHONY: $(RECURSIVE_TARGETS) GTAGS all all-am check check-am clean \
! 1055: clean-generic clean-krextra clean-libLTLIBRARIES clean-libtool \
! 1056: clean-recursive dist dist-all dist-info distcheck distclean \
! 1057: distclean-compile distclean-generic distclean-hdr \
! 1058: distclean-libtool distclean-recursive distclean-tags distdir \
! 1059: dvi dvi-am dvi-recursive info info-am info-recursive install \
! 1060: install-am install-data install-data-am install-data-recursive \
! 1061: install-exec install-exec-am install-exec-recursive \
! 1062: install-includeHEADERS install-info install-info-am \
! 1063: install-info-recursive install-libLTLIBRARIES install-man \
! 1064: install-nodist_includeHEADERS install-recursive install-strip \
! 1065: installcheck installcheck-am installdirs installdirs-am \
! 1066: installdirs-recursive maintainer-clean maintainer-clean-aminfo \
! 1067: maintainer-clean-generic maintainer-clean-recursive \
! 1068: maintainer-clean-vti mostlyclean mostlyclean-aminfo \
! 1069: mostlyclean-compile mostlyclean-generic mostlyclean-kr \
! 1070: mostlyclean-libtool mostlyclean-recursive mostlyclean-vti tags \
! 1071: tags-recursive uninstall uninstall-am uninstall-includeHEADERS \
! 1072: uninstall-info-am uninstall-info-recursive \
! 1073: uninstall-libLTLIBRARIES uninstall-nodist_includeHEADERS \
! 1074: uninstall-recursive
! 1075:
! 1076:
! 1077: # Avoid: CVS - cvs directories
! 1078: # *~ - emacs backups
! 1079: # .#* - cvs merge originals
! 1080: #
! 1081: # *~ and .#* only occur when a whole directory without it's own Makefile.am
! 1082: # is distributed, like "doc" or the mpn cpu subdirectories.
! 1083: #
1.1.1.2 maekawa 1084: dist-hook:
1.1.1.4 ! ohara 1085: -find $(distdir) \( -name CVS -type d \) -o -name "*~" -o -name ".#*" \
1.1.1.2 maekawa 1086: | xargs rm -rf
1087: # Tell versions [3.59,3.63) of GNU make to not export all variables.
1088: # Otherwise a system limit (for SysV at least) may be exceeded.
1089: .NOEXPORT:
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>