re PR target/44241 (vms-crtl.h, vms-crtl-64.h need many more symbols)
[gcc.git] / gcc / config / vms / t-vms
1 # Copyright (C) 2009, 2010
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_EXTRA_PARTS=vcrt0.o pcrt0.o
28
29 # Assemble startup files.
30 $(T)vcrt0.o: $(srcdir)/config/vms/vms-ucrt0.c $(GCC_PASSES)
31 $(GCC_FOR_TARGET) $(GCC_CFLAGS) $(MULTILIB_CFLAGS) $(INCLUDES) \
32 -c -o $(T)vcrt0.o $(srcdir)/config/vms/vms-ucrt0.c
33
34 $(T)pcrt0.o: $(srcdir)/config/vms/vms-ucrt0.c $(GCC_PASSES)
35 $(GCC_FOR_TARGET) $(GCC_CFLAGS) $(MULTILIB_CFLAGS) $(INCLUDES) \
36 -c -o $(T)pcrt0.o -DCRT0_POSIX_EXIT $(srcdir)/config/vms/vms-ucrt0.c
37
38 vms-crtlmap.h: $(srcdir)/config/vms/vms-crtlmap.map \
39 $(srcdir)/config/vms/make-crtlmap.awk
40 $(AWK) -f $(srcdir)/config/vms/make-crtlmap.awk \
41 $(srcdir)/config/vms/vms-crtlmap.map > $@
42
43 vms.o: $(srcdir)/config/vms/vms.c $(TREE_H) $(CONFIG_H) $(SYSTEM_H) \
44 coretypes.h $(TM_P_H) vms-crtlmap.h
45 $(COMPILER) -c $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) $<