###############################################################################
# Makefile for dvd
#
# Copyright 1998-2002 Nintendo.  All rights reserved.
#
# These coded instructions, statements, and computer programs contain
# proprietary information of Nintendo of America Inc. and/or Nintendo
# Company Ltd., and are protected by Federal copyright law.  They may
# not be disclosed to third parties or copied or duplicated in any form,
# in whole or in part, without the prior written consent of Nintendo.
#
# $Log: makefile,v $
# Revision 1.1.1.1  2005/09/09 03:22:03  cnguyen
# Released by Nintendo
#
#   
#   5     8/20/02 21:43 Shiki
#   Added dvdFatal.c.
# $NoKeywords: $
#
###############################################################################

include $(BUILDTOOLS_ROOT)/commondefs

# we "emulate" DI registers until we get the real hardware
EMUREG = TRUE

# simply build and install any basic code modules and headers
all: 	setup build install

# module name should be set to the name of this subdirectory
MODULENAME	= dvd
LIB		= TRUE

LIBNAME		= dvd

ifdef EPPC

CLIBSRCS	= dvdlow.c dvdfs.c dvd.c dvdqueue.c dvderror.c dvdidutils.c \
	          dvdFatal.c \
	          emu_level2/fstload.c

ifeq ($(SPRUCE), TRUE)
CLIBSRCS	+= emu_level2/DVDFakeIntr.c
endif

else # MAC

CLIBSRCS    =

endif

# The order of the following includes must NOT be changed
include $(BUILDTOOLS_ROOT)/modulerules
