Last change
on this file since 9165 was 9165, checked in by bird, 23 years ago |
Added new tools. Restructured tools. More options. Fixes.
|
File size:
1.7 KB
|
Rev | Line | |
---|
[9165] | 1 | # $Id: setup.os2debmscv6-16.mk,v 1.12 2002-08-29 10:01:42 bird Exp $
|
---|
[8352] | 2 |
|
---|
| 3 | # ---OS2, DEBUG, MSCV6-------------------------
|
---|
| 4 | ENV_NAME="OS/2, Debug, Microsoft C v6.0a 16-bit"
|
---|
| 5 | ENV_STATUS=OK
|
---|
| 6 | !if "$(ENV_ENVS)" == ""
|
---|
| 7 | ENV_ENVS=vac308 mscv6-16
|
---|
| 8 | !else
|
---|
| 9 | ENV_ENVS_FORCE=vac308 mscv6-16
|
---|
| 10 | !endif
|
---|
[9042] | 11 | SPACE=_
|
---|
[8352] | 12 | ENV_16BIT = 16
|
---|
| 13 |
|
---|
| 14 |
|
---|
| 15 | #
|
---|
| 16 | # Include some shared standard stuff: ALP.
|
---|
| 17 | #
|
---|
[9165] | 18 | !include $(PATH_MAKE)\setup.os2as.mk
|
---|
[9138] | 19 | !include $(PATH_MAKE)\setup.os2prfrc.mk
|
---|
[9120] | 20 | !include $(PATH_MAKE)\setup.os2prfwrc.mk
|
---|
[9165] | 21 | !include $(PATH_MAKE)\setup.os2ld.mk
|
---|
| 22 | !include $(PATH_MAKE)\setup.os2ar.mk
|
---|
[9129] | 23 | !include $(PATH_MAKE)\setup.optional.mscvx-16.mk
|
---|
[8352] | 24 |
|
---|
| 25 |
|
---|
| 26 | #
|
---|
| 27 | # The tools
|
---|
| 28 | #
|
---|
| 29 | CC=cl.exe
|
---|
| 30 | CXX=false
|
---|
| 31 |
|
---|
| 32 |
|
---|
| 33 | #
|
---|
| 34 | # The flags
|
---|
| 35 | #
|
---|
| 36 | CC_FLAGS=/nologo /c /DDEBUG /DOS2 /D__16BIT__ /W0 /G2s /Zi /Owis $(_CC_OPTIONAL) $(CC_DEFINES) $(ALL_DEFINES) $(BUILD_DEFINES) $(CC_INCLUDES) $(ALL_INCLUDES) /I$(PATH_INCLUDES)
|
---|
| 37 | CC_FLAGS_EXE=$(CC_FLAGS)
|
---|
| 38 | CC_FLAGS_DLL=$(CC_FLAGS)
|
---|
| 39 | CC_FLAGS_SYS=$(CC_FLAGS) /DRING0
|
---|
| 40 | CC_FLAGS_IFS=$(CC_FLAGS_SYS)
|
---|
| 41 | CC_OBJ_OUT=/Fo
|
---|
| 42 | CC_LST_OUT=/Fa
|
---|
| 43 | CC_PC_2_STDOUT=/P /E
|
---|
| 44 |
|
---|
| 45 | CXX_FLAGS=
|
---|
| 46 | CXX_FLAGS_EXE=
|
---|
| 47 | CXX_FLAGS_DLL=
|
---|
| 48 | CXX_FLAGS_SYS=
|
---|
| 49 | CC_FLAGS_IFS=
|
---|
| 50 | CXX_OBJ_OUT=
|
---|
| 51 | CXX_PC_2_STDOUT=
|
---|
| 52 |
|
---|
[8423] | 53 | !if "$(CC_AS_CXX)" != ""
|
---|
| 54 | ! if [@(ECHO) $(CLRERR)Error: CC_AS_CXX is not supported by this compiler!$(CLRRST)]
|
---|
| 55 | ! endif
|
---|
| 56 | ! error
|
---|
| 57 | !endif
|
---|
| 58 | !if "$(CXX_AS_CC)" != ""
|
---|
| 59 | ! if [@(ECHO) $(CLRERR)Error: CXX_AS_CC is not supported by this compiler!$(CLRRST)]
|
---|
| 60 | ! endif
|
---|
| 61 | ! error
|
---|
| 62 | !endif
|
---|
| 63 |
|
---|
[8352] | 64 |
|
---|
| 65 | #
|
---|
| 66 | # Libraries and object files.
|
---|
| 67 | #
|
---|
[9064] | 68 | !if "$(TARGET_MODE)" == "DLL" # quirk! TODO/FIXME
|
---|
| 69 | _LIB_TYP = dll
|
---|
| 70 | !else
|
---|
| 71 | _LIB_TYP = ep
|
---|
| 72 | !endif
|
---|
[8352] | 73 | LIB_OS = os2286.lib
|
---|
[9064] | 74 | LIB_C_OBJ = $(_OBJ_MODEL)libc$(_LIB_TYP).lib
|
---|
| 75 | LIB_C_DLL = $(_OBJ_MODEL)libc$(_LIB_TYP).lib
|
---|
| 76 | LIB_C_RTDLL = $(_OBJ_MODEL)libc$(_LIB_TYP).lib
|
---|
[8352] | 77 | LIB_C_NRE =
|
---|
| 78 | LIB_C_DMNGL =
|
---|
| 79 | OBJ_PROFILE =
|
---|
| 80 |
|
---|
| 81 | # ---OS2, DEBUG, MSCV6-------------------------
|
---|
| 82 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.