/*
 * Copyright 1994 Network Computing Devices, Inc.
 *
 * Permission to use, copy, modify, distribute, and sell this software and
 * its documentation for any purpose is hereby granted without fee, provided
 * that the above copyright notice appear in all copies and that both that
 * copyright notice and this permission notice appear in supporting
 * documentation, and that the name Network Computing Devices, Inc. not be
 * used in advertising or publicity pertaining to distribution of this 
 * software without specific, written prior permission.
 * 
 * THIS SOFTWARE IS PROVIDED 'AS-IS'.  NETWORK COMPUTING DEVICES, INC.,
 * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING WITHOUT
 * LIMITATION ALL IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
 * PARTICULAR PURPOSE, OR NONINFRINGEMENT.  IN NO EVENT SHALL NETWORK
 * COMPUTING DEVICES, INC., BE LIABLE FOR ANY DAMAGES WHATSOEVER, INCLUDING
 * SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES, INCLUDING LOSS OF USE, DATA,
 * OR PROFITS, EVEN IF ADVISED OF THE POSSIBILITY THEREOF, AND REGARDLESS OF
 * WHETHER IN AN ACTION IN CONTRACT, TORT OR NEGLIGENCE, ARISING OUT OF OR IN
 * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 * 
 * $Id: Imakefile 156 2006-07-18 01:54:27Z jon $
 * $NCDId: @(#)Imakefile,v 1.5 1995/12/06 19:25:36 greg Exp $
 */

#include "../../config/NetAudio.tmpl"

HEADERS = Afuncproto.h Afuncs.h Amd.h Aos.h Aosdefs.h Aproto.h audio.h
ALLHEADERS = $(HEADERS) Alibint.h Alibnet.h audiolib.h \
	audioutil.h snd.h wave.h  voc.h aiff.h sound.h soundlib.h \
	fileutil.h 8svx.h Astreams.h audio.h Xtutil.h release.h mutex.h

  FILES = $(ALLHEADERS)

all::
depend::

#ifdef WIN32
includes::
	MakeDir($(BUILDINCDIR:/=\))
#endif /* WIN32 */

#if ProjectX < 5		/* X11R4 doesn't make dir explicitly */
#ifndef MakeDir
#define MakeDir(dir) -@if [ -d dir ]; then set +x; \	@@\
		else (set -x; $(MKDIRHIER) dir); fi
#endif
install::
	MakeDir($(DESTDIR)$(INCDIR))
#endif

InstallMultipleFlags($(ALLHEADERS),$(INCDIR),$(INSTINCFLAGS))

clean::
	rm -f $(ALLHEADERS)
