OSDN Git Service

2011-12-16 Tristan Gingold <gingold@adacore.com>
[pf3gnuchains/gcc-fork.git] / gcc / config / vms / t-vms
1 # Copyright (C) 2009, 2010, 2011
2 # Free Software Foundation, Inc.
3 #
4 # This file is part of GCC.
5 #
6 # GCC is free software; you can redistribute it and/or modify
7 # it under the terms of the GNU General Public License as published by
8 # the Free Software Foundation; either version 3, or (at your option)
9 # any later version.
10 #
11 # GCC is distributed in the hope that it will be useful,
12 # but WITHOUT ANY WARRANTY; without even the implied warranty of
13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14 # GNU General Public License for more details.
15 #
16 # You should have received a copy of the GNU General Public License
17 # along with GCC; see the file COPYING3.  If not see
18 # <http://www.gnu.org/licenses/>.
19
20 STMP_FIXPROTO =
21 STMP_FIXINC =
22 LIMITS_H_TEST = false
23
24 # Under VMS, directory names cannot contain dots.
25 version:=$(shell echo $(BASEVER_c) | sed -e 's/\./_/g')
26
27 vms-crtlmap.h: $(srcdir)/config/vms/vms-crtlmap.map  \
28   $(srcdir)/config/vms/make-crtlmap.awk
29         $(AWK) -f $(srcdir)/config/vms/make-crtlmap.awk \
30           $(srcdir)/config/vms/vms-crtlmap.map > $@
31
32 vms.o: $(srcdir)/config/vms/vms.c $(TREE_H) $(CONFIG_H) $(SYSTEM_H) \
33   coretypes.h $(TM_P_H) vms-crtlmap.h
34         $(COMPILER) -c $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) \
35           $< -o $@
36
37 vms-c.o: $(srcdir)/config/vms/vms-c.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \
38   $(TM_H) $(CPPLIB_H) $(TREE_H) c-family/c-pragma.h toplev.h $(GGC_H) \
39   $(TM_P_H)
40         $(COMPILER) -c $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) \
41           $(PREPROCESSOR_DEFINES) $< -o $@