Fix for initialization of scalos preferences library. Library is now loaded only...
[AROS-Contrib.git] / rexx / lstring / makefile.bc
blob9cb133738a699acada9a0007c56edf9587eda8d5
1 # Top-level makefile for BREXX V2  (for Borland-C)
3 # BREXX interpreter
4 # Version:  2.0
5 # Copyright (C) 1991-1998  Vassilis Vlachoudis (V.Vlachoudis@cern.ch)
7 # This interpreter is distributed in the hope that it will be useful,
8 # but WITHOUT ANY WARRANTY; without even the implied warranty of
9 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
12 .AUTODEPEND
14 #               *Translator Definitions*
15 CC = bcc +LSTRING.CFG
16 TASM = TASM
17 TLIB = tlib /0
18 TLINK = tlink
19 LIBPATH = F:\BC\LIB;C:\USR\LIB;LIB
20 INCPATH = F:\BC\INC;..\INC
22 # .path.obj = OBJ\
24 #               *Implicit Rules*
25 .c.obj:
26         $(CC) -c {$* }
28 #       $(TLIB) ..\lib\lstr.lib -+ $@
30 OBJS =  \
31         abbrev.obj \
32         abs.obj \
33         add.obj \
34         atan2.obj \
35         b2x.obj \
36         bitand.obj \
37         bitor.obj \
38         bitxor.obj \
39         bool.obj \
40         c2d.obj \
41         c2x.obj \
42         center.obj \
43         changest.obj \
44         countstr.obj \
45         charin.obj \
46         charout.obj \
47         chars.obj \
48         compare.obj \
49         copies.obj \
50         d2c.obj \
51         d2x.obj \
52         datatype.obj \
53         date.obj \
54         dec.obj \
55         delstr.obj \
56         delword.obj \
57         div.obj \
58         equal.obj \
59         errortxt.obj \
60         expose.obj \
61         format.obj \
62         hashvalu.obj \
63         inc.obj \
64         index.obj \
65         insert.obj \
66         intdiv.obj \
67         justify.obj \
68         lastpos.obj \
69         linein.obj \
70         lineout.obj \
71         lines.obj \
72         lmath.obj \
73         lower.obj \
74         lstring.obj \
75         mod.obj \
76         mult.obj \
77         neg.obj \
78         overlay.obj \
79         pow.obj \
80         print.obj \
81         read.obj \
82         reverse.obj \
83         right.obj \
84         sign.obj \
85         space.obj \
86         stderr.obj \
87         strip.obj \
88         soundex.obj \
89         sub.obj \
90         substr.obj \
91         subword.obj \
92         time.obj \
93         translat.obj \
94         trunc.obj \
95         upper.obj \
96         verify.obj \
97         word.obj \
98         wordidx.obj \
99         wordlen.obj \
100         wordpos.obj \
101         words.obj \
102         write.obj \
103         x2b.obj \
104         x2c.obj \
105         x2d.obj \
106         xrange.obj
108 LINKOBJS =  \
109         -+abbrev.obj \
110         -+abs.obj \
111         -+add.obj \
112         -+atan2.obj \
113         -+b2x.obj \
114         -+bitand.obj \
115         -+bitor.obj \
116         -+bitxor.obj \
117         -+bool.obj \
118         -+c2d.obj \
119         -+c2x.obj \
120         -+center.obj \
121         -+changest.obj \
122         -+countstr.obj \
123         -+charin.obj \
124         -+charout.obj \
125         -+chars.obj \
126         -+compare.obj \
127         -+copies.obj \
128         -+d2c.obj \
129         -+d2x.obj \
130         -+datatype.obj \
131         -+date.obj \
132         -+dec.obj \
133         -+delstr.obj \
134         -+delword.obj \
135         -+div.obj \
136         -+equal.obj \
137         -+errortxt.obj \
138         -+expose.obj \
139         -+format.obj \
140         -+hashvalu.obj \
141         -+inc.obj \
142         -+index.obj \
143         -+insert.obj \
144         -+intdiv.obj \
145         -+justify.obj \
146         -+lastpos.obj \
147         -+linein.obj \
148         -+lineout.obj \
149         -+lines.obj \
150         -+lmath.obj \
151         -+lower.obj \
152         -+lstring.obj \
153         -+mod.obj \
154         -+mult.obj \
155         -+neg.obj \
156         -+overlay.obj \
157         -+pow.obj \
158         -+print.obj \
159         -+read.obj \
160         -+reverse.obj \
161         -+right.obj \
162         -+sign.obj \
163         -+space.obj \
164         -+stderr.obj \
165         -+strip.obj \
166         -+soundex.obj \
167         -+sub.obj \
168         -+substr.obj \
169         -+subword.obj \
170         -+time.obj \
171         -+translat.obj \
172         -+trunc.obj \
173         -+upper.obj \
174         -+verify.obj \
175         -+word.obj \
176         -+wordidx.obj \
177         -+wordlen.obj \
178         -+wordpos.obj \
179         -+words.obj \
180         -+write.obj \
181         -+x2b.obj \
182         -+x2c.obj \
183         -+x2d.obj \
184         -+xrange.obj
187 # Library dependencies
188 ..\lib\lstr.lib: lstring.cfg $(OBJS)
189     $(TLIB) $@ @&&!
190     &
191 $(LINKOBJS)
194 #               *Compiler Configuration File*
196 !if $d(__DEBUG__)
198 ### DEBUG version
200 lstring.cfg: makefile.bc
201   copy &&|
202 -P-c
208 -vi-
209 -weas
210 -wpre
211 -H=lstring.sym
212 -I$(INCPATH)
213 -L$(LIBPATH)
214 -DMSDOS=1;__DEBUG__=1;__GREEK__
215 | lstring.cfg
217 !else
219 ### Optimised version ###
221 !if $d(__8086__)
222 ## Create a 8086 version
223 lstring.cfg: makefile.bc
224   copy &&|
225 -P-c
231 -vi-
232 -weas
233 -wpre
234 -H=lstring.sym
235 -I$(INCPATH)
236 -L$(LIBPATH)
237 -DMSDOS=1;__GREEK__
238 | lstring.cfg
240 !else
242 # If we want to use the FPU
243 #-f287
244 #-ff
246 lstring.cfg: makefile.bc
247   copy &&|
248 -P-c
257 -vi-
258 -weas
259 -wpre
260 -H=lstring.sym
261 -I$(INCPATH)
262 -L$(LIBPATH)
263 -DMSDOS=1;__GREEK__
264 | lstring.cfg
265 !endif
267 !endif