GNUmakefile
1.13 KB
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
49
50
51
52
53
54
55
56
#!smake
#
# Makefile for reg library subdirectory
#
SUBDIR=reg
COMMONPREF=$(SUBDIR)
PRDEPTH=$(ROOT)/PR
include $(PRDEPTH)/PRdefs
LIBDEPTH=$(ROOT)/PR/libultra
include $(LIBDEPTH)/libdefs
sinclude ../companydefs
sinclude locdefs
LCOPTS = -non_shared -mips3 -Wall -G 0
LCINCS = -I. -I$(LIBDEPTH)/include -I$(ROOT)/usr/include/PR
LASOPTS = -non_shared -G 0 -mips2
#GASOPTS += -UBBPLAYER
LASINCS = -I. -I$(PRDEPTH)/include
CFILES = _getcount.c _getcompare.c _setcompare.c _setcount.c
ASFILES = getcause.s getcompare.s getconfig.s getcount.s getfpccsr.s getsr.s \
gettlbasid.s gettlbhi.s gettlblo0.s gettlblo1.s gettlbpagemask.s \
setcause.s setcompare.s setconfig.s setcount.s setfpccsr.s setsr.s \
settlbasid.s getwatchlo.s setwatchlo.s
LDIRT =
include $(LIBDEPTH)/librules
include $(PRDEPTH)/PRrules
install: default
clobber clean:
_getcount.o: _getcount.c
$(CCF) -c -o $@ $<
$(ROOT)/usr/sbin/mips332 $@
_setcount.o: _setcount.c
$(CCF) -c -o $@ $<
$(ROOT)/usr/sbin/mips332 $@
_getcompare.o: _getcompare.c
$(CCF) -c -o $@ $<
$(ROOT)/usr/sbin/mips332 $@
_setcompare.o: _setcompare.c
$(CCF) -c -o $@ $<
$(ROOT)/usr/sbin/mips332 $@