Edit

kc3-lang/automake/multilib.am

Branch :

  • Show log

    Commit

  • Author : Tom Tromey
    Date : 1998-10-11 13:07:31
    Hash : 86552783
    Message : Preliminary (completely untested) multilib support. * automake.texi (Macros): Document AM_ENABLE_MULTILIB. * m4/Makefile.am (m4data_DATA): Added multi.m4. * Makefile.am (amfiles): Added multilib.am. * automake.in (seen_multilib): New global. (scan_one_configure_file): Recognize AM_ENABLE_MULTILIB. (generate_makefile): Call handle_multilib. (handle_multilib): New function. * multilib.am: New file. * m4/multi.m4: New file.

  • multilib.am
  • ## automake - create Makefile.in from Makefile.am
    ## Copyright (C) 1998 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.
    ## Multilib support variables.
    MULTISRCTOP =
    MULTIBUILDTOP =
    MULTIDIRS =
    MULTISUBDIR =
    MULTIDO = true
    MULTICLEAN = true
    
    all-multi:
    	$(MULTIDO) $(AM_MAKEFLAGS) DO=all multi-do
    install-multi:
    	$(MULTIDO) $(AM_MAKEFLAGS) DO=install multi-do
    mostlyclean-multi:
    	$(MULTICLEAN) $(AM_MAKEFLAGS) DO=mostlyclean multi-clean
    clean-multi:
    	$(MULTICLEAN) $(AM_MAKEFLAGS) DO=clean multi-clean
    distclean-multi:
    	$(MULTICLEAN) $(AM_MAKEFLAGS) DO=distclean multi-clean
    maintainer-clean-multi:
    	$(MULTICLEAN) $(AM_MAKEFLAGS) DO=maintainer-clean multi-clean
    
    ## FIXME: this is probably broken.
    all-recursive: all-multi
    install-recursive: install-multi
    mostlyclean-recursive: mostlyclean-multi
    clean-recursive: clean-multi
    distclean-recursive: distclean-multi
    maintainer-clean-recursive: maintainer-clean-multi