# config.m4	1.4	(CMIL)	9/19/88	17:17:26

# flavor of UNIX in use
# type of CPU
# paths to libraries
# SDY define(m4CARLLIBPATH, m4LIBDIR/libcarl.a m4LIBDIR/libieee.a)dnl
# SDY define(m4CARLLIBS, m4LIBDIR/libcarl.a m4LIBDIR/libieee.a)dnl
# save for now SDY define(m4SFLIBS, m4LIBDIR/libsf.a)dnl
# Fortran libraries must be given in the following order for SUN3.x
# final resting place for installed software
# directory for include files
# where help files will live
# directory for tutorials 
# location of sources at CARL
# path to manual pages
# path to sys include directory
# path to vaxuba include directory
# dac/adc converters to use: one of ds (DSC200), ai (Digisound-16)
# sound filesystem to use: may be either csound or bicsf

PROG =		../libcarlmidi

DESTDIR =	//usr/local/lib/carl//bin
LIBDIR =	/usr/local/lib/carl//lib
CFLAGS =	-O -I../include

OBJS =	GetMpuCmd.o\
	MpuSend.o\
	PutMpuCmd.o\
	PutTCIP.o\
	PutTCWME.o\
	dx7_clear.o\
	dx7_reset.o\
	get_mpu_cmd.o\
	getvoice.o\
	mpucmdbuf.o\
	mpusettrack.o\
	put_mpu_cmd.o\
	setup_cmds.o\
	synth_reset.o

OOBJS = 	getvoice.o get_mpu_cmd.o put_mpu_cmd.o setup_cmds.o \
		dx7_reset.o synth_reset.o dx7_clear.o

DBUG =
.SUFFIXES:	.m

do_it:		/usr/local/include/carl/mpu.h ${PROG}

/usr/local/include/carl/mpu.h:	mpu.h
		cp mpu.h /usr/local/include/carl

${PROG}: 	${DBUG} ${OBJS}
		ar uv ${PROG}.a ${DBUG} ${OBJS}

clean:
		rm -f ${PROG}.a ${DBUG} ${OBJS} a.out core

${DBUG} ${OBJS}: mpu.h
