Ticket #9133: make_bug_tools_workaround.patch

File make_bug_tools_workaround.patch, 1.8 KB (added by criezy, 14 years ago)
  • Makefile.common

     
    104104        cp $(srcdir)/gui/media/*.* $(bundle_name)/Contents/Resources
    105105        cp scummvm-tools$(EXEEXT) $(bundle_name)/Contents/MacOS/
    106106
    107 
    108 
    109107PROGRAMS = \
    110108        decine \
    111109        dekyra \
    112         descumm \
    113110        desword2 \
    114         degob \
    115111        create_sjisfnt \
    116         scummvm-tools \
    117         scummvm-tools-cli \
    118112        sword2_clue
    119113
    120114
     
    240234$(foreach prog,$(PROGRAMS),$(eval $(call PROGRAM_template,$(prog))))
    241235
    242236
     237# There is a bug in make 3.80 that cause it to abord on $(eval $foo)
     238# when $foo is too long. This happens for the following tools for
     239# which we have therefore written the build and clean rules explicitely
     240# - scummvm-tools
     241# - scummvm-tools-cli
     242# - descumm
     243# - degob
     244
     245scummvm-tools$(EXEEXT): $(scummvm-tools_OBJS)
     246        $(QUIET_LINK)$(LD) -o scummvm-tools$(EXEEXT) $(scummvm-tools_OBJS) $(LDFLAGS) $(scummvm-tools_LIBS)
     247#all: scummvm-tools$(EXEEXT)
     248clean-scummvm-tools:
     249        $(RM) scummvm-tools$(EXEEXT)
     250clean: clean-scummvm-tools
     251
     252
     253scummvm-tools-cli$(EXEEXT): $(scummvm-tools-cli_OBJS)
     254        $(QUIET_LINK)$(LD) -o scummvm-tools-cli$(EXEEXT) $(scummvm-tools-cli_OBJS) $(LDFLAGS) $(scummvm-tools-cli_LIBS)
     255#all: scummvm-tools-cli$(EXEEXT)
     256clean-scummvm-tools-cli:
     257        $(RM) scummvm-tools-cli$(EXEEXT)
     258clean: clean-scummvm-tools-cli
     259
     260
     261descumm$(EXEEXT): $(descumm_OBJS)
     262        $(QUIET_LINK)$(LD) -o descumm$(EXEEXT) $(descumm_OBJS) $(LDFLAGS) $(descumm_LIBS)
     263#all: descumm$(EXEEXT)
     264clean-descumm:
     265        $(RM) descumm$(EXEEXT)
     266clean: clean-descumm
     267
     268
     269degob$(EXEEXT): $(degob_OBJS)
     270        $(QUIET_LINK)$(LD) -o degob$(EXEEXT) $(degob_OBJS) $(LDFLAGS) $(degob_LIBS)
     271#all: degob$(EXEEXT)
     272clean-degob:
     273        $(RM) degob$(EXEEXT)
     274clean: clean-degob
     275
    243276######################################################################
    244277
    245278clean: