Resurrect autoconf from the 'full' branch
[msysgit.git] / share / automake-1.10 / am / multilib.am
blob476fb4765bae6d5ced631f2abaf69861d7d816a7
1 ## automake - create Makefile.in from Makefile.am
2 ## Copyright (C) 1998, 2001, 2003, 2004 Free Software Foundation, Inc.
4 ## This program is free software; you can redistribute it and/or modify
5 ## it under the terms of the GNU General Public License as published by
6 ## the Free Software Foundation; either version 2, or (at your option)
7 ## any later version.
9 ## This program is distributed in the hope that it will be useful,
10 ## but WITHOUT ANY WARRANTY; without even the implied warranty of
11 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12 ## GNU General Public License for more details.
14 ## You should have received a copy of the GNU General Public License
15 ## along with this program; if not, write to the Free Software
16 ## Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
17 ## 02110-1301, USA.
18 ## Multilib support variables.
19 MULTISRCTOP =
20 MULTIBUILDTOP =
21 MULTIDIRS =
22 MULTISUBDIR =
23 MULTIDO = true
24 MULTICLEAN = true
26 # GNU Make needs to see an explicit $(MAKE) variable in the command it
27 # runs to enable its job server during parallel builds.  Hence the
28 # comments below.
30 all-multi:
31         $(MULTIDO) $(AM_MAKEFLAGS) DO=all multi-do # $(MAKE)
32 install-multi:
33         $(MULTIDO) $(AM_MAKEFLAGS) DO=install multi-do # $(MAKE)
35 .MAKE .PHONY: all-multi install-multi
38 mostlyclean-multi:
39         $(MULTICLEAN) $(AM_MAKEFLAGS) DO=mostlyclean multi-clean # $(MAKE)
40 clean-multi:
41         $(MULTICLEAN) $(AM_MAKEFLAGS) DO=clean multi-clean # $(MAKE)
42 distclean-multi:
43         $(MULTICLEAN) $(AM_MAKEFLAGS) DO=distclean multi-clean # $(MAKE)
44 maintainer-clean-multi:
45         $(MULTICLEAN) $(AM_MAKEFLAGS) DO=maintainer-clean multi-clean # $(MAKE)
47 .MAKE .PHONY: mostlyclean-multi clean-multi distclean-multi maintainer-clean-multi
49 install-exec-am: install-multi
50 ## No uninstall rule?
53 ## These cleaning rules are recursive.  They should not be
54 ## registered as dependencies of *-am rules.  For instance
55 ## otherwise running `make clean' would cause both
56 ## clean-multi and mostlyclean-multi to be run, while only
57 ## clean-multi is really expected (since clean-multi recursively
58 ## call clean, it already do the job of mostlyclean).
59 mostlyclean: mostlyclean-multi
60 clean: clean-multi
61 distclean: distclean-multi
62 maintainer-clean: maintainer-clean-multi