# $Header: /home/wesw/nwd/terminator/src/av/crl/audio/AF/lib/AFSox/RCS/Imakefile,v 1.3 1994/02/02 19:36:32 marvinw Exp $
#include <Library.tmpl>

       INCLUDES = -I. -I$(TOP)/include -I$(INCLUDESRC)
   CONN_DEFINES = ConnectionFlags
    EDB_DEFINES = -DERRORDB=\"$(LIBDIR)/AErrorDB\"
   INSTALLFLAGS = $(INSTINCFLAGS)
        HEADERS = st.h libst.h sfheader.h patchlvl.h wav.h g72x.h
       LINTLIBS =

SRCS =	raw.c \
	voc.c \
	au.c \
	sf.c \
	aiff.c \
	hcom.c \
	8svx.c \
	sndrtool.c \
	wav.c \
	smp.c \
	sbdsp.c \
	auto.c \
	cdr.c \
	dat.c \
	g711.c \
	g72x.c \
	g721.c \
	g723_24.c \
	g723_40.c \
	copy.c \
	avg.c \
	pred.c \
	stat.c \
	vibro.c \
	echo.c \
	rate.c \
	band.c \
	lowp.c \
	highp.c \
	reverse.c \
	dyn.c \
	handlers.c \
	libst.c \
	misc.c \
	getopt.c \
	sox.c \
	af.c

OBJS1 = raw.o \
	voc.o \
	au.o \
	sf.o \
	aiff.o \
	hcom.o \
	8svx.o \
	sndrtool.o \
	wav.o \
	smp.o \
	sbdsp.o \
	auto.o \
	cdr.o \
	dat.o \
	g711.o \
	g72x.o \
	g721.o \
	g723_24.o \
	g723_40.o \
	copy.o \
	avg.o \
	pred.o \
	stat.o \
	vibro.o \
	echo.o \
	rate.o \
	band.o \
	lowp.o \
	highp.o \
	reverse.o \
	dyn.o \
	handlers.o \
	libst.o \
	misc.o \
	getopt.o \
	sox.o \
	af.o

OBJS = $(OBJS1) $(OBJS2)

all::

NormalLibraryTarget2(AFSox,$(OBJS1),$(OBJS2))
InstallLibrary(AFSox,$(USRLIBDIR))

LintLibraryTarget(AFSox,*.c)

BuildIncludes($(HEADERS),.,.)
InstallMultiple($(HEADERS),$(INCDIR))

InstallLintLibrary(AFSox,$(LINTLIBDIR))


#if ProfileLibAudio && ProfileLibAudioArchive
ProfiledLibraryTarget(AFSox,$(OBJS))
AliasedLibraryTarget(AFSox_p,AFSox_p)
InstallLibrary(AFSox_p,$(USRLIBDIR))
#endif

#if DebugLibAudio && DebugLibAudioArchive
DebuggedLibraryTarget(AFSox,$(OBJS))
#endif

#if HasSaberC
saber_src:
	/**/#load $(CFLAGS) $(CONN_DEFINES) $(EXT_DEFINES) \
		$(SRCS)
#endif

clean::

depend::

DependTarget()


/**/# structure alignment errors can safely be ignored.
/**/# complaints about qevent can be ignored too.

NormalLintTarget(*.c)
