@@ -38,28 +38,16 @@ CC = $(cc)
3838LINKLIB = $(implib) /nologo /out:
3939CFLAGS = $(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
4040HEAPOBJS = 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
4242LIBFILE = pentium-run-time.lib
4343USEROBJ = harp-support\x86-windows\dylan-support.obj
4444USERLIB = dylan-support.lib
4545MINCRT = minvcrt.lib
4646
4747RUNTIMELIBDEST = $(LIBDEST)\pentium-run-time.lib
48- MMDWDEST = $(LIBDEST)\mmdw.lib
49- PLINTHDEST = $(LIBDEST)\mpsplinth.lib
5048MINCRTDEST = $(LIBDEST)\minvcrt.lib
5149
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-
6150PLINTHOBJS = plinth.obj mpsiowin32.obj
62- DYLANPLINTH = dylan-plinth.lib
6351
6452!if defined(fullcrt)
6553$(MINCRT):
@@ -72,11 +60,8 @@ rtsyms.obj: rtsyms.s
7260 as -n -o rtsyms.obj rtsyms.s
7361!endif
7462
75- $(DYLANPLINTH): $(PLINTHOBJS)
76- $(LINKLIB)$(DYLANPLINTH) $(PLINTHOBJS)
77-
78- $(LIBFILE): $(OBJS)
79- $(LINKLIB)$(LIBFILE) $(OBJS)
63+ $(LIBFILE): $(OBJS) $(PLINTHOBJS)
64+ $(LINKLIB)$(LIBFILE) $(OBJS) $(PLINTHOBJS)
8065
8166$(USERLIB): $(USEROBJ)
8267 $(LINKLIB)$(USERLIB) $(USEROBJ)
@@ -103,25 +88,6 @@ install-runtime: $(LIBFILE)
10388 pushd $(LIBDEST) & (del /q /f $(LIBFILE)) & popd
10489 copy $(LIBFILE) $(LIBDEST)
10590
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-
12591!if defined(fullcrt)
12692install-mincrt:
12793 echo Building pentium run time: install-mincrt (fullcrt)
@@ -132,42 +98,15 @@ install-mincrt: $(MINCRT)
13298 copy $(MINCRT) $(MINCRTDEST)
13399!endif
134100
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
163102
164- install: ensure-dirs install-stripped install-build
103+ install: ensure-dirs install-runtime install-common-libs install-build
165104
166105# Only delete the products that should be built by this makefile.
167106# (The files runtime.obj & dylan-support.obj are checked out from HOPE)
168107clean:
169108 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
170109 pushd . & (del /f /q *pentium-run-time.lib $(USERLIB)) & popd
171110 pushd . & (del /f /q $(MINCRT) mincrt.def) & popd
172- pushd . & (del /f /q $(DYLANPLINTH) $( PLINTHOBJS)) & popd
111+ pushd . & (del /f /q $(PLINTHOBJS)) & popd
173112
0 commit comments