]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - contrib/gcc/config/sparc/t-sol2
unfinished sblive driver, playback/mixer only for now - not enabled in
[FreeBSD/FreeBSD.git] / contrib / gcc / config / sparc / t-sol2
1 # we need to supply our own assembly versions of libgcc1.c files,
2 # since the user may not have native 'cc' available
3
4 LIBGCC1 =
5 CROSS_LIBGCC1 =
6 LIBGCC1_TEST =
7
8 # gmon build rule:
9 $(T)gmon.o:     $(srcdir)/config/sparc/gmon-sol2.c $(GCC_PASSES) $(CONFIG_H) stmp-int-hdrs
10         $(GCC_FOR_TARGET) $(GCC_CFLAGS) $(INCLUDES) $(MULTILIB_CFLAGS) \
11                 -c $(srcdir)/config/sparc/gmon-sol2.c -o $(T)gmon.o
12
13 # Assemble startup files.
14 $(T)crt1.o: $(srcdir)/config/sparc/sol2-c1.asm $(GCC_PASSES)
15         $(GCC_FOR_TARGET) $(MULTILIB_CFLAGS) -c -o $(T)crt1.o -x assembler-with-cpp $(srcdir)/config/sparc/sol2-c1.asm
16 $(T)crti.o: $(srcdir)/config/sparc/sol2-ci.asm $(GCC_PASSES)
17         $(GCC_FOR_TARGET) $(MULTILIB_CFLAGS) -c -o $(T)crti.o -x assembler-with-cpp $(srcdir)/config/sparc/sol2-ci.asm
18 $(T)crtn.o: $(srcdir)/config/sparc/sol2-cn.asm $(GCC_PASSES)
19         $(GCC_FOR_TARGET) $(MULTILIB_CFLAGS) -c -o $(T)crtn.o -x assembler-with-cpp $(srcdir)/config/sparc/sol2-cn.asm
20 $(T)gcrt1.o: $(srcdir)/config/sparc/sol2-c1.asm $(GCC_PASSES)
21         $(GCC_FOR_TARGET) $(MULTILIB_CFLAGS) -c -DGCRT1 -o $(T)gcrt1.o -x assembler-with-cpp $(srcdir)/config/sparc/sol2-c1.asm
22
23 # We need to use -fPIC when we are using gcc to compile the routines in
24 # crtstuff.c.  This is only really needed when we are going to use gcc/g++
25 # to produce a shared library, but since we don't know ahead of time when
26 # we will be doing that, we just always use -fPIC when compiling the
27 # routines in crtstuff.c.
28
29 CRTSTUFF_T_CFLAGS = -fPIC
30 TARGET_LIBGCC2_CFLAGS = -fPIC