OSDN Git Service

Add Fariborz to my last change.
[pf3gnuchains/gcc-fork.git] / gcc / ada / Makefile.prolog
1 # Makefile included at the beginning of the makefiles generated by gpr2make
2 # to support compilation for multiple languages.
3 # See also Makefile.generic
4 #
5 #   Copyright (C) 2001-2004 Free Software Foundation, Inc.
6
7 # This file is part of GCC.
8
9 # GCC is free software; you can redistribute it and/or modify
10 # it under the terms of the GNU General Public License as published by
11 # the Free Software Foundation; either version 2, or (at your option)
12 # any later version.
13
14 # GCC is distributed in the hope that it will be useful,
15 # but WITHOUT ANY WARRANTY; without even the implied warranty of
16 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17 # GNU General Public License for more details.
18
19 # You should have received a copy of the GNU General Public License
20 # along with GCC; see the file COPYING.  If not, write to
21 # the Free Software Foundation, 59 Temple Place - Suite 330,
22 # Boston, MA 02111-1307, USA.
23
24 # all reserved variables are saved in <VAR>.saved
25
26 BASE_DIR.saved := $(BASE_DIR)
27 C_EXT.saved:=$(C_EXT)
28 CXX_EXT.saved:=$(CXX_EXT)
29 OBJ_EXT.saved:=$(OBJ_EXT)
30 SRC_DIRS.saved:=$(SRC_DIRS)
31 C_SRCS.saved:=$(C_SRCS)
32 CXX_SRCS.saved:=$(CXX_SRCS)
33 OBJ_DIR.saved:=$(OBJ_DIR)
34 LANGUAGES.saved:=$(LANGUAGES)
35 CC.saved:=$(CC)
36 CXX.saved:=$(CXX)
37 AR_CMD.saved:=$(AR_CMD)
38 AR_EXT.saved:=$(AR_EXT)
39 GNATMAKE.saved:=$(GNATMAKE)
40 ADAFLAGS.saved:=$(ADAFLAGS)
41 CFLAGS.saved:=$(CFLAGS)
42 CXXFLAGS.saved:=$(CXXFLAGS)
43 FLDFLAGS.saved:=$(FLDFLAGS)
44 LIBS.saved:=$(LIBS)
45 LDFLAGS.saved:=$(LDFLAGS)
46 ADA_SOURCES.saved:=$(ADA_SOURCES)
47 EXEC.saved:=$(EXEC)
48 EXEC_DIR.saved:=$(EXEC_DIR)
49 MAIN.saved:=$(MAIN)
50 PROJECT_FILE.saved:=$(PROJECT_FILE)
51 DEPS_PROJECTS.saved:=$(DEPS_PROJECTS)
52
53 # Default settings
54
55 LANGUAGES:=ada
56 C_EXT:=.c
57 CXX_EXT:=.cc
58 AR_EXT=.a
59 OBJ_EXT=.o
60 CC=gcc
61 FLDFLAGS:=
62
63 # Default target is to build (compile/bind/link)
64 # Target build is defined in Makefile.generic
65
66 default: build
67