aboutsummaryrefslogtreecommitdiffstats
path: root/mps/code
diff options
context:
space:
mode:
authorRichard Brooksby2012-08-15 15:10:27 +0100
committerRichard Brooksby2012-08-15 15:10:27 +0100
commit2124c8eccccad897a71e5fbd52dae2eecd70f45e (patch)
tree9a309833f0347ba1c083ad11f9d32c13de7c59cb /mps/code
parentdbfad560d1dfcca2b62b503df84c89d4a3a36b3f (diff)
downloademacs-2124c8eccccad897a71e5fbd52dae2eecd70f45e.tar.gz
emacs-2124c8eccccad897a71e5fbd52dae2eecd70f45e.zip
Removing obsolete m9 platform.
Removing obsolete Visual C setup script. Copied from Perforce Change: 178933 ServerID: perforce.ravenbrook.com
Diffstat (limited to 'mps/code')
-rw-r--r--mps/code/commpre9.nmk238
-rw-r--r--mps/code/configure_sdk.cmd33
-rw-r--r--mps/code/w3i3m9.nmk373
3 files changed, 0 insertions, 644 deletions
diff --git a/mps/code/commpre9.nmk b/mps/code/commpre9.nmk
deleted file mode 100644
index ac382baa818..00000000000
--- a/mps/code/commpre9.nmk
+++ /dev/null
@@ -1,238 +0,0 @@
1# commpre.nmk: FIRST COMMON FRAGMENT FOR PLATFORMS USING MV AND NMAKE
2#
3# $Id$
4# Copyright (c) 2001 Ravenbrook Limited. See end of file for license.
5#
6# DESCRIPTION
7#
8# .description: This makefile fragment is included in more specific
9# makefiles for platforms which use the "mv" builder. This is
10# the first of two common makefile fragements (the other is commpost.nmk).
11# Alas, due to shortcomings in nmake, it is not possible to use only one
12# common fragment.
13#
14# %%PART: Add a new parameter for the files included in the part
15# Parameters:
16# PFM platform code, e.g. "nti3mv"
17# PFMDEFS /D options to define platforms preprocessor symbols
18# to the compiler. Eg "/DOS_NT /DARCH_386 /DBUILD_MVC"
19# MPM list of sources which make up the "mpm" part for this
20# platform. Each source is stripped of its .c extension
21# and surrounded in angle brackets (<>)
22# PLINTH as above for the "plinth" part
23# AMC as above for the "amc" part
24# AMS as above for the "ams" part
25# LO as above for the "lo" part
26# MRG as above for the "mrg" part
27# SW as above for the "sw" part
28# TESTLIB as above for the "testlib" part
29# NOISY if defined, causes command to be emitted
30#
31#
32# EDITING
33#
34# To add new targets. varieties, and parts:
35# Search for the string "%%TARGET", "%%VARIETY", or "%%PART" in this makefile
36# and follow the instructions. If you're adding a part, you'll have to change
37# the makefile for all the platforms which use this makefile to define the
38# source list for that part.
39#
40
41# CHECK PARAMETERS
42#
43#
44# %%PART: Add checks for the parameter with the sources for the new part.
45
46!IFNDEF PFM
47!ERROR commpre.nmk: PFM not defined
48!ENDIF
49!IFNDEF PFMDEFS
50!ERROR commpre.nmk: PFMDEFS not defined
51!ENDIF
52!IFNDEF MPM
53!ERROR commpre.nmk: MPM not defined
54!ENDIF
55!IFNDEF PLINTH
56!ERROR commpre.nmk: PLINTH not defined
57!ENDIF
58!IFNDEF LO
59!ERROR commpre.nmk: LO not defined
60!ENDIF
61!IFNDEF AMC
62!ERROR commpre.nmk: AMC not defined
63!ENDIF
64!IFNDEF AMS
65!ERROR commpre.nmk: AMS not defined
66!ENDIF
67!IFNDEF SW
68!ERROR commpre.nmk: SW not defined
69!ENDIF
70!IFNDEF TESTLIB
71!ERROR commpre.nmk: TESTLIB not defined
72!ENDIF
73
74
75# DECLARATIONS
76
77
78!IFDEF NOISY
79ECHO = rem
80!ELSE
81.SILENT:
82ECHO = echo
83!ENDIF
84
85
86# C FLAGS
87
88# /MD means compile for multi-threaded environment with separate C library DLL.
89# /MT means compile for multi-threaded environment.
90# /ML means compile for single-threaded environment.
91# A 'd' at the end means compile for debugging.
92
93!ifdef TARGET
94!if "$(TARGET)" == "mmsw.lib" || "$(TARGET)" == "epvmss.exe" || "$(TARGET)" == "replaysw.exe"
95CFLAGSTARGETPRE = /DCONFIG_PROD_EPCORE
96CFLAGSTARGETPOST =
97CRTFLAGSW = /MD
98CRTFLAGSH = /MDd
99CRTFLAGSC = /MDd
100LINKFLAGSWHITE = msvcrt.lib
101LINKFLAGSHOT = msvcrtd.lib
102LINKFLAGSCOOL = msvcrtd.lib
103
104!elseif "$(TARGET)" == "mmdw.lib"
105# /Oy- is actually 86-specific, but Dylan is only built for that platform
106CFLAGSTARGETPRE = /DCONFIG_PROD_DYLAN
107CFLAGSTARGETPOST = /Oy-
108CRTFLAGSW = /MT
109CRTFLAGSH = /MT
110CRTFLAGSC = /MT
111LINKFLAGSWHITE = libcmt.lib
112LINKFLAGSHOT = libcmt.lib
113LINKFLAGSCOOL = libcmt.lib
114
115!else
116CFLAGSTARGETPRE = /DCONFIG_PROD_MPS
117CFLAGSTARGETPOST =
118CRTFLAGSW = /MT
119CRTFLAGSH = /MT
120CRTFLAGSC = /MTd
121LINKFLAGSWHITE = libcmt.lib
122LINKFLAGSHOT = libcmt.lib
123LINKFLAGSCOOL = libcmtd.lib
124!endif
125!endif
126
127CFLAGSCOMMONPRE = /nologo /W4 /WX $(PFMDEFS) $(CFLAGSTARGETPRE)
128CFLAGSCOMMONPOST = $(CFLAGSTARGETPOST)
129
130# Flags for use in the variety combinations
131CFLAGSHOT = /O2 /DNDEBUG
132# We used to have /GZ here (stack probe).
133# Note that GZ is specific to version 12 of the cl tool. drj 2003-11-04
134# It is ignored on earlier versions of the cl tool.
135# /GZ here generates a dependency on the C library and when we are
136# building a DLL, mpsdy.dll, the linker step will fail (error LNK2001:
137# unresolved external symbol __chkesp). See
138# http://support.microsoft.com/kb/q191669/
139CFLAGSCOOL = /Od
140CFLAGSINTERNAL = /Zi
141CFLAGSEXTERNAL =
142
143# The combinations of variety
144# %%VARIETY: Define a macro containing the set of flags for the new variety.
145CFWE = /DCONFIG_VAR_WE $(CRTFLAGSW) $(CFLAGSHOT) $(CFLAGSEXTERNAL)
146CFWI = /DCONFIG_VAR_WI $(CRTFLAGSW) $(CFLAGSHOT) $(CFLAGSINTERNAL)
147CFHE = /DCONFIG_VAR_HE $(CRTFLAGSH) $(CFLAGSHOT) $(CFLAGSEXTERNAL)
148CFHI = /DCONFIG_VAR_HI $(CRTFLAGSH) $(CFLAGSHOT) $(CFLAGSINTERNAL)
149CFDI = /DCONFIG_VAR_DI $(CRTFLAGSH) $(CFLAGSHOT) $(CFLAGSINTERNAL)
150CFCE = /DCONFIG_VAR_CE $(CRTFLAGSC) $(CFLAGSCOOL) $(CFLAGSEXTERNAL)
151CFCI = /DCONFIG_VAR_CI $(CRTFLAGSC) $(CFLAGSCOOL) $(CFLAGSINTERNAL)
152CFTI = /DCONFIG_VAR_TI $(CRTFLAGSC) $(CFLAGSCOOL) $(CFLAGSINTERNAL)
153
154# Microsoft documentation is not very clear on the point of using both
155# optimization and debug information
156
157# LINKER FLAGS
158# %%VARIETY: define a macro containing the flags for the new variety
159LINKER = link
160LINKFLAGSCOMMON = /nologo
161LINKFLAGSINTERNAL =
162LINKFLAGSEXTERNAL = /RELEASE
163
164LFWE = $(LINKFLAGSWHITE) $(LINKFLAGSEXTERNAL)
165LFWI = $(LINKFLAGSWHITE) $(LINKFLAGSINTERNAL)
166LFHE = $(LINKFLAGSHOT) $(LINKFLAGSEXTERNAL)
167LFHI = $(LINKFLAGSHOT) $(LINKFLAGSINTERNAL)
168LFDI = $(LINKFLAGSHOT) $(LINKFLAGSINTERNAL)
169LFCE = $(LINKFLAGSCOOL) $(LINKFLAGSEXTERNAL)
170LFCI = $(LINKFLAGSCOOL) $(LINKFLAGSINTERNAL)
171LFTI = $(LINKFLAGSCOOL) $(LINKFLAGSINTERNAL)
172
173#LFCV = /PROFILE /DEBUG:full /DEBUGTYPE:cv
174
175# Library manager
176# %%VARIETY: define a macro containing the flags for the new variety
177LIBMAN = lib # can't call this LIB - it screws the environment
178LIBFLAGSCOMMON = /nologo
179LIBFLAGSWE =
180LIBFLAGSWI =
181LIBFLAGSHE =
182LIBFLAGSHI =
183LIBFLAGSDI =
184LIBFLAGSCE =
185LIBFLAGSCI =
186LIBFLAGSTI =
187#LIBFLAGSCV =
188
189# Browser database manager [not used at present]
190#BSC = bscmake
191#BSCFLAGS = /nologo /n
192
193
194# == Common definitions ==
195# %%PART: Add your part here, unless it's platform-specific
196# [It is not possible use a macro, like $(PFM), in a substitution,
197# hence all parts end up being platform-specific.]
198
199
200# C. COPYRIGHT AND LICENSE
201#
202# Copyright (C) 2001-2002 Ravenbrook Limited <http://www.ravenbrook.com/>.
203# All rights reserved. This is an open source license. Contact
204# Ravenbrook for commercial licensing options.
205#
206# Redistribution and use in source and binary forms, with or without
207# modification, are permitted provided that the following conditions are
208# met:
209#
210# 1. Redistributions of source code must retain the above copyright
211# notice, this list of conditions and the following disclaimer.
212#
213# 2. Redistributions in binary form must reproduce the above copyright
214# notice, this list of conditions and the following disclaimer in the
215# documentation and/or other materials provided with the distribution.
216#
217# 3. Redistributions in any form must be accompanied by information on how
218# to obtain complete source code for this software and any accompanying
219# software that uses this software. The source code must either be
220# included in the distribution or be available for no more than the cost
221# of distribution plus a nominal fee, and must be freely redistributable
222# under reasonable conditions. For an executable file, complete source
223# code means the source code for all modules it contains. It does not
224# include source code for modules or files that typically accompany the
225# major components of the operating system on which the executable file
226# runs.
227#
228# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
229# IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
230# TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
231# PURPOSE, OR NON-INFRINGEMENT, ARE DISCLAIMED. IN NO EVENT SHALL THE
232# COPYRIGHT HOLDERS AND CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
233# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
234# NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
235# USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
236# ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
237# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
238# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
diff --git a/mps/code/configure_sdk.cmd b/mps/code/configure_sdk.cmd
deleted file mode 100644
index 8a67d289274..00000000000
--- a/mps/code/configure_sdk.cmd
+++ /dev/null
@@ -1,33 +0,0 @@
1@ECHO OFF
2REM +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
3REM $Id$
4REM $Change$ $DateTime$ $Author$
5REM
6REM Configure access to the Microsoft SDK.
7REM
8REM This procedure has only been tested under NT6.1. Earlier versions
9REM of the operating system will have different SDK configuration
10REM details.
11REM
12REM This procedure requires delayed environment expansion.
13REM The presence of REG in the command path is assumed.
14REM
15REM The registry is queried to determine the SDK installation location
16REM and its SETENV command procedure is invoked to configure it.
17REM Note that SETENV, as installed, has a tendency to alter the color
18REM settings for the console.
19REM
20REM Copyright (C) 2011 Ravenbrook Limited. All rights reserved.
21REM
22REM -------------------------------------------------------------------
23REM
24SET WinSDKRegKeyPath=HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SDKs\Windows\v7.1
25
26FOR /F "tokens=2*" %%A IN ('REG QUERY "%WinSDKRegKeyPath%" /v InstallationFolder') DO SET WindowsSDKDir=%%B
27
28SET "sdkdir=%WindowsSDKDir%"
29
30%sdkdir%\bin\setenv
31
32REM -- End of program
33
diff --git a/mps/code/w3i3m9.nmk b/mps/code/w3i3m9.nmk
deleted file mode 100644
index 4cc8f9ae4c8..00000000000
--- a/mps/code/w3i3m9.nmk
+++ /dev/null
@@ -1,373 +0,0 @@
1# w3i3m9.nmk: WINDOWS (INTEL) NMAKE FILE -- VC9 CLONE
2#
3# $Id$
4# Copyright (c) 2001 Ravenbrook Limited. See end of file for license.
5
6
7# This is a clone of w3i3mv, for experimenting with compiler & linker
8# options for VC9 (Visual C++ 9.0).
9# Differences:
10# - compiler & linker options, as set in this file;
11# - built in w3i3m9 directory (ie. separate from w3i3mv);
12# - MPS_PF_STRING is "w3i3m9".
13# Otherwise it is the same. In particular:
14# - it still defines "MPS_BUILD_MV";
15# - general MPS source is blind to the distinction.
16
17
18PFM = w3i3m9
19
20RAINBOWPATH = MSVISUAL\WIN32\I386
21DONGLELIB = $(RAINBOWPATH)\spromeps.lib
22
23# /Gs appears to be necessary to suppress stack checks. Stack checks
24# (if not suppressed) generate a dependency on the C library, __chkesp,
25# which causes the linker step to fail when building the DLL, mpsdy.dll.
26PFMDEFS = /DCONFIG_PF_STRING="w3i3m9" /DCONFIG_PF_W3I3M9 \
27 /DWIN32 /D_WINDOWS /Gs /I$(RAINBOWPATH)
28
29MPM = <ring> <mpm> <bt> <protocol> <boot> \
30 <arenavm> <arenacl> <locus> <arena> <global> <tract> <reserv> \
31 <pool> <poolabs> <poolmfs> <poolmv> \
32 <root> <format> <buffer> <walk> <lockw3> \
33 <ref> <trace> <traceanc> <protw3> <proti3> <prmci3w3> \
34 <shield> <vmw3> \
35 <thw3i3> <ssw3i3> <mpsi> <mpsiw3> <ld> <spi3> \
36 <event> <seg> <sac> <poolmrg> <message> <dbgpool> <dbgpooli> \
37 <abq> <meter> <cbs> <poolmv2> <splay> <diag> <version>
38SW = <ring> <mpm> <bt> <protocol> <boot> \
39 <arenavm> <arenacl> <locus> <arena> <global> <tract> <reserv> \
40 <pool> <poolabs> <poolmfs> <poolmv> \
41 <root> <format> <buffer> <walk> \
42 <ref> <trace> <traceanc> <protsw> <prmcan> \
43 <shield> <vmw3> \
44 <thw3i3> <ssan> <mpsi> <ld> \
45 <event> <seg> <sac> <poolmrg> <message> <mpsioan> \
46 <poolams> <poolamsi> <dbgpool> <dbgpooli> \
47 <abq> <meter> <cbs> <poolmv2> <splay> <diag> <version> <poolmvff>
48PLINTH = <mpsliban> <mpsioan>
49AMC = <poolamc>
50AMS = <poolams> <poolamsi>
51AWL = <poolawl>
52LO = <poollo>
53SNC = <poolsnc>
54DW = <fmtdy> <fmtno>
55FMTTEST = <fmthe> <fmtdy> <fmtno> <fmtdytst>
56POOLN = <pooln>
57TESTLIB = <testlib>
58
59
60!INCLUDE commpre9.nmk
61
62
63# Source to object file mappings and CFLAGS amalgamation
64# %%VARIETY %%PART: Add new macros which expand to the files included
65# in the part for each variety
66# %%VARIETY: Add a CFLAGS macro which expands to the flags that that variety
67# should use when compiling C. And a LINKFLAGS macro which expands to the
68# flags that the variety should use when building executables. And a LIBFLAGS
69# macro which expands to the flags that the variety should use when building
70# libraries
71
72!IF "$(VARIETY)" == "he"
73CFLAGS=$(CFLAGSCOMMONPRE) $(CFHE) $(CFLAGSCOMMONPOST)
74LINKFLAGS=$(LINKFLAGSCOMMON) $(LFHE)
75LIBFLAGS=$(LIBFLAGSCOMMON) $(LIBFLAGSHE)
76MPMOBJ0 = $(MPM:<=w3i3m9\he\)
77MPMOBJ = $(MPMOBJ0:>=.obj)
78PLINTHOBJ0 = $(PLINTH:<=w3i3m9\he\)
79PLINTHOBJ = $(PLINTHOBJ0:>=.obj)
80SWOBJ0 = $(SW:<=w3i3m9\he\)
81SWOBJ = $(SWOBJ0:>=.obj)
82AMSOBJ0 = $(AMS:<=w3i3m9\he\)
83AMSOBJ = $(AMSOBJ0:>=.obj)
84AMCOBJ0 = $(AMC:<=w3i3m9\he\)
85AMCOBJ = $(AMCOBJ0:>=.obj)
86AWLOBJ0 = $(AWL:<=w3i3m9\he\)
87AWLOBJ = $(AWLOBJ0:>=.obj)
88LOOBJ0 = $(LO:<=w3i3m9\he\)
89LOOBJ = $(LOOBJ0:>=.obj)
90SNCOBJ0 = $(SNC:<=w3i3m9\he\)
91SNCOBJ = $(SNCOBJ0:>=.obj)
92DWOBJ0 = $(DW:<=w3i3m9\he\)
93DWOBJ = $(DWOBJ0:>=.obj)
94FMTTESTOBJ0 = $(FMTTEST:<=w3i3m9\he\)
95FMTTESTOBJ = $(FMTTESTOBJ0:>=.obj)
96POOLNOBJ0 = $(POOLN:<=w3i3m9\he\)
97POOLNOBJ = $(POOLNOBJ0:>=.obj)
98TESTLIBOBJ0 = $(TESTLIB:<=w3i3m9\he\)
99TESTLIBOBJ = $(TESTLIBOBJ0:>=.obj)
100
101!ELSEIF "$(VARIETY)" == "ce"
102CFLAGS=$(CFLAGSCOMMONPRE) $(CFCE) $(CFLAGSCOMMONPOST)
103LINKFLAGS=$(LINKFLAGSCOMMON) $(LFCE)
104LIBFLAGS=$(LIBFLAGSCOMMON) $(LIBFLAGSCE)
105MPMOBJ0 = $(MPM:<=w3i3m9\ce\)
106MPMOBJ = $(MPMOBJ0:>=.obj)
107PLINTHOBJ0 = $(PLINTH:<=w3i3m9\ce\)
108PLINTHOBJ = $(PLINTHOBJ0:>=.obj)
109SWOBJ0 = $(SW:<=w3i3m9\ce\)
110SWOBJ = $(SWOBJ0:>=.obj)
111AMSOBJ0 = $(AMS:<=w3i3m9\ce\)
112AMSOBJ = $(AMSOBJ0:>=.obj)
113AMCOBJ0 = $(AMC:<=w3i3m9\ce\)
114AMCOBJ = $(AMCOBJ0:>=.obj)
115AWLOBJ0 = $(AWL:<=w3i3m9\ce\)
116AWLOBJ = $(AWLOBJ0:>=.obj)
117LOOBJ0 = $(LO:<=w3i3m9\ce\)
118LOOBJ = $(LOOBJ0:>=.obj)
119SNCOBJ0 = $(SNC:<=w3i3m9\ce\)
120SNCOBJ = $(SNCOBJ0:>=.obj)
121DWOBJ0 = $(DW:<=w3i3m9\ce\)
122DWOBJ = $(DWOBJ0:>=.obj)
123FMTTESTOBJ0 = $(FMTTEST:<=w3i3m9\ce\)
124FMTTESTOBJ = $(FMTTESTOBJ0:>=.obj)
125POOLNOBJ0 = $(POOLN:<=w3i3m9\ce\)
126POOLNOBJ = $(POOLNOBJ0:>=.obj)
127TESTLIBOBJ0 = $(TESTLIB:<=w3i3m9\ce\)
128TESTLIBOBJ = $(TESTLIBOBJ0:>=.obj)
129
130!ELSEIF "$(VARIETY)" == "hi"
131CFLAGS=$(CFLAGSCOMMONPRE) $(CFHI) $(CFLAGSCOMMONPOST)
132LINKFLAGS=$(LINKFLAGSCOMMON) $(LFHI)
133LIBFLAGS=$(LIBFLAGSCOMMON) $(LIBFLAGSHI)
134MPMOBJ0 = $(MPM:<=w3i3m9\hi\)
135MPMOBJ = $(MPMOBJ0:>=.obj)
136PLINTHOBJ0 = $(PLINTH:<=w3i3m9\hi\)
137PLINTHOBJ = $(PLINTHOBJ0:>=.obj)
138SWOBJ0 = $(SW:<=w3i3m9\hi\)
139SWOBJ = $(SWOBJ0:>=.obj)
140AMSOBJ0 = $(AMS:<=w3i3m9\hi\)
141AMSOBJ = $(AMSOBJ0:>=.obj)
142AMCOBJ0 = $(AMC:<=w3i3m9\hi\)
143AMCOBJ = $(AMCOBJ0:>=.obj)
144AWLOBJ0 = $(AWL:<=w3i3m9\hi\)
145AWLOBJ = $(AWLOBJ0:>=.obj)
146LOOBJ0 = $(LO:<=w3i3m9\hi\)
147LOOBJ = $(LOOBJ0:>=.obj)
148SNCOBJ0 = $(SNC:<=w3i3m9\hi\)
149SNCOBJ = $(SNCOBJ0:>=.obj)
150DWOBJ0 = $(DW:<=w3i3m9\hi\)
151DWOBJ = $(DWOBJ0:>=.obj)
152FMTTESTOBJ0 = $(FMTTEST:<=w3i3m9\hi\)
153FMTTESTOBJ = $(FMTTESTOBJ0:>=.obj)
154POOLNOBJ0 = $(POOLN:<=w3i3m9\hi\)
155POOLNOBJ = $(POOLNOBJ0:>=.obj)
156TESTLIBOBJ0 = $(TESTLIB:<=w3i3m9\hi\)
157TESTLIBOBJ = $(TESTLIBOBJ0:>=.obj)
158
159!ELSEIF "$(VARIETY)" == "di"
160CFLAGS=$(CFLAGSCOMMONPRE) $(CFDI) $(CFLAGSCOMMONPOST)
161LINKFLAGS=$(LINKFLAGSCOMMON) $(LFDI)
162LIBFLAGS=$(LIBFLAGSCOMMON) $(LIBFLAGSDI)
163MPMOBJ0 = $(MPM:<=w3i3m9\di\)
164MPMOBJ = $(MPMOBJ0:>=.obj)
165PLINTHOBJ0 = $(PLINTH:<=w3i3m9\di\)
166PLINTHOBJ = $(PLINTHOBJ0:>=.obj)
167SWOBJ0 = $(SW:<=w3i3m9\di\)
168SWOBJ = $(SWOBJ0:>=.obj)
169AMSOBJ0 = $(AMS:<=w3i3m9\di\)
170AMSOBJ = $(AMSOBJ0:>=.obj)
171AMCOBJ0 = $(AMC:<=w3i3m9\di\)
172AMCOBJ = $(AMCOBJ0:>=.obj)
173AWLOBJ0 = $(AWL:<=w3i3m9\di\)
174AWLOBJ = $(AWLOBJ0:>=.obj)
175LOOBJ0 = $(LO:<=w3i3m9\di\)
176LOOBJ = $(LOOBJ0:>=.obj)
177SNCOBJ0 = $(SNC:<=w3i3m9\di\)
178SNCOBJ = $(SNCOBJ0:>=.obj)
179DWOBJ0 = $(DW:<=w3i3m9\di\)
180DWOBJ = $(DWOBJ0:>=.obj)
181FMTTESTOBJ0 = $(FMTTEST:<=w3i3m9\di\)
182FMTTESTOBJ = $(FMTTESTOBJ0:>=.obj)
183POOLNOBJ0 = $(POOLN:<=w3i3m9\di\)
184POOLNOBJ = $(POOLNOBJ0:>=.obj)
185TESTLIBOBJ0 = $(TESTLIB:<=w3i3m9\di\)
186TESTLIBOBJ = $(TESTLIBOBJ0:>=.obj)
187
188!ELSEIF "$(VARIETY)" == "ci"
189CFLAGS=$(CFLAGSCOMMONPRE) $(CFCI) $(CFLAGSCOMMONPOST)
190LINKFLAGS=$(LINKFLAGSCOMMON) $(LFCI)
191LIBFLAGS=$(LIBFLAGSCOMMON) $(LIBFLAGSCI)
192MPMOBJ0 = $(MPM:<=w3i3m9\ci\)
193MPMOBJ = $(MPMOBJ0:>=.obj)
194PLINTHOBJ0 = $(PLINTH:<=w3i3m9\ci\)
195PLINTHOBJ = $(PLINTHOBJ0:>=.obj)
196SWOBJ0 = $(SW:<=w3i3m9\ci\)
197SWOBJ = $(SWOBJ0:>=.obj)
198AMSOBJ0 = $(AMS:<=w3i3m9\ci\)
199AMSOBJ = $(AMSOBJ0:>=.obj)
200AMCOBJ0 = $(AMC:<=w3i3m9\ci\)
201AMCOBJ = $(AMCOBJ0:>=.obj)
202AWLOBJ0 = $(AWL:<=w3i3m9\ci\)
203AWLOBJ = $(AWLOBJ0:>=.obj)
204LOOBJ0 = $(LO:<=w3i3m9\ci\)
205LOOBJ = $(LOOBJ0:>=.obj)
206SNCOBJ0 = $(SNC:<=w3i3m9\ci\)
207SNCOBJ = $(SNCOBJ0:>=.obj)
208DWOBJ0 = $(DW:<=w3i3m9\ci\)
209DWOBJ = $(DWOBJ0:>=.obj)
210FMTTESTOBJ0 = $(FMTTEST:<=w3i3m9\ci\)
211FMTTESTOBJ = $(FMTTESTOBJ0:>=.obj)
212POOLNOBJ0 = $(POOLN:<=w3i3m9\ci\)
213POOLNOBJ = $(POOLNOBJ0:>=.obj)
214TESTLIBOBJ0 = $(TESTLIB:<=w3i3m9\ci\)
215TESTLIBOBJ = $(TESTLIBOBJ0:>=.obj)
216
217!ELSEIF "$(VARIETY)" == "ti"
218CFLAGS=$(CFLAGSCOMMONPRE) $(CFTI) $(CFLAGSCOMMONPOST)
219LINKFLAGS=$(LINKFLAGSCOMMON) $(LFTI)
220LIBFLAGS=$(LIBFLAGSCOMMON) $(LIBFLAGSTI)
221MPMOBJ0 = $(MPM:<=w3i3m9\ti\)
222MPMOBJ = $(MPMOBJ0:>=.obj)
223PLINTHOBJ0 = $(PLINTH:<=w3i3m9\ti\)
224PLINTHOBJ = $(PLINTHOBJ0:>=.obj)
225SWOBJ0 = $(SW:<=w3i3m9\ti\)
226SWOBJ = $(SWOBJ0:>=.obj)
227AMSOBJ0 = $(AMS:<=w3i3m9\ti\)
228AMSOBJ = $(AMSOBJ0:>=.obj)
229AMCOBJ0 = $(AMC:<=w3i3m9\ti\)
230AMCOBJ = $(AMCOBJ0:>=.obj)
231AWLOBJ0 = $(AWL:<=w3i3m9\ti\)
232AWLOBJ = $(AWLOBJ0:>=.obj)
233LOOBJ0 = $(LO:<=w3i3m9\ti\)
234LOOBJ = $(LOOBJ0:>=.obj)
235SNCOBJ0 = $(SNC:<=w3i3m9\ti\)
236SNCOBJ = $(SNCOBJ0:>=.obj)
237DWOBJ0 = $(DW:<=w3i3m9\ti\)
238DWOBJ = $(DWOBJ0:>=.obj)
239FMTTESTOBJ0 = $(FMTTEST:<=w3i3m9\ti\)
240FMTTESTOBJ = $(FMTTESTOBJ0:>=.obj)
241POOLNOBJ0 = $(POOLN:<=w3i3m9\ti\)
242POOLNOBJ = $(POOLNOBJ0:>=.obj)
243TESTLIBOBJ0 = $(TESTLIB:<=w3i3m9\ti\)
244TESTLIBOBJ = $(TESTLIBOBJ0:>=.obj)
245
246!ELSEIF "$(VARIETY)" == "wi"
247CFLAGS=$(CFLAGSCOMMONPRE) $(CFWI) $(CFLAGSCOMMONPOST)
248LINKFLAGS=$(LINKFLAGSCOMMON) $(LFWI)
249LIBFLAGS=$(LIBFLAGSCOMMON) $(LIBFLAGSWI)
250MPMOBJ0 = $(MPM:<=w3i3m9\wi\)
251MPMOBJ = $(MPMOBJ0:>=.obj)
252PLINTHOBJ0 = $(PLINTH:<=w3i3m9\wi\)
253PLINTHOBJ = $(PLINTHOBJ0:>=.obj)
254SWOBJ0 = $(SW:<=w3i3m9\wi\)
255SWOBJ = $(SWOBJ0:>=.obj)
256AMSOBJ0 = $(AMS:<=w3i3m9\wi\)
257AMSOBJ = $(AMSOBJ0:>=.obj)
258AMCOBJ0 = $(AMC:<=w3i3m9\wi\)
259AMCOBJ = $(AMCOBJ0:>=.obj)
260AWLOBJ0 = $(AWL:<=w3i3m9\wi\)
261AWLOBJ = $(AWLOBJ0:>=.obj)
262LOOBJ0 = $(LO:<=w3i3m9\wi\)
263LOOBJ = $(LOOBJ0:>=.obj)
264SNCOBJ0 = $(SNC:<=w3i3m9\wi\)
265SNCOBJ = $(SNCOBJ0:>=.obj)
266DWOBJ0 = $(DW:<=w3i3m9\wi\)
267DWOBJ = $(DWOBJ0:>=.obj)
268FMTTESTOBJ0 = $(FMTTEST:<=w3i3m9\wi\)
269FMTTESTOBJ = $(FMTTESTOBJ0:>=.obj)
270POOLNOBJ0 = $(POOLN:<=w3i3m9\wi\)
271POOLNOBJ = $(POOLNOBJ0:>=.obj)
272TESTLIBOBJ0 = $(TESTLIB:<=w3i3m9\wi\)
273TESTLIBOBJ = $(TESTLIBOBJ0:>=.obj)
274
275!ELSEIF "$(VARIETY)" == "we"
276CFLAGS=$(CFLAGSCOMMONPRE) $(CFWE) $(CFLAGSCOMMONPOST)
277LINKFLAGS=$(LINKFLAGSCOMMON) $(LFWE)
278LIBFLAGS=$(LIBFLAGSCOMMON) $(LIBFLAGSWE)
279MPMOBJ0 = $(MPM:<=w3i3m9\we\)
280MPMOBJ = $(MPMOBJ0:>=.obj)
281PLINTHOBJ0 = $(PLINTH:<=w3i3m9\we\)
282PLINTHOBJ = $(PLINTHOBJ0:>=.obj)
283SWOBJ0 = $(SW:<=w3i3m9\we\)
284SWOBJ = $(SWOBJ0:>=.obj)
285AMSOBJ0 = $(AMS:<=w3i3m9\we\)
286AMSOBJ = $(AMSOBJ0:>=.obj)
287AMCOBJ0 = $(AMC:<=w3i3m9\we\)
288AMCOBJ = $(AMCOBJ0:>=.obj)
289AWLOBJ0 = $(AWL:<=w3i3m9\we\)
290AWLOBJ = $(AWLOBJ0:>=.obj)
291LOOBJ0 = $(LO:<=w3i3m9\we\)
292LOOBJ = $(LOOBJ0:>=.obj)
293SNCOBJ0 = $(SNC:<=w3i3m9\we\)
294SNCOBJ = $(SNCOBJ0:>=.obj)
295DWOBJ0 = $(DW:<=w3i3m9\we\)
296DWOBJ = $(DWOBJ0:>=.obj)
297FMTTESTOBJ0 = $(FMTTEST:<=w3i3m9\we\)
298FMTTESTOBJ = $(FMTTESTOBJ0:>=.obj)
299POOLNOBJ0 = $(POOLN:<=w3i3m9\we\)
300POOLNOBJ = $(POOLNOBJ0:>=.obj)
301TESTLIBOBJ0 = $(TESTLIB:<=w3i3m9\we\)
302TESTLIBOBJ = $(TESTLIBOBJ0:>=.obj)
303
304#!ELSEIF "$(VARIETY)" == "cv"
305#CFLAGS=$(CFLAGSCOMMON) $(CFCV)
306#LINKFLAGS=$(LINKFLAGSCOMMON) $(LFCV)
307#LIBFLAGS=$(LIBFLAGSCOMMON) $(LIBFLAGSCV)
308#MPMOBJ0 = $(MPM:<=w3i3m9\cv\)
309#MPMOBJ = $(MPMOBJ0:>=.obj)
310#PLINTHOBJ0 = $(PLINTH:<=w3i3m9\cv\)
311#PLINTHOBJ = $(PLINTHOBJ0:>=.obj)
312#AMSOBJ0 = $(AMS:<=w3i3m9\cv\)
313#AMSOBJ = $(AMSOBJ0:>=.obj)
314#AMCOBJ0 = $(AMC:<=w3i3m9\cv\)
315#AMCOBJ = $(AMCOBJ0:>=.obj)
316#AWLOBJ0 = $(AWL:<=w3i3m9\cv\)
317#AWLOBJ = $(AWLOBJ0:>=.obj)
318#LOOBJ0 = $(LO:<=w3i3m9\cv\)
319#LOOBJ = $(LOOBJ0:>=.obj)
320#SNCOBJ0 = $(SNC:<=w3i3m9\cv\)
321#SNCOBJ = $(SNCOBJ0:>=.obj)
322#DWOBJ0 = $(DW:<=w3i3m9\cv\)
323#DWOBJ = $(DWOBJ0:>=.obj)
324#POOLNOBJ0 = $(POOLN:<=w3i3m9\cv\)
325#POOLNOBJ = $(POOLNOBJ0:>=.obj)
326#TESTLIBOBJ0 = $(TESTLIB:<=w3i3m9\cv\)
327#TESTLIBOBJ = $(TESTLIBOBJ0:>=.obj)
328
329!ENDIF
330
331
332!INCLUDE commpost.nmk
333
334
335# C. COPYRIGHT AND LICENSE
336#
337# Copyright (C) 2001-2002, 2008 Ravenbrook Limited <http://www.ravenbrook.com/>.
338# All rights reserved. This is an open source license. Contact
339# Ravenbrook for commercial licensing options.
340#
341# Redistribution and use in source and binary forms, with or without
342# modification, are permitted provided that the following conditions are
343# met:
344#
345# 1. Redistributions of source code must retain the above copyright
346# notice, this list of conditions and the following disclaimer.
347#
348# 2. Redistributions in binary form must reproduce the above copyright
349# notice, this list of conditions and the following disclaimer in the
350# documentation and/or other materials provided with the distribution.
351#
352# 3. Redistributions in any form must be accompanied by information on how
353# to obtain complete source code for this software and any accompanying
354# software that uses this software. The source code must either be
355# included in the distribution or be available for no more than the cost
356# of distribution plus a nominal fee, and must be freely redistributable
357# under reasonable conditions. For an executable file, complete source
358# code means the source code for all modules it contains. It does not
359# include source code for modules or files that typically accompany the
360# major components of the operating system on which the executable file
361# runs.
362#
363# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
364# IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
365# TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
366# PURPOSE, OR NON-INFRINGEMENT, ARE DISCLAIMED. IN NO EVENT SHALL THE
367# COPYRIGHT HOLDERS AND CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
368# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
369# NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
370# USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
371# ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
372# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
373# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.