Makefile 2.39 KB
#!smake
#
# Makefile for audio library subdirectory
#

SUBDIR=audio

COMMONPREF=$(SUBDIR)

PRDEPTH=$(ROOT)/PR
include $(PRDEPTH)/PRdefs

LIBDEPTH=$(ROOT)/PR/libultra
include $(LIBDEPTH)/libdefs

sinclude ../companydefs

LCOPTS = -non_shared -mips2 -fullwarn -G 0
LCINCS = -I. -I$(LIBDEPTH)/include -I$(PRDEPTH)/include

CFILES  = \
	drvrNew.c \
	load.c \
	auxbus.c \
	bnkf.c \
	env.c \
	event.c \
	filter.c \
	mainbus.c \
	resample.c \
	reverb.c \
	save.c \
	seq.c \
	sl.c \
	heapcheck.c \
	heapinit.c \
	heapalloc.c \
	copy.c \
	seqpdelete.c \
	seqpgetfxmix.c \
	seqpgetpan.c \
	seqpgetchlvol.c \
	seqpgetpriority.c \
	seqpgetprogram.c \
	seqpgetseq.c \
	seqpgettempo.c \
	seqpgetvol.c \
	seqpgetstate.c \
	seqploop.c \
	seqpplay.c  \
	seqpsendmidi.c  \
	seqpsetbank.c  \
	seqpsetfxmix.c  \
	seqpsetpan.c  \
	seqpsetchlvol.c \
	seqpsetpriority.c \
	seqpsetprogram.c \
	seqpsetseq.c  \
	seqpsettempo.c \
	seqpsetvol.c \
	seqpstop.c \
	seqplayer.c \
	cseq.c \
	cspdelete.c \
	cspgetfxmix.c \
	cspgetpan.c \
	cspgetchlvol.c \
	cspgetpriority.c \
	cspgetprogram.c \
	cspgetseq.c \
	cspgettempo.c \
	cspgetvol.c \
	cspgetstate.c \
	cspplay.c  \
	cspsendmidi.c \
	cspsetbank.c  \
	cspsetfxmix.c  \
	cspsetpan.c  \
	cspsetchlvol.c \
	cspsetpriority.c \
	cspsetprogram.c \
	cspsetseq.c  \
	cspsettempo.c \
	cspsetvol.c \
	cspstop.c \
	csplayer.c \
	sndplayer.c \
	sndpdelete.c \
	sndpallocate.c \
	sndpdeallocate.c \
	sndpsetsound.c \
	sndpplay.c \
	sndpplayat.c \
	sndpgetsound.c \
	sndpstop.c \
	sndpgetstate.c \
	sndpsetpitch.c \
	sndpsetpriority.c \
	sndpsetvol.c \
	sndpsetpan.c \
	sndpsetfxmix.c \
	synthesizer.c \
	syndelete.c \
	synaddplayer.c \
	synremoveplayer.c \
	synfreevoice.c \
	synallocvoice.c \
	synstopvoice.c \
	synstartvoice.c \
	synstartvoiceparam.c \
	synsetpitch.c \
	synsetvol.c \
	synsetfxmix.c \
	synsetpan.c \
	syngetpriority.c \
	synsetpriority.c \
	synallocfx.c \
	synfreefx.c \
	syngetfxref.c \
	synsetfxparam.c \
	cents2ratio.c \
	parse_abi.c 

HFILES = \
	cseq.h		\
	cseqp.h		\
	initfx.h	\
	seq.h		\
	seqp.h		\
	sndp.h		\
	synthInternals.h

sinclude locdefs

include $(LIBDEPTH)/librules

include $(PRDEPTH)/PRrules

install! default
	$(INSTALL) -m 444 -F /usr/src/PR/libsrc/libultra/audio $(CFILES)
	for i in $(HFILES);	\
	do			\
	  $(INSTALL) -m 444 -F /usr/src/PR/libsrc/libultra/audio -src ../../include/$$i $$i;	\
	done
	$(INSTALL) -m 444 -F /usr/src/PR/libsrc/libultra/audio -src Makefile.src Makefile

clobber clean: