Annotation of OpenXM_contrib/pari/Odos/Makefile, Revision 1.1.1.1
1.1 maekawa 1: # Makefile for Pari/GP -- ix86 running EMX (ix86 kernel)
2: #
3: # This file was created by hand. Update it when config/ evolves
4: #
5: # if your make utility doesn't support .IF/.THEN/.ELSE comment out the
6: # relevant lines
7: .IF $(DBG) == 1
8: CFLAGS = -g -Wall
9: RLCFLAGS = -g -Wall
10: XTRAOINL = $(OINLINE)
11: .ELSE
12: CFLAGS = -O3 -fexpensive-optimizations -DGCC_INLINE
13: RLCFLAGS = -O3 -fexpensive-optimizations
14: XTRAOINL =
15: .END
16:
17: SHELL = /bin/sh
18: CC = gcc
19: CPPFLAGS = -I. -I../src/headers
20: LD = gcc
21: LDFLAGS = -Zsysv-signals
22: CPP = gcc -E -I.
23: EMX = c:/emx/bin/emxl.exe
24:
25: RLDIR = ../readline
26: RLINCLUDE = -I$(RLDIR)
27: RLLIBS = $(RLDIR)/libreadline.a -ltermcap
28: LIBS =
29:
30: # use del if RM is not found.
31: RM = rm -f
32: #RM = del
33:
34: # Graphic library.
35: PLOTFILE = plotnull.c
36: PLOTCFLAGS =
37: PLOTLIBS =
38:
39: OBJS = kernel.o mp.o alglin1.o alglin2.o arith1.o arith2.o base1.o base2.o base3.o base4.o base5.o bibli1.o bibli2.o buch1.o buch2.o buch3.o buch4.o galconj.o gen1.o gen2.o gen3.o ifactor1.o mpqs.o polarit1.o polarit2.o polarit3.o rootpol.o trans1.o trans2.o trans3.o elliptic.o galois.o kummer.o nffactor.o stark.o subfield.o subgroup.o thue.o anal.o compat.o errmsg.o es.o helpmsg.o highlvl.o init.o sumiter.o
40: OBJSGP = gp.o gp_init.o gp_rl.o plot.o plotport.o whatnow.o
41: OINLINE = mpinl.o
42:
43: dft: gp.exe
44:
45: lib: libpari.a
46:
47: all: dft lib
48:
49: libpari.a: $(OBJS) $(OINLINE)
50: -$(RM) $@
51: ar r $@ $(OINLINE) @objs
52: ar s $@
53:
54: gp: $(OBJS) $(OBJSGP) $(XTRAOINL)
55: $(LD) -o gp $(LDFLAGS) $(XTRAOINL) @objs @objsgp $(RLLIBS) $(PLOTLIBS) $(LIBS)
56:
57: gp.exe: gp
58: emxbind -q $(EMX) gp gp.exe -C0
59:
60: cleantest:
61: $(RM) *.out *.dif pari.ps
62:
63: clean: cleantest
64: -$(RM) *.o *.s libpari.* gp gp.exe
65:
66: HEADERS = pariinl.h ../src/headers/pari.h ../src/headers/paritype.h ../src/headers/paricast.h ../src/headers/paricom.h ../src/headers/parierr.h ../src/headers/parigen.h ../src/headers/paristio.h ../src/headers/parisys.h ../src/headers/pariport.h
67: level0.s: ../src/kernel/ix86/l0asm.c ../src/kernel/ix86/l0asm.h
68: $(CPP) -o $@ ../src/kernel/ix86/l0asm.c
69: kernel.o: level0.s
70: $(CC) -c $(CFLAGS) $(CPPFLAGS) -o kernel.o level0.s
71: mp.o: $(HEADERS) ../src/kernel/none/mp.c
72: $(CC) -c $(CFLAGS) $(CPPFLAGS) -o mp.o ../src/kernel/none/mp.c
73: mpinl.o: $(HEADERS) ../src/kernel/none/level1.h
74: $(CC) -c $(CFLAGS) $(CPPFLAGS) -o mpinl.o ../src/kernel/none/level1.c
75:
76: alglin1.o: $(HEADERS) ../src/basemath/alglin1.c
77: $(CC) -c $(CFLAGS) $(CPPFLAGS) -o alglin1.o ../src/basemath/alglin1.c
78: alglin2.o: $(HEADERS) ../src/basemath/alglin2.c
79: $(CC) -c $(CFLAGS) $(CPPFLAGS) -o alglin2.o ../src/basemath/alglin2.c
80: arith1.o: $(HEADERS) ../src/basemath/arith1.c
81: $(CC) -c $(CFLAGS) $(CPPFLAGS) -o arith1.o ../src/basemath/arith1.c
82: arith2.o: $(HEADERS) ../src/basemath/arith2.c
83: $(CC) -c $(CFLAGS) $(CPPFLAGS) -o arith2.o ../src/basemath/arith2.c
84: base1.o: $(HEADERS) ../src/headers/parinf.h ../src/basemath/base1.c
85: $(CC) -c $(CFLAGS) $(CPPFLAGS) -o base1.o ../src/basemath/base1.c
86: base2.o: $(HEADERS) ../src/basemath/base2.c
87: $(CC) -c $(CFLAGS) $(CPPFLAGS) -o base2.o ../src/basemath/base2.c
88: base3.o: $(HEADERS) ../src/basemath/base3.c
89: $(CC) -c $(CFLAGS) $(CPPFLAGS) -o base3.o ../src/basemath/base3.c
90: base4.o: $(HEADERS) ../src/basemath/base4.c
91: $(CC) -c $(CFLAGS) $(CPPFLAGS) -o base4.o ../src/basemath/base4.c
92: base5.o: $(HEADERS) ../src/basemath/base5.c
93: $(CC) -c $(CFLAGS) $(CPPFLAGS) -o base5.o ../src/basemath/base5.c
94: bibli1.o: $(HEADERS) ../src/headers/parinf.h ../src/basemath/bibli1.c
95: $(CC) -c $(CFLAGS) $(CPPFLAGS) -o bibli1.o ../src/basemath/bibli1.c
96: bibli2.o: $(HEADERS) ../src/basemath/bibli2.c
97: $(CC) -c $(CFLAGS) $(CPPFLAGS) -o bibli2.o ../src/basemath/bibli2.c
98: buch1.o: $(HEADERS) ../src/basemath/buch1.c
99: $(CC) -c $(CFLAGS) $(CPPFLAGS) -o buch1.o ../src/basemath/buch1.c
100: buch2.o: $(HEADERS) ../src/headers/parinf.h ../src/basemath/buch2.c
101: $(CC) -c $(CFLAGS) $(CPPFLAGS) -o buch2.o ../src/basemath/buch2.c
102: buch3.o: $(HEADERS) ../src/basemath/buch3.c
103: $(CC) -c $(CFLAGS) $(CPPFLAGS) -o buch3.o ../src/basemath/buch3.c
104: buch4.o: $(HEADERS) ../src/basemath/buch4.c
105: $(CC) -c $(CFLAGS) $(CPPFLAGS) -o buch4.o ../src/basemath/buch4.c
106: galconj.o: $(HEADERS) ../src/basemath/galconj.c
107: $(CC) -c $(CFLAGS) $(CPPFLAGS) -o galconj.o ../src/basemath/galconj.c
108: gen1.o: $(HEADERS) ../src/basemath/gen1.c
109: $(CC) -c $(CFLAGS) $(CPPFLAGS) -o gen1.o ../src/basemath/gen1.c
110: gen2.o: $(HEADERS) ../src/basemath/gen2.c
111: $(CC) -c $(CFLAGS) $(CPPFLAGS) -o gen2.o ../src/basemath/gen2.c
112: gen3.o: $(HEADERS) ../src/basemath/gen3.c
113: $(CC) -c $(CFLAGS) $(CPPFLAGS) -o gen3.o ../src/basemath/gen3.c
114: ifactor1.o: $(HEADERS) ../src/basemath/ifactor1.c
115: $(CC) -c $(CFLAGS) $(CPPFLAGS) -o ifactor1.o ../src/basemath/ifactor1.c
116: mpqs.o: $(HEADERS) ../src/modules/mpqs.c
117: $(CC) -c $(CFLAGS) $(CPPFLAGS) -o mpqs.o ../src/modules/mpqs.c
118: polarit1.o: $(HEADERS) ../src/basemath/polarit1.c
119: $(CC) -c $(CFLAGS) $(CPPFLAGS) -o polarit1.o ../src/basemath/polarit1.c
120: polarit2.o: $(HEADERS) ../src/basemath/polarit2.c
121: $(CC) -c $(CFLAGS) $(CPPFLAGS) -o polarit2.o ../src/basemath/polarit2.c
122: polarit3.o: $(HEADERS) ../src/basemath/polarit3.c
123: $(CC) -c $(CFLAGS) $(CPPFLAGS) -o polarit3.o ../src/basemath/polarit3.c
124: rootpol.o: $(HEADERS) ../src/basemath/rootpol.c
125: $(CC) -c $(CFLAGS) $(CPPFLAGS) -o rootpol.o ../src/basemath/rootpol.c
126: subgroup.o: $(HEADERS) ../src/basemath/subgroup.c
127: $(CC) -c $(CFLAGS) $(CPPFLAGS) -o subgroup.o ../src/basemath/subgroup.c
128: trans1.o: $(HEADERS) ../src/basemath/trans1.c
129: $(CC) -c $(CFLAGS) $(CPPFLAGS) -o trans1.o ../src/basemath/trans1.c
130: trans2.o: $(HEADERS) ../src/basemath/trans2.c
131: $(CC) -c $(CFLAGS) $(CPPFLAGS) -o trans2.o ../src/basemath/trans2.c
132: trans3.o: $(HEADERS) ../src/basemath/trans3.c
133: $(CC) -c $(CFLAGS) $(CPPFLAGS) -o trans3.o ../src/basemath/trans3.c
134: elliptic.o: $(HEADERS) ../src/modules/elliptic.c
135: $(CC) -c $(CFLAGS) $(CPPFLAGS) -o elliptic.o ../src/modules/elliptic.c
136: galois.o: $(HEADERS) ../src/modules/galois.c
137: $(CC) -c $(CFLAGS) $(CPPFLAGS) -o galois.o ../src/modules/galois.c
138: kummer.o: $(HEADERS) ../src/modules/kummer.c
139: $(CC) -c $(CFLAGS) $(CPPFLAGS) -o kummer.o ../src/modules/kummer.c
140: nffactor.o: $(HEADERS) ../src/modules/nffactor.c
141: $(CC) -c $(CFLAGS) $(CPPFLAGS) -o nffactor.o ../src/modules/nffactor.c
142: stark.o: $(HEADERS) ../src/modules/stark.c
143: $(CC) -c $(CFLAGS) $(CPPFLAGS) -o stark.o ../src/modules/stark.c
144: subfield.o: $(HEADERS) ../src/modules/subfield.c
145: $(CC) -c $(CFLAGS) $(CPPFLAGS) -o subfield.o ../src/modules/subfield.c
146: thue.o: $(HEADERS) ../src/modules/thue.c
147: $(CC) -c $(CFLAGS) $(CPPFLAGS) -o thue.o ../src/modules/thue.c
148: anal.o: $(HEADERS) ../src/language/anal.h ../src/headers/parinf.h ../src/language/anal.c
149: $(CC) -c $(CFLAGS) $(CPPFLAGS) -o anal.o ../src/language/anal.c
150: compat.o: $(HEADERS) ../src/language/compat.c
151: $(CC) -c $(CFLAGS) $(CPPFLAGS) -o compat.o ../src/language/compat.c
152: errmsg.o: $(HEADERS) ../src/language/errmsg.c
153: $(CC) -c $(CFLAGS) $(CPPFLAGS) -o errmsg.o ../src/language/errmsg.c
154: es.o: $(HEADERS) ../src/language/anal.h ../src/language/es.c
155: $(CC) -c $(CFLAGS) $(CPPFLAGS) -o es.o ../src/language/es.c
156: helpmsg.o: $(HEADERS) ../src/language/helpmsg.c
157: $(CC) -c $(CFLAGS) $(CPPFLAGS) -o helpmsg.o ../src/language/helpmsg.c
158: highlvl.o: $(HEADERS) ../src/gp/highlvl.c
159: $(CC) -c $(CFLAGS) $(CPPFLAGS) -o highlvl.o ../src/gp/highlvl.c
160: init.o: $(HEADERS) ../src/language/anal.h ../src/language/init.c
161: $(CC) -c $(CFLAGS) $(CPPFLAGS) -o init.o ../src/language/init.c
162: sumiter.o: $(HEADERS) ../src/language/anal.h ../src/language/sumiter.c
163: $(CC) -c $(CFLAGS) $(CPPFLAGS) -o sumiter.o ../src/language/sumiter.c
164: gp.o: $(HEADERS) ../src/language/anal.h ../src/gp/gp.h ./paricfg.h ../src/gp/gp.c
165: $(CC) -c $(CFLAGS) $(CPPFLAGS) -I../src/language $(RLINCLUDE) -o gp.o ../src/gp/gp.c
166: gp_init.o: $(HEADERS) ../src/graph/rect.h ../src/gp/gp_init.c
167: $(CC) -c $(CFLAGS) $(CPPFLAGS) -I../src/graph -o gp_init.o ../src/gp/gp_init.c
168: gp_rl.o: $(HEADERS) ../src/language/anal.h ../src/gp/gp.h ./paricfg.h ../src/gp/gp_rl.c
169: $(CC) -c $(RLCFLAGS) $(CPPFLAGS) -I../src/language $(RLINCLUDE) -o gp_rl.o ../src/gp/gp_rl.c
170: plot.o: $(HEADERS) ../src/graph/rect.h ../src/graph/$(PLOTFILE)
171: $(CC) -c $(CFLAGS) $(CPPFLAGS) $(PLOTCFLAGS) -o plot.o ../src/graph/$(PLOTFILE)
172: plotport.o: $(HEADERS) ../src/graph/rect.h ../src/graph/plotport.c
173: $(CC) -c $(CFLAGS) $(CPPFLAGS) -I../src/graph -o plotport.o ../src/graph/plotport.c
174: whatnow.o: $(HEADERS) ../src/language/anal.h ./paricfg.h ../src/gp/whatnow.c
175: $(CC) -c $(CFLAGS) $(CPPFLAGS) -I../src/language -o whatnow.o ../src/gp/whatnow.c
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>