Changeset 43


Ignore:
Timestamp:
Apr 26, 2003, 3:51:07 AM (22 years ago)
Author:
bird
Message:

Corrected OS/2 hack.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/gcc/gcc/Makefile.in

    • Property cvs2svn:cvs-rev changed from 1.3 to 1.4
    r42 r43  
    703703# OS/2 have some trouble here. 
    704704ifeq "$(BUILD_PLATFORM)" "OS2"
    705 PREPEND_DOTDOT_TO_RELATIVE_PATHS = sed -e 's|^ | |'
    706 SUBDIR_FLAGS_TO_PASS = $(FLAGS_TO_PASS)
     705PREPEND_DOTDOT_TO_RELATIVE_PATHS = sed \
     706        -e 's|^ *[\\]||' \
     707        -e 's|^ *[^ /][^ /]*/|%&|' \
     708        -e 's| -B| -B%|g' \
     709        -e 's|% *[^- /]|%&|g' \
     710        -e 's|%% *|../|g' \
     711        -e 's|%||g'
    707712else
    708713PREPEND_DOTDOT_TO_RELATIVE_PATHS = sed \
     
    712717        -e 's|%% *|../|g' \
    713718        -e 's|%||g'
     719endif   
    714720SUBDIR_FLAGS_TO_PASS = $(ORDINARY_FLAGS_TO_PASS) \
    715721        "CC=`echo @quoted_cc_set_by_configure@ | $(PREPEND_DOTDOT_TO_RELATIVE_PATHS)`" \
    716722        "STAGE_PREFIX=`echo @quoted_stage_prefix_set_by_configure@ | $(PREPEND_DOTDOT_TO_RELATIVE_PATHS)`"
    717 endif   
    718723
    719724#
     
    844849# For i18n support, we also need .gmo, .po, .pox.
    845850.SUFFIXES:
    846 .SUFFIXES: .c .o .po .pox .gmo 
     851.SUFFIXES: .c .o .po .pox .gmo
    847852
    848853Makefile: $(srcdir)/Makefile.in config.status $(srcdir)/version.c \
     
    15331538cfgbuild.o : cfgbuild.c $(CONFIG_H) $(SYSTEM_H) $(RTL_H) flags.h insn-config.h \
    15341539   $(BASIC_BLOCK_H) $(REGS_H) hard-reg-set.h output.h toplev.h $(RECOG_H) \
    1535    function.h except.h $(GGC_H) 
     1540   function.h except.h $(GGC_H)
    15361541cfgcleanup.o : cfgcleanup.c $(CONFIG_H) $(SYSTEM_H) $(RTL_H) $(TIMEVAR_H)\
    15371542   $(BASIC_BLOCK_H) hard-reg-set.h output.h flags.h $(RECOG_H) toplev.h \
     
    34353440CATALOGS = @CATALOGS@
    34363441
    3437 .PHONY: build- install- build-po install-po update-po 
     3442.PHONY: build- install- build-po install-po update-po
    34383443
    34393444# Dummy rules to deal with dependencies produced by use of
Note: See TracChangeset for help on using the changeset viewer.