Changeset 976 for trunk/dll


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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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
Note: See TracChangeset for help on using the changeset viewer.