OSDN Git Service

* config.gcc (powerpc64-*-gnu*): Add rs6000/default64.h to tm_file.
[pf3gnuchains/gcc-fork.git] / gcc / config / t-vxworks
1 # Build libgcc using the multilib mechanism
2 LIBGCC = stmp-multilib
3 INSTALL_LIBGCC = install-multilib
4
5 # No special flags needed for libgcc.a
6 TARGET_LIBGCC2_CFLAGS =
7
8 # Don't build libgcc.a with debug info
9 LIBGCC2_DEBUG_CFLAGS =
10
11 # Extra libgcc2 modules used by gthr-vxworks.h functions
12 LIB2FUNCS_EXTRA = $(srcdir)/config/vxlib.c $(srcdir)/config/vxlib-tls.c
13
14 # Some runtime modules need these.  Can't set extra_headers in config.gcc
15 # because the paths are always made absolute to the cpu config dir.
16 EXTRA_HEADERS += $(srcdir)/gthr-vxworks.h gthr-default.h
17
18 # This ensures that the correct target headers are used; some
19 # VxWorks system headers have names that collide with GCC's
20 # internal (host) headers, e.g. regs.h.
21 LIBGCC2_INCLUDES = -nostdinc -I \
22   `case "/$$(MULTIDIR)" in \
23      */mrtp*) echo $(WIND_USR)/h ;; \
24      *) echo $(WIND_BASE)/target/h ;; \
25    esac`
26
27 # Both the kernel and RTP headers provide limits.h.
28 LIMITS_H_TEST = true
29
30 EXTRA_MULTILIB_PARTS = 
31
32 vxworks.o: $(srcdir)/config/vxworks.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \
33         $(TARGET_H) toplev.h output.h $(TM_H)
34         $(CC) -c $(ALL_CFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) $<