Annotation of OpenXM_contrib/gmp/macos/Makefile.in, Revision 1.1
1.1 ! maekawa 1: # Copyright (C) 2000 Free Software Foundation, Inc.
! 2: #
! 3: # This file is part of the GNU MP Library.
! 4: #
! 5: # The GNU MP Library is free software; you can redistribute it and/or modify
! 6: # it under the terms of the GNU Lesser General Public License as published by
! 7: # the Free Software Foundation; either version 2.1 of the License, or (at your
! 8: # option) any later version.
! 9: #
! 10: # The GNU MP Library is distributed in the hope that it will be useful, but
! 11: # WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
! 12: # or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
! 13: # License for more details.
! 14: #
! 15: # You should have received a copy of the GNU Lesser General Public License
! 16: # along with the GNU MP Library; see the file COPYING.LIB. If not, write to
! 17: # the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
! 18: # MA 02111-1307, USA.
! 19:
! 20: VERSION = @version@
! 21:
! 22: C = @cc@
! 23: COptions = @coptions@
! 24: Link = @link@
! 25: LinkOptions = @linkoptions@
! 26: ToolOptions = @tooloptions@
! 27: Asm = @asm@
! 28: AOptions = @aoptions@
! 29:
! 30: Lib = "libgmp.{VERSION}"
! 31:
! 32: # These are only needed for creating test programs as MPW tools
! 33:
! 34:
! 35: SysLibs = @syslibs@
! 36:
! 37: # Where to put object code. The reason we don't put them into
! 38: # the same directory is that some objectfiles have the same
! 39: # name.
! 40:
! 41: MpfObjDir = :MpfObj:
! 42: MpnObjDir = :MpnObj:
! 43: MpqObjDir = :MpqObj:
! 44: MpzObjDir = :MpzObj:
! 45: CmnObjDir = :CmnObj:
! 46: AsmObjDir = :AsmObj:
! 47: AsmSrcDir = :Asm:
! 48: MpfBinDir = :MpfBin:
! 49: MpqBinDir = :MpqBin:
! 50: MpzBinDir = :MpzBin:
! 51:
! 52: ObjDirs = {MpfObjDir} {MpnObjDir} {MpqObjDir} {MpzObjDir} @c@
! 53: {CmnObjDir} {AsmObjDir} {AsmSrcDir} @c@
! 54: {MpfBinDir} {MpqBinDir} {MpzBinDir}
! 55:
! 56: ###########################################################################
! 57:
! 58: AsmObjs = @asm_objects@
! 59:
! 60: AsmSrc = @asm_sources@
! 61:
! 62: MpnObjs = {MpnObjDir}mp_bases.o @c@
! 63: @mpn_objects@
! 64:
! 65: MpfObjs = @c@
! 66: @mpf_objects@
! 67:
! 68: MpqObjs = @c@
! 69: @mpq_objects@
! 70:
! 71: MpzObjs = @c@
! 72: @mpz_objects@
! 73:
! 74: CmnObjs = @c@
! 75: @gmp_objects@
! 76:
! 77: Objs = {AsmObjs} {MpfObjs} {MpnObjs} {MpqObjs} {MpzObjs} {CmnObjs}
! 78:
! 79:
! 80:
! 81: ###########################################################################
! 82:
! 83: all @dep@ {Lib}
! 84:
! 85: {Lib} @dep@ {Objs} Makefile
! 86: {Link} {LinkOptions} -o {Lib} {Objs}
! 87:
! 88:
! 89: ###########################################################################
! 90: # Special rules, got them from "mp[fqz]/Makefile.am"
! 91:
! 92: {MpzObjDir}mul_si.o @dep@ ::mpz:mul_siui.c Makefile
! 93: {C} ::mpz:mul_siui.c -o {Targ} {COptions} -d OPERATION_mul_si
! 94:
! 95: {MpzObjDir}mul_ui.o @dep@ ::mpz:mul_siui.c Makefile
! 96: {C} ::mpz:mul_siui.c -o {Targ} {COptions} -d OPERATION_mul_ui
! 97:
! 98:
! 99: {MpfObjDir}floor.o @dep@ ::mpf:integer.c Makefile
! 100: {C} ::mpf:integer.c -o {Targ} {COptions} -d OPERATION_floor
! 101:
! 102: {MpfObjDir}ceil.o @dep@ ::mpf:integer.c Makefile
! 103: {C} ::mpf:integer.c -o {Targ} {COptions} -d OPERATION_ceil
! 104:
! 105: {MpfObjDir}trunc.o @dep@ ::mpf:integer.c Makefile
! 106: {C} ::mpf:integer.c -o {Targ} {COptions} -d OPERATION_trunc
! 107:
! 108:
! 109: ###########################################################################
! 110: # Default rules/ directory rules
! 111:
! 112: {MpfObjDir} @dep@ ::mpf:
! 113:
! 114: {MpnObjDir} @dep@ ::mpn: ::mpn:generic:
! 115:
! 116: {MpqObjDir} @dep@ ::mpq:
! 117:
! 118: {MpzObjDir} @dep@ ::mpz:
! 119:
! 120: {CmnObjDir} @dep@ ::
! 121:
! 122: {AsmObjDir} @dep@ :Asm:
! 123:
! 124: {MpzBinDir} @dep@ ::mpz:tests:
! 125: {MpqBinDir} @dep@ ::mpq:tests:
! 126: {MpfBinDir} @dep@ ::mpf:tests:
! 127:
! 128: .o @dep@ .c Makefile
! 129: {C} {DepDir}{default}.c -o {TargDir}{default}.o {COptions}
! 130:
! 131: .o @dep@ .s Makefile
! 132: {Asm} {DepDir}{default}.s -o {TargDir}{default}.o {AOptions}
! 133:
! 134:
! 135: clean @dep@
! 136: Delete -c -i ::mpz:tests:@wildcard@.o
! 137: Delete -c -i ::mpq:tests:@wildcard@.o
! 138: Delete -c -i ::mpf:tests:@wildcard@.o
! 139: Delete -c -i :@wildcard@:@wildcard@.o
! 140: Delete -c -i :@wildcard@:@wildcard@.s
! 141: Delete -c -i @wildcard@~
! 142:
! 143: distclean @dep@ clean
! 144: Delete -c -i {Lib}
! 145: Delete -c -i @wildcard@~
! 146: Delete -c -i @wildcard@.bak
! 147:
! 148: maintainer_clean @dep@ distclean
! 149: Delete -c -i config.h
! 150: Delete -c -i configure.mac
! 151: Delete -c -i Makefile
! 152: Delete -c -i Makefile.cw
! 153:
! 154: ###########################################################################
! 155: # Test application FIXME: Not ready
! 156:
! 157: TestApp = test
! 158: TestObj = test.o
! 159:
! 160: {TestApp} @dep@ {TestObj}
! 161: {Link} -o {TestApp} {TestObj} {Lib} {SysLibs}
! 162:
! 163:
! 164: ###########################################################################
! 165: # FIXME: This does't work very well.....
! 166: # FIXME: Find dependency somehow. With the Unix mkdep like
! 167: # mkdep -I. -Imacos -Impn -Impn/powerpc32 -Impz \
! 168: # `find . -name "*.c" | grep -v Apple | grep -v tests | grep -v macos`
! 169: # or some MPW tool.
! 170:
! 171: .exe @dep@ .o
! 172: {Link} {ToolOptions} -o {TargDir}{default}.exe {DepDir}{default}.o @c@
! 173: {Lib} {SysLibs}
! 174:
! 175:
! 176: check @dep@ check-mpz check-mpq check-mpf
! 177:
! 178: check-mpz @dep@ z-mul z-tdiv z-tdiv_ui z-fdiv z-fdiv_ui @c@
! 179: z-gcd z-dive z-sqrtrem z-convert z-logic z-bit @c@
! 180: z-powm z-powm_ui z-pow_ui z-2exp z-reuse z-root @c@
! 181: z-jac z-bin z-misc
! 182:
! 183: # FIXME: Left out z-io, can't compile it.
! 184:
! 185: z-mul @dep@ {MpzBinDir}t-mul.exe
! 186: {MpzBinDir}t-mul.exe
! 187:
! 188: z-tdiv @dep@ {MpzBinDir}t-tdiv.exe
! 189: {MpzBinDir}t-tdiv.exe
! 190:
! 191: z-tdiv_ui @dep@ {MpzBinDir}t-tdiv_ui.exe
! 192: {MpzBinDir}t-tdiv_ui.exe
! 193:
! 194: z-fdiv @dep@ {MpzBinDir}t-fdiv.exe
! 195: {MpzBinDir}t-fdiv.exe
! 196:
! 197: z-fdiv_ui @dep@ {MpzBinDir}t-fdiv_ui.exe
! 198: {MpzBinDir}t-fdiv_ui.exe
! 199:
! 200: z-gcd @dep@ {MpzBinDir}t-gcd.exe
! 201: {MpzBinDir}t-gcd.exe
! 202:
! 203: z-dive @dep@ {MpzBinDir}dive.exe
! 204: {MpzBinDir}dive.exe
! 205:
! 206: z-sqrtrem @dep@ {MpzBinDir}t-sqrtrem.exe
! 207: {MpzBinDir}t-sqrtrem.exe
! 208:
! 209: z-convert @dep@ {MpzBinDir}convert.exe
! 210: {MpzBinDir}convert.exe
! 211:
! 212: z-io @dep@ {MpzBinDir}io.exe
! 213: {MpzBinDir}io.exe
! 214:
! 215: z-logic @dep@ {MpzBinDir}logic.exe
! 216: {MpzBinDir}logic.exe
! 217:
! 218: z-bit @dep@ {MpzBinDir}bit.exe
! 219: {MpzBinDir}bit.exe
! 220:
! 221: z-powm @dep@ {MpzBinDir}t-powm.exe
! 222: {MpzBinDir}t-powm.exe
! 223:
! 224: z-powm_ui @dep@ {MpzBinDir}t-powm_ui.exe
! 225: {MpzBinDir}t-powm_ui.exe
! 226:
! 227: z-pow_ui @dep@ {MpzBinDir}t-pow_ui.exe
! 228: {MpzBinDir}t-pow_ui.exe
! 229:
! 230: z-2exp @dep@ {MpzBinDir}t-2exp.exe
! 231: {MpzBinDir}t-2exp.exe
! 232:
! 233: z-reuse @dep@ {MpzBinDir}reuse.exe
! 234: {MpzBinDir}reuse.exe
! 235:
! 236: z-root @dep@ {MpzBinDir}t-root.exe
! 237: {MpzBinDir}t-root.exe
! 238:
! 239: z-jac @dep@ {MpzBinDir}t-jac.exe
! 240: {MpzBinDir}t-jac.exe
! 241:
! 242: z-bin @dep@ {MpzBinDir}t-bin.exe
! 243: {MpzBinDir}t-bin.exe
! 244:
! 245: z-misc @dep@ {MpzBinDir}t-misc.exe
! 246: {MpzBinDir}t-misc.exe
! 247:
! 248:
! 249: check-mpq @dep@ q-cmp q-cmp_ui q-get_d
! 250:
! 251: q-cmp @dep@ {MpqBinDir}t-cmp.exe
! 252: {MpqBinDir}t-cmp.exe
! 253:
! 254: q-cmp_ui @dep@ {MpqBinDir}t-cmp_ui.exe
! 255: {MpqBinDir}t-cmp_ui.exe
! 256:
! 257: q-get_d @dep@ {MpqBinDir}t-get_d.exe
! 258: {MpqBinDir}t-get_d.exe
! 259:
! 260:
! 261: check-mpf @dep@ f-add f-sub f-conv f-sqrt f-muldiv f-dm2exp f-reuse @c@
! 262: f-get_d f-misc
! 263:
! 264: {MpfBinDir}t-add.exe @dep@ ::mpf:tests:t-add.o ::mpf:tests:ref.o
! 265: {Link} {ToolOptions} -o {Targ} {Deps} {Lib} {SysLibs}
! 266:
! 267: {MpfBinDir}t-sub.exe @dep@ ::mpf:tests:t-sub.o ::mpf:tests:ref.o
! 268: {Link} {ToolOptions} -o {Targ} {Deps} {Lib} {SysLibs}
! 269:
! 270: f-add @dep@ {MpfBinDir}t-add.exe
! 271: {MpfBinDir}t-add.exe
! 272:
! 273: f-sub @dep@ {MpfBinDir}t-sub.exe
! 274: {MpfBinDir}t-sub.exe
! 275:
! 276: f-conv @dep@ {MpfBinDir}t-conv.exe
! 277: {MpfBinDir}t-conv.exe
! 278:
! 279: f-sqrt @dep@ {MpfBinDir}t-sqrt.exe
! 280: {MpfBinDir}t-sqrt.exe
! 281:
! 282: f-muldiv @dep@ {MpfBinDir}t-muldiv.exe
! 283: {MpfBinDir}t-muldiv.exe
! 284:
! 285: f-dm2exp @dep@ {MpfBinDir}t-dm2exp.exe
! 286: {MpfBinDir}t-dm2exp.exe
! 287:
! 288: f-reuse @dep@ {MpfBinDir}reuse.exe
! 289: {MpfBinDir}reuse.exe
! 290:
! 291: f-get_d @dep@ {MpfBinDir}t-get_d.exe
! 292: {MpfBinDir}t-get_d.exe
! 293:
! 294: f-misc @dep@ {MpfBinDir}t-misc.exe
! 295: {MpfBinDir}t-misc.exe
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>