2007-03-01 Paul Brook <paul@codesourcery.com>
[official-gcc.git] / gcc / config / t-vxworks
blob9a6a6b0d12070127175c1eacd5a7b5cbf4e4d652
1 # Don't run fixproto.
2 STMP_FIXPROTO =
4 # Build libgcc using the multilib mechanism
5 LIBGCC = stmp-multilib
6 INSTALL_LIBGCC = install-multilib
8 # No special flags needed for libgcc.a
9 TARGET_LIBGCC2_CFLAGS =
11 # Don't build libgcc.a with debug info
12 LIBGCC2_DEBUG_CFLAGS =
14 # Extra libgcc2 modules used by gthr-vxworks.h functions
15 LIB2FUNCS_EXTRA = $(srcdir)/config/vxlib.c $(srcdir)/config/vxlib-tls.c
17 # Some runtime modules need these.  Can't set extra_headers in config.gcc
18 # because the paths are always made absolute to the cpu config dir.
19 EXTRA_HEADERS += $(srcdir)/gthr-vxworks.h gthr-default.h
21 # This ensures that the correct target headers are used; some
22 # VxWorks system headers have names that collide with GCC's
23 # internal (host) headers, e.g. regs.h.
24 # FIXME: May not be necessary anymore.
25 LIBGCC2_INCLUDES="-I$(SYSTEM_HEADER_DIR)"
27 EXTRA_MULTILIB_PARTS = 
29 vxworks.o: $(srcdir)/config/vxworks.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \
30         output.h $(TM_H)
31         $(CC) -c $(ALL_CFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) $<