/********************************************************************************
 * Copyright (c) Erik Kunze 1998
 *
 * Permission to use, 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
 * of the copyright holder not be used in advertising or publicity pertaining to
 * distribution of the software without specific, written prior permission.  The
 * copyright holder makes no representations about the suitability of this
 * software for any purpose.  It is provided "as is" without express or implied
 * warranty. THE CODE MAY NOT BE MODIFIED OR REUSED WITHOUT PERMISSION!
 *
 * THE COPYRIGHT HOLDER DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
 * INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
 * EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE FOR ANY SPECIAL, INDIRECT OR
 * CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
 * DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
 * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
 * PERFORMANCE OF THIS SOFTWARE.
 *
 * Author: Erik Kunze
  *******************************************************************************/

/* $Id: Imakefile,v 1.1 1998/01/06 21:18:56 erik Rel $ */

#if ProjectX < 5
#define XCOMM #
#define NullParameter
#define InstallNonExecFile InstallNonExec
#endif

XCOMM Imakefile for xzx

LIBRARY = audio

#include <../../xzx.config>

#ifdef REGISTERED
ADDITIONAL_DIR = registered
#else
ADDITIONAL_DIR = free
#endif

SRCS =	audio.c beep.c
OBJS =	audio.o beep.o

XCOMM --- Do not change anything below this line ---

/* Additional compiler flags ***************************************************/

LOCAL_CCOPTIONS = -I. -I.. -I../z80 -I../$(ADDITIONAL_DIR)

#ifdef NecArchitecture
CCOPTIONS = $(LOCAL_CCOPTIONS) -ZXNd=8000 -ZXNp=8000 -KOlimit=2000
#else
CCOPTIONS = $(LOCAL_CCOPTIONS) -I/usr/local/X11R6/include
#endif

#ifdef REGISTERED
DEFINES = -DREGISTERED
#endif

DEPENDFLAGS = $(CCOPTIONS) $(DEFINES)

/* Make targets ****************************************************************/

AllTarget(NullParameter)
NormalLibraryTarget($(LIBRARY), $(OBJS))
DependTarget()

/* EOF *************************************************************************/
