1 | # $Id: setup.os2relmscv6.mk,v 1.1 2002-04-06 20:25:05 bird Exp $
|
---|
2 |
|
---|
3 | # ---OS2, RELEASE, MSCV6-------------------------
|
---|
4 | ENV_NAME="OS/2, Debug, Microsoft C v6.0a"
|
---|
5 | ENV_STATUS=OK
|
---|
6 |
|
---|
7 | #
|
---|
8 | # The tools
|
---|
9 | #
|
---|
10 | AR=ilib.exe
|
---|
11 | AS=alp.exe
|
---|
12 | CC=cl.exe
|
---|
13 | CXX=false
|
---|
14 | LINK=ilink.exe
|
---|
15 | IMPLIB=implib.exe
|
---|
16 | RC=rc.exe
|
---|
17 | RL=rc.exe
|
---|
18 | EXEPACK=lxlite.exe
|
---|
19 |
|
---|
20 |
|
---|
21 | #
|
---|
22 | # Extentions.
|
---|
23 | #
|
---|
24 | EXT_OBJ = obj
|
---|
25 | EXT_LIB = lib
|
---|
26 | EXT_ILIB= lib
|
---|
27 | EXT_EXE = exe
|
---|
28 | EXT_DLL = dll
|
---|
29 | EXT_SYS = sys
|
---|
30 | EXT_RES = res
|
---|
31 |
|
---|
32 |
|
---|
33 | #
|
---|
34 | # The flags
|
---|
35 | #
|
---|
36 | AR_FLAGS=/nologo /noignorecase
|
---|
37 | AR_CMD=$(AR) $(AR_FLAGS) $@ @$(TARGET_LNK)
|
---|
38 | _AR_LNK1= "$(TARGET_OBJS: ="&^
|
---|
39 | ")"
|
---|
40 | AR_LNK1= $(_AR_LNK1:""=)
|
---|
41 | AR_LNK2= $(@R).lst
|
---|
42 |
|
---|
43 | AS_FLAGS = -Mb -Sv:ALP +Od -D:DEBUG -D:OS2 $(AS_DEFINES:-D=-D:) $(ALL_INCLUDES:-I=-i:) $(AS_INCLUDES:-I=-i:) $(ALL_DEFINES:-D=-D:) -i:$(PATH_INCLUDE)
|
---|
44 | AS_FLAGS_SYS= $(AS_FLAGS) -D:RING0 -i:$(PATH_DDK)\base\inc
|
---|
45 | AS_OBJ_OUT= -Fo:
|
---|
46 |
|
---|
47 | CC_FLAGS=-DDEBUG -DOS2 -c -W0 -Asfw $(CC_SEGS) -G2s -Zp -Zl -nologo -Ogeitln -Gs $(CC_DEFINES) $(ALL_DEFINES) $(CC_INCLUDES) $(ALL_INCLUDES) -I$(PATH_INCLUDE)
|
---|
48 | CC_FLAGS_EXE=$(CC_FLAGS)
|
---|
49 | CC_FLAGS_DLL=$(CC_FLAGS)
|
---|
50 | CC_FLAGS_CRT=$(CC_FLAGS)
|
---|
51 | CC_FLAGS_SYS=$(CC_FLAGS) /DRING0
|
---|
52 | CC_OBJ_OUT=-Fo
|
---|
53 | CC_PC_2_STDOUT=-P -E
|
---|
54 |
|
---|
55 | CXX_FLAGS=
|
---|
56 | CXX_FLAGS_EXE=
|
---|
57 | CXX_FLAGS_DLL=
|
---|
58 | CXX_FLAGS_CRT=
|
---|
59 | CXX_FLAGS_SYS=
|
---|
60 | CXX_OBJ_OUT=
|
---|
61 | CXX_PC_2_STDOUT=
|
---|
62 |
|
---|
63 | IMPLIB_FLAGS=/NOI /Nologo
|
---|
64 |
|
---|
65 | LINK_FLAGS=/nologo /de /map /NOE /NOD /Optfunc /PACKCODE /PACKDATA
|
---|
66 | LINK_FLAGS_EXE=$(LINK_FLAGS) /EXECutable /STACK:$(TARGET_STACKSIZE)
|
---|
67 | LINK_FLAGS_DLL=$(LINK_FLAGS) /DLL
|
---|
68 | LINK_FLAGS_SYS=$(LINK_FLAGS) /PDD /Align:16 /NOIgnorecase
|
---|
69 | LINK_CMD_EXE=$(LINK) $(LINK_FLAGS_EXE) @$(TARGET_LNK)
|
---|
70 | LINK_CMD_DLL=$(LINK) $(LINK_FLAGS_DLL) @$(TARGET_LNK)
|
---|
71 | LINK_CMD_SYS=$(LINK) $(LINK_FLAGS_SYS) @$(TARGET_LNK)
|
---|
72 | LINK_LNK1=$(TARGET_OBJS: =^
|
---|
73 | )
|
---|
74 | LINK_LNK2=/OUT:$(TARGET)
|
---|
75 | LINK_LNK3=/MAP:$(TARGET_MAP)
|
---|
76 | LINK_LNK4=$(TARGET_LIBS: =^
|
---|
77 | )
|
---|
78 | LINK_LNK5=$(TARGET_DEF)
|
---|
79 |
|
---|
80 | RC_FLAGS=-r -n -i $(PATH_INCLUDE:;= -i ) $(RC_DEFINES) $(RC_INCLUDES)
|
---|
81 | RL_FLAGS=-x2 -n
|
---|
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 | OBJ_PROFILE=
|
---|
91 |
|
---|
92 | # ---OS2, RELEASE, MSCV6-------------------------
|
---|
93 |
|
---|
94 |
|
---|