t-vxworks revision 1.1.1.1.4.2
1# Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008, 2# 2009 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# Build libgcc using the multilib mechanism 21LIBGCC = stmp-multilib 22INSTALL_LIBGCC = install-multilib 23 24# No special flags needed for libgcc.a 25TARGET_LIBGCC2_CFLAGS = 26 27# Don't build libgcc.a with debug info 28LIBGCC2_DEBUG_CFLAGS = 29 30# Extra libgcc2 modules used by gthr-vxworks.h functions 31LIB2FUNCS_EXTRA = $(srcdir)/config/vxlib.c $(srcdir)/config/vxlib-tls.c 32 33# Some runtime modules need these. Can't set extra_headers in config.gcc 34# because the paths are always made absolute to the cpu config dir. 35EXTRA_HEADERS += $(srcdir)/gthr-vxworks.h gthr-default.h 36 37# This ensures that the correct target headers are used; some 38# VxWorks system headers have names that collide with GCC's 39# internal (host) headers, e.g. regs.h. 40LIBGCC2_INCLUDES = -nostdinc -I \ 41 `case "/$$(MULTIDIR)" in \ 42 */mrtp*) echo $(WIND_USR)/h ;; \ 43 *) echo $(WIND_BASE)/target/h ;; \ 44 esac` 45 46# Both the kernel and RTP headers provide limits.h. 47LIMITS_H_TEST = true 48 49EXTRA_MULTILIB_PARTS = 50 51vxworks.o: $(srcdir)/config/vxworks.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \ 52 $(TARGET_H) toplev.h output.h $(TM_H) 53 $(COMPILER) -c $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) $< 54