Edit

kc3-lang/automake/ext-compile.am

Branch :

  • Show log

    Commit

  • Author : Akim Demaille
    Date : 2001-05-08 10:38:12
    Hash : beeeae16
    Message : Note: This patch breaks Automake. Repaired within two patches. * automake.in (Language): Replace the attribute `output_arg' with `compile_flag' and `output_flag'. (Automake): Adjust language registrations. (&handle_languages): Transform `-c' and `-o' for both suffix and per object rules, instead of `OUTARG' and `LTOUTARG' only for generic rules. (&handle_single_transform_list): Adjust to `compile_flag' and `output_flag'. * depend2.am, ext-compile.am: Use `%-c%' and `%-o%'.

  • ext-compile.am
  • ## automake - create Makefile.in from Makefile.am
    ## Copyright 2001 Free Software Foundation, Inc.
    
    ## This program is free software; you can redistribute it and/or modify
    ## it under the terms of the GNU General Public License as published by
    ## the Free Software Foundation; either version 2, or (at your option)
    ## any later version.
    
    ## This program is distributed in the hope that it will be useful,
    ## but WITHOUT ANY WARRANTY; without even the implied warranty of
    ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    ## GNU General Public License for more details.
    
    ## You should have received a copy of the GNU General Public License
    ## along with this program; if not, write to the Free Software
    ## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
    ## 02111-1307, USA.
    
    .%EXT%.o:
    ?-o?	%COMPILE% %-c% %-o% $@ %SOURCE%
    ?!-o?	%COMPILE% %-c% %SOURCE%
    
    .%EXT%.obj:
    ## FIXME: Using cygpath should be somehow conditional.
    ?-o?	%COMPILE% %-c% %-o% $@ `cygpath -w %SOURCE%`
    ?!-o?	%COMPILE% %-c% `cygpath -w %SOURCE%`
    
    if %?LIBTOOL%
    .%EXT%.lo:
    ## We can always use `-o' with Libtool.
    	%LTCOMPILE% %-c% -o $@ %SOURCE%
    endif %?LIBTOOL%