1 | # $Id: setup.os2relmscv6.mk,v 1.4 2002-04-22 02:09:28 bird Exp $
|
---|
2 |
|
---|
3 | # ---OS2, RELEASE, MSCV6-------------------------
|
---|
4 | ENV_NAME="OS/2, Debug, Microsoft C v6.0a"
|
---|
5 | ENV_STATUS=OK
|
---|
6 | !if "$(ENV_ENVS)" == ""
|
---|
7 | ENV_ENVS=mscv6
|
---|
8 | !else
|
---|
9 | ENV_ENVS_FORCE=mscv6
|
---|
10 | !endif
|
---|
11 |
|
---|
12 |
|
---|
13 | #
|
---|
14 | # Include some shared standard stuff: ALP.
|
---|
15 | #
|
---|
16 | !include $(PATH_MAKE)\setup.os2relalp.mk
|
---|
17 |
|
---|
18 |
|
---|
19 | #
|
---|
20 | # The tools
|
---|
21 | #
|
---|
22 | AR=ilib.exe
|
---|
23 | CC=cl.exe
|
---|
24 | CXX=false
|
---|
25 | LINK=ilink.exe
|
---|
26 | IMPLIB=implib.exe
|
---|
27 | RC=rc.exe
|
---|
28 | RL=rc.exe
|
---|
29 | EXEPACK=lxlite.exe
|
---|
30 |
|
---|
31 |
|
---|
32 | #
|
---|
33 | # The flags
|
---|
34 | #
|
---|
35 | AR_FLAGS=/nologo /noignorecase
|
---|
36 | AR_CMD=$(AR) $(AR_FLAGS) $@ @$(TARGET_LNK)
|
---|
37 | _AR_LNK1= "$(TARGET_OBJS: ="&^
|
---|
38 | ")"
|
---|
39 | AR_LNK1= $(_AR_LNK1:""=)
|
---|
40 | AR_LNK2= $(@R).lst
|
---|
41 |
|
---|
42 | CC_FLAGS=-DDEBUG -DOS2 -c -W0 -Asfw $(CC_SEGS) -G2s -Zp -Zl -nologo -Ogeitln -Gs $(CC_DEFINES) $(ALL_DEFINES) $(BUILD_DEFINES) $(CC_INCLUDES) $(ALL_INCLUDES) -I$(PATH_INCLUDES)
|
---|
43 | CC_FLAGS_EXE=$(CC_FLAGS)
|
---|
44 | CC_FLAGS_DLL=$(CC_FLAGS)
|
---|
45 | CC_FLAGS_CRT=$(CC_FLAGS)
|
---|
46 | CC_FLAGS_SYS=$(CC_FLAGS) /DRING0
|
---|
47 | CC_FLAGS_IFS=$(CC_FLAGS_SYS)
|
---|
48 | CC_OBJ_OUT=-Fo
|
---|
49 | CC_PC_2_STDOUT=-P -E
|
---|
50 |
|
---|
51 | CXX_FLAGS=
|
---|
52 | CXX_FLAGS_EXE=
|
---|
53 | CXX_FLAGS_DLL=
|
---|
54 | CXX_FLAGS_CRT=
|
---|
55 | CXX_FLAGS_SYS=
|
---|
56 | CXX_FLAGS_IFS=
|
---|
57 | CXX_OBJ_OUT=
|
---|
58 | CXX_PC_2_STDOUT=
|
---|
59 |
|
---|
60 | IMPLIB_FLAGS=/NOI /Nologo
|
---|
61 |
|
---|
62 | LINK_FLAGS=/nologo /de /map /NOE /NOD /Optfunc /PACKCODE /PACKDATA
|
---|
63 | LINK_FLAGS_EXE=$(LINK_FLAGS) /EXECutable /STACK:$(TARGET_STACKSIZE)
|
---|
64 | LINK_FLAGS_DLL=$(LINK_FLAGS) /DLL
|
---|
65 | LINK_FLAGS_SYS=$(LINK_FLAGS) /PDD /Align:16 /NOIgnorecase
|
---|
66 | LINK_FLAGS_IFS=$(LINK_FLAGS_DLL)
|
---|
67 | LINK_CMD_EXE=$(LINK) $(LINK_FLAGS_EXE) @$(TARGET_LNK)
|
---|
68 | LINK_CMD_DLL=$(LINK) $(LINK_FLAGS_DLL) @$(TARGET_LNK)
|
---|
69 | LINK_CMD_SYS=$(LINK) $(LINK_FLAGS_SYS) @$(TARGET_LNK)
|
---|
70 | LINK_CMD_IFS=$(LINK) $(LINK_FLAGS_IFS) @$(TARGET_LNK)
|
---|
71 | LINK_LNK1=$(TARGET_OBJS: =^
|
---|
72 | )
|
---|
73 | LINK_LNK2=/OUT:$(TARGET)
|
---|
74 | LINK_LNK3=/MAP:$(TARGET_MAP)
|
---|
75 | LINK_LNK4=$(TARGET_LIBS: =^
|
---|
76 | )
|
---|
77 | LINK_LNK5=$(TARGET_DEF)
|
---|
78 |
|
---|
79 | RC_FLAGS=-r -n -i $(PATH_INCLUDES:;= -i ) $(RC_DEFINES) $(RC_INCLUDES)
|
---|
80 | RL_FLAGS=-x2 -n
|
---|
81 |
|
---|
82 |
|
---|
83 | #
|
---|
84 | # Libraries and object files.
|
---|
85 | #
|
---|
86 | LIB_OS = os2286.lib
|
---|
87 | LIB_C_OBJ = clibcep.lib
|
---|
88 | LIB_C_DLL = clibcep.lib
|
---|
89 | LIB_C_RTDLL = clibcep.lib
|
---|
90 | LIB_C_NRE =
|
---|
91 | LIB_C_DMNGL =
|
---|
92 | OBJ_PROFILE =
|
---|
93 |
|
---|
94 | # ---OS2, RELEASE, MSCV6-------------------------
|
---|
95 |
|
---|
96 |
|
---|