# 
# Mach Operating System
# Copyright (c) 1991,1990 Carnegie Mellon University
# All Rights Reserved.
# 
# Permission to use, copy, modify and distribute this software and its
# documentation is hereby granted, provided that both the copyright
# notice and this permission notice appear in all copies of the
# software, derivative works or modified versions, and any portions
# thereof, and that both notices appear in supporting documentation.
# 
# CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS"
# CONDITION.  CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND FOR
# ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE.
# 
# Carnegie Mellon requests users of this software to return to
# 
#  Software Distribution Coordinator  or  Software.Distribution@CS.CMU.EDU
#  School of Computer Science
#  Carnegie Mellon University
#  Pittsburgh PA 15213-3890
# 
# any improvements or extensions that they make and grant Carnegie Mellon
# the rights to redistribute these changes.
# 
#
# HISTORY
# $Log:	Makefile,v $
# Revision 2.2  93/06/02  22:20:45  mrt
# 	Update for ODEmake
# 
# Revision 2.1.1.1  93/05/08  12:14:25  af
# 	RCS-ed.
# 	[93/05/08            af]
# 
#


DEPENDENCIES		=

PROGRAMS 		= cdp xcdplayer

MANPAGES		= 
MANSECTION		= 1

ILIST			= ${PROGRAMS}
IDIR			= /bin/
xcd.0_IDIR		= /man/cat1/
xcd.1_IDIR		= /man/man1/

.if ( ${HOST_MACHINE} == "PMAX" )
# The mips loader needs this
CFLAGS			= -G 0
.endif

# Need to find the X libraries and header files
LIBFLAGS		= -L/usr/misc/lib 
INCFLAGS		= -I/usr/misc/include

xcdplayer_OFILES	= main.o top_setup.o logo_setup.o button_setup.o cdrom_callb.o\
			  cdrom_mach3_0.o shuffle.o leds.o debug.o
xcdplayer_LIBS		= -lXaw -lXt -lXmu -lXext -lX11 -lcs ${LIBMACH} 

cdp_OFILES		= cdp.o cdrom_mach3_0.o debug.o shuffle.o
cdp_LIBS		= ${LIBMACH}

.include <${RULES_MK}>
