~ubuntu-branches/ubuntu/precise/openarena/precise

« back to all changes in this revision

Viewing changes to code/tools/lcc/makefile.nt

  • Committer: Bazaar Package Importer
  • Author(s): Ansgar Burchardt
  • Date: 2008-09-05 21:14:51 UTC
  • mfrom: (1.2.1 upstream) (2.1.5 intrepid)
  • Revision ID: james.westby@ubuntu.com-20080905211451-243bmbl6l6gdav7l
* Remove non-free code/tools/lcc (Closes: #496346)
  + Remove hunk from patch 10_fix_build_and_binary_on_alpha
  + debian/rules: Add BUILD_GAME_QVM=0 to $(MAKE) call
    (thanks to Peter De Wachter)
* Remove code/libs containing binary libraries for Mac OS X and Win32
* debian/copyright: Explain which parts of upstream's sources were removed
* debian/rules: replace ${source:Upstream-Version} by 0.7.7
  because the variable also contains the `+dfsg1' part
* Add -fsigned-char to compiler options (Closes: #487970)
  (thanks to Peter De Wachter)
* Add myself to Uploaders
* debian/control: Remove article from beginning of short description,
  don't start short description with a capital letter
* debian/openarena.6: Escape minus signs
  + fixes lintian warnings: hyphen-used-as-minus-sign

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# $Id: makefile.nt 314 2002-10-05 17:07:57Z timo $
2
 
HOSTFILE=etc/win32.c
3
 
TARGET=x86\win32
4
 
TEMPDIR=\\temp
5
 
A=.lib
6
 
O=.obj
7
 
E=.exe
8
 
CC=cl -nologo
9
 
CFLAGS=-DWIN32 -Zi -MLd -Fd$(BUILDDIR)^\
10
 
LD=cl -nologo
11
 
LDFLAGS=-Zi -MLd -Fd$(BUILDDIR)^\
12
 
B=$(BUILDDIR)^\
13
 
T=$B$(TARGET)\tst^\
14
 
C=$Blcc -Wo-lccdir=$(BUILDDIR) -Wf-target=$(TARGET) -I$B$(TARGET)/include
15
 
# $Id: makefile.nt 314 2002-10-05 17:07:57Z timo $
16
 
 
17
 
what:
18
 
        -@echo make all q3rcc lburg q3cpp lcc bprint liblcc triple clean clobber
19
 
 
20
 
all::   q3rcc lburg q3cpp lcc bprint liblcc
21
 
 
22
 
q3rcc:  $Bq3rcc$E
23
 
lburg:  $Blburg$E
24
 
q3cpp:  $Bq3cpp$E
25
 
lcc:    $Blcc$E
26
 
bprint: $Bbprint$E
27
 
liblcc: $Bliblcc$A
28
 
 
29
 
RCCOBJS=$Balloc$O \
30
 
        $Bbind$O \
31
 
        $Bdag$O \
32
 
        $Bdagcheck$O \
33
 
        $Bdecl$O \
34
 
        $Benode$O \
35
 
        $Berror$O \
36
 
        $Bexpr$O \
37
 
        $Bevent$O \
38
 
        $Binit$O \
39
 
        $Binits$O \
40
 
        $Binput$O \
41
 
        $Blex$O \
42
 
        $Blist$O \
43
 
        $Bmain$O \
44
 
        $Boutput$O \
45
 
        $Bprof$O \
46
 
        $Bprofio$O \
47
 
        $Bsimp$O \
48
 
        $Bstmt$O \
49
 
        $Bstring$O \
50
 
        $Bsym$O \
51
 
        $Btrace$O \
52
 
        $Btree$O \
53
 
        $Btypes$O \
54
 
        $Bnull$O \
55
 
        $Bsymbolic$O \
56
 
        $Bgen$O \
57
 
        $Bbytecode$O \
58
 
        $Balpha$O \
59
 
        $Bmips$O \
60
 
        $Bsparc$O \
61
 
        $Bstab$O \
62
 
        $Bx86$O \
63
 
        $Bx86linux$O
64
 
 
65
 
$Bq3rcc$E::     $Bmain$O $Blibrcc$A $(EXTRAOBJS)
66
 
                $(LD) $(LDFLAGS) -Fe$@ $Bmain$O $(EXTRAOBJS) $Blibrcc$A $(EXTRALIBS)
67
 
 
68
 
$Blibrcc$A:     $(RCCOBJS)
69
 
                lib -out:$@ $(RCCOBJS)
70
 
 
71
 
$(RCCOBJS):     src/c.h src/token.h src/config.h
72
 
 
73
 
$Balloc$O:      src/alloc.c;    $(CC) $(CFLAGS) -c -Isrc -Fo$@ src/alloc.c
74
 
$Bbind$O:       src/bind.c;     $(CC) $(CFLAGS) -c -Isrc -Fo$@ src/bind.c
75
 
$Bdag$O:        src/dag.c;      $(CC) $(CFLAGS) -c -Isrc -Fo$@ src/dag.c
76
 
$Bdecl$O:       src/decl.c;     $(CC) $(CFLAGS) -c -Isrc -Fo$@ src/decl.c
77
 
$Benode$O:      src/enode.c;    $(CC) $(CFLAGS) -c -Isrc -Fo$@ src/enode.c
78
 
$Berror$O:      src/error.c;    $(CC) $(CFLAGS) -c -Isrc -Fo$@ src/error.c
79
 
$Bevent$O:      src/event.c;    $(CC) $(CFLAGS) -c -Isrc -Fo$@ src/event.c
80
 
$Bexpr$O:       src/expr.c;     $(CC) $(CFLAGS) -c -Isrc -Fo$@ src/expr.c
81
 
$Bgen$O:        src/gen.c;      $(CC) $(CFLAGS) -c -Isrc -Fo$@ src/gen.c
82
 
$Binit$O:       src/init.c;     $(CC) $(CFLAGS) -c -Isrc -Fo$@ src/init.c
83
 
$Binits$O:      src/inits.c;    $(CC) $(CFLAGS) -c -Isrc -Fo$@ src/inits.c
84
 
$Binput$O:      src/input.c;    $(CC) $(CFLAGS) -c -Isrc -Fo$@ src/input.c
85
 
$Blex$O:        src/lex.c;      $(CC) $(CFLAGS) -c -Isrc -Fo$@ src/lex.c
86
 
$Blist$O:       src/list.c;     $(CC) $(CFLAGS) -c -Isrc -Fo$@ src/list.c
87
 
$Bmain$O:       src/main.c;     $(CC) $(CFLAGS) -c -Isrc -Fo$@ src/main.c
88
 
$Bnull$O:       src/null.c;     $(CC) $(CFLAGS) -c -Isrc -Fo$@ src/null.c
89
 
$Boutput$O:     src/output.c;   $(CC) $(CFLAGS) -c -Isrc -Fo$@ src/output.c
90
 
$Bprof$O:       src/prof.c;     $(CC) $(CFLAGS) -c -Isrc -Fo$@ src/prof.c
91
 
$Bprofio$O:     src/profio.c;   $(CC) $(CFLAGS) -c -Isrc -Fo$@ src/profio.c
92
 
$Bsimp$O:       src/simp.c;     $(CC) $(CFLAGS) -c -Isrc -Fo$@ src/simp.c
93
 
$Bstmt$O:       src/stmt.c;     $(CC) $(CFLAGS) -c -Isrc -Fo$@ src/stmt.c
94
 
$Bstring$O:     src/string.c;   $(CC) $(CFLAGS) -c -Isrc -Fo$@ src/string.c
95
 
$Bsym$O:        src/sym.c;      $(CC) $(CFLAGS) -c -Isrc -Fo$@ src/sym.c
96
 
$Bsymbolic$O:   src/symbolic.c; $(CC) $(CFLAGS) -c -Isrc -Fo$@ src/symbolic.c
97
 
$Bbytecode$O:   src/bytecode.c; $(CC) $(CFLAGS) -c -Isrc -Fo$@ src/bytecode.c
98
 
$Btrace$O:      src/trace.c;    $(CC) $(CFLAGS) -c -Isrc -Fo$@ src/trace.c
99
 
$Btree$O:       src/tree.c;     $(CC) $(CFLAGS) -c -Isrc -Fo$@ src/tree.c
100
 
$Btypes$O:      src/types.c;    $(CC) $(CFLAGS) -c -Isrc -Fo$@ src/types.c
101
 
$Bstab$O:       src/stab.c src/stab.h;  $(CC) $(CFLAGS) -c -Isrc -Fo$@ src/stab.c
102
 
 
103
 
$Bdagcheck$O:   $Bdagcheck.c;   $(CC) $(CFLAGS) -c -Isrc -Fo$@ $Bdagcheck.c
104
 
$Balpha$O:      $Balpha.c;      $(CC) $(CFLAGS) -c -Isrc -Fo$@ $Balpha.c
105
 
$Bmips$O:       $Bmips.c;       $(CC) $(CFLAGS) -c -Isrc -Fo$@ $Bmips.c
106
 
$Bsparc$O:      $Bsparc.c;      $(CC) $(CFLAGS) -c -Isrc -Fo$@ $Bsparc.c
107
 
$Bx86$O:        $Bx86.c;        $(CC) $(CFLAGS) -c -Isrc -Fo$@ $Bx86.c
108
 
$Bx86linux$O:   $Bx86linux.c;   $(CC) $(CFLAGS) -c -Isrc -Fo$@ $Bx86linux.c
109
 
 
110
 
$Bdagcheck.c:   $Blburg$E src/dagcheck.md; $Blburg src/dagcheck.md $@
111
 
$Balpha.c:      $Blburg$E src/alpha.md;    $Blburg src/alpha.md    $@
112
 
$Bmips.c:       $Blburg$E src/mips.md;     $Blburg src/mips.md     $@
113
 
$Bsparc.c:      $Blburg$E src/sparc.md;    $Blburg src/sparc.md    $@
114
 
$Bx86.c:        $Blburg$E src/x86.md;      $Blburg src/x86.md      $@
115
 
$Bx86linux.c:   $Blburg$E src/x86linux.md; $Blburg src/x86linux.md $@
116
 
 
117
 
$Brcc.h:        src/rcc.asdl;                   $(ASDL_HOME)/bin/asdlGen --c -d $B src/rcc.asdl
118
 
$Brcc$O:        $Brcc.h;                        $(CC) $(CFLAGS) -c -Isrc -I$B -I$(ASDL_HOME)/include/asdlGen -Fo$@ $Brcc.c
119
 
$Basdl$O:       src/asdl.c $Brcc.h src/c.h;     $(CC) $(CFLAGS) -c -Isrc -I$B -I$(ASDL_HOME)/include/asdlGen -Fo$@ src/asdl.c
120
 
$Bpass2$O:      src/pass2.c $Brcc.h src/c.h;    $(CC) $(CFLAGS) -c -Isrc -I$B -I$(ASDL_HOME)/include/asdlGen -Fo$@ src/pass2.c
121
 
$B2html$O:      src/2html.c $Brcc.h src/c.h;    $(CC) $(CFLAGS) -c -Isrc -I$B -I$(ASDL_HOME)/include/asdlGen -Fo$@ src/2html.c
122
 
 
123
 
$Bpass2$E:      $Bpass2$O $(EXTRAOBJS) $Blibrcc$A;      $(LD) $(LDFLAGS) -Fe$@ $Bpass2$O $(EXTRAOBJS) $Blibrcc$A $(EXTRALIBS)
124
 
$B2html$E:      $B2html$O $Brcc$O;                      $(LD) $(LDFLAGS) -Fe$@ $B2html$O $Brcc$O $(EXTRALIBS)
125
 
 
126
 
$Bbprint$E:     $Bbprint$O;             $(LD) $(LDFLAGS) -Fe$@ $Bbprint$O 
127
 
 
128
 
$Bbprint$O:     etc/bprint.c;           $(CC) $(CFLAGS) -c -Isrc -Fo$@ etc/bprint.c
129
 
 
130
 
$Blcc$E:        $Blcc$O $Bhost$O;       $(LD) $(LDFLAGS) -Fe$@ $Blcc$O $Bhost$O 
131
 
 
132
 
$Blcc$O:        etc/lcc.c;      $(CC) $(CFLAGS) -c -DTEMPDIR=\"$(TEMPDIR)\" -Fo$@ etc/lcc.c
133
 
$Bhost$O:       $(HOSTFILE);    $(CC) $(CFLAGS) -c -Fo$@ $(HOSTFILE)
134
 
 
135
 
LIBOBJS=$Bassert$O $Bbbexit$O $Byynull$O
136
 
 
137
 
$Bliblcc$A:     $(LIBOBJS);     lib -out:$@ $Bassert$O $Bbbexit$O $Byynull$O
138
 
 
139
 
$Bassert$O:     lib/assert.c;   $(CC) -c -Fo$@ lib/assert.c
140
 
$Byynull$O:     lib/yynull.c;   $(CC) -c -Fo$@ lib/yynull.c
141
 
$Bbbexit$O:     lib/bbexit.c;   $(CC) -c -Fo$@ lib/bbexit.c
142
 
 
143
 
$Blburg$E:      $Blburg$O $Bgram$O;     $(LD) $(LDFLAGS) -Fe$@ $Blburg$O $Bgram$O 
144
 
 
145
 
$Blburg$O $Bgram$O:     lburg/lburg.h
146
 
 
147
 
$Blburg$O:      lburg/lburg.c;  $(CC) $(CFLAGS) -c -Ilburg -Fo$@ lburg/lburg.c
148
 
$Bgram$O:       lburg/gram.c;   $(CC) $(CFLAGS) -c -Ilburg -Fo$@ lburg/gram.c
149
 
 
150
 
CPPOBJS=$Bcpp$O $Blexer$O $Bnlist$O $Btokens$O $Bmacro$O $Beval$O \
151
 
        $Binclude$O $Bhideset$O $Bgetopt$O $Bunix$O
152
 
 
153
 
$Bq3cpp$E:      $(CPPOBJS)
154
 
                $(LD) $(LDFLAGS) -Fe$@ $(CPPOBJS) 
155
 
 
156
 
$(CPPOBJS):     cpp/cpp.h
157
 
 
158
 
$Bcpp$O:        cpp/cpp.c;      $(CC) $(CFLAGS) -c -Icpp -Fo$@ cpp/cpp.c
159
 
$Blexer$O:      cpp/lex.c;      $(CC) $(CFLAGS) -c -Icpp -Fo$@ cpp/lex.c
160
 
$Bnlist$O:      cpp/nlist.c;    $(CC) $(CFLAGS) -c -Icpp -Fo$@ cpp/nlist.c
161
 
$Btokens$O:     cpp/tokens.c;   $(CC) $(CFLAGS) -c -Icpp -Fo$@ cpp/tokens.c
162
 
$Bmacro$O:      cpp/macro.c;    $(CC) $(CFLAGS) -c -Icpp -Fo$@ cpp/macro.c
163
 
$Beval$O:       cpp/eval.c;     $(CC) $(CFLAGS) -c -Icpp -Fo$@ cpp/eval.c
164
 
$Binclude$O:    cpp/include.c;  $(CC) $(CFLAGS) -c -Icpp -Fo$@ cpp/include.c
165
 
$Bhideset$O:    cpp/hideset.c;  $(CC) $(CFLAGS) -c -Icpp -Fo$@ cpp/hideset.c
166
 
$Bgetopt$O:     cpp/getopt.c;   $(CC) $(CFLAGS) -c -Icpp -Fo$@ cpp/getopt.c
167
 
$Bunix$O:       cpp/unix.c;     $(CC) $(CFLAGS) -c -Icpp -Fo$@ cpp/unix.c
168
 
 
169
 
test:   $T8q.s \
170
 
        $Tarray.s \
171
 
        $Tcf.s \
172
 
        $Tcq.s \
173
 
        $Tcvt.s \
174
 
        $Tfields.s \
175
 
        $Tfront.s \
176
 
        $Tincr.s \
177
 
        $Tinit.s \
178
 
        $Tlimits.s \
179
 
        $Tparanoia.s \
180
 
        $Tsort.s \
181
 
        $Tspill.s \
182
 
        $Tstdarg.s \
183
 
        $Tstruct.s \
184
 
        $Tswitch.s \
185
 
        $Twf1.s \
186
 
        $Tyacc.s
187
 
 
188
 
$T8q.s: tst\8q.c tst\8q.0 all
189
 
        -$C -S -Wf-errout=$T8q.2 -o $T8q.s tst/8q.c
190
 
        fc $(TARGET)\tst\8q.sbk $T8q.s
191
 
        fc $(TARGET)\tst\8q.2bk $T8q.2
192
 
        $C -o $T8q$E $T8q.s
193
 
        -$T8q$E <tst/8q.0 >$T8q.1
194
 
        fc $(TARGET)\tst\8q.1bk $T8q.1
195
 
$Tarray.s:      tst\array.c tst\array.0 all
196
 
        -$C -S -Wf-errout=$Tarray.2 -o $Tarray.s tst/array.c
197
 
        fc $(TARGET)\tst\array.sbk $Tarray.s
198
 
        fc $(TARGET)\tst\array.2bk $Tarray.2
199
 
        $C -o $Tarray$E $Tarray.s
200
 
        -$Tarray$E <tst/array.0 >$Tarray.1
201
 
        fc $(TARGET)\tst\array.1bk $Tarray.1
202
 
$Tcf.s: tst\cf.c tst\cf.0 all
203
 
        -$C -S -Wf-errout=$Tcf.2 -o $Tcf.s tst/cf.c
204
 
        fc $(TARGET)\tst\cf.sbk $Tcf.s
205
 
        fc $(TARGET)\tst\cf.2bk $Tcf.2
206
 
        $C -o $Tcf$E $Tcf.s
207
 
        -$Tcf$E <tst/cf.0 >$Tcf.1
208
 
        fc $(TARGET)\tst\cf.1bk $Tcf.1
209
 
$Tcq.s: tst\cq.c tst\cq.0 all
210
 
        -$C -S -Wf-errout=$Tcq.2 -o $Tcq.s tst/cq.c
211
 
        fc $(TARGET)\tst\cq.sbk $Tcq.s
212
 
        fc $(TARGET)\tst\cq.2bk $Tcq.2
213
 
        $C -o $Tcq$E $Tcq.s
214
 
        -$Tcq$E <tst/cq.0 >$Tcq.1
215
 
        fc $(TARGET)\tst\cq.1bk $Tcq.1
216
 
$Tcvt.s:        tst\cvt.c tst\cvt.0 all
217
 
        -$C -S -Wf-errout=$Tcvt.2 -o $Tcvt.s tst/cvt.c
218
 
        fc $(TARGET)\tst\cvt.sbk $Tcvt.s
219
 
        fc $(TARGET)\tst\cvt.2bk $Tcvt.2
220
 
        $C -o $Tcvt$E $Tcvt.s
221
 
        -$Tcvt$E <tst/cvt.0 >$Tcvt.1
222
 
        fc $(TARGET)\tst\cvt.1bk $Tcvt.1
223
 
$Tfields.s:     tst\fields.c tst\fields.0 all
224
 
        -$C -S -Wf-errout=$Tfields.2 -o $Tfields.s tst/fields.c
225
 
        fc $(TARGET)\tst\fields.sbk $Tfields.s
226
 
        fc $(TARGET)\tst\fields.2bk $Tfields.2
227
 
        $C -o $Tfields$E $Tfields.s
228
 
        -$Tfields$E <tst/fields.0 >$Tfields.1
229
 
        fc $(TARGET)\tst\fields.1bk $Tfields.1
230
 
$Tfront.s:      tst\front.c tst\front.0 all
231
 
        -$C -S -Wf-errout=$Tfront.2 -o $Tfront.s tst/front.c
232
 
        fc $(TARGET)\tst\front.sbk $Tfront.s
233
 
        fc $(TARGET)\tst\front.2bk $Tfront.2
234
 
$Tincr.s:       tst\incr.c tst\incr.0 all
235
 
        -$C -S -Wf-errout=$Tincr.2 -o $Tincr.s tst/incr.c
236
 
        fc $(TARGET)\tst\incr.sbk $Tincr.s
237
 
        fc $(TARGET)\tst\incr.2bk $Tincr.2
238
 
        $C -o $Tincr$E $Tincr.s
239
 
        -$Tincr$E <tst/incr.0 >$Tincr.1
240
 
        fc $(TARGET)\tst\incr.1bk $Tincr.1
241
 
$Tinit.s:       tst\init.c tst\init.0 all
242
 
        -$C -S -Wf-errout=$Tinit.2 -o $Tinit.s tst/init.c
243
 
        fc $(TARGET)\tst\init.sbk $Tinit.s
244
 
        fc $(TARGET)\tst\init.2bk $Tinit.2
245
 
        $C -o $Tinit$E $Tinit.s
246
 
        -$Tinit$E <tst/init.0 >$Tinit.1
247
 
        fc $(TARGET)\tst\init.1bk $Tinit.1
248
 
$Tlimits.s:     tst\limits.c tst\limits.0 all
249
 
        -$C -S -Wf-errout=$Tlimits.2 -o $Tlimits.s tst/limits.c
250
 
        fc $(TARGET)\tst\limits.sbk $Tlimits.s
251
 
        fc $(TARGET)\tst\limits.2bk $Tlimits.2
252
 
        $C -o $Tlimits$E $Tlimits.s
253
 
        -$Tlimits$E <tst/limits.0 >$Tlimits.1
254
 
        fc $(TARGET)\tst\limits.1bk $Tlimits.1
255
 
$Tparanoia.s:   tst\paranoia.c tst\paranoia.0 all
256
 
        -$C -S -Wf-errout=$Tparanoia.2 -o $Tparanoia.s tst/paranoia.c
257
 
        fc $(TARGET)\tst\paranoia.sbk $Tparanoia.s
258
 
        fc $(TARGET)\tst\paranoia.2bk $Tparanoia.2
259
 
        $C -o $Tparanoia$E $Tparanoia.s
260
 
        -$Tparanoia$E <tst/paranoia.0 >$Tparanoia.1
261
 
        fc $(TARGET)\tst\paranoia.1bk $Tparanoia.1
262
 
$Tsort.s:       tst\sort.c tst\sort.0 all
263
 
        -$C -S -Wf-errout=$Tsort.2 -o $Tsort.s tst/sort.c
264
 
        fc $(TARGET)\tst\sort.sbk $Tsort.s
265
 
        fc $(TARGET)\tst\sort.2bk $Tsort.2
266
 
        $C -o $Tsort$E $Tsort.s
267
 
        -$Tsort$E <tst/sort.0 >$Tsort.1
268
 
        fc $(TARGET)\tst\sort.1bk $Tsort.1
269
 
$Tspill.s:      tst\spill.c tst\spill.0 all
270
 
        -$C -S -Wf-errout=$Tspill.2 -o $Tspill.s tst/spill.c
271
 
        fc $(TARGET)\tst\spill.sbk $Tspill.s
272
 
        fc $(TARGET)\tst\spill.2bk $Tspill.2
273
 
        $C -o $Tspill$E $Tspill.s
274
 
        -$Tspill$E <tst/spill.0 >$Tspill.1
275
 
        fc $(TARGET)\tst\spill.1bk $Tspill.1
276
 
$Tstdarg.s:     tst\stdarg.c tst\stdarg.0 all
277
 
        -$C -S -Wf-errout=$Tstdarg.2 -o $Tstdarg.s tst/stdarg.c
278
 
        fc $(TARGET)\tst\stdarg.sbk $Tstdarg.s
279
 
        fc $(TARGET)\tst\stdarg.2bk $Tstdarg.2
280
 
        $C -o $Tstdarg$E $Tstdarg.s
281
 
        -$Tstdarg$E <tst/stdarg.0 >$Tstdarg.1
282
 
        fc $(TARGET)\tst\stdarg.1bk $Tstdarg.1
283
 
$Tstruct.s:     tst\struct.c tst\struct.0 all
284
 
        -$C -S -Wf-errout=$Tstruct.2 -o $Tstruct.s tst/struct.c
285
 
        fc $(TARGET)\tst\struct.sbk $Tstruct.s
286
 
        fc $(TARGET)\tst\struct.2bk $Tstruct.2
287
 
        $C -o $Tstruct$E $Tstruct.s
288
 
        -$Tstruct$E <tst/struct.0 >$Tstruct.1
289
 
        fc $(TARGET)\tst\struct.1bk $Tstruct.1
290
 
$Tswitch.s:     tst\switch.c tst\switch.0 all
291
 
        -$C -S -Wf-errout=$Tswitch.2 -o $Tswitch.s tst/switch.c
292
 
        fc $(TARGET)\tst\switch.sbk $Tswitch.s
293
 
        fc $(TARGET)\tst\switch.2bk $Tswitch.2
294
 
        $C -o $Tswitch$E $Tswitch.s
295
 
        -$Tswitch$E <tst/switch.0 >$Tswitch.1
296
 
        fc $(TARGET)\tst\switch.1bk $Tswitch.1
297
 
$Twf1.s:        tst\wf1.c tst\wf1.0 all
298
 
        -$C -S -Wf-errout=$Twf1.2 -o $Twf1.s tst/wf1.c
299
 
        fc $(TARGET)\tst\wf1.sbk $Twf1.s
300
 
        fc $(TARGET)\tst\wf1.2bk $Twf1.2
301
 
        $C -o $Twf1$E $Twf1.s
302
 
        -$Twf1$E <tst/wf1.0 >$Twf1.1
303
 
        fc $(TARGET)\tst\wf1.1bk $Twf1.1
304
 
$Tyacc.s:       tst\yacc.c tst\yacc.0 all
305
 
        -$C -S -Wf-errout=$Tyacc.2 -o $Tyacc.s tst/yacc.c
306
 
        fc $(TARGET)\tst\yacc.sbk $Tyacc.s
307
 
        fc $(TARGET)\tst\yacc.2bk $Tyacc.2
308
 
        $C -o $Tyacc$E $Tyacc.s
309
 
        -$Tyacc$E <tst/yacc.0 >$Tyacc.1
310
 
        fc $(TARGET)\tst\yacc.1bk $Tyacc.1
311
 
 
312
 
testclean:
313
 
        -del /q $T8q$E $T8q.s $T8q.2 $T8q.1
314
 
        -del /q $Tarray$E $Tarray.s $Tarray.2 $Tarray.1
315
 
        -del /q $Tcf$E $Tcf.s $Tcf.2 $Tcf.1
316
 
        -del /q $Tcq$E $Tcq.s $Tcq.2 $Tcq.1
317
 
        -del /q $Tcvt$E $Tcvt.s $Tcvt.2 $Tcvt.1
318
 
        -del /q $Tfields$E $Tfields.s $Tfields.2 $Tfields.1
319
 
        -del /q $Tfront$E $Tfront.s $Tfront.2 $Tfront.1
320
 
        -del /q $Tincr$E $Tincr.s $Tincr.2 $Tincr.1
321
 
        -del /q $Tinit$E $Tinit.s $Tinit.2 $Tinit.1
322
 
        -del /q $Tlimits$E $Tlimits.s $Tlimits.2 $Tlimits.1
323
 
        -del /q $Tparanoia$E $Tparanoia.s $Tparanoia.2 $Tparanoia.1
324
 
        -del /q $Tsort$E $Tsort.s $Tsort.2 $Tsort.1
325
 
        -del /q $Tspill$E $Tspill.s $Tspill.2 $Tspill.1
326
 
        -del /q $Tstdarg$E $Tstdarg.s $Tstdarg.2 $Tstdarg.1
327
 
        -del /q $Tstruct$E $Tstruct.s $Tstruct.2 $Tstruct.1
328
 
        -del /q $Tswitch$E $Tswitch.s $Tswitch.2 $Tswitch.1
329
 
        -del /q $Twf1$E $Twf1.s $Twf1.2 $Twf1.1
330
 
        -del /q $Tyacc$E $Tyacc.s $Tyacc.2 $Tyacc.1
331
 
 
332
 
clean::         testclean
333
 
                -del /q $B*$O
334
 
                -del /q $Bdagcheck.c $Balpha.c $Bmips.c $Bx86.c $Bsparc.c $Bx86linux.c $Bgram.c
335
 
                -del /q $Brcc.c $Brcc.h
336
 
                -del /q $Bq3rcc1$E $Brcc1$E $B1rcc$E $B2rcc$E
337
 
                -del /q $B*.ilk
338
 
 
339
 
clobber::       clean
340
 
                -del /q $Bq3rcc$E $B2html$E $Bpass2$E $Blburg$E $Bq3cpp$E $Blcc$E $Bbprint$E $B*$A
341
 
                -del /q $B*.pdb $B*.pch
342
 
 
343
 
RCCSRCS=src/alloc.c \
344
 
        src/bind.c \
345
 
        src/dag.c \
346
 
        src/decl.c \
347
 
        src/enode.c \
348
 
        src/error.c \
349
 
        src/expr.c \
350
 
        src/event.c \
351
 
        src/init.c \
352
 
        src/inits.c \
353
 
        src/input.c \
354
 
        src/lex.c \
355
 
        src/list.c \
356
 
        src/main.c \
357
 
        src/output.c \
358
 
        src/prof.c \
359
 
        src/profio.c \
360
 
        src/simp.c \
361
 
        src/stmt.c \
362
 
        src/string.c \
363
 
        src/sym.c \
364
 
        src/trace.c \
365
 
        src/tree.c \
366
 
        src/types.c \
367
 
        src/null.c \
368
 
        src/symbolic.c \
369
 
        src/bytecode.c \
370
 
        src/gen.c \
371
 
        src/stab.c \
372
 
        $Bdagcheck.c \
373
 
        $Balpha.c \
374
 
        $Bmips.c \
375
 
        $Bsparc.c \
376
 
        $Bx86linux.c \
377
 
        $Bx86.c
378
 
 
379
 
C=$Blcc -A -d0.6 -Wo-lccdir=$(BUILDDIR) -Isrc -I$(BUILDDIR)
380
 
triple: $Bq3rcc$E $Blcc$E $Bq3cpp$E
381
 
        $C -o $B1rcc$E -B$B  $(RCCSRCS)
382
 
        $C -o $B2rcc$E -B$B1 $(RCCSRCS)
383
 
        fc /b $B1rcc$E $B2rcc$E