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