Changeset 8241 for trunk/include


Ignore:
Timestamp:
Apr 12, 2002, 12:45:28 AM (23 years ago)
Author:
bird
Message:

Release profiling with VAC3.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/odin32.profile.vac3.mk

    r8236 r8241  
    1 # $Id: odin32.profile.vac3.mk,v 1.9 2002-04-11 21:23:57 bird Exp $
     1# $Id: odin32.profile.vac3.mk,v 1.10 2002-04-11 22:45:28 bird Exp $
    22
    33#
     
    1818ODINCRT  = odincrtp
    1919LIB_DEMANGLE = demangl.lib
     20!ifndef DEBUG
    2021OBJ_PROFILE = $(ODIN32_LIB)\cppopa3.obj $(ODIN32_LIB)\cppopa3_fix2.obj
     22NO_LXLITE = 1
     23!endif
    2124
    2225
     
    3437OS2RC  = rc
    3538
     39
     40#
     41# This knuts take at profiling.
     42#   - Profile the RELEASE version of the system using a real profiler.
     43#
     44!ifndef DEBUG
     45
     46#
     47# Tool Flags
     48#
     49ASFLAGS          = -Mb -Sc -Sv:ALP +Od
     50IMPLIBFLAGS      = /nologo
     51ILIBFLAGS        = /quiet /nologo /noignorecase
     52RCFLAGS          = -s -I. -I$(CPPMAIN)\include -D__WIN32OS2__
     53!ifdef WRC_PREFIX_RESOURCE
     54RCFLAGS          = $(RCFLAGS) -p $(TARGET)
     55!endif
     56OS2RCFLAGS       = -r -n
     57OS2RCLFLAGS      = -x2 -n
     58
     59
     60#
     61# C Compiler flags.
     62#   This may look a bit like a mess but, there is usually a reason behind
     63#   every line and the way it is done. We have some problems with nmake
     64#   when we add new flags to for example CXXFLAGS too many times.
     65#
     66!ifndef NOPROFILEHOOKS
     67PROFILEFLAGS=-Gh+
     68!endif
     69!ifdef EXETARGET
     70CTARGETFLAGS     = -Ge+
     71CXXTARGETFLAGS   = -Ge+
     72!else
     73CTARGETFLAGS     = -Ge-
     74CXXTARGETFLAGS   = -Ge-
     75!endif
     76CXXEXCEPTIONS    = -Gx-
     77
     78CFLAGS           = -c -Q -Si -G5 -O+ -Oi- -Ss+ -W3 -Gm+ /Gn+ -Ti+ $(PROFILEFLAGS) $(CTARGETFLAGS)
     79CXXFLAGS         = -c -Q -Si -G5 -O+ -Oi- -Ss+ -W3 -Gm+ /Gn+ -Ti+ $(PROFILEFLAGS) $(CXXTARGETFLAGS) -Gx+
     80CXXFLAGS_ODINCRT = -c -Q -Si -G5 -O+ -Oi- -Ss+ -W3 -Gm+ /Gn- -Ti+ $(PROFILEFLAGS) $(CXXTARGETFLAGS) -Gx+
     81CFLAGS_WIN32APP  = -c -Q -Si -G5 -O+ -Oi- -Ss+ -W3 -Gm+ /Gn+ -Ti+ $(PROFILEFLAGS) $(CTARGETFLAGS)
     82CXXFLAGS_WIN32APP= -c -Q -Si -G5 -O+ -Oi- -Ss+ -W3 -Gm+ /Gn+ -Ti+ $(PROFILEFLAGS) $(CXXTARGETFLAGS)
     83CINCLUDES        = -I$(ODIN32_INCLUDE)\Win -I. -I$(ODIN32_INCLUDE)
     84CDEFINES         = -D__WIN32OS2__ -D__WINE__ -D__i386__ -DTCPV40HDRS -DCOMCTL32UNDOC
     85CDEFINES_ODINCRT = -D__WIN32OS2__ -D__WINE__ -D__i386__
     86CDEFINES_WIN32APP= -D__WIN32OS2__ -D__i386__
     87
     88!else
     89#
     90# This is Patricks take at profiling.
     91#   - Profile the DEBUG version of the system.
     92#
    3693
    3794#
     
    82139!endif
    83140
     141!endif #profile type
     142
    84143
    85144#
Note: See TracChangeset for help on using the changeset viewer.