source: trunk/essentials/sys-devel/automake-1.10/lib/am/multilib.am

Last change on this file was 3147, checked in by bird, 18 years ago

automake 1.10

File size: 2.2 KB
Line 
1## automake - create Makefile.in from Makefile.am
2## Copyright (C) 1998, 2001, 2003, 2004 Free Software Foundation, Inc.
3
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.
8
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.
13
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.
19MULTISRCTOP =
20MULTIBUILDTOP =
21MULTIDIRS =
22MULTISUBDIR =
23MULTIDO = true
24MULTICLEAN = true
25
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.
29
30all-multi:
31 $(MULTIDO) $(AM_MAKEFLAGS) DO=all multi-do # $(MAKE)
32install-multi:
33 $(MULTIDO) $(AM_MAKEFLAGS) DO=install multi-do # $(MAKE)
34
35.MAKE .PHONY: all-multi install-multi
36
37
38mostlyclean-multi:
39 $(MULTICLEAN) $(AM_MAKEFLAGS) DO=mostlyclean multi-clean # $(MAKE)
40clean-multi:
41 $(MULTICLEAN) $(AM_MAKEFLAGS) DO=clean multi-clean # $(MAKE)
42distclean-multi:
43 $(MULTICLEAN) $(AM_MAKEFLAGS) DO=distclean multi-clean # $(MAKE)
44maintainer-clean-multi:
45 $(MULTICLEAN) $(AM_MAKEFLAGS) DO=maintainer-clean multi-clean # $(MAKE)
46
47.MAKE .PHONY: mostlyclean-multi clean-multi distclean-multi maintainer-clean-multi
48
49install-exec-am: install-multi
50## No uninstall rule?
51
52
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).
59mostlyclean: mostlyclean-multi
60clean: clean-multi
61distclean: distclean-multi
62maintainer-clean: maintainer-clean-multi
Note: See TracBrowser for help on using the repository browser.