Changeset 976


Ignore:
Timestamp:
Feb 23, 2008, 8:58:02 PM (18 years ago)
Author:
John Small
Message:

Ticket 226: Add support for building SYM files to the build process
and add a package of files/icons to the Warpin WPI file to support
debugging efforts.

Location:
trunk
Files:
19 edited

Legend:

Unmodified
Added
Removed
  • trunk/av2.mak

    r695 r976  
    44
    55# 16 Jun 07 GKY Convert to OpenWatcom
     6# 23 Feb 08 JBS Add support for building SYM files
    67
    78BASE=av2
     
    910!include makefile_pre.mk
    1011
    11 all: $(BASE).exe $(BASE).res .symbolic
     12all: $(BASE).exe $(BASE).res $(SYMS) .symbolic
    1213
    1314$(BASE).res: $(BASE).rc dll\fm3dll.h icons\view3.ico bitmaps\*.bmp
  • trunk/databar.mak

    r695 r976  
    44
    55# 16 Jun 07 GKY Convert to OpenWatcom
     6# 23 Feb 08 JBS Add support for building SYM files
    67
    78BASE=databar
     
    910!include makefile_pre.mk
    1011
    11 all: $(BASE).exe $(BASE).res .symbolic
     12all: $(BASE).exe $(BASE).res $(SYMS) .symbolic
    1213
    1314$(BASE).res: $(BASE).rc dll\fm3dll.h icons\$(BASE).ico bitmaps\*.bmp
  • trunk/dirsize.mak

    r695 r976  
    44
    55# 16 Jun 07 GKY Convert to OpenWatcom
     6# 23 Feb 08 JBS Add support for building SYM files
    67
    78BASE=dirsize
     
    910!include makefile_pre.mk
    1011
    11 all: $(BASE).exe $(BASE).res .symbolic
     12all: $(BASE).exe $(BASE).res $(SYMS) .symbolic
    1213
    1314$(BASE).res: dirsize.h dll\fm3dll.h $(BASE).rc $(BASE).dlg
  • trunk/dll/makefile

    r973 r976  
    7575!endif
    7676
     77!ifdef DEBUG                    #if DEBUG is defined
     78!  ifeq DEBUG 1                 #if it is 1
     79!    ifdef %PERLLIB             #if PRELLIB env. var is defined (i.e. Perl is installed?)
     80SYMS = $(BASE).sym $(BASERES).sym internal\mkstr.sym  #set a targets for building SYM files
     81!    endif     
     82!  endif       
     83!endif 
     84
    7785# Some flags are order dependent - see OpenWatcom docs
    7886# -bc           console app
     
    167175     ipf\fm3.hlp &
    168176     internal\mkstr.exe &
    169      fm3res.str
     177     fm3res.str $(SYMS)
    170178
    171179$(BASE).dll $(BASE).lib: $(OBJS) $(BASE).def $(BASE).lrf
     
    239247   @%append $^@ name $(BASERES)
    240248   @for %f in ($(BASERES).obj) do @%append $^@ file %f
     249
     250$(BASE).sym: $(BASE).map
     251   @echo Processing: $?
     252   -perl ..\debugtools\mapsymw.pl $?
     253
     254$(BASERES).sym: $(BASERES).map
     255   @echo Processing: $?
     256   -perl ..\debugtools\mapsymw.pl $?
     257
     258internal\mkstr.sym: internal\mkstr.map
     259   @echo Processing: $?
     260   cd internal
     261   -perl ..\..\debugtools\mapsymw.pl mkstr.map
     262   cd ..
    241263
    242264!else
  • trunk/eas.mak

    r695 r976  
    44
    55# 16 Jun 07 GKY Convert to OpenWatcom
     6# 23 Feb 08 JBS Add support for building SYM files
    67
    78BASE=eas
     
    910!include makefile_pre.mk
    1011
    11 all: $(BASE).exe $(BASE).res .symbolic
     12all: $(BASE).exe $(BASE).res $(SYMS) .symbolic
    1213
    1314$(BASE).res: $(BASE).rc dll\fm3dll.h icons\$(BASE).ico bitmaps\*.bmp
  • trunk/fm4.mak

    r691 r976  
    44
    55# 14 Jun 07 SHL Convert to OpenWatcom
     6# 23 Feb 08 JBS Add support for building SYM files
    67
    78BASE=fm4
     
    910!include makefile_pre.mk
    1011
    11 all: $(BASE).exe $(BASE).res .symbolic
     12all: $(BASE).exe $(BASE).res $(SYMS) .symbolic
    1213
    1314$(BASE).res: $(BASE).rc icons\$(BASE).ico bitmaps\*.bmp
  • trunk/global.mak

    r695 r976  
    44
    55# 16 Jun 07 GKY Convert to OpenWatcom
     6# 23 Feb 08 JBS Add support for building SYM files
    67
    78BASE=global
     
    910!include makefile_pre.mk
    1011
    11 all: $(BASE).exe $(BASE).res .symbolic
     12all: $(BASE).exe $(BASE).res $(SYMS) .symbolic
    1213
    1314$(BASE).res: $(BASE).rc icons\$(BASE).ico bitmaps\*.bmp
  • trunk/ini.mak

    r695 r976  
    44
    55# 16 Jun 07 GKY Convert to OpenWatcom
     6# 23 Feb 08 JBS Add support for building SYM files
    67
    78BASE=ini
     
    910!include makefile_pre.mk
    1011
    11 all: $(BASE).exe $(BASE).res .symbolic
     12all: $(BASE).exe $(BASE).res $(SYMS) .symbolic
    1213
    1314$(BASE).res: $(BASE).rc icons\$(BASE).ico bitmaps\file.bmp
  • trunk/killproc.mak

    r695 r976  
    44
    55# 16 Jun 07 GKY Convert to OpenWatcom
     6# 23 Feb 08 JBS Add support for building SYM files
    67
    78BASE=killproc
     
    910!include makefile_pre.mk
    1011
    11 all: $(BASE).exe $(BASE).res .symbolic
     12all: $(BASE).exe $(BASE).res $(SYMS) .symbolic
    1213
    1314$(BASE).res: $(BASE).rc icons\$(BASE).ico
  • trunk/makefile_post.mk

    r719 r976  
    55# 16 Apr 06 SHL Add lxlite target
    66# 02 Jun 07 SHL Convert to OpenWatcom
     7# 23 Feb 08 JBS Add support for building SYM files (Ticket 226)
    78
    89!ifndef MAKERES
     
    2627   @%append $^@ library dll\fm3dll.lib
    2728   @%append $^@ library os2386.lib
     29
     30$(BASE).sym: $(BASE).map
     31     @echo Processing: $?
     32     -perl debugtools\mapsymw.pl $?
    2833
    2934!else
  • trunk/makefile_pre.mk

    r907 r976  
    1111# 26 Sep 07 SHL Support USE_WRC from environment
    1212# 03 Jan 08 SHL Switch to wrc.exe default; support USE_RC from environment
     13# 23 Jan 08 JBS Add support for building SYM files (Ticket 226)
    1314
    1415CC = wcc386
     
    3839!endif
    3940!endif
     41
     42!ifdef DEBUG                    #if DEBUG is defined
     43!  ifeq DEBUG 1                 #if it is 1
     44!    ifdef %PERLLIB             #if PRELLIB env. var is defined (i.e. Perl is installed?)
     45SYMS = $(BASE).sym              #set a target for building SYM files
     46!    endif     
     47!  endif       
     48!endif 
    4049
    4150# Some flags are order dependent - see OpenWatcom docs
     
    8392
    8493.SUFFIXES:
    85 .SUFFIXES: .obj .c .res .rc .ipf
     94.SUFFIXES: .obj .c .res .rc .ipf .sym .map
    8695
    8796!if $(USE_RC)
  • trunk/sysinfo.mak

    r695 r976  
    44
    55# 16 Jun 07 GKY Convert to OpenWatcom
     6# 23 Feb 08 JBS Add support for building SYM files
    67
    78BASE=sysinfo
     
    910!include makefile_pre.mk
    1011
    11 all: $(BASE).exe $(BASE).res .symbolic
     12all: $(BASE).exe $(BASE).res $(SYMS) .symbolic
    1213
    1314$(BASE).res: $(BASE).rc icons\$(BASE).ico
  • trunk/undel.mak

    r695 r976  
    44
    55# 16 Jun 07 GKY Convert to OpenWatcom
     6# 23 Feb 08 JBS Add support for building SYM files
    67
    78BASE=undel
     
    910!include makefile_pre.mk
    1011
    11 all: $(BASE).exe $(BASE).res .symbolic
     12all: $(BASE).exe $(BASE).res $(SYMS) .symbolic
    1213
    1314$(BASE).res: $(BASE).rc icons\$(BASE).ico
  • trunk/vcollect.mak

    r695 r976  
    44
    55# 16 Jun 07 GKY Convert to OpenWatcom
     6# 23 Feb 08 JBS Add support for building SYM files
    67
    78BASE=vcollect
     
    910!include makefile_pre.mk
    1011
    11 all: $(BASE).exe $(BASE).res .symbolic
     12all: $(BASE).exe $(BASE).res $(SYMS) .symbolic
    1213
    1314$(BASE).res: $(BASE).rc dll\fm3dll.h icons\collect.ico bitmaps\*.bmp
  • trunk/vdir.mak

    r695 r976  
    44
    55# 16 Jun 07 GKY Convert to OpenWatcom
     6# 23 Feb 08 JBS Add support for building SYM files
    67
    78BASE=vdir
     
    910!include makefile_pre.mk
    1011
    11 all: $(BASE).exe $(BASE).res .symbolic
     12all: $(BASE).exe $(BASE).res $(SYMS) .symbolic
    1213
    1314$(BASE).res: $(BASE).rc dll\fm3dll.h icons\$(BASE).ico bitmaps\*.bmp
  • trunk/viewinfs.mak

    r695 r976  
    44
    55# 16 Jun 07 GKY Convert to OpenWatcom
     6# 23 Feb 08 JBS Add support for building SYM files
    67
    78BASE=viewinfs
     
    910!include makefile_pre.mk
    1011
    11 all: $(BASE).exe $(BASE).res .symbolic
     12all: $(BASE).exe $(BASE).res $(SYMS) .symbolic
    1213
    1314$(BASE).res: $(BASE).rc icons\$(BASE).ico
  • trunk/vtree.mak

    r695 r976  
    44
    55# 16 Jun 07 GKY Convert to OpenWatcom
     6# 23 Feb 08 JBS Add support for building SYM files
    67
    78BASE=vtree
     
    910!include makefile_pre.mk
    1011
    11 all: $(BASE).exe $(BASE).res .symbolic
     12all: $(BASE).exe $(BASE).res $(SYMS) .symbolic
    1213
    1314$(BASE).res: $(BASE).rc icons\tree.ico bitmaps\*.bmp
  • trunk/warpin/bld_fm2_wpidirs.txt

    r853 r976  
    11;
    22; $Id$
     3;
     4;  Change log:
     5;       23 Feb 08 JBS: Added lines for debugging support package (#10)
    36;
    47;  This is a file which will be used to simplify the process of
     
    107110FILE: shdwmgr.cmd              1  .  Utils
    108111
    109 ;NOFILESPACKAGE: 10
     112FILE: logfm2.cmd               10 .  Debug
     113FILE: *.map                    10 .  Debug
     114FILE: *.sym                    10 .  .
     115FILE: *.map                    10 dll  Debug
     116FILE: *.sym                    10 dll  .
     117FILE: *.map                    10 dll\internal  Debug
     118FILE: *.sym                    10 dll\internal  .
     119
     120;NOFILESPACKAGE: 100
  • trunk/warpin/fm2.wis.in

    r969 r976  
    33   FM2.WIS.IN is used as input to SED which then replaces/inserts
    44   various text and creates FM2.WIS during the FM/2 build process.
     5
     6Change log
     7   22 Feb 08 JBS Ticket 231: Stop auto-select of FM/2 Utilities of already installed.
     8   23 Feb 08 JBS Ticket 226: Add debugging support package
    59
    610   NOTE: If a NON-EXTERNAL package (i.e. a package whose files
     
    2125   WARPIN VERSION 0.9.20 is required for PACKAGEID's with revision levels.
    2226   WARPIN VERSION 0.9.9  is required for EXTRACTFROMPCK.
    23 
    24    22 Feb 08 JBS Ticket 231: Stop auto-select of FM/2 Utilities of already installed.
    2527
    2628-->
     
    127129</PCK>
    128130
     131<PCK INDEX=10
     132  PACKAGEID="Netlabs\FM2\FM2 Debugging support@@@FM2_VER@@@"
     133  TITLE="FM/2 Debugging support"
     134  TARGET="$(1)"
     135  FIXED
     136  CREATEOBJECT='WPProgram|FM/2^with logging|<FM3_Folder>|EXENAME=*;STARTUPDIR=$(1)\Debug;PARAMETERS=/c $(1)\Debug\LogFM2.cmd [Enter enter the name for a log file:];MINIMIZED=YES;OBJECTID=<FM2WithLogging>;'
     137>This package contains files which support efforts
     138to debug problems with FM/2. Normally they will
     139not be needed.
     140</PCK>
     141
    129142</HEAD>
    130143
Note: See TracChangeset for help on using the changeset viewer.