Edit

kc3-lang/automake/compile.am

Branch :

  • Show log

    Commit

  • Author : Tom Tromey
    Date : 2001-05-06 23:01:34
    Hash : 5bea838f
    Message : Fix for PR automake/132: * automake.in (c, c++, objc, asm, ppf77): Add DEFAULT_INCLUDES to compilation. (java): Remove INCLUDES and DEFS from compilation. (lang_c_finish): Add DEFAULT_INCLUDES to compilation. * compile.am (DEFS): Don't include %DEFAULT_INCLUDES%. (DEFAULT_INCLUDES): New macro.

  • compile.am
  • ## automake - create Makefile.in from Makefile.am
    ## Copyright 1994, 1995, 1996, 1997, 1998, 1999, 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.
    
    DEFS = @DEFS@
    DEFAULT_INCLUDES = %DEFAULT_INCLUDES%
    CPPFLAGS = @CPPFLAGS@
    LDFLAGS = @LDFLAGS@
    LIBS = @LIBS@
    
    mostlyclean-am: mostlyclean-compile
    mostlyclean-compile:
    ## Don't remove 'core.*' because some distributions have eg "core.c".
    ## 4.4BSD systems use `PROG.core'.
    	-rm -f *.$(OBJEXT) core *.core
    
    distclean-am: distclean-compile
    distclean-compile:
    	-rm -f *.tab.c
    
    .PHONY: mostlyclean-compile distclean-compile