1992-07-20 00:05:11 -04:00
|
|
|
# we need startup files for solaris, since we don't get them with the system
|
|
|
|
|
1992-10-13 14:56:57 -04:00
|
|
|
EXTRA_PARTS=crt1.o crti.o crtn.o gmon.o crtbegin.o crtend.o
|
1992-07-20 00:05:11 -04:00
|
|
|
|
|
|
|
# we need to supply our own assembly versions of libgcc1.c files,
|
|
|
|
# since the user may not have native 'cc' available
|
|
|
|
|
|
|
|
LIBGCC1 = libgcc1.null
|
1993-09-09 16:05:26 -04:00
|
|
|
CROSS_LIBGCC1 = libgcc1.null
|
1992-07-20 00:05:11 -04:00
|
|
|
|
|
|
|
# gmon build rule:
|
1993-01-06 01:37:55 -05:00
|
|
|
gmon.o: $(srcdir)/config/sparc/gmon-sol2.c $(GCC_PASSES) $(CONFIG_H)
|
1992-07-20 00:05:11 -04:00
|
|
|
$(GCC_FOR_TARGET) $(GCC_CFLAGS) $(INCLUDES) \
|
1993-01-06 01:37:55 -05:00
|
|
|
-c $(srcdir)/config/sparc/gmon-sol2.c -o gmon.o
|
1992-07-20 00:10:32 -04:00
|
|
|
|
|
|
|
# Assemble startup files.
|
1993-01-06 01:37:55 -05:00
|
|
|
crt1.o: $(srcdir)/config/sparc/sol2-c1.asm
|
|
|
|
$(AS) -o crt1.o $(srcdir)/config/sparc/sol2-c1.asm
|
|
|
|
crti.o: $(srcdir)/config/sparc/sol2-ci.asm
|
|
|
|
$(AS) -o crti.o $(srcdir)/config/sparc/sol2-ci.asm
|
|
|
|
crtn.o: $(srcdir)/config/sparc/sol2-cn.asm
|
|
|
|
$(AS) -o crtn.o $(srcdir)/config/sparc/sol2-cn.asm
|