Edit

kc3-lang/automake/compile.am

Branch :

  • Show log

    Commit

  • Author : Tom Tromey
    Date : 2001-05-08 17:58:03
    Hash : cf622e00
    Message : Fixes test subobj6.test and PR automake/160: * tests/Makefile.am (XFAIL_TESTS): Removed subobj6.test. * compile.am (mostlyclean-compile): Added MOSTLYRMS. (distclean-compile): Added DISTRMS. * tests/subobj6.test (wish_SOURCES): Updated to reflect `mostlyclean' use; added test for non-subdir case. * automake.in (compile_clean_files): New global. (MOSTLY_CLEAN, DIST_CLEAN): New constants. (initialize_per_input): Initialize compile_clean_files. (handle_single_transform_list): Set compile_clean_files entries. (handle_compile): Handle compilation cleanups.

  • 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
    ?MOSTLYRMS?%MOSTLYRMS%
    
    distclean-am: distclean-compile
    distclean-compile:
    	-rm -f *.tab.c
    ?DISTRMS?%DISTRMS%
    
    .PHONY: mostlyclean-compile distclean-compile