Mercurial > projects > ddmd
annotate win32_lib.mak @ 137:09c858522d55
merge
author | Trass3r |
---|---|
date | Mon, 13 Sep 2010 23:29:00 +0200 |
parents | 722df8e7509c |
children |
rev | line source |
---|---|
6
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
1 #_ win32_lib.mak |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
2 # Copyright (C) 1999-2009 by Digital Mars, http://www.digitalmars.com |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
3 # Written by Walter Bright |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
4 # All Rights Reserved |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
5 # Build dmd with Digital Mars C++ compiler |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
6 |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
7 D= |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
8 DMDSVN=\svnproj\dmd\trunk\src |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
9 SCROOT=$D\dm |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
10 INCLUDE=$(SCROOT)\include |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
11 CC=\dm\bin\dmc |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
12 LIBNT=$(SCROOT)\lib |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
13 SNN=$(SCROOT)\lib\snn |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
14 DIR=\dmd2 |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
15 CP=cp |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
16 |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
17 C=backend |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
18 TK=tk |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
19 ROOT=root |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
20 |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
21 MAKE=make -fwin32_lib.mak C=$C TK=$(TK) ROOT=$(ROOT) |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
22 |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
23 TARGET=dmd |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
24 XFLG= |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
25 MODEL=n |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
26 OPT= |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
27 DEBUG=-gl -D |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
28 #PREC=-H -HItotal.h -HO |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
29 PREC= |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
30 LFLAGS= |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
31 |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
32 LINKN=$(SCROOT)\bin\link /de |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
33 |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
34 CFLAGS=-I$(ROOT);$(INCLUDE) $(XFLG) $(OPT) $(DEBUG) -cpp -D_DH |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
35 MFLAGS=-I$C;$(TK) -DMARS -cpp $(DEBUG) -e -wx -D_DH |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
36 |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
37 # Makerules: |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
38 .c.obj: |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
39 $(CC) -c $(CFLAGS) $(PREC) $* |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
40 |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
41 .asm.obj: |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
42 $(CC) -c $(CFLAGS) $* |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
43 |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
44 defaulttarget: debdmd |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
45 |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
46 ################ RELEASES ######################### |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
47 |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
48 release: |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
49 $(MAKE) clean |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
50 $(MAKE) dmd |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
51 $(MAKE) clean |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
52 |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
53 ################ NT COMMAND LINE RELEASE ######################### |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
54 |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
55 trace: |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
56 $(MAKE) OPT=-o "DEBUG=-gt -Nc" LFLAGS=-L/ma/co/delexe dmd.lib |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
57 |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
58 dmd: |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
59 $(MAKE) OPT=-o "DEBUG=" LFLAGS=-L/delexe dmd.lib |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
60 # $(MAKE) OPT=-o "DEBUG=" LFLAGS=-L/ma/co/delexe dmd.exe |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
61 |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
62 ################ NT COMMAND LINE DEBUG ######################### |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
63 |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
64 debdmd: |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
65 $(MAKE) OPT= "DEBUG=-D -g" LFLAGS=-L/ma/co dmd.lib |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
66 |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
67 ######################################### |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
68 |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
69 # D front end |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
70 |
81 | 71 OBJ1= mars2.obj enum.obj struct.obj dsymbol.obj import.obj id.obj \ |
6
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
72 staticassert.obj identifier.obj mtype.obj expression.obj \ |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
73 optimize.obj template.obj lexer.obj declaration.obj cast.obj \ |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
74 init.obj func.obj utf.obj unialpha.obj parse.obj statement.obj \ |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
75 constfold.obj version.obj inifile.obj typinf.obj \ |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
76 module.obj scope.obj dump.obj cond.obj inline.obj opover.obj \ |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
77 entity.obj class.obj mangle.obj attrib.obj impcnvtab.obj \ |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
78 link.obj access.obj doc.obj macro.obj hdrgen.obj delegatize.obj \ |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
79 interpret.obj traits.obj aliasthis.obj \ |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
80 builtin.obj clone.obj libomf.obj arrayop.obj irstate.obj \ |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
81 glue.obj msc.obj ph.obj tk.obj s2ir.obj todt.obj e2ir.obj tocsym.obj \ |
79 | 82 util.obj bit.obj eh.obj toobj.obj toctype.obj tocvdebug.obj toir.obj \ |
83 json.obj | |
6
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
84 |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
85 # from C/C++ compiler optimizer and back end |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
86 |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
87 OBJ8= go.obj gdag.obj gother.obj gflow.obj gloop.obj var.obj el.obj \ |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
88 newman.obj glocal.obj os.obj nteh.obj evalu8.obj cgcs.obj \ |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
89 rtlsym.obj html.obj cgelem.obj cgen.obj cgreg.obj out.obj \ |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
90 blockopt.obj cgobj.obj cg.obj cgcv.obj type.obj dt.obj \ |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
91 debug.obj code.obj cg87.obj cgsched.obj ee.obj csymbol.obj \ |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
92 cgcod.obj cod1.obj cod2.obj cod3.obj cod4.obj cod5.obj outbuf.obj \ |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
93 bcomplex.obj iasm.obj ptrntab.obj aa.obj ti_achar.obj md5.obj |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
94 |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
95 # from ROOT |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
96 |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
97 ROOTOBJS= lstring.obj array.obj gnuc.obj man.obj rmem.obj port.obj root.obj \ |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
98 stringtable.obj dchar.obj response.obj async.obj |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
99 |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
100 OBJS= $(OBJ1) $(OBJ8) $(ROOTOBJS) |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
101 |
76
5196b7829be2
Changed mars.c to mars2.c to avoid obscure bugs when wrong main function is linked
korDen
parents:
71
diff
changeset
|
102 SRCS= mars2.c enum.c struct.c dsymbol.c import.c idgen.c impcnvgen.c utf.h \ |
6
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
103 utf.c entity.c identifier.c mtype.c expression.c optimize.c \ |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
104 template.h template.c lexer.c declaration.c cast.c \ |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
105 cond.h cond.c link.c aggregate.h staticassert.h parse.c statement.c \ |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
106 constfold.c version.h version.c inifile.c iasm.c staticassert.c \ |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
107 module.c scope.c dump.c init.h init.c attrib.h attrib.c opover.c \ |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
108 eh.c toctype.c class.c mangle.c bit.c tocsym.c func.c inline.c \ |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
109 access.c complex_t.h unialpha.c irstate.h irstate.c glue.c msc.c \ |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
110 ph.c tk.c s2ir.c todt.c e2ir.c util.c toobj.c cppmangle.c \ |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
111 identifier.h parse.h objfile.h scope.h enum.h import.h \ |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
112 typinf.c tocvdebug.c toelfdebug.c mars.h module.h mtype.h dsymbol.h \ |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
113 declaration.h lexer.h expression.h statement.h doc.h doc.c \ |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
114 macro.h macro.c hdrgen.h hdrgen.c arraytypes.h \ |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
115 delegatize.c toir.h toir.c interpret.c traits.c builtin.c \ |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
116 clone.c lib.h libomf.c libelf.c libmach.c arrayop.c \ |
79 | 117 aliasthis.h aliasthis.c json.h json.c |
6
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
118 |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
119 # From C++ compiler |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
120 |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
121 BACKSRC= $C\cdef.h $C\cc.h $C\oper.h $C\ty.h $C\optabgen.c \ |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
122 $C\global.h $C\parser.h $C\code.h $C\type.h $C\dt.h $C\cgcv.h \ |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
123 $C\el.h $C\iasm.h $C\rtlsym.h $C\html.h \ |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
124 $C\bcomplex.c $C\blockopt.c $C\cg.c $C\cg87.c \ |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
125 $C\cgcod.c $C\cgcs.c $C\cgcv.c $C\cgelem.c $C\cgen.c $C\cgobj.c \ |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
126 $C\cgreg.c $C\var.c \ |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
127 $C\cgsched.c $C\cod1.c $C\cod2.c $C\cod3.c $C\cod4.c $C\cod5.c \ |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
128 $C\code.c $C\symbol.c $C\debug.c $C\dt.c $C\ee.c $C\el.c \ |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
129 $C\evalu8.c $C\go.c $C\gflow.c $C\gdag.c \ |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
130 $C\gother.c $C\glocal.c $C\gloop.c $C\html.c $C\newman.c \ |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
131 $C\nteh.c $C\os.c $C\out.c $C\outbuf.c $C\ptrntab.c $C\rtlsym.c \ |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
132 $C\type.c $C\melf.h $C\mach.h $C\bcomplex.h \ |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
133 $C\cdeflnx.h $C\outbuf.h $C\token.h $C\tassert.h \ |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
134 $C\elfobj.c $C\cv4.h $C\dwarf2.h $C\cpp.h $C\exh.h $C\go.h \ |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
135 $C\dwarf.c $C\dwarf.h $C\cppman.c $C\machobj.c \ |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
136 $C\strtold.c $C\aa.h $C\aa.c $C\tinfo.h $C\ti_achar.c \ |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
137 $C\md5.h $C\md5.c |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
138 |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
139 # From TK |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
140 |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
141 TKSRC= $(TK)\filespec.h $(TK)\mem.h $(TK)\list.h $(TK)\vec.h \ |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
142 $(TK)\filespec.c $(TK)\mem.c $(TK)\vec.c $(TK)\list.c |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
143 |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
144 # From root |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
145 |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
146 ROOTSRC= $(ROOT)\dchar.h $(ROOT)\dchar.c $(ROOT)\lstring.h \ |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
147 $(ROOT)\lstring.c $(ROOT)\root.h $(ROOT)\root.c $(ROOT)\array.c \ |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
148 $(ROOT)\rmem.h $(ROOT)\rmem.c $(ROOT)\port.h \ |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
149 $(ROOT)\stringtable.h $(ROOT)\stringtable.c \ |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
150 $(ROOT)\gnuc.h $(ROOT)\gnuc.c $(ROOT)\man.c $(ROOT)\port.c \ |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
151 $(ROOT)\response.c $(ROOT)\async.h $(ROOT)\async.c |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
152 |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
153 MAKEFILES=win32.mak win32_lib.mak linux.mak osx.mak freebsd.mak solaris.mak |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
154 |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
155 ######################################### |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
156 |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
157 $(TARGET).lib : $(OBJS) win32_lib.mak |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
158 lib -c -p128 $(TARGET).lib $(OBJS) |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
159 |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
160 ##################### INCLUDE MACROS ##################### |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
161 |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
162 CCH= |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
163 #TOTALH=$(CCH) total.sym |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
164 TOTALH=$(CCH) id.h |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
165 CH= $C\cc.h $C\global.h $C\parser.h $C\oper.h $C\code.h $C\type.h $C\dt.h $C\cgcv.h $C\el.h $C\iasm.h |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
166 |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
167 ##################### GENERATED SOURCE ##################### |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
168 |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
169 msgs.h msgs.c sj1041.msg sj1036.msg sj1031.msg : msgsx.exe |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
170 msgsx |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
171 |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
172 msgsx.exe : msgsx.c |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
173 dmc msgsx -mn -D$(TARGET) $(DEFINES) $(WINLIBS) |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
174 |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
175 elxxx.c cdxxx.c optab.c debtab.c fltables.c tytab.c : \ |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
176 $C\cdef.h $C\cc.h $C\oper.h $C\ty.h $C\optabgen.c |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
177 dmc -cpp -ooptabgen.exe $C\optabgen -DMARS -I$(TK) $(WINLIBS) #-L$(LINKS) |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
178 optabgen |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
179 |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
180 impcnvtab.c : impcnvgen.c |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
181 $(CC) -I$(ROOT) -cpp impcnvgen |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
182 impcnvgen |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
183 |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
184 id.h id.c : idgen.c |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
185 dmc -cpp idgen |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
186 idgen |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
187 |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
188 ##################### SPECIAL BUILDS ##################### |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
189 |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
190 total.sym : $(ROOT)\root.h mars.h lexer.h parse.h enum.h dsymbol.h \ |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
191 mtype.h expression.h attrib.h init.h cond.h version.h \ |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
192 declaration.h statement.h scope.h import.h module.h id.h \ |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
193 template.h aggregate.h arraytypes.h lib.h total.h |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
194 $(CC) -c $(CFLAGS) -HFtotal.sym total.h |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
195 |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
196 impcnvtab.obj : mtype.h impcnvtab.c |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
197 $(CC) -c -I$(ROOT) -cpp impcnvtab |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
198 |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
199 iasm.obj : $(CH) $(TOTALH) $C\iasm.h iasm.c |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
200 $(CC) -c $(MFLAGS) -I$(ROOT) iasm |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
201 |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
202 bcomplex.obj : $C\bcomplex.c |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
203 $(CC) -c $(MFLAGS) $C\bcomplex |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
204 |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
205 aa.obj : $C\tinfo.h $C\aa.h $C\aa.c |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
206 $(CC) -c $(MFLAGS) -I. $C\aa |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
207 |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
208 bit.obj : expression.h bit.c |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
209 $(CC) -c -I$(ROOT) $(MFLAGS) bit |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
210 |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
211 blockopt.obj : $C\blockopt.c |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
212 $(CC) -c $(MFLAGS) $C\blockopt |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
213 |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
214 cg.obj : $C\cg.c |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
215 $(CC) -c $(MFLAGS) -I. $C\cg |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
216 |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
217 cg87.obj : $C\cg87.c |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
218 $(CC) -c $(MFLAGS) $C\cg87 |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
219 |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
220 cgcod.obj : $C\cgcod.c |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
221 $(CC) -c $(MFLAGS) -I. $C\cgcod |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
222 |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
223 cgcs.obj : $C\cgcs.c |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
224 $(CC) -c $(MFLAGS) $C\cgcs |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
225 |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
226 cgcv.obj : $C\cgcv.c |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
227 $(CC) -c $(MFLAGS) $C\cgcv |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
228 |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
229 cgelem.obj : $C\rtlsym.h $C\cgelem.c |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
230 $(CC) -c $(MFLAGS) -I. $C\cgelem |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
231 |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
232 cgen.obj : $C\rtlsym.h $C\cgen.c |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
233 $(CC) -c $(MFLAGS) $C\cgen |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
234 |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
235 cgobj.obj : $C\md5.h $C\cgobj.c |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
236 $(CC) -c $(MFLAGS) $C\cgobj |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
237 |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
238 cgreg.obj : $C\cgreg.c |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
239 $(CC) -c $(MFLAGS) $C\cgreg |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
240 |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
241 cgsched.obj : $C\rtlsym.h $C\cgsched.c |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
242 $(CC) -c $(MFLAGS) $C\cgsched |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
243 |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
244 cod1.obj : $C\rtlsym.h $C\cod1.c |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
245 $(CC) -c $(MFLAGS) $C\cod1 |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
246 |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
247 cod2.obj : $C\rtlsym.h $C\cod2.c |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
248 $(CC) -c $(MFLAGS) $C\cod2 |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
249 |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
250 cod3.obj : $C\rtlsym.h $C\cod3.c |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
251 $(CC) -c $(MFLAGS) $C\cod3 |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
252 |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
253 cod4.obj : $C\cod4.c |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
254 $(CC) -c $(MFLAGS) $C\cod4 |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
255 |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
256 cod5.obj : $C\cod5.c |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
257 $(CC) -c $(MFLAGS) $C\cod5 |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
258 |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
259 code.obj : $C\code.c |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
260 $(CC) -c $(MFLAGS) $C\code |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
261 |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
262 irstate.obj : irstate.h irstate.c |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
263 $(CC) -c $(MFLAGS) irstate |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
264 |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
265 csymbol.obj : $C\symbol.c |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
266 $(CC) -c $(MFLAGS) $C\symbol -ocsymbol.obj |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
267 |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
268 debug.obj : $C\debug.c |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
269 $(CC) -c $(MFLAGS) -I. $C\debug |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
270 |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
271 dt.obj : $C\dt.h $C\dt.c |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
272 $(CC) -c $(MFLAGS) $C\dt |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
273 |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
274 ee.obj : $C\ee.c |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
275 $(CC) -c $(MFLAGS) $C\ee |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
276 |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
277 eh.obj : $C\cc.h $C\code.h $C\type.h $C\dt.h eh.c |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
278 $(CC) -c $(MFLAGS) eh |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
279 |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
280 el.obj : $C\rtlsym.h $C\el.h $C\el.c |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
281 $(CC) -c $(MFLAGS) $C\el |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
282 |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
283 evalu8.obj : $C\evalu8.c |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
284 $(CC) -c $(MFLAGS) $C\evalu8 |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
285 |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
286 go.obj : $C\go.c |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
287 $(CC) -c $(MFLAGS) $C\go |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
288 |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
289 gflow.obj : $C\gflow.c |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
290 $(CC) -c $(MFLAGS) $C\gflow |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
291 |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
292 gdag.obj : $C\gdag.c |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
293 $(CC) -c $(MFLAGS) $C\gdag |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
294 |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
295 gother.obj : $C\gother.c |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
296 $(CC) -c $(MFLAGS) $C\gother |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
297 |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
298 glocal.obj : $C\rtlsym.h $C\glocal.c |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
299 $(CC) -c $(MFLAGS) $C\glocal |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
300 |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
301 gloop.obj : $C\gloop.c |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
302 $(CC) -c $(MFLAGS) $C\gloop |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
303 |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
304 glue.obj : $(CH) $(TOTALH) $C\rtlsym.h mars.h module.h glue.c |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
305 $(CC) -c $(MFLAGS) -I$(ROOT) glue |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
306 |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
307 html.obj : $(CH) $(TOTALH) $C\html.h $C\html.c |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
308 $(CC) -c -I$(ROOT) $(MFLAGS) $C\html |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
309 |
76
5196b7829be2
Changed mars.c to mars2.c to avoid obscure bugs when wrong main function is linked
korDen
parents:
71
diff
changeset
|
310 mars2.obj : $(TOTALH) module.h mars.h mars2.c |
6
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
311 $(CC) -c $(CFLAGS) $(PREC) $* -Ae |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
312 |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
313 md5.obj : $C\md5.h $C\md5.c |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
314 $(CC) -c $(MFLAGS) $C\md5 |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
315 |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
316 module.obj : $(TOTALH) $C\html.h module.c |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
317 $(CC) -c $(CFLAGS) -I$C $(PREC) module.c |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
318 |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
319 msc.obj : $(CH) mars.h msc.c |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
320 $(CC) -c $(MFLAGS) msc |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
321 |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
322 newman.obj : $(CH) $C\newman.c |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
323 $(CC) -c $(MFLAGS) $C\newman |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
324 |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
325 nteh.obj : $C\rtlsym.h $C\nteh.c |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
326 $(CC) -c $(MFLAGS) $C\nteh |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
327 |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
328 os.obj : $C\os.c |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
329 $(CC) -c $(MFLAGS) $C\os |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
330 |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
331 out.obj : $C\out.c |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
332 $(CC) -c $(MFLAGS) $C\out |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
333 |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
334 outbuf.obj : $C\outbuf.h $C\outbuf.c |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
335 $(CC) -c $(MFLAGS) $C\outbuf |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
336 |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
337 ph.obj : ph.c |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
338 $(CC) -c $(MFLAGS) ph |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
339 |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
340 ptrntab.obj : $C\iasm.h $C\ptrntab.c |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
341 $(CC) -c $(MFLAGS) $C\ptrntab |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
342 |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
343 rtlsym.obj : $C\rtlsym.h $C\rtlsym.c |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
344 $(CC) -c $(MFLAGS) $C\rtlsym |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
345 |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
346 ti_achar.obj : $C\tinfo.h $C\ti_achar.c |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
347 $(CC) -c $(MFLAGS) -I. $C\ti_achar |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
348 |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
349 toctype.obj : $(CH) $(TOTALH) $C\rtlsym.h mars.h module.h toctype.c |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
350 $(CC) -c $(MFLAGS) -I$(ROOT) toctype |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
351 |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
352 tocvdebug.obj : $(CH) $(TOTALH) $C\rtlsym.h mars.h module.h tocvdebug.c |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
353 $(CC) -c $(MFLAGS) -I$(ROOT) tocvdebug |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
354 |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
355 toobj.obj : $(CH) $(TOTALH) mars.h module.h toobj.c |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
356 $(CC) -c $(MFLAGS) -I$(ROOT) toobj |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
357 |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
358 type.obj : $C\type.c |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
359 $(CC) -c $(MFLAGS) $C\type |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
360 |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
361 typinf.obj : $(CH) $(TOTALH) $C\rtlsym.h mars.h module.h typinf.c |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
362 $(CC) -c $(MFLAGS) -I$(ROOT) typinf |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
363 |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
364 todt.obj : mtype.h expression.h $C\dt.h todt.c |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
365 $(CC) -c -I$(ROOT) $(MFLAGS) todt |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
366 |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
367 s2ir.obj : $C\rtlsym.h statement.h s2ir.c |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
368 $(CC) -c -I$(ROOT) $(MFLAGS) s2ir |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
369 |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
370 e2ir.obj : $C\rtlsym.h expression.h toir.h e2ir.c |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
371 $(CC) -c -I$(ROOT) $(MFLAGS) e2ir |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
372 |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
373 toir.obj : $C\rtlsym.h expression.h toir.h toir.c |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
374 $(CC) -c -I$(ROOT) $(MFLAGS) toir |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
375 |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
376 tocsym.obj : $(CH) $(TOTALH) mars.h module.h tocsym.c |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
377 $(CC) -c $(MFLAGS) -I$(ROOT) tocsym |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
378 |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
379 util.obj : util.c |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
380 $(CC) -c $(MFLAGS) util |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
381 |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
382 var.obj : $C\var.c optab.c |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
383 $(CC) -c $(MFLAGS) -I. $C\var |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
384 |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
385 |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
386 tk.obj : tk.c |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
387 $(CC) -c $(MFLAGS) tk.c |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
388 |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
389 # ROOT |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
390 |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
391 array.obj : $(ROOT)\array.c |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
392 $(CC) -c $(CFLAGS) $(ROOT)\array.c |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
393 |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
394 async.obj : $(ROOT)\async.h $(ROOT)\async.c |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
395 $(CC) -c $(CFLAGS) $(ROOT)\async.c |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
396 |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
397 dchar.obj : $(ROOT)\dchar.c |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
398 $(CC) -c $(CFLAGS) $(ROOT)\dchar.c |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
399 |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
400 gnuc.obj : $(ROOT)\gnuc.c |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
401 $(CC) -c $(CFLAGS) $(ROOT)\gnuc.c |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
402 |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
403 lstring.obj : $(ROOT)\lstring.c |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
404 $(CC) -c $(CFLAGS) $(ROOT)\lstring.c |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
405 |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
406 man.obj : $(ROOT)\man.c |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
407 $(CC) -c $(CFLAGS) $(ROOT)\man.c |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
408 |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
409 rmem.obj : $(ROOT)\rmem.c |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
410 $(CC) -c $(CFLAGS) $(ROOT)\rmem.c |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
411 |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
412 port.obj : $(ROOT)\port.c |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
413 $(CC) -c $(CFLAGS) $(ROOT)\port.c |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
414 |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
415 root.obj : $(ROOT)\root.c |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
416 $(CC) -c $(CFLAGS) $(ROOT)\root.c |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
417 |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
418 response.obj : $(ROOT)\response.c |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
419 $(CC) -c $(CFLAGS) $(ROOT)\response.c |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
420 |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
421 stringtable.obj : $(ROOT)\stringtable.c |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
422 $(CC) -c $(CFLAGS) $(ROOT)\stringtable.c |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
423 |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
424 |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
425 ################# Source file dependencies ############### |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
426 |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
427 access.obj : $(TOTALH) enum.h aggregate.h init.h attrib.h access.c |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
428 aliasthis.obj : $(TOTALH) aliasthis.h aliasthis.c |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
429 arrayop.obj : $(TOTALH) identifier.h declaration.h arrayop.c |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
430 attrib.obj : $(TOTALH) identifier.h declaration.h attrib.h attrib.c |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
431 builtin.obj : $(TOTALH) builtin.c |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
432 cast.obj : $(TOTALH) expression.h mtype.h cast.c |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
433 class.obj : $(TOTALH) enum.h class.c |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
434 clone.obj : $(TOTALH) clone.c |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
435 constfold.obj : $(TOTALH) expression.h constfold.c |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
436 cond.obj : $(TOTALH) identifier.h declaration.h cond.h cond.c |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
437 declaration.obj : $(TOTALH) identifier.h attrib.h declaration.h declaration.c |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
438 delegatize.obj : $(TOTALH) delegatize.c |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
439 doc.obj : $(TOTALH) doc.h doc.c |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
440 enum.obj : $(TOTALH) identifier.h enum.h enum.c |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
441 expression.obj : $(TOTALH) expression.h expression.c |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
442 func.obj : $(TOTALH) identifier.h attrib.h declaration.h func.c |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
443 hdrgen.obj : $(TOTALH) hdrgen.h hdrgen.c |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
444 id.obj : $(TOTALH) id.h id.c |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
445 identifier.obj : $(TOTALH) identifier.h identifier.c |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
446 import.obj : $(TOTALH) dsymbol.h import.h import.c |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
447 inifile.obj : $(TOTALH) inifile.c |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
448 init.obj : $(TOTALH) init.h init.c |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
449 inline.obj : $(TOTALH) inline.c |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
450 interpret.obj : $(TOTALH) interpret.c |
79 | 451 json.obj : $(TOTALH) json.h json.c |
6
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
452 lexer.obj : $(TOTALH) lexer.c |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
453 libomf.obj : $(TOTALH) lib.h libomf.c |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
454 link.obj : $(TOTALH) link.c |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
455 macro.obj : $(TOTALH) macro.h macro.c |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
456 mangle.obj : $(TOTALH) dsymbol.h declaration.h mangle.c |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
457 #module.obj : $(TOTALH) mars.h $C\html.h module.h module.c |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
458 opover.obj : $(TOTALH) expression.h opover.c |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
459 optimize.obj : $(TOTALH) expression.h optimize.c |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
460 parse.obj : $(TOTALH) attrib.h lexer.h parse.h parse.c |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
461 scope.obj : $(TOTALH) scope.h scope.c |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
462 statement.obj : $(TOTALH) statement.h statement.c |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
463 staticassert.obj : $(TOTALH) staticassert.h staticassert.c |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
464 struct.obj : $(TOTALH) identifier.h enum.h struct.c |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
465 traits.obj : $(TOTALH) traits.c |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
466 dsymbol.obj : $(TOTALH) identifier.h dsymbol.h dsymbol.c |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
467 mtype.obj : $(TOTALH) mtype.h mtype.c |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
468 #typinf.obj : $(TOTALH) mtype.h typinf.c |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
469 utf.obj : utf.h utf.c |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
470 template.obj : $(TOTALH) template.h template.c |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
471 version.obj : $(TOTALH) identifier.h dsymbol.h cond.h version.h version.c |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
472 |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
473 ################### Utilities ################ |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
474 |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
475 clean: |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
476 del *.obj |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
477 del total.sym |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
478 del msgs.h msgs.c |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
479 del elxxx.c cdxxx.c optab.c debtab.c fltables.c tytab.c |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
480 del impcnvtab.c |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
481 |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
482 zip : $(MAKEFILES) |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
483 del dmdsrc.zip |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
484 zip32 dmdsrc $(MAKEFILES) |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
485 zip32 dmdsrc $(SRCS) |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
486 zip32 dmdsrc $(BACKSRC) |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
487 zip32 dmdsrc $(TKSRC) |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
488 zip32 dmdsrc $(ROOTSRC) |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
489 |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
490 ################### Install ################ |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
491 |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
492 install: |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
493 copy dmd.exe $(DIR)\windows\bin\ |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
494 copy phobos\phobos.lib $(DIR)\windows\lib |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
495 $(CP) $(SRCS) $(DIR)\src\dmd\ |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
496 $(CP) $(ROOTSRC) $(DIR)\src\dmd\root\ |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
497 $(CP) $(TKSRC) $(DIR)\src\dmd\tk\ |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
498 $(CP) $(BACKSRC) $(DIR)\src\dmd\backend\ |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
499 $(CP) $(MAKEFILES) $(DIR)\src\dmd\ |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
500 copy gpl.txt $(DIR)\src\dmd\ |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
501 copy readme.txt $(DIR)\src\dmd\ |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
502 copy artistic.txt $(DIR)\src\dmd\ |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
503 copy backendlicense.txt $(DIR)\src\dmd\ |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
504 |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
505 ################### Write to SVN ################ |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
506 |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
507 svn: |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
508 $(CP) $(SRCS) $(DMDSVN)\ |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
509 $(CP) $(ROOTSRC) $(DMDSVN)\root\ |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
510 $(CP) $(TKSRC) $(DMDSVN)\tk\ |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
511 $(CP) $(BACKSRC) $(DMDSVN)\backend\ |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
512 $(CP) $(MAKEFILES) $(DMDSVN)\ |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
513 copy gpl.txt $(DMDSVN)\ |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
514 copy readme.txt $(DMDSVN)\ |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
515 copy artistic.txt $(DMDSVN)\ |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
516 copy backendlicense.txt $(DMDSVN)\ |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
517 |
69d413ef14ad
Adding .lib generation makefile (win32). Still needs some tweaks
dkoroskin <>
parents:
diff
changeset
|
518 ################################### |