Makefile 989 Bytes
#
# 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.