source: trunk/include/pdwin32.vac3.rel@ 4673

Last change on this file since 4673 was 4656, checked in by bird, 25 years ago

Addjustments for Watcom.

File size: 2.7 KB
RevLine 
[4656]1# $Id: pdwin32.vac3.rel,v 1.32 2000-11-21 04:39:19 bird Exp $
[9]2# ODIN / win32os2 Project
[514]3#
[9]4# RELEASE makefile for the VAC3 compiler environment
5#
6# phaller@gmx.net, 1999/05/27
7#
8
[4636]9
10#
11# Library macros.
12#
[2995]13SOMLIB = somtk.lib
[680]14RTLLIB = cppom30.lib
15RTLLIB_O = cppom30o.lib
[4334]16DLLENTRY = $(PDWIN32_LIB)\dllentry.obj
[4636]17ODINCRT = odincrt
[680]18
[4636]19
20#
21# Object directory.
22#
[3019]23OBJDIR = .\bin\release
24
[4636]25
[9]26#
27# Tools
28#
[2642]29CC = icc
30AS = alp
31CXX = icc
32LD = icc
[4642]33LD2 = $(EXECEXCL) $(PDWIN32_TOOLS)\ilink.lock.lnk ilink
[2642]34IMPLIB = implib
35ILIB = ilib
36RC = $(PDWIN32_TOOLS)\wrc
[3024]37OS2RC = rc
[9]38
[3863]39
[9]40#
41# Tool Flags
42#
[3026]43ASFLAGS = -Mb -Sc -Sv:ALP
[2642]44IMPLIBFLAGS = /nologo
45ILIBFLAGS = /quiet /nologo
[4620]46RCFLAGS = -s -I. -I$(CPPMAIN)\include
[4144]47OS2RCFLAGS = -r -n
48OS2RCLFLAGS = -x2 -n
[2995]49
[4636]50
51#
52# C Compiler flags.
53# This may look a bit like a mess but, there is usually a reason behind
54# every line and the way it is done. We have some problems with nmake
55# when we add new flags to for example CXXFLAGS too many times.
56#
[3032]57!ifdef EXETARGET
[4636]58CTARGETFLAGS = -Ge+
59CXXTARGETFLAGS = -Ge+
60!else
61CTARGETFLAGS = -Ge-
62CXXTARGETFLAGS = -Ge-
[3032]63!endif
[4656]64CXXEXCEPTIONS = -Gx-
[4636]65CFLAGS = -Q -Si -G5 -O+ -Oi+ -Ss+ -W3 -Gm+ /Gn+ $(CTARGETFLAGS)
66CXXFLAGS = -Q -Si -G5 -O+ -Oi+ -Ss+ -W3 -Gm+ /Gn+ $(CXXTARGETFLAGS) /Gx+
67CXXFLAGS_ODINCRT = -Q -Si -G5 -O+ -Oi+ -Ss+ -W3 -Gm+ /Gn- $(CXXTARGETFLAGS) /Gx+
68CFLAGS_WIN32APP = -Q -Si -G5 -O+ -Oi+ -Ss+ -W3 -Gm+ /Gn+ $(CTARGETFLAGS)
69CXXFLAGS_WIN32APP= -Q -Si -G5 -O+ -Oi+ -Ss+ -W3 -Gm+ /Gn+ $(CXXTARGETFLAGS)
70CINCLUDES = -I$(PDWIN32_INCLUDE)\Win -I. -I$(PDWIN32_INCLUDE)
71CDEFINES = -D__WIN32OS2__ -D__WINE__ -D__i386__ -DTCPV40HDRS -DCOMCTL32UNDOC
72CDEFINES_ODINCRT = -D__WIN32OS2__ -D__WINE__ -D__i386__
73CDEFINES_WIN32APP= -D__WIN32OS2__ -D__i386__
74
75
76#
77# Linker flags.
78# This may look a bit like a mess but, there is usually a reason behind
79# every line and the way it is done. We have some problems with nmake
80# when we add new flags to for example LD2FLAGS too many times.
81#
82!ifdef EXETARGET
[4656]83! ifdef VIO
84LDTARGETFLAGS = -Ge+ -B"/pmtype:vio"
85LD2TARGETFLAGS = /EXEC /pmtype:vio
86! else
87LDTARGETFLAGS = -Ge+ -B"/pmtype:pm"
88LD2TARGETFLAGS = /EXEC /pmtype:pm
89! endif
[4636]90!else
91LDTARGETFLAGS = -Ge-
92LD2TARGETFLAGS = /DLL
93!endif
94LDFLAGS = -Q /B"/noe /map /packcode /packdata /exepack:2 /nodebug /nod" $(LDTARGETFLAGS) -Si -G5 -O+ -W3 -Gm+
95LDFLAGS_ODINCRT = -Q /B"/noe /map /packcode /packdata /exepack:2 /nodebug" $(LDTARGETFLAGS) -Si -G5 -O+ -W3 -Gm+
96LD2FLAGS = /nologo /noe /map /packcode /packdata /exepack:2 /nodebug /nod $(LD2TARGETFLAGS)
97LD2FLAGS_ODINCRT = /nologo /noe /map /packcode /packdata /exepack:2 /nodebug $(LD2TARGETFLAGS)
98
Note: See TracBrowser for help on using the repository browser.