Makefile
963 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
#!smake -k
# --------------------------------------------------------------------
# Copyright (C) 1997 Nintendo. (Originated by SGI)
#
# $RCSfile: Makefile,v $
# $Revision: 1.1.1.1 $
# $Date: 2002/05/02 03:27:13 $
# --------------------------------------------------------------------
#
# Makefile for Go/No-go cpu/fpu
#
include $(ROOT)/usr/include/make/PRdefs
include ../../gngdefs
include ../locdefs
ASFILES= lfpu.s sfpu.s overflow.s underflow.s fabs.s getfp.s setfp.s \
dtoa.s dwmultu.s tenscale.s
CFILES= fpregs.c faddsubd.c faddsubs.c fmuldivd.c fmuldivs.c fpmem.c \
fdivzero.c foverflow.c funderflow.c finexact.c finvalid.c \
fmulsubs.c fmulsubd.c fptest.c
HFILES= fpu.h
TARGET = fpuseg.o
default: $(TARGET)
include $(COMMONRULES)
install: default
$(INSTALL) -m 444 -F /usr/src/PR/demos/gng/cpu/fpu \
$(CFILES) $(ASFILES) $(HFILES) Makefile
fpuseg.o: $(OBJECTS)
$(LD) -o $@ -r $(OBJECTS) $(LDFLAGS)