Last change
on this file since 9153 was 9153, checked in by bird, 23 years ago |
Splitted out the watcom linker into it own config files.
Option to use ilink with watcom environments.
|
File size:
1.2 KB
|
Line | |
---|
1 | # $Id: setup.os2prfwlink.mk,v 1.1 2002-08-28 04:42:05 bird Exp $
|
---|
2 |
|
---|
3 | #
|
---|
4 | # Include optional stuff.
|
---|
5 | #
|
---|
6 | !include $(PATH_MAKE)\setup.optional.wlink.mk
|
---|
7 |
|
---|
8 | #
|
---|
9 | # The tool(s)
|
---|
10 | #
|
---|
11 | LINK = wlink.exe
|
---|
12 | TOOL_DEFCONV = $(PATH_TOOLS)\kDef2Wat.exe $(_LD_FORMAT)
|
---|
13 |
|
---|
14 | #
|
---|
15 | # The flags
|
---|
16 | #
|
---|
17 | LINK_FLAGS = Option eliminate, manglednames, caseexact, verbose, cache $(_LD_OPTIONAL) Debug codeview all
|
---|
18 | LINK_FLAGS_EXE = $(LINK_FLAGS)
|
---|
19 | LINK_FLAGS_DLL = $(LINK_FLAGS)
|
---|
20 | LINK_FLAGS_SYS = $(LINK_FLAGS) segment type code preload segment type data preload Option internalrelocs, togglerelocs
|
---|
21 | LINK_FLAGS_VDD = $(LINK_FLAGS_SYS)
|
---|
22 | LINK_FLAGS_IFS = $(LINK_FLAGS) segment type code preload segment type data preload
|
---|
23 |
|
---|
24 | LINK_CMD_EXE = $(LINK) $(LINK_FLAGS_EXE) @$(TARGET_LNK)
|
---|
25 | LINK_CMD_DLL = $(LINK) $(LINK_FLAGS_DLL) @$(TARGET_LNK)
|
---|
26 | LINK_CMD_SYS = $(LINK) $(LINK_FLAGS_SYS) @$(TARGET_LNK)
|
---|
27 | LINK_CMD_VDD = $(LINK) $(LINK_FLAGS_VDD) @$(TARGET_LNK)
|
---|
28 | LINK_CMD_IFS = $(LINK) $(LINK_FLAGS_IFS) @$(TARGET_LNK)
|
---|
29 |
|
---|
30 | LINK_LNK1 = file $(TARGET_OBJS: =^
|
---|
31 | file )
|
---|
32 | !ifdef _LD_LIBPATH
|
---|
33 | LINK_LNK2 = libpath $(_LD_LIBPATH)
|
---|
34 | !endif
|
---|
35 | LINK_LNK3 = option map=$(TARGET_MAP)
|
---|
36 | LINK_LNK4 = library $(TARGET_LIBS: =^, )
|
---|
37 | LINK_LNK5 = name $(PATH_TARGET)\$(TARGET_NAME).$(TARGET_EXT)
|
---|
38 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.