@@ -38,28 +38,16 @@ CC = $(cc)
38
38
LINKLIB = $(implib) /nologo /out:
39
39
CFLAGS = $(cflags) $(cvarsmt) $(cdebug) /I$(INCLUDEDEST) /I. /I.. /I$(SDK4MEMORY_POOL_SYSTEM)\code $(OPEN_DYLAN_C_FLAGS) /DOPEN_DYLAN_PLATFORM_WINDOWS /DGC_USE_MPS /DOPEN_DYLAN_ARCH_X86 /DOPEN_DYLAN_BACKEND_HARP
40
40
HEAPOBJS = heap-display.obj heap-utils.obj heap-trail.obj heap-order1.obj heap-order2.obj heap-table.obj
41
- OBJS = collector.obj break.obj $(HEAPOBJS) thread-utils.obj harp-support\x86-windows\runtime.obj windows-threads-primitives.obj windows-spy-interfaces.obj windows-harp-support.obj
41
+ OBJS = collector.obj break.obj $(HEAPOBJS) thread-utils.obj harp-support\x86-windows\runtime.obj windows-threads-primitives.obj windows-spy-interfaces.obj windows-harp-support.obj mps-dylan.obj
42
42
LIBFILE = pentium-run-time.lib
43
43
USEROBJ = harp-support\x86-windows\dylan-support.obj
44
44
USERLIB = dylan-support.lib
45
45
MINCRT = minvcrt.lib
46
46
47
47
RUNTIMELIBDEST = $(LIBDEST)\pentium-run-time.lib
48
- MMDWDEST = $(LIBDEST)\mmdw.lib
49
- PLINTHDEST = $(LIBDEST)\mpsplinth.lib
50
48
MINCRTDEST = $(LIBDEST)\minvcrt.lib
51
49
52
- RELEASEMMDW = $(SDK4MEMORY_POOL_SYSTEM)\code\w3i3mv\hi\mmdw.lib
53
- RELEASEPLINTH = $(SDK4MEMORY_POOL_SYSTEM)\code\w3i3mv\hi\mpsplan.lib
54
-
55
- DEBUGMMDW = debug-mmdw.lib
56
- DEBUGPLINTH = debug-mpsplan.lib
57
-
58
- SYMBOLICMMDW = symbolic-mmdw.lib
59
- SYMBOLICPLINTH = mpsplan.lib
60
-
61
50
PLINTHOBJS = plinth.obj mpsiowin32.obj
62
- DYLANPLINTH = dylan-plinth.lib
63
51
64
52
!if defined(fullcrt)
65
53
$(MINCRT):
@@ -72,11 +60,8 @@ rtsyms.obj: rtsyms.s
72
60
as -n -o rtsyms.obj rtsyms.s
73
61
!endif
74
62
75
- $(DYLANPLINTH): $(PLINTHOBJS)
76
- $(LINKLIB)$(DYLANPLINTH) $(PLINTHOBJS)
77
-
78
- $(LIBFILE): $(OBJS)
79
- $(LINKLIB)$(LIBFILE) $(OBJS)
63
+ $(LIBFILE): $(OBJS) $(PLINTHOBJS)
64
+ $(LINKLIB)$(LIBFILE) $(OBJS) $(PLINTHOBJS)
80
65
81
66
$(USERLIB): $(USEROBJ)
82
67
$(LINKLIB)$(USERLIB) $(USEROBJ)
@@ -103,25 +88,6 @@ install-runtime: $(LIBFILE)
103
88
pushd $(LIBDEST) & (del /q /f $(LIBFILE)) & popd
104
89
copy $(LIBFILE) $(LIBDEST)
105
90
106
- install-dylan-plinth: $(DYLANPLINTH)
107
- echo Building pentium run time: install-dylan-plinth
108
- if exist $(PLINTHDEST) del /q /f $(PLINTHDEST)
109
- copy $(DYLANPLINTH) $(PLINTHDEST)
110
-
111
- install-ansi-plinth: $(SYMBOLICPLINTH)
112
- echo Building pentium run time: install-ansi-plinth
113
- if exist $(PLINTHDEST) del /q /f $(PLINTHDEST)
114
- copy $(SYMBOLICPLINTH) $(PLINTHDEST)
115
-
116
- install-debug-ansi-plinth: $(DEBUGPLINTH)
117
- echo Building pentium run time: install-debug-ansi-plinth
118
- if exist $(PLINTHDEST) del /q /f $(PLINTHDEST)
119
- copy $(DEBUGPLINTH) $(PLINTHDEST)
120
-
121
- install-plinth: install-dylan-plinth
122
- echo Building pentium run time: install-plinth
123
-
124
-
125
91
!if defined(fullcrt)
126
92
install-mincrt:
127
93
echo Building pentium run time: install-mincrt (fullcrt)
@@ -132,42 +98,15 @@ install-mincrt: $(MINCRT)
132
98
copy $(MINCRT) $(MINCRTDEST)
133
99
!endif
134
100
135
- install-mmdw:
136
- echo Building pentium run time: install-mmdw
137
- if exist $(MMDWDEST) del /q /f $(MMDWDEST)
138
- if not exist $(RELEASEMMDW) pushd $(SDK4MEMORY_POOL_SYSTEM)\code \
139
- & $(MAKE) /k /f w3i3mv.nmk mmdw.lib > $(BUILD_LOGS)\make-mmdw.log \
140
- & popd
141
- copy $(RELEASEMMDW) $(MMDWDEST)
142
-
143
- install-symbolic-mmdw: $(SYMBOLICMMDW)
144
- echo Building pentium run time: install-symbolic-mmdw
145
- if exist $(MMDWDEST) del /q /f $(MMDWDEST)
146
- copy $(SYMBOLICMMDW) $(MMDWDEST)
147
-
148
- install-debug-mmdw: $(DEBUGMMDW)
149
- echo Building pentium run time: install-debug-mmdw
150
- if exist $(MMDWDEST) del /q /f $(MMDWDEST)
151
- copy $(DEBUGMMDW) $(MMDWDEST)
152
-
153
-
154
- install-common-libs: ensure-dirs install-plinth install-userlib install-mincrt
155
-
156
-
157
- install-stripped: ensure-dirs install-mmdw install-runtime install-common-libs
158
-
159
- install-debug: ensure-dirs install-debug-mmdw install-runtime install-common-libs
160
-
161
- install-symbolic: ensure-dirs install-symbolic-mmdw install-runtime install-common-libs
162
-
101
+ install-common-libs: ensure-dirs install-userlib install-mincrt
163
102
164
- install: ensure-dirs install-stripped install-build
103
+ install: ensure-dirs install-runtime install-common-libs install-build
165
104
166
105
# Only delete the products that should be built by this makefile.
167
106
# (The files runtime.obj & dylan-support.obj are checked out from HOPE)
168
107
clean:
169
108
pushd . & (del /f /q *collector.obj break.obj $(HEAPOBJS) thread-utils.obj windows-threads-primitives.obj windows-spy-interfaces.obj windows-harp-support.obj) & popd
170
109
pushd . & (del /f /q *pentium-run-time.lib $(USERLIB)) & popd
171
110
pushd . & (del /f /q $(MINCRT) mincrt.def) & popd
172
- pushd . & (del /f /q $(DYLANPLINTH) $( PLINTHOBJS)) & popd
111
+ pushd . & (del /f /q $(PLINTHOBJS)) & popd
173
112
0 commit comments