Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 654 lines (487 sloc) 14.735 kb
26fdc35 @braddr Merge all the .mak files except win32.mak into posix.mak. Tested on …
braddr authored
1 # NOTE: need to validate solaris behavior
2 ifeq (,$(TARGET))
3 OS:=$(shell uname)
4 ifeq (Darwin,$(OS))
5 TARGET=OSX
6 else
7 ifeq (Linux,$(OS))
8 TARGET=LINUX
9 else
10 ifeq (FreeBSD,$(OS))
11 TARGET=FREEBSD
12 else
13 ifeq (OpenBSD,$(OS))
14 TARGET=OPENBSD
15 else
16 ifeq (Solaris,$(OS))
17 TARGET=SOLARIS
18 else
19 $(error Unrecognized or unsupported OS for uname: $(OS))
20 endif
21 endif
22 endif
23 endif
24 endif
25 endif
26
27 C=backend
28 TK=tk
29 ROOT=root
30
31 MODEL=32
32
33 ifeq (OSX,$(TARGET))
34 ## See: http://developer.apple.com/documentation/developertools/conceptual/cross_development/Using/chapter_3_section_2.html#//apple_ref/doc/uid/20002000-1114311-BABGCAAB
35 ENVP= MACOSX_DEPLOYMENT_TARGET=10.3
36 SDK=/Developer/SDKs/MacOSX10.4u.sdk #doesn't work because can't find <stdarg.h>
37 SDK=/Developer/SDKs/MacOSX10.5.sdk
38 #SDK=/Developer/SDKs/MacOSX10.6.sdk
39
40 TARGET_CFLAGS=-isysroot ${SDK}
41 LDFLAGS=-lstdc++ -isysroot ${SDK} -Wl,-syslibroot,${SDK} -framework CoreServices
42 else
43 LDFLAGS=-lm -lstdc++ -lpthread
44 endif
45
46 CC=g++ -m$(MODEL) $(TARGET_CFLAGS)
47
48 #OPT=-g -g3
49 #OPT=-O2
50
51 #COV=-fprofile-arcs -ftest-coverage
52
53 WARNINGS=-Wno-deprecated -Wstrict-aliasing
54
55 #GFLAGS = $(WARNINGS) -D__near= -D__pascal= -fno-exceptions -g -DDEBUG=1 -DUNITTEST $(COV)
56 GFLAGS = $(WARNINGS) -D__near= -D__pascal= -fno-exceptions -O2
57
58 CFLAGS = $(GFLAGS) -I$(ROOT) -DMARS=1 -DTARGET_$(TARGET)=1
59 MFLAGS = $(GFLAGS) -I$C -I$(TK) -DMARS=1 -DTARGET_$(TARGET)=1
60
61 CH= $C/cc.h $C/global.h $C/parser.h $C/oper.h $C/code.h $C/type.h \
62 $C/dt.h $C/cgcv.h $C/el.h $C/iasm.h
63
64 DMD_OBJS = \
65 access.o array.o attrib.o bcomplex.o bit.o blockopt.o \
66 cast.o code.o cg.o cg87.o cgcod.o cgcs.o cgelem.o cgen.o \
67 cgreg.o cgsched.o class.o cod1.o cod2.o cod3.o cod4.o cod5.o \
68 constfold.o irstate.o dchar.o cond.o debug.o \
69 declaration.o dsymbol.o dt.o dump.o e2ir.o ee.o eh.o el.o \
70 dwarf.o enum.o evalu8.o expression.o func.o gdag.o gflow.o \
71 glocal.o gloop.o glue.o gnuc.o go.o gother.o html.o iasm.o id.o \
72 identifier.o impcnvtab.o import.o inifile.o init.o inline.o \
73 lexer.o link.o lstring.o mangle.o mars.o rmem.o module.o msc.o mtype.o \
74 nteh.o cppmangle.o opover.o optimize.o os.o out.o outbuf.o \
75 parse.o ph.o ptrntab.o root.o rtlsym.o s2ir.o scope.o statement.o \
76 stringtable.o struct.o csymbol.o template.o tk.o tocsym.o todt.o \
77 type.o typinf.o util.o var.o version.o strtold.o utf.o staticassert.o \
78 unialpha.o toobj.o toctype.o toelfdebug.o entity.o doc.o macro.o \
79 hdrgen.o delegatize.o aa.o ti_achar.o toir.o interpret.o traits.o \
80 builtin.o clone.o aliasthis.o \
81 man.o arrayop.o port.o response.o async.o json.o speller.o aav.o unittests.o \
82 imphint.o argtypes.o ti_pvoid.o
83
84 ifeq (OSX,$(TARGET))
85 DMD_OBJS += libmach.o machobj.o
86 else
87 DMD_OBJS += libelf.o elfobj.o
88 endif
89
90 SRC = win32.mak linux.mak osx.mak freebsd.mak solaris.mak openbsd.mak \
91 mars.c enum.c struct.c dsymbol.c import.c idgen.c impcnvgen.c \
92 identifier.c mtype.c expression.c optimize.c template.h \
93 template.c lexer.c declaration.c cast.c cond.h cond.c link.c \
94 aggregate.h parse.c statement.c constfold.c version.h version.c \
95 inifile.c iasm.c module.c scope.c dump.c init.h init.c attrib.h \
96 attrib.c opover.c class.c mangle.c bit.c tocsym.c func.c inline.c \
97 access.c complex_t.h irstate.h irstate.c glue.c msc.c ph.c tk.c \
98 s2ir.c todt.c e2ir.c util.c identifier.h parse.h \
99 scope.h enum.h import.h mars.h module.h mtype.h dsymbol.h \
100 declaration.h lexer.h expression.h irstate.h statement.h eh.c \
101 utf.h utf.c staticassert.h staticassert.c unialpha.c \
102 typinf.c toobj.c toctype.c tocvdebug.c toelfdebug.c entity.c \
103 doc.h doc.c macro.h macro.c hdrgen.h hdrgen.c arraytypes.h \
104 delegatize.c toir.h toir.c interpret.c traits.c cppmangle.c \
105 builtin.c clone.c lib.h libomf.c libelf.c libmach.c arrayop.c \
106 aliasthis.h aliasthis.c json.h json.c unittests.c imphint.c \
107 argtypes.c \
108 $C/cdef.h $C/cc.h $C/oper.h $C/ty.h $C/optabgen.c \
109 $C/global.h $C/parser.h $C/code.h $C/type.h $C/dt.h $C/cgcv.h \
110 $C/el.h $C/iasm.h $C/rtlsym.h $C/html.h \
111 $C/bcomplex.c $C/blockopt.c $C/cg.c $C/cg87.c \
112 $C/cgcod.c $C/cgcs.c $C/cgcv.c $C/cgelem.c $C/cgen.c $C/cgobj.c \
113 $C/cgreg.c $C/var.c $C/strtold.c \
114 $C/cgsched.c $C/cod1.c $C/cod2.c $C/cod3.c $C/cod4.c $C/cod5.c \
115 $C/code.c $C/symbol.c $C/debug.c $C/dt.c $C/ee.c $C/el.c \
116 $C/evalu8.c $C/go.c $C/gflow.c $C/gdag.c \
117 $C/gother.c $C/glocal.c $C/gloop.c $C/html.c $C/newman.c \
118 $C/nteh.c $C/os.c $C/out.c $C/outbuf.c $C/ptrntab.c $C/rtlsym.c \
119 $C/type.c $C/melf.h $C/mach.h $C/bcomplex.h \
120 $C/cdeflnx.h $C/outbuf.h $C/token.h $C/tassert.h \
121 $C/elfobj.c $C/cv4.h $C/dwarf2.h $C/cpp.h $C/exh.h $C/go.h \
122 $C/dwarf.c $C/dwarf.h $C/aa.h $C/aa.c $C/tinfo.h $C/ti_achar.c \
123 $C/ti_pvoid.c \
124 $C/machobj.c \
125 $(TK)/filespec.h $(TK)/mem.h $(TK)/list.h $(TK)/vec.h \
126 $(TK)/filespec.c $(TK)/mem.c $(TK)/vec.c $(TK)/list.c \
127 $(ROOT)/dchar.h $(ROOT)/dchar.c $(ROOT)/lstring.h \
128 $(ROOT)/lstring.c $(ROOT)/root.h $(ROOT)/root.c $(ROOT)/array.c \
129 $(ROOT)/rmem.h $(ROOT)/rmem.c $(ROOT)/port.h $(ROOT)/port.c \
130 $(ROOT)/gnuc.h $(ROOT)/gnuc.c $(ROOT)/man.c \
131 $(ROOT)/stringtable.h $(ROOT)/stringtable.c \
132 $(ROOT)/response.c $(ROOT)/async.h $(ROOT)/async.c \
133 $(ROOT)/aav.h $(ROOT)/aav.c \
134 $(ROOT)/speller.h $(ROOT)/speller.c
135
136
137 all: dmd
138
139 dmd: $(DMD_OBJS)
140 $(ENVP) gcc -o dmd -m$(MODEL) $(COV) $(DMD_OBJS) $(LDFLAGS)
141
142 clean:
143 rm -f $(DMD_OBJS) dmd optab.o id.o impcnvgen idgen id.c id.h \
144 impcnvtab.c optabgen debtab.c optab.c cdxxx.c elxxx.c fltables.c \
145 tytab.c core \
146 *.cov *.gcda *.gcno
147
148 ######## optabgen generates some source
149
150 optabgen: $C/optabgen.c $C/cc.h $C/oper.h
151 $(ENVP) $(CC) $(MFLAGS) $< -o optabgen
152 ./optabgen
153
154 optabgen_output = debtab.c optab.c cdxxx.c elxxx.c fltables.c tytab.c
155 $(optabgen_output) : optabgen
156
157 ######## idgen generates some source
158
159 idgen_output = id.h id.c
160 $(idgen_output) : idgen
161
162 idgen : idgen.c
163 $(ENVP) $(CC) idgen.c -o idgen
164 ./idgen
165
166 ######### impcnvgen generates some source
167
168 impcnvtab_output = impcnvtab.c
169 $(impcnvtab_output) : impcnvgen
170
171 impcnvgen : mtype.h impcnvgen.c
172 $(ENVP) $(CC) $(CFLAGS) impcnvgen.c -o impcnvgen
173 ./impcnvgen
174
175 #########
176
177 $(DMD_OBJS) : $(idgen_output) $(optabgen_output) $(impcnvgen_output)
178
179 aa.o: $C/aa.h $C/tinfo.h $C/aa.c
180 $(CC) -c $(MFLAGS) -I. $C/aa.c
181
182 aav.o: $(ROOT)/aav.c
183 $(CC) -c $(GFLAGS) -I$(ROOT) $<
184
185 access.o: access.c
186 $(CC) -c $(CFLAGS) $<
187
188 aliasthis.o: aliasthis.c
189 $(CC) -c $(CFLAGS) $<
190
191 argtypes.o: argtypes.c
192 $(CC) -c $(CFLAGS) $<
193
194 array.o: $(ROOT)/array.c
195 $(CC) -c $(GFLAGS) -I$(ROOT) $<
196
197 arrayop.o: arrayop.c
198 $(CC) -c $(CFLAGS) $<
199
200 async.o: $(ROOT)/async.c
201 $(CC) -c $(GFLAGS) -I$(ROOT) $<
202
203 attrib.o: attrib.c
204 $(CC) -c $(CFLAGS) $<
205
206 bcomplex.o: $C/bcomplex.c
207 $(CC) -c $(MFLAGS) $<
208
209 bit.o: expression.h bit.c
7b8e040 @braddr Minor white space cleanups. Minor argument swaps to establish consis…
braddr authored
210 $(CC) -c $(MFLAGS) -I$(ROOT) bit.c
26fdc35 @braddr Merge all the .mak files except win32.mak into posix.mak. Tested on …
braddr authored
211
212 blockopt.o: $C/blockopt.c
213 $(CC) -c $(MFLAGS) $C/blockopt.c
214
215 builtin.o: builtin.c
216 $(CC) -c $(CFLAGS) $<
217
218 cast.o: cast.c
7b8e040 @braddr Minor white space cleanups. Minor argument swaps to establish consis…
braddr authored
219 $(CC) -c $(CFLAGS) $<
26fdc35 @braddr Merge all the .mak files except win32.mak into posix.mak. Tested on …
braddr authored
220
221 cg.o: fltables.c $C/cg.c
222 $(CC) -c $(MFLAGS) -I. $C/cg.c
223
224 cg87.o: $C/cg87.c
225 $(CC) -c $(MFLAGS) $<
226
227 cgcod.o: $C/cgcod.c
228 $(CC) -c $(MFLAGS) -I. $<
229
230 cgcs.o: $C/cgcs.c
231 $(CC) -c $(MFLAGS) $<
232
233 cgcv.o: $C/cgcv.c
234 $(CC) -c $(MFLAGS) $<
235
236 cgelem.o: $C/rtlsym.h $C/cgelem.c
237 $(CC) -c $(MFLAGS) -I. $C/cgelem.c
238
239 cgen.o: $C/rtlsym.h $C/cgen.c
240 $(CC) -c $(MFLAGS) $C/cgen.c
241
242 cgobj.o: $C/cgobj.c
243 $(CC) -c $(MFLAGS) $<
244
245 cgreg.o: $C/cgreg.c
246 $(CC) -c $(MFLAGS) $<
247
248 cgsched.o: $C/rtlsym.h $C/cgsched.c
249 $(CC) -c $(MFLAGS) $C/cgsched.c
250
251 class.o: class.c
252 $(CC) -c $(CFLAGS) $<
253
254 clone.o: clone.c
255 $(CC) -c $(CFLAGS) $<
256
257 cod1.o: $C/rtlsym.h $C/cod1.c
258 $(CC) -c $(MFLAGS) $C/cod1.c
259
260 cod2.o: $C/rtlsym.h $C/cod2.c
261 $(CC) -c $(MFLAGS) $C/cod2.c
262
263 cod3.o: $C/rtlsym.h $C/cod3.c
264 $(CC) -c $(MFLAGS) $C/cod3.c
265
266 cod4.o: $C/cod4.c
267 $(CC) -c $(MFLAGS) $<
268
269 cod5.o: $C/cod5.c
270 $(CC) -c $(MFLAGS) $<
271
272 code.o: $C/code.c
273 $(CC) -c $(MFLAGS) $<
274
275 constfold.o: constfold.c
276 $(CC) -c $(CFLAGS) $<
277
278 irstate.o: irstate.h irstate.c
279 $(CC) -c $(MFLAGS) -I$(ROOT) irstate.c
280
7b8e040 @braddr Minor white space cleanups. Minor argument swaps to establish consis…
braddr authored
281 csymbol.o: $C/symbol.c
26fdc35 @braddr Merge all the .mak files except win32.mak into posix.mak. Tested on …
braddr authored
282 $(CC) -c $(MFLAGS) $C/symbol.c -o csymbol.o
283
284 dchar.o: $(ROOT)/dchar.c
285 $(CC) -c $(GFLAGS) -I$(ROOT) $<
286
287 cond.o: cond.c
288 $(CC) -c $(CFLAGS) $<
289
290 cppmangle.o: cppmangle.c
291 $(CC) -c $(CFLAGS) $<
292
293 debug.o: $C/debug.c
294 $(CC) -c $(MFLAGS) -I. $<
295
296 declaration.o: declaration.c
297 $(CC) -c $(CFLAGS) $<
298
299 delegatize.o: delegatize.c
300 $(CC) -c $(CFLAGS) $<
301
302 doc.o: doc.c
303 $(CC) -c $(CFLAGS) $<
304
305 dsymbol.o: dsymbol.c
306 $(CC) -c $(CFLAGS) $<
307
308 dt.o: $C/dt.h $C/dt.c
309 $(CC) -c $(MFLAGS) $C/dt.c
310
311 dump.o: dump.c
312 $(CC) -c $(CFLAGS) $<
313
314 dwarf.o: $C/dwarf.h $C/dwarf.c
315 $(CC) -c $(MFLAGS) -I. $C/dwarf.c
316
317 e2ir.o: $C/rtlsym.h expression.h toir.h e2ir.c
7b8e040 @braddr Minor white space cleanups. Minor argument swaps to establish consis…
braddr authored
318 $(CC) -c $(MFLAGS) -I$(ROOT) e2ir.c
26fdc35 @braddr Merge all the .mak files except win32.mak into posix.mak. Tested on …
braddr authored
319
320 ee.o: $C/ee.c
321 $(CC) -c $(MFLAGS) $<
322
7b8e040 @braddr Minor white space cleanups. Minor argument swaps to establish consis…
braddr authored
323 eh.o: $C/cc.h $C/code.h $C/type.h $C/dt.h eh.c
26fdc35 @braddr Merge all the .mak files except win32.mak into posix.mak. Tested on …
braddr authored
324 $(CC) -c $(MFLAGS) eh.c
325
326 el.o: $C/rtlsym.h $C/el.h $C/el.c
327 $(CC) -c $(MFLAGS) $C/el.c
328
329 elfobj.o: $C/elfobj.c
330 $(CC) -c $(MFLAGS) $<
331
332 entity.o: entity.c
333 $(CC) -c $(CFLAGS) $<
334
335 enum.o: enum.c
336 $(CC) -c $(CFLAGS) $<
337
338 evalu8.o: $C/evalu8.c
339 $(CC) -c $(MFLAGS) $<
340
341 expression.o: expression.c
342 $(CC) -c $(CFLAGS) $<
343
344 func.o: func.c
345 $(CC) -c $(CFLAGS) $<
346
347 gdag.o: $C/gdag.c
348 $(CC) -c $(MFLAGS) $<
349
350 gflow.o: $C/gflow.c
351 $(CC) -c $(MFLAGS) $<
352
353 #globals.o: globals.c
354 # $(CC) -c $(CFLAGS) $<
355
356 glocal.o: $C/rtlsym.h $C/glocal.c
357 $(CC) -c $(MFLAGS) $C/glocal.c
358
359 gloop.o: $C/gloop.c
360 $(CC) -c $(MFLAGS) $<
361
05e994f @braddr Remove unused TOTALH variable
braddr authored
362 glue.o: $(CH) $C/rtlsym.h mars.h module.h glue.c
26fdc35 @braddr Merge all the .mak files except win32.mak into posix.mak. Tested on …
braddr authored
363 $(CC) -c $(MFLAGS) -I$(ROOT) glue.c
364
365 gnuc.o: $(ROOT)/gnuc.h $(ROOT)/gnuc.c
366 $(CC) -c $(GFLAGS) $(ROOT)/gnuc.c
367
368 go.o: $C/go.c
369 $(CC) -c $(MFLAGS) $<
370
371 gother.o: $C/gother.c
372 $(CC) -c $(MFLAGS) $<
373
374 hdrgen.o: hdrgen.c
375 $(CC) -c $(CFLAGS) $<
376
05e994f @braddr Remove unused TOTALH variable
braddr authored
377 html.o: $(CH) $C/html.h $C/html.c
7b8e040 @braddr Minor white space cleanups. Minor argument swaps to establish consis…
braddr authored
378 $(CC) -c $(MFLAGS) -I$(ROOT) $C/html.c
26fdc35 @braddr Merge all the .mak files except win32.mak into posix.mak. Tested on …
braddr authored
379
05e994f @braddr Remove unused TOTALH variable
braddr authored
380 iasm.o: $(CH) $C/iasm.h iasm.c
26fdc35 @braddr Merge all the .mak files except win32.mak into posix.mak. Tested on …
braddr authored
381 $(CC) -c $(MFLAGS) -I$(ROOT) iasm.c
382
7b8e040 @braddr Minor white space cleanups. Minor argument swaps to establish consis…
braddr authored
383 id.o: id.h id.c
26fdc35 @braddr Merge all the .mak files except win32.mak into posix.mak. Tested on …
braddr authored
384 $(CC) -c $(CFLAGS) id.c
385
386 identifier.o: identifier.c
387 $(CC) -c $(CFLAGS) $<
388
389 impcnvtab.o: mtype.h impcnvtab.c
390 $(CC) -c $(CFLAGS) -I$(ROOT) impcnvtab.c
391
392 imphint.o: imphint.c
393 $(CC) -c $(CFLAGS) $<
394
395 import.o: import.c
396 $(CC) -c $(CFLAGS) $<
397
398 inifile.o: inifile.c
399 $(CC) -c $(CFLAGS) $<
400
401 init.o: init.c
402 $(CC) -c $(CFLAGS) $<
403
404 inline.o: inline.c
405 $(CC) -c $(CFLAGS) $<
406
407 interpret.o: interpret.c
408 $(CC) -c $(CFLAGS) $<
409
410 json.o: json.c
411 $(CC) -c $(CFLAGS) $<
412
413 lexer.o: lexer.c
414 $(CC) -c $(CFLAGS) $<
415
416 libelf.o: libelf.c $C/melf.h
417 $(CC) -c $(CFLAGS) -I$C $<
418
419 libmach.o: libmach.c $C/mach.h
420 $(CC) -c $(CFLAGS) -I$C $<
421
422 link.o: link.c
423 $(CC) -c $(CFLAGS) $<
424
425 lstring.o: $(ROOT)/lstring.c
426 $(CC) -c $(GFLAGS) -I$(ROOT) $<
427
428 machobj.o: $C/machobj.c
429 $(CC) -c $(MFLAGS) -I. $<
430
431 macro.o: macro.c
432 $(CC) -c $(CFLAGS) $<
433
434 man.o: $(ROOT)/man.c
435 $(CC) -c $(GFLAGS) -I$(ROOT) $<
436
437 mangle.o: mangle.c
438 $(CC) -c $(CFLAGS) $<
439
440 mars.o: mars.c
441 $(CC) -c $(CFLAGS) $<
442
443 rmem.o: $(ROOT)/rmem.c
444 $(CC) -c $(GFLAGS) -I$(ROOT) $(ROOT)/rmem.c
7b8e040 @braddr Minor white space cleanups. Minor argument swaps to establish consis…
braddr authored
445
05e994f @braddr Remove unused TOTALH variable
braddr authored
446 module.o: $C/html.h module.c
26fdc35 @braddr Merge all the .mak files except win32.mak into posix.mak. Tested on …
braddr authored
447 $(CC) -c $(CFLAGS) -I$C module.c
448
449 msc.o: $(CH) mars.h msc.c
450 $(CC) -c $(MFLAGS) msc.c
451
452 mtype.o: mtype.c
453 $(CC) -c $(CFLAGS) $<
454
455 nteh.o: $C/rtlsym.h $C/nteh.c
456 $(CC) -c $(MFLAGS) $C/nteh.c
457
458 opover.o: opover.c
459 $(CC) -c $(CFLAGS) $<
460
461 optimize.o: optimize.c
462 $(CC) -c $(CFLAGS) $<
463
464 os.o: $C/os.c
465 $(CC) -c $(MFLAGS) $<
466
467 out.o: $C/out.c
468 $(CC) -c $(MFLAGS) $<
469
7b8e040 @braddr Minor white space cleanups. Minor argument swaps to establish consis…
braddr authored
470 outbuf.o: $C/outbuf.h $C/outbuf.c
26fdc35 @braddr Merge all the .mak files except win32.mak into posix.mak. Tested on …
braddr authored
471 $(CC) -c $(MFLAGS) $C/outbuf.c
472
473 parse.o: parse.c
474 $(CC) -c $(CFLAGS) $<
475
476 ph.o: ph.c
477 $(CC) -c $(MFLAGS) $<
478
479 port.o: $(ROOT)/port.c
480 $(CC) -c $(GFLAGS) -I$(ROOT) $<
481
482 ptrntab.o: $C/iasm.h $C/ptrntab.c
483 $(CC) -c $(MFLAGS) $C/ptrntab.c
484
485 response.o: $(ROOT)/response.c
486 $(CC) -c $(GFLAGS) -I$(ROOT) $<
487
488 root.o: $(ROOT)/root.c
489 $(CC) -c $(GFLAGS) -I$(ROOT) $<
490
491 rtlsym.o: $C/rtlsym.h $C/rtlsym.c
492 $(CC) -c $(MFLAGS) $C/rtlsym.c
493
7b8e040 @braddr Minor white space cleanups. Minor argument swaps to establish consis…
braddr authored
494 s2ir.o: $C/rtlsym.h statement.h s2ir.c
495 $(CC) -c $(MFLAGS) -I$(ROOT) s2ir.c
26fdc35 @braddr Merge all the .mak files except win32.mak into posix.mak. Tested on …
braddr authored
496
497 scope.o: scope.c
498 $(CC) -c $(CFLAGS) $<
499
500 speller.o: $(ROOT)/speller.c
501 $(CC) -c $(GFLAGS) -I$(ROOT) $<
502
503 statement.o: statement.c
504 $(CC) -c $(CFLAGS) $<
505
506 staticassert.o: staticassert.h staticassert.c
507 $(CC) -c $(CFLAGS) staticassert.c
508
509 stringtable.o: $(ROOT)/stringtable.c
510 $(CC) -c $(GFLAGS) -I$(ROOT) $<
511
512 strtold.o: $C/strtold.c
513 gcc -m$(MODEL) -c $C/strtold.c
514
515 struct.o: struct.c
516 $(CC) -c $(CFLAGS) $<
517
518 template.o: template.c
519 $(CC) -c $(CFLAGS) $<
520
521 ti_achar.o: $C/tinfo.h $C/ti_achar.c
522 $(CC) -c $(MFLAGS) -I. $C/ti_achar.c
523
524 ti_pvoid.o: $C/tinfo.h $C/ti_pvoid.c
525 $(CC) -c $(MFLAGS) -I. $C/ti_pvoid.c
526
527 tk.o: tk.c
528 $(CC) -c $(MFLAGS) tk.c
529
05e994f @braddr Remove unused TOTALH variable
braddr authored
530 tocsym.o: $(CH) mars.h module.h tocsym.c
26fdc35 @braddr Merge all the .mak files except win32.mak into posix.mak. Tested on …
braddr authored
531 $(CC) -c $(MFLAGS) -I$(ROOT) tocsym.c
532
05e994f @braddr Remove unused TOTALH variable
braddr authored
533 toctype.o: $(CH) $C/rtlsym.h mars.h module.h toctype.c
26fdc35 @braddr Merge all the .mak files except win32.mak into posix.mak. Tested on …
braddr authored
534 $(CC) -c $(MFLAGS) -I$(ROOT) toctype.c
535
7b8e040 @braddr Minor white space cleanups. Minor argument swaps to establish consis…
braddr authored
536 todt.o: mtype.h expression.h $C/dt.h todt.c
537 $(CC) -c $(MFLAGS) -I$(ROOT) todt.c
26fdc35 @braddr Merge all the .mak files except win32.mak into posix.mak. Tested on …
braddr authored
538
05e994f @braddr Remove unused TOTALH variable
braddr authored
539 toelfdebug.o: $(CH) mars.h toelfdebug.c
26fdc35 @braddr Merge all the .mak files except win32.mak into posix.mak. Tested on …
braddr authored
540 $(CC) -c $(MFLAGS) -I$(ROOT) toelfdebug.c
541
542 toir.o: $C/rtlsym.h expression.h toir.h toir.c
7b8e040 @braddr Minor white space cleanups. Minor argument swaps to establish consis…
braddr authored
543 $(CC) -c $(MFLAGS) -I$(ROOT) toir.c
26fdc35 @braddr Merge all the .mak files except win32.mak into posix.mak. Tested on …
braddr authored
544
05e994f @braddr Remove unused TOTALH variable
braddr authored
545 toobj.o: $(CH) mars.h module.h toobj.c
26fdc35 @braddr Merge all the .mak files except win32.mak into posix.mak. Tested on …
braddr authored
546 $(CC) -c $(MFLAGS) -I$(ROOT) toobj.c
547
05e994f @braddr Remove unused TOTALH variable
braddr authored
548 traits.o: traits.c
26fdc35 @braddr Merge all the .mak files except win32.mak into posix.mak. Tested on …
braddr authored
549 $(CC) -c $(CFLAGS) $<
550
551 type.o: $C/type.c
552 $(CC) -c $(MFLAGS) $C/type.c
553
05e994f @braddr Remove unused TOTALH variable
braddr authored
554 typinf.o: $(CH) mars.h module.h mtype.h typinf.c
26fdc35 @braddr Merge all the .mak files except win32.mak into posix.mak. Tested on …
braddr authored
555 $(CC) -c $(MFLAGS) -I$(ROOT) typinf.c
556
557 util.o: util.c
558 $(CC) -c $(MFLAGS) $<
559
560 utf.o: utf.h utf.c
561 $(CC) -c $(CFLAGS) utf.c
562
563 unialpha.o: unialpha.c
564 $(CC) -c $(CFLAGS) $<
565
566 unittests.o: unittests.c
567 $(CC) -c $(CFLAGS) $<
568
569 var.o: $C/var.c optab.c
570 $(CC) -c $(MFLAGS) -I. $C/var.c
571
572 version.o: version.c
573 $(CC) -c $(CFLAGS) $<
574
575 ######################################################
576
577 gcov:
578 gcov access.c
579 gcov aliasthis.c
580 gcov arrayop.c
581 gcov attrib.c
582 gcov bit.c
583 gcov builtin.c
584 gcov cast.c
585 gcov class.c
586 gcov clone.c
587 gcov cond.c
588 gcov constfold.c
589 gcov declaration.c
590 gcov delegatize.c
591 gcov doc.c
592 gcov dsymbol.c
593 gcov dump.c
594 gcov e2ir.c
595 gcov eh.c
596 gcov entity.c
597 gcov enum.c
598 gcov expression.c
599 gcov func.c
600 gcov glue.c
601 gcov iasm.c
602 gcov identifier.c
603 gcov imphint.c
604 gcov import.c
605 gcov inifile.c
606 gcov init.c
607 gcov inline.c
608 gcov interpret.c
609 gcov irstate.c
610 gcov json.c
611 gcov lexer.c
612 ifeq (OSX,$(TARGET))
613 gcov libmach.c
614 else
615 gcov libelf.c
616 endif
617 gcov link.c
618 gcov macro.c
619 gcov mangle.c
620 gcov mars.c
621 gcov module.c
622 gcov msc.c
623 gcov mtype.c
624 gcov opover.c
625 gcov optimize.c
626 gcov parse.c
627 gcov ph.c
628 gcov scope.c
629 gcov statement.c
630 gcov staticassert.c
631 gcov s2ir.c
632 gcov struct.c
633 gcov template.c
634 gcov tk.c
635 gcov tocsym.c
636 gcov todt.c
637 gcov toobj.c
638 gcov toctype.c
639 gcov toelfdebug.c
640 gcov typinf.c
641 gcov unialpha.c
642 gcov utf.c
643 gcov util.c
644 gcov version.c
645
646 # gcov hdrgen.c
647 # gcov tocvdebug.c
648
649 ######################################################
650
651 zip:
652 -rm -f dmdsrc.zip
653 zip dmdsrc $(SRC)
Something went wrong with that request. Please try again.