source: trunk/make/setup.optional.emxomfld.mk@ 21787

Last change on this file since 21787 was 10493, checked in by bird, 22 years ago

InnoTek GCC.

File size: 2.8 KB
Line 
1# $Id: setup.optional.emxomfld.mk,v 1.1 2004-03-08 19:56:55 bird Exp $
2MAKE_INCLUDE_CX_OPT = $(PATH_MAKE)\setup.optional.ilink.mk
3
4#
5# Helper file for all the option stuff for the ibm linker (ilink).
6#
7_LD_ALIGN =
8_LD_BASE =
9_LD_DEFAULT_LIBS= -Zlinker -NoD
10_LD_EXTDIC = -Zlinker -NoE
11_LD_PACKCODE = -Zlinker -Packcode
12_LD_PACKDATA = -Zlinker -Packdata
13_LD_DBGPACK = -Zlinker -NoDbgPack
14_LD_IGNORECASE = -Zlinker -NoI
15_LD_OLDCPP = -Zlinker -NoOldCPP
16_LD_OPTFUNC = -Zlinker -NoOptfunc
17
18!if defined(LD_ALIGN)
19_LD_ALIGN = -Zlinker -ALIGNMENT:$(LD_ALIGN)
20!endif
21!if defined(LD_NO_BASE)
22_LD_BASE = -Zlinker -NoBase
23!endif
24!if defined(LD_BASE)
25_LD_BASE = -Zlinker -Base:$(LD_BASE)
26!endif
27!if defined(LD_DEFAULT_LIBS) || defined(ALL_DEFAULT_LIBS)
28_LD_DEFAULT_LIBS = -Zlinker -Def
29!endif
30!if defined(LD_EXTDIC)
31_LD_EXTDIC = -Zlinker -Ext
32!endif
33!if defined(LD_NO_EXTDIC)
34_LD_EXTDIC = -Zlinker -NoE
35!endif
36!if defined(LD_NO_PACKCODE)
37_LD_PACKCODE = -Zlinker -NoPackcode
38!endif
39!if defined(LD_PACKCODE)
40_LD_PACKCODE = -Zlinker -Packcode
41!endif
42!if defined(LD_NO_PACKDATA)
43_LD_PACKDATA = -Zlinker -NoPackdata
44!endif
45!if defined(LD_PACKDATA)
46_LD_PACKDATA = -Zlinker -Packdata
47!endif
48!if defined(LD_NO_DBGPACK)
49_LD_DBGPACK = -Zlinker -NoPackcode
50!endif
51!if defined(LD_DBGPACK)
52_LD_DBGPACK = -Zlinker -Packcode
53!endif
54!if defined(LD_IGNORECASE) || defined(ALL_IGNORECASE)
55_LD_IGNORECASE = -Zlinker -Ig
56!endif
57!if defined(LD_NO_IGNORECASE) || defined(ALL_NO_IGNORECASE)
58_LD_IGNORECASE = -Zlinker -NoI
59!endif
60!if defined(LD_OLDCPP)
61_LD_OLDCPP = -Zlinker -OldCPP
62!endif
63!if defined(LD_NO_OLDCPP)
64_LD_OLDCPP = -Zlinker -NoOldCPP
65!endif
66!if defined(LD_OPTFUNC)
67_LD_OPTFUNC = -Zlinker -Optfunc
68!endif
69!if defined(LD_NO_OPTFUNC)
70_LD_OPTFUNC = -Zlinker -NoOptfunc
71!endif
72
73_LD_OPTIONAL = $(_LD_ALIGN) $(_LD_BASE) $(_LD_DEFAULT_LIBS) $(_LD_EXTDIC) $(_LD_PACKCODE) $(_LD_PACKDATA) $(_LD_DBGPACK) $(_LD_IGNORECASE) $(_LD_OLDCPP) $(_LD_OPTFUNC)
74
75#!if !$(BUILD_FORWARDING)
76#! ifdef LD_FORMAT
77#! if "$(LD_FORMAT)" != "LX"
78#! error LD_FORMAT other than LX is not supported by this linker ($(ENV_NAME)).
79#! endif
80#! endif
81#!endif
82
83
84# unsupported option checks.
85!ifdef LD_NO_DOSSEG
86! error LD_NO_DOSSEG is not supported by this linker ($(ENV_NAME)).
87!endif
88!ifdef LD_DOSSEG
89! error LD_DOSSEG is not supported by this linker ($(ENV_NAME)).
90!endif
91!ifdef LD_SORT_BOTH
92! error LD_SORT_BOTH is not supported by this linker ($(ENV_NAME)).
93!endif
94!ifdef LD_SORT_GLOBAL
95! error LD_SORT_GLOBAL is not supported by this linker ($(ENV_NAME)).
96!endif
97!ifdef LD_SORT_ALPHABETICAL
98! error LD_SORT_ALPHABETICAL is not supported by this linker ($(ENV_NAME)).
99!endif
100
101
102# assertions
103!if defined(LD_DOSSEG_NO) || defined(LD_DOSSEG_YES)
104! error LD_DOSSEG_NO/LD_DOSSEG_YES is renamed to LD_NO_DOSSEG / LD_DOSSEG!
105!endif
106
Note: See TracBrowser for help on using the repository browser.