Changeset 970


Ignore:
Timestamp:
Feb 22, 2008, 11:16:17 PM (18 years ago)
Author:
John Small
Message:

Ticket 229: Suppress lxlite processing when DEBUG=1

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/makefile

    r907 r970  
    196196  @echo Checking required EXEs
    197197  if not exist internal\mkstr.exe internal\mkstr.exe
     198!ifndef DEBUG
    198199  lxlite -c:exehdr internal\mkstr.exe >nul
     200!else
     201! ifeq DEBUG 0
     202    lxlite -c:exehdr internal\mkstr.exe >nul
     203! endif
     204!endif
    199205
    200206!endif
     
    239245$(BASERES).dll: $(BASERES).res
    240246  @if not exist $@ echo $@ missing
     247!ifndef DEBUG
    241248  lxlite $@ /x+ /b-
    242249  lxlite $@ /c:minstub
     250!else
     251! ifeq DEBUG 0
     252    lxlite $@ /x+ /b-
     253    lxlite $@ /c:minstub
     254! endif
     255!endif
    243256  $(RC) $(RCFLAGS2) $(BASERES).res $@
     257!ifndef DEBUG
    244258  lxlite $@ /x- /b-
     259!else
     260! ifeq DEBUG 0
     261    lxlite $@ /x- /b-
     262! endif
     263!endif
    245264  bldlevel $@
    246265
     
    265284lxlite: $(BASE).dll $(BASERES).dll .symbolic
    266285# !lxlite /x- /b- $?
     286!ifndef DEBUG
    267287   @for %f in ($(BASE).dll $(BASERES).dll) do !lxlite /x- /b- %f
     288!else
     289!  ifeq DEBUG 0
     290     @for %f in ($(BASE).dll $(BASERES).dll) do !lxlite /x- /b- %f
     291!  endif
     292!endif
    268293
    269294cleanobj: .symbolic
  • trunk/makefile

    r936 r970  
    4141!include makefile_pre.mk
    4242
     43
    4344all: dll $(BASE) allexe .symbolic
    4445
     
    7677# Apply to each *.mak for other exes
    7778lxlite:: *.mak .symbolic
    78    @for %f in ($<) do $(MAKE) -f %f $(__MAKEOPTS__) $(DEBUG_OPT) lxlite
     79!ifdef DEBUG
     80!  ifeq DEBUG 0
     81     @for %f in ($<) do $(MAKE) -f %f $(__MAKEOPTS__) $(DEBUG_OPT) lxlite
     82!  endif
     83!else
     84     @for %f in ($<) do $(MAKE) -f %f $(__MAKEOPTS__) $(DEBUG_OPT) lxlite
     85!endif
    7986
    8087# Apply to dlls
    8188lxlite:: .symbolic
    8289  cd dll
     90!ifdef DEBUG
     91!  ifeq DEBUG 0
     92     $(MAKE) $(__MAKEOPTS__) $(DEBUG_OPT) lxlite
     93!  endif
     94!else
    8395  $(MAKE) $(__MAKEOPTS__) $(DEBUG_OPT) lxlite
     96!endif
    8497  cd ..
    8598
Note: See TracChangeset for help on using the changeset viewer.