source: trunk/make/setup.os2relvac365.mk@ 10366

Last change on this file since 10366 was 10250, checked in by bird, 22 years ago

Corrected VAC365 NRE library. We must not use the import library version, but the static one.

File size: 2.6 KB
RevLine 
[10250]1# $Id: setup.os2relvac365.mk,v 1.23 2003-09-14 20:09:05 bird Exp $
[8197]2
3# ---OS2, RELEASE, VAC365-------------------------
4ENV_NAME="OS/2, Release, IBM VisualAge for C++ 3.6.5"
5ENV_STATUS=OK
[8296]6!if "$(ENV_ENVS)" == ""
7ENV_ENVS=vac365
8!else
9ENV_ENVS_FORCE=vac365
10!endif
[8423]11!undef ENV_16BIT
[8197]12
[8296]13
[8197]14#
[8334]15# Include some shared standard stuff: ALP, VAC optional stuff.
[8213]16#
[9165]17!include $(PATH_MAKE)\setup.os2as.mk
[9174]18!include $(PATH_MAKE)\setup.os2allrc.mk
19!include $(PATH_MAKE)\setup.os2allwrc.mk
[9165]20!include $(PATH_MAKE)\setup.os2ld.mk
[9154]21_AR_NOFREE = 1
[9165]22!include $(PATH_MAKE)\setup.os2ar.mk
[9278]23!include $(PATH_MAKE)\setup.os2allipfc.mk
[8334]24!include $(PATH_MAKE)\setup.optional.vac3xx.mk
[8213]25
[8296]26
[8213]27#
[8197]28# The tools
29#
30CC=icc.exe
31CXX=icc.exe
32
[8296]33
[8197]34#
35# The flags
36#
[9118]37CC_FLAGS=/Q /DOS2 /D__32BIT__ /D__i386__ /DMODEL=FLAT /Ti+ /O+ /G5 /qtune=pentium2 /Ss+ /C+ $(_CC_OPTIONAL) $(CC_DEFINES) $(ALL_DEFINES) $(BUILD_DEFINES) $(CC_INCLUDES) $(ALL_INCLUDES) /I$(PATH_INCLUDES)
[8334]38CC_FLAGS_EXE=$(CC_FLAGS) /Gm+ /Ge+
39CC_FLAGS_DLL=$(CC_FLAGS) /Gm+ /Ge-
[10156]40CC_FLAGS_SYS=$(CC_FLAGS) /Tm- /Rn /Ge+ /DRING0 /Gr+ /Gs+ /Wall+ppt-ppc-inl-cnv-gnr-vft-gen-uni-ext-
[8292]41CC_FLAGS_VDD=$(CC_FLAGS_SYS)
[8334]42CC_FLAGS_IFS=$(CC_FLAGS_SYS) /Ge-
[8197]43CC_OBJ_OUT=/Fo
[8213]44CC_LST_OUT=/Fa
[9278]45CC_PC_2_STDOUT=/Pd+ /P+ /Pc+
46CC_PC_2_STRIPPED_STDOUT=/Pd+ /P+ /Pc- /Pe+
[8197]47
[9118]48CXX_FLAGS=/Q /DOS2 /D__i386__ /DMODEL=FLAT /Ti+ /O+ /G5 /qtune=pentium2 /Ss+ /C+ $(_CXX_OPTIONAL) $(CXX_DEFINES) $(ALL_DEFINES) $(BUILD_DEFINES) $(CXX_INCLUDES) $(ALL_INCLUDES) /I$(PATH_INCLUDES)
[8334]49CXX_FLAGS_EXE=$(CXX_FLAGS) /Gm+ /Ge+
50CXX_FLAGS_DLL=$(CXX_FLAGS) /Gm+ /Ge-
[10156]51CXX_FLAGS_SYS=$(CXX_FLAGS) /Tm- /Rn /Ge+ /DRING0 /Gr+ /Gs+ /Wall+ppt-ppc-inl-cnv-gnr-vft- /Gx+
[8292]52CXX_FLAGS_VDD=$(CXX_FLAGS_SYS)
[8334]53CXX_FLAGS_IFS=$(CXX_FLAGS_SYS) /Ge-
[8197]54CXX_OBJ_OUT=/Fo
[8213]55CXX_LST_OUT=/Fa
[9278]56CXX_PC_2_STDOUT=/Pd+ /P+ /Pc+
57CXX_PC_2_STRIPPED_STDOUT=/Pd+ /P+ /Pc- /Pe+
[8197]58
[8423]59!if "$(CC_AS_CXX)" != ""
60! if "$(CXX_AS_CC)" != ""
[9066]61! if [@(ECHO) $(CLRERR)Error: CC_AS_CXX and CXX_AS_CC is mutual execlusive!$(CLRRST)]
[8423]62! endif
63! error
64! endif
65CC=$(CXX)
66CC_FLAGS_EXE=$(CXX_FLAGS_EXE) /Tdp
67CC_FLAGS_DLL=$(CXX_FLAGS_DLL) /Tdp
68CC_FLAGS_SYS=$(CXX_FLAGS_SYS) /Tdp
69CC_FLAGS_VDD=$(CXX_FLAGS_VDD) /Tdp
70CC_FLAGS_IFS=$(CXX_FLAGS_IFS) /Tdp
71!endif
72!if "$(CXX_AS_CC)" != ""
73CXX=$(CC)
[9066]74CXX_FLAGS_EXE=$(CC_FLAGS_EXE) /Tdc
75CXX_FLAGS_DLL=$(CC_FLAGS_DLL) /Tdc
76CXX_FLAGS_SYS=$(CC_FLAGS_SYS) /Tdc
77CXX_FLAGS_VDD=$(CC_FLAGS_VDD) /Tdc
78CXX_FLAGS_IFS=$(CC_FLAGS_IFS) /Tdc
[8423]79!endif
80
[8197]81
82#
83# Libraries and object files.
84#
[8213]85LIB_OS = os2386.lib
86LIB_C_OBJ = cpprms36.lib
87LIB_C_DLL = cpprmi36.lib
88LIB_C_RTDLL = cpprmo36.lib
[10250]89LIB_C_NRE = cpprns36.lib
[8213]90LIB_C_DMNGL = cpprds36.lib
91OBJ_PROFILE =
[8197]92
93# ---OS2, RELEASE, VAC365-------------------------
94
Note: See TracBrowser for help on using the repository browser.