]> git.ipfire.org Git - thirdparty/gcc.git/blame - gcc/config/ia64/t-vms
gthr-gnat.c: Remove.
[thirdparty/gcc.git] / gcc / config / ia64 / t-vms
CommitLineData
c8028650 1# Copyright (C) 2009, 2011
c24db304
DR
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# Enable the crtbegin/end rules disabled in t-ia64
21T =
22
23# VMS_EXTRA_PARTS is defined in x-vms and represent object files that
24# are only needed for VMS targets, but can only be compiled on a VMS host
25# (because they need DEC C).
26EXTRA_PARTS = $(VMS_EXTRA_PARTS) crtbegin.o crtbeginS.o crtend.o crtendS.o crtinitS.o
27
28CRTSTUFF_T_CFLAGS = -O0
29CRTSTUFF_T_CFLAGS_S = -O0
30
31$(T)crtinitS.o: $(srcdir)/config/ia64/vms-crtinit.asm $(GCC_PASSES)
32 $(GCC_FOR_TARGET) -I. -c -o $(T)crtinitS.o -x assembler-with-cpp \
33 $(srcdir)/config/ia64/vms-crtinit.asm
34
c8028650 35LIB2ADDEH += $(srcdir)/config/ia64/fde-vms.c
c24db304
DR
36
37# Shared library macros
38shlib_version:=$(shell echo $(BASEVER_c) | sed -e 's/\./,/' -e 's/\.//g')
39SHLIB_EXT = .exe
40SHLIB_OBJS = @shlib_objs@
41SHLIB_NAME = @shlib_base_name@.exe
42SHLIB_MULTILIB =
43SHLIB_INSTALL = $(INSTALL_DATA) $(SHLIB_NAME) $$(DESTDIR)$$(libsubdir)/$(SHLIB_ NAME)
44SHLIB_LINK = \
45 $(GCC_FOR_TARGET) $(LIBGCC2_CFLAGS) -nodefaultlibs \
46 -shared --for-linker=/noinform -o $(SHLIB_NAME) $(SHLIB_OBJS) \
47 --for-linker=$(srcdir)/config/ia64/VMS_SYMVEC_@shlib_base_name@.opt \
48 --for-linker=gsmatch=equal,$(shlib_version)
49