source: trunk/make/setup.os2relmscv6.mk@ 8296

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

ENV_ENVS and ENV_ENVS_FORCE.

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