Home | History | Annotate | Line # | Download | only in vms
t-vms revision 1.1
      1 # Copyright (C) 2009
      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 # Temporary restriction: VMS_EXTRA_PARTS must be compiled by DEC C.
     28 #VMS_EXTRA_PARTS=vcrt0.o pcrt0.o
     29 VMS_EXTRA_PARTS=
     30 
     31 DECC=`echo $(CC) | sed -e 's/xgcc -B.*/decc$(exeext)/' -e 's/^gcc/decc/' -e 's/^decc/.\/decc/' -e 's/\(.*\)-gcc/\1-decc/'`
     32 
     33 # Assemble startup files.
     34 $(T)vcrt0.o: $(CRT0_S) $(GCC_PASSES)
     35 	$(DECC) -c /names=as_is $(srcdir)/config/vms/vms-crt0.c -o $(T)vcrt0.o
     36 
     37 $(T)pcrt0.o: $(CRT0_S) $(GCC_PASSES)
     38 	$(DECC) -c /names=as_is $(srcdir)/config/vms/vms-psxcrt0.c -o $(T)pcrt0.o
     39