#! make -f
#----------------------------------------------------------------------------
# Project:  TwlSDK - demos.TWL
# File:     Makefile
#
# Copyright 2007-2008 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.
#
# $Date:: 2008-12-24#$
# $Rev: 9725 $
# $Author: yamazaki_takahiro $
#----------------------------------------------------------------------------
TARGET_PLATFORM	:=	TWL

include	$(TWLSDK_ROOT)/build/buildtools/commondefs

#----------------------------------------------------------------------------

ifneq	($(filter TWL,$(TARGET_PLATFORM_LIST)),)
SUBDIRS		 = ../demos/gx/UnitTours/DEMOLib

SUBDIRS_P	 =			\
				camera	\
				os		\
				mi		\
				spi		\
				snd		\
				dsp     \
				aes		\
				el		\
				crypto	\
				nandApp	\
				tips	\

ifeq	($(TWLSDK_HIDDEN),TRUE)
SUBDIRS_P	+= userInfo sea
endif	# ifeq	($(TWLSDK_HIDDEN),TRUE)

ifeq	($(TWLSDK_SECURE7_PRIVATE),TRUE)
SUBDIRS_P	+= lcfg na
endif	# ifeq	($(TWLSDK_SECURE7_PRIVATE),TRUE)

ifeq	($(TWLSDK_TCL_PRIVATE),TRUE)
SUBDIRS_P	+= tcl
endif	# ifeq	($(TWLSDK_TCL_PRIVATE),TRUE)

ifeq	($(TWLSDK_SYSMENU_PRIVATE),TRUE)
SUBDIRS	+= ssp
endif	# ifeq	($(TWLSDK_SYSMENU_PRIVATE),TRUE)

ifeq	($(TWLSDK_BROWSER_PRIVATE),TRUE)
SUBDIRS_P	+= browser
endif	# ifeq	($(TWLSDK_BROWSER_PRIVATE),TRUE)

endif	# ifneq	($(filter TWL,$(TARGET_PLATFORM_LIST)),)

#----------------------------------------------------------------------------

include	$(TWLSDK_ROOT)/build/buildtools/modulerules

#----------------------------------------------------------------------------

#===== End of Makefile =====


