Changeset 983 for trunk/dll


Ignore:
Timestamp:
Feb 26, 2008, 3:51:21 AM (18 years ago)
Author:
John Small
Message:

Change the SYM build code: DEBUB=1 is no longer required, new targets:
syms, exesyms and dllsyms. Also the dist target will build SYM files.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/makefile

    r976 r983  
    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?)
    8077SYMS = $(BASE).sym $(BASERES).sym internal\mkstr.sym  #set a targets for building SYM files
    81 !    endif     
    82 !  endif       
    83 !endif 
    8478
    8579# Some flags are order dependent - see OpenWatcom docs
     
    175169     ipf\fm3.hlp &
    176170     internal\mkstr.exe &
    177      fm3res.str $(SYMS)
     171     fm3res.str
     172
     173dllsyms: $(SYMS) .symbolic
    178174
    179175$(BASE).dll $(BASE).lib: $(OBJS) $(BASE).def $(BASE).lrf
     
    249245
    250246$(BASE).sym: $(BASE).map
     247!ifdef %PERLLIB
    251248   @echo Processing: $?
    252249   -perl ..\debugtools\mapsymw.pl $?
     250!else
     251   @echo PERL environment not found. Skipping SYM file
     252!endif
    253253
    254254$(BASERES).sym: $(BASERES).map
     255!ifdef %PERLLIB
    255256   @echo Processing: $?
    256257   -perl ..\debugtools\mapsymw.pl $?
     258!else
     259   @echo PERL environment not found. Skipping SYM file
     260!endif
    257261
    258262internal\mkstr.sym: internal\mkstr.map
     263!ifdef %PERLLIB
    259264   @echo Processing: $?
    260265   cd internal
    261266   -perl ..\..\debugtools\mapsymw.pl mkstr.map
    262267   cd ..
     268!else
     269   @echo PERL environment not found. Skipping SYM file
     270!endif
    263271
    264272!else
Note: See TracChangeset for help on using the changeset viewer.