Annotation of OpenXM_contrib/gmp/mpbsd/Makefile.in, Revision 1.1.1.1
1.1 maekawa 1: # Makefile for GNU MP/mpbsd functions
2: # Copyright (C) 1991, 1993, 1994, 1996 Free Software Foundation, Inc.
3:
4: # This file is part of the GNU MP Library.
5:
6: # The GNU MP Library is free software; you can redistribute it and/or modify
7: # it under the terms of the GNU Library General Public License as published by
8: # the Free Software Foundation; either version 2 of the License, or (at your
9: # option) any later version.
10:
11: # The GNU MP Library is distributed in the hope that it will be useful, but
12: # WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
13: # or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public
14: # License for more details.
15:
16: # You should have received a copy of the GNU Library General Public License
17: # along with the GNU MP Library; see the file COPYING.LIB. If not, write to
18: # the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
19: # MA 02111-1307, USA.
20:
21: srcdir = .
22:
23: CC = gcc
24:
25: # If you cross compile on a machine with the same sizes of the integral
26: # types ("int", "long int", "short int", and "char") define this as the
27: # local compiler. Otherwise, you need to look for the uses of LOCAL_CC below,
28: # and handle those cases manually.
29: LOCAL_CC = $(CC)
30: CFLAGS = -g -O
31: AR = ar
32: SHELL = /bin/sh
33:
34: #### host and target specific makefile fragments come in here.
35: ###
36:
37: MPBSD_LINKS = add.c cmp.c gcd.c mul.c pow_ui.c powm.c sqrtrem.c sub.c
38: MPBSD_SRCS = itom.c mdiv.c mfree.c min.c mout.c move.c mtox.c sdiv.c xtom.c \
39: realloc.c $(MPBSD_LINKS)
40:
41: MPBSD_OBJS = itom.o mdiv.o mfree.o min.o mout.o move.o mtox.o sdiv.o xtom.o \
42: realloc.o add.o cmp.o gcd.o mul.o pow_ui.o powm.o sqrtrem.o sub.o
43:
44: INCLUDES = -I. -I.. -I$(srcdir)/../mpz -I../mpn -I$(srcdir)/..
45:
46: libmpbsd.a: Makefile.in $(MPBSD_OBJS)
47: rm -f $@
48: $(AR) cr $@ $(MPBSD_OBJS)
49:
50: .c.o:
51: $(CC) -c $(INCLUDES) -DBERKELEY_MP $(CFLAGS) $(XCFLAGS) $<
52:
53: check:
54: true
55:
56: clean mostlyclean:
57: rm -f *.o libmpbsd.a
58: distclean maintainer-clean: clean
59: rm -f Makefile config.status $(MPBSD_LINKS)
60:
61: Makefile: $(srcdir)/Makefile.in
62: $(SHELL) ./config.status
63:
64: H = $(srcdir)/../gmp.h $(srcdir)/../gmp-impl.h ../mpn/gmp-mparam.h
65: L = $(srcdir)/../longlong.h
66:
67: itom.o: $(srcdir)/itom.c ../mp.h $(H)
68: mdiv.o: $(srcdir)/mdiv.c ../mp.h $(H) $(L) $(srcdir)/../mpz/dmincl.c
69: mfree.o: $(srcdir)/mfree.c ../mp.h $(H)
70: min.o: $(srcdir)/min.c ../mp.h $(H)
71: mout.o: $(srcdir)/mout.c ../mp.h $(H)
72: move.o: $(srcdir)/move.c ../mp.h $(H)
73: mtox.o: $(srcdir)/mtox.c ../mp.h $(H)
74: sdiv.o: $(srcdir)/sdiv.c ../mp.h $(H) $(L)
75: xtom.o: $(srcdir)/xtom.c ../mp.h $(H)
76: add.o: $(srcdir)/../mpz/add.c $(H)
77: cmp.o: $(srcdir)/../mpz/cmp.c $(H)
78: gcd.o: $(srcdir)/../mpz/gcd.c $(H) $(L)
79: mul.o: $(srcdir)/../mpz/mul.c $(H)
80: pow_ui.o: $(srcdir)/../mpz/pow_ui.c $(H) $(L)
81: powm.o: $(srcdir)/../mpz/powm.c $(H) $(L)
82: realloc.o: $(srcdir)/realloc.c $(H)
83: sqrtrem.o: $(srcdir)/../mpz/sqrtrem.c $(H)
84: sub.o: $(srcdir)/../mpz/sub.c $(H)
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>