source: trunk/make/setup.os2debmscv6.mk@ 8253

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

Cleanups. Fixed some issues.

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