Makefile.src.in
branchNewGRF_ports
changeset 6725 23339968083f
parent 6720 35756db7e577
child 6870 ca3fd1fbe311
equal deleted inserted replaced
6724:cfa62b4744d4 6725:23339968083f
    59 GCC295_FIX=sed -r 's/^(\t*)(.*)( const )([A-Za-z0-9_ ]+(\[.*\]){2,})(( = \{)|(;))(.*)$$/\1\2 \4\6\8\9/g'
    59 GCC295_FIX=sed -r 's/^(\t*)(.*)( const )([A-Za-z0-9_ ]+(\[.*\]){2,})(( = \{)|(;))(.*)$$/\1\2 \4\6\8\9/g'
    60 # This 'sed' removes the 3rd '4' in the # lines of the -E output of
    60 # This 'sed' removes the 3rd '4' in the # lines of the -E output of
    61 #  gcc 2.95.3 and lower, as it should indicate that it is a C-linkage, but the
    61 #  gcc 2.95.3 and lower, as it should indicate that it is a C-linkage, but the
    62 #  compiler can't handle that information (just don't ask). So we remove it
    62 #  compiler can't handle that information (just don't ask). So we remove it
    63 #  and then it compiles happily and without bitching :)
    63 #  and then it compiles happily and without bitching :)
    64 GCC295_FIX_2=sed -e 's|\(^\# [0-9][0-9]* "[^"]*"[ 0-9]*\) 4$$|\1|g'
    64 # Furthermore gcc 2.95 has some trouble with protected and private when
       
    65 #  accessing the protected/private stuff of the enclosing class (or the
       
    66 #  super class of the enclosing class).
       
    67 GCC295_FIX_2=sed -e 's|\(^\# [0-9][0-9]* "[^"]*"[ 0-9]*\) 4$$|\1|g;s|private:|public:|g;s|protected:|public:|g'
    65 
    68 
    66 # Check if we want to show what we are doing
    69 # Check if we want to show what we are doing
    67 ifdef VERBOSE
    70 ifdef VERBOSE
    68 	Q =
    71 	Q =
    69 	E = @true
    72 	E = @true