]> git.ipfire.org Git - thirdparty/gcc.git/blame - libada/Makefile.in
PR ada/6637, PR ada/5911
[thirdparty/gcc.git] / libada / Makefile.in
CommitLineData
b0b70d84
AC
1# Makefile for libada.
2# Copyright 2003, 2004 Free Software Foundation, Inc.
3#
4# This file 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 of the License, or
7# (at your option) 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
17
18# Default target; must be first.
19all: gnatlib gnattools
20
21# Standard autoconf-set variables.
22SHELL = @SHELL@
23srcdir = @srcdir@
24build = @build@
25target = @target@
26enable_shared = @enable_shared@
27
28# Nonstandard autoconf-set variables.
29
30FLAGS_TO_PASS =
31
32GNATLIB = gnatlib
33
34ifeq ($(build),$(target))
35 GNATTOOLS = gnattools
36
37 ifeq ($(enable_shared),yes)
38 GNATLIB = gnatlib-shared
39 endif
40
41else
42 GNATTOOLS = cross-gnattools ada.all.cross
43endif
44
45# Rules to build gnatlib.
46gnatlib:
47 $(MAKE) -C ../../gcc $(FLAGS_TO_PASS) $(GNATLIB)
48
49# Rules to build gnattools.
50gnattools:
51 $(MAKE) -C ../../gcc $(FLAGS_TO_PASS) $(GNATTOOLS)
52
53# Check uninstalled version.
54check:
55
56# Check installed version.
57installcheck:
58
59# Build info (none here).
60info:
61
62# Build DVI (none here).
63dvi:
64
65# Build TAGS (none here).
66TAGS:
67
68# Installation rules.
69install:
70
71install-info:
72
73# Cleaning rules.
74mostlyclean:
75
76clean:
77
78distclean:
79 $(RM) Makefile config.status config.log
80
81maintainer-clean:
82
83# Rules for rebuilding this Makefile.
84Makefile: $(srcdir)/Makefile.in config.status
85 CONFIG_FILES=$@ ; \
86 CONFIG_HEADERS= ; \
87 $(SHELL) ./config.status
88
89config.status: $(srcdir)/configure
90 $(SHELL) ./config.status --recheck
91
92$(srcdir)/configure: @MAINT@ $(srcdir)/configure.in
93 cd $(srcdir) && autoconf