Makefile
989 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
#
# Makefile for RSP microcode
#
PRDEPTH=../../../
include $(PRDEPTH)/PRdefs
CVERSION = -ansi -wlint,-zaihv -woff 818
OPTIMIZER = -g
# local defs
LCDEFS = $(HW_FLAGS)
# local includes
LCINCS = -I. -I$(ROOT)/usr/include/PR -I$(ROOT)/usr/include -I$(ROOT)/PR/lib/libvid
LCOPTS = -fullwarn
LDOPTS = -L. -L$(ROOT)/usr/lib/PR
LDLIBS = -ll -lm
#LDLIBS = -lgu -lem -lGL -lX11
LDIRT = mpegvideo.dat mpegvideo.lst mpegvideo.sym
HFILES = video_dmem.h idct_dmem.h iq_dmem.h recon_dmem.h \
iquant_io.h idct_io.h mc_io.h recon_io.h \
iquant.h idct.h mc.h recon.h \
iquant_un.h idct_un.h mc_uname.h recon_un.h
SFILES = mpegvideo.s iquant.s idct.s mc.s recon.s
TARGETS = mpegvideo
mpegvideo: $(SFILES) ${HFILES}
$(RSPASM) ${LCINCS} ${LCDEFS} -o $@ $(SFILES)
default: ${TARGETS}
include $(COMMONRULES)
install: default
# $(INSTALL) -m 444 -F /usr/lib/PR $(TARGETS)
# $(INSTALL) -m 444 -F /usr/src/PR/libvid Makefile $(SOURCES)
# DO NOT DELETE THIS LINE -- make depend depends on it.