Makefile 877 Bytes
#!smake
#
# Makefile for libc routines
#

SUBDIR=libc

COMMONPREF=$(SUBDIR)

PRDEPTH=$(ROOT)/PR
include $(PRDEPTH)/PRdefs

LIBDEPTH=$(ROOT)/PR/libultra
include $(LIBDEPTH)/libdefs

sinclude ../companydefs

LCOPTS = -non_shared -mips2 -fullwarn -G 0
LCINCS = -I. -I$(ROOT)/usr/include/PR

LASOPTS=-non_shared -mips2 -G 0

FLAGS  = $(LCDEFS) $(LCINCS) -non_shared -G 0 -mips3 -32bit -c $(GCFLAGS)

ASFILES = bcmp.s bcopy.s bzero.s 

CFILES = ll.c llcvt.c string.c ldiv.c llbit.c xlitob.c xldtob.c xprintf.c \
		sprintf.c syncprintf.c 

ll.o:	ll.c
	$(CC) $(FLAGS) -o $@ $(LIBDEPTH)/$(COMPANY)/$(SUBDIR)/ll.c

llcvt.o:	llcvt.c
	$(CC) $(FLAGS) -o $@ $(LIBDEPTH)/$(COMPANY)/$(SUBDIR)/llcvt.c

llbit.o: llbit.c
	$(CC) $(FLAGS) -o $@ $(LIBDEPTH)/$(COMPANY)/$(SUBDIR)/llbit.c

sinclude locdefs

include $(LIBDEPTH)/librules

include $(PRDEPTH)/PRrules

install! default

clobber clean: