/*
 * @(#)Imakefile	6.11 96/12/22
 *
 * Imakefile for cddb
 *
 *	cddb  - CD Database Management Library
 *
 *   Copyright (C) 1993-1997  Ti Kan
 *   E-mail: ti@amb.org
 *
 *   This program is free software; you can redistribute it and/or modify
 *   it under the terms of the GNU General Public License as published by
 *   the Free Software Foundation; either version 2 of the License, or
 *   (at your option) any later version.
 *
 *   This program is distributed in the hope that it will be useful,
 *   but WITHOUT ANY WARRANTY; without even the implied warranty of
 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *   GNU General Public License for more details.
 *
 *   You should have received a copy of the GNU General Public License
 *   along with this program; if not, write to the Free Software
 *   Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 *
 */


/*
 * If your local X configuration is broken, you may need to muck with
 * the following RANLIB= lines.
 * On most System V platforms RANLIB should be set to /bin/true.
 * On BSD-derived systems RANLIB should be set to ranlib.
 */
#if defined(DoRanlibCmd) && (DoRanlibCmd == NO)
RANLIB= /bin/true
#endif


/**** Optional defines:  Change as you see fit. *****************************
 *
 * -DBSDCOMPAT
 *	Compiling under BSD-derived or BSD-like OS
 *
 * -DNO_STDLIB_H
 *	The system does not support <stdlib.h>
 *
 * -DNOREMOTE
 *	Build libcddb without the remote (Internet) CD database support
 *
 * -DSOCKS
 *	Define this if your network requires that clients such as
 *	xmcd/cda to be SOCKSified in order to access a remote CD database.
 *	You will also have to change to link the application with the
 *	socks library instead of the standard socket library.
 *
 * -DSYNCHRONOUS
 *	Disable asynchrnous handling of X events while waiting for I/O.
 *	This should be used if the select() call on your system cannot
 *	be used to wait on non-socket file descriptors.
 */
#if defined(SYSTYPE_BSD43) || defined(BSD43) || defined(BSD) || \
    defined(FreeBSDArchitecture) || defined(NetBSDArchitecture) || \
    defined(__bsdi__) || defined(OsfArchitecture) || defined(sony_news) || \
    (defined(SunArchitecture) && OSMajorVersion == 4)
DEFINES= -DBSDCOMPAT
#else
DEFINES=
#endif

/*
 * Add local include path
 */
INCLUDES=-I..

/*
 * C Source files
 */
SRCS=	cddb.c

/*
 * Objects files
 */
OBJS=	cddb.o


/*
 * Build rule for the Device Interface Library
 */
NormalLibraryTarget(cddb,$(OBJS))
DependTarget()


