GNUmakefile
949 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
#!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 -Wall -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)
FLAGS = $(LCDEFS) $(LCINCS) -non_shared -G 0 -mips3 -Wa,-32 -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: