[8296] | 1 | # $Id: setup.os2debmscv6.mk,v 1.4 2002-04-22 02:09:27 bird Exp $
|
---|
[8197] | 2 |
|
---|
| 3 | # ---OS2, DEBUG, MSCV6-------------------------
|
---|
| 4 | ENV_NAME="OS/2, Debug, Microsoft C v6.0a"
|
---|
| 5 | ENV_STATUS=OK
|
---|
[8296] | 6 | !if "$(ENV_ENVS)" == ""
|
---|
| 7 | ENV_ENVS=mscv6
|
---|
| 8 | !else
|
---|
| 9 | ENV_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.os2debalp.mk
|
---|
| 17 |
|
---|
[8296] | 18 |
|
---|
[8213] | 19 | #
|
---|
[8197] | 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 |
|
---|
[8296] | 31 |
|
---|
[8197] | 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 |
|
---|
[8253] | 42 | 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] | 43 | CC_FLAGS_EXE=$(CC_FLAGS) /Lp
|
---|
| 44 | CC_FLAGS_DLL=$(CC_FLAGS)
|
---|
| 45 | CC_FLAGS_CRT=$(CC_FLAGS)
|
---|
| 46 | CC_FLAGS_SYS=$(CC_FLAGS) /DRING0
|
---|
[8213] | 47 | CC_FLAGS_IFS=$(CC_FLAGS_SYS)
|
---|
[8197] | 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=
|
---|
[8213] | 56 | CC_FLAGS_IFS=
|
---|
[8197] | 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
|
---|
[8213] | 66 | LINK_FLAGS_IFS=$(LINK_FLAGS_DLL)
|
---|
[8197] | 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)
|
---|
[8213] | 70 | LINK_CMD_IFS=$(LINK) $(LINK_FLAGS_IFS) @$(TARGET_LNK)
|
---|
[8197] | 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 |
|
---|
[8253] | 79 | RC_FLAGS=-r -n -i $(PATH_INCLUDES:;= -i ) $(RC_DEFINES) $(RC_INCLUDES)
|
---|
[8197] | 80 | RL_FLAGS=-x2 -n
|
---|
| 81 |
|
---|
[8296] | 82 |
|
---|
[8197] | 83 | #
|
---|
| 84 | # Libraries and object files.
|
---|
| 85 | #
|
---|
[8213] | 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 =
|
---|
[8197] | 93 |
|
---|
| 94 | # ---OS2, DEBUG, MSCV6-------------------------
|
---|
| 95 |
|
---|