HARM
harm and utilities
 All Data Structures Files Functions Variables Typedefs Macros Pages
maketailsuperlong.inc
Go to the documentation of this file.
1 CFLAGSGCCOTHER= -O2 -Wall -Wuninitialized -fno-builtin
2 CFLAGSOTHER= -O3 -tpp7 -axKW -unroll -long_double -Wall -Wuninitialized -fno-builtin
3 
4 ifeq ($(USEMPI),1)
5 CC=$(MCC) -cc=$(COMP) $(CFLAGS3) $(CFLAGS2) $(CDEBUG)
6 CC2=$(MCC) -cc=gcc $(GCCCFLAGS)
7 endif # endif usempich==1
8 
9 ifeq ($(USEMPI),0)
10 CC=$(COMP) $(CFLAGS3) $(CFLAGS2) $(CDEBUG)
11 CC2=gcc $(GCCCFLAGS)
12 endif # endif usempich==0
13 
14 OBJSOTHER= acoshl.o asinhl.o asinl.o atanhl.o atanl.o bdtrl.o btdtrl.o cbrtl.o \ chdtrl.o coshl.o ellpel.o ellpkl.o elliel.o ellikl.o ellpjl.o \ exp10l.o exp2l.o expl.o expx2l.o fdtrl.o gammal.o gdtrl.o igamil.o igaml.o \ incbetl.o incbil.o isnanl.o j0l.o j1l.o jnl.o ldrand.o log10l.o log2l.o \ logl.o nbdtrl.o ndtril.o ndtrl.o pdtrl.o powl.o powil.o sinhl.o sinl.o \ sqrtl.o stdtrl.o tanhl.o tanl.o unityl.o expm1l.o log1pl.o ynl.o \ floorl.o unityl.o mtherr.o
15 # cmplxl.o clogl.o
16 
17 include maketail.harm.inc
18 
19 all: $(PREP) $(CMD) libml.a
20 
21 
22 $(PREP):
23  ( sh ./makedecs.h.sh )
24  ( sh ./makempidecs.h.sh )
25 
26 $(CMD): $(OBJS) makefile libml.a $(OBJSOTHER)
27  $(CC2) $(CFLAGSGCCOTHER) -c polevll.c $(LDFLAGSOTHER)
28  $(CC2) $(GCCCFLAGS) -c freespace.c $(LDFLAGSOTHER)
29  $(CC) $(CFLAGS) -o $(CMD) $(OBJS) freespace.o polevll.o libml.a $(LDFLAGSOTHER)
30 
31 freespace.o : freespace.c
32 
33 clean:
34  rm *.o libml.a
35 
36 cleani:
37  rm *.o *.il libml.a
38 
39 cleanall:
40  rm *.o *.il *~ libml.a
41 
42 cleanbackup:
43  rm *~
44 
45 
46 
47 include maketail.harm.deps.inc
48 
49 
50 # Use $(OBJS) in ar command for libml.a if possible; else *.o
51 libml.a: $(OBJS) mconf.h
52  ar -rv libml.a $(OBJS)
53  ranlib libml.a
54 # ar -rv libml.a *.o
55 
56 # Use assembly language sqrt and floor if available.
57 # sqrtl.c does not give strictly rounded results.
58 # The floor.c routines are slow.
59 #floorl.o: floorl.387
60 # as -o floorl.o floorl.387
61 #sqrtl.o: sqrtl.387
62 # as -o sqrtl.o sqrtl.387
63 #setprec.o: setprec.387
64 # as -o setprec.o setprec.387
65 
66 # ELF versions for linux
67 #floorl.o: floorlelf.387
68 # as -o floorl.o floorlelf.387
69 sqrtl.o: sqrtlelf.387
70  as -o sqrtl.o sqrtlelf.387
71 setprec.o: setprelf.387
72  as -o setprec.o setprelf.387
73 
74 # 68K routines
75 # For Sun 3
76 #floorl.o: floorl.sun
77 # as -o floorl.o floorl.sun
78 #setprec.o: setprec.688
79 # as -o setprec.o setprec.688
80 #sqrtl.o: sqrtl.sun
81 # as -o sqrtl.o sqrtl.sun
82 
83 # For Motorola 68k sysv
84 # Thanks to Philippe De Muyter <phdm@info.ucl.ac.be>
85 #floorl.o: floorl.mot
86 # as -o floorl.o floorl.mot
87 #setprec.o: setprec.mot
88 # as -o setprec.o setprec.mot
89 #sqrtl.o: sqrtl.mot
90 # as -o sqrtl.o sqrtl.mot
91 
92 fltestl: fltestl.c libml.a
93  $(CC) $(CFLAGSOTHER) -o fltestl fltestl.c libml.a
94 
95 fltestl.o: fltestl.c
96 
97 flrtstl: flrtstl.c libml.a
98  $(CC) $(CFLAGSOTHER) -o flrtstl flrtstl.c libml.a
99 
100 flrtstl.o: flrtstl.c
101 
102 nantst: nantst.c libml.a
103  $(CC) $(CFLAGSOTHER) -o nantst nantst.c libml.a
104 
105 nantst.o: nantst.c
106 
107 testvect: testvect.o libml.a
108  $(CC) $(CFLAGSOTHER) -o testvect testvect.o libml.a
109 
110 testvect.o: testvect.c
111  $(CC) -g -c -o testvect.o testvect.c
112 
113 monotl: monotl.o libml.a
114  $(CC) $(CFLAGSOTHER) -o monotl monotl.o libml.a
115 
116 monotl.o: monotl.c
117  $(CC) -g -c -o monotl.o monotl.c
118 
119 acoshl.o: acoshl.c
120 asinhl.o: asinhl.c
121 asinl.o: asinl.c
122 atanhl.o: atanhl.c
123 atanl.o: atanl.c
124 bdtrl.o: bdtrl.c
125 btdtrl.o: btdtrl.c
126 cbrtl.o: cbrtl.c
127 chdtrl.o: chdtrl.c
128 coshl.o: coshl.c
129 ellpel.o: ellpel.c
130 ellpkl.o: ellpkl.c
131 elliel.o: elliel.c
132 ellikl.o: ellikl.c
133 ellpjl.o: ellpjl.c
134 exp10l.o: exp10l.c
135 exp2l.o: exp2l.c
136 expl.o: expl.c
137 expx2l.o: expx2l.c
138 fdtrl.o: fdtrl.c
139 gammal.o: gammal.c
140 gdtrl.o: gdtrl.c
141 igamil.o: igamil.c
142 igaml.o: igaml.c
143 incbetl.o: incbetl.c
144 incbil.o: incbil.c
145 isnanl.o: isnanl.c
146 j0l.o: j0l.c
147 j1l.o: j1l.c
148 jnl.o: jnl.c
149 ldrand.o: ldrand.c
150 log10l.o: log10l.c
151 log2l.o: log2l.c
152 logl.o: logl.c
153 nbdtrl.o: nbdtrl.c
154 ndtril.o: ndtril.c
155 ndtrl.o: ndtrl.c
156 pdtrl.o: pdtrl.c
157 powl.o: powl.c
158 powil.o: powil.c
159 sinhl.o: sinhl.c
160 sinl.o: sinl.c
161 sqrtl.o: sqrtl.c
162 stdtrl.o: stdtrl.c
163 tanhl.o: tanhl.c
164 tanl.o: tanl.c
165 unityl.o: unityl.c
166 ynl.o: ynl.c
167 floorl.o: floorl.c
168 polevll.o: polevll.c
169 unityl.o: unityl.c
170 mtherr.o: mtherr.c
171