source: trunk/make/setup.os2relwlink.mk@ 9169

Last change on this file since 9169 was 9169, checked in by bird, 23 years ago

Bugfixing.

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