1#! make -f
2#----------------------------------------------------------------------------
3# Project:  TwlSDK - demos.TWL
4# File:     Makefile
5#
6# Copyright 2007-2008 Nintendo.  All rights reserved.
7#
8# These coded instructions, statements, and computer programs contain
9# proprietary information of Nintendo of America Inc. and/or Nintendo
10# Company Ltd., and are protected by Federal copyright law.  They may
11# not be disclosed to third parties or copied or duplicated in any form,
12# in whole or in part, without the prior written consent of Nintendo.
13#
14# $Date:: 2008-12-24#$
15# $Rev: 9725 $
16# $Author: yamazaki_takahiro $
17#----------------------------------------------------------------------------
18TARGET_PLATFORM	:=	TWL
19
20include	$(TWLSDK_ROOT)/build/buildtools/commondefs
21
22#----------------------------------------------------------------------------
23
24ifneq	($(filter TWL,$(TARGET_PLATFORM_LIST)),)
25SUBDIRS		 = ../demos/gx/UnitTours/DEMOLib
26
27SUBDIRS_P	 =			\
28				camera	\
29				os		\
30				mi		\
31				spi		\
32				snd		\
33				dsp     \
34				aes		\
35				el		\
36				crypto	\
37				nandApp	\
38				tips	\
39
40ifeq	($(TWLSDK_HIDDEN),TRUE)
41SUBDIRS_P	+= userInfo sea
42endif	# ifeq	($(TWLSDK_HIDDEN),TRUE)
43
44ifeq	($(TWLSDK_SECURE7_PRIVATE),TRUE)
45SUBDIRS_P	+= lcfg na
46endif	# ifeq	($(TWLSDK_SECURE7_PRIVATE),TRUE)
47
48ifeq	($(TWLSDK_TCL_PRIVATE),TRUE)
49SUBDIRS_P	+= tcl
50endif	# ifeq	($(TWLSDK_TCL_PRIVATE),TRUE)
51
52ifeq	($(TWLSDK_SYSMENU_PRIVATE),TRUE)
53SUBDIRS	+= ssp
54endif	# ifeq	($(TWLSDK_SYSMENU_PRIVATE),TRUE)
55
56ifeq	($(TWLSDK_BROWSER_PRIVATE),TRUE)
57SUBDIRS_P	+= browser
58endif	# ifeq	($(TWLSDK_BROWSER_PRIVATE),TRUE)
59
60endif	# ifneq	($(filter TWL,$(TARGET_PLATFORM_LIST)),)
61
62#----------------------------------------------------------------------------
63
64include	$(TWLSDK_ROOT)/build/buildtools/modulerules
65
66#----------------------------------------------------------------------------
67
68#===== End of Makefile =====
69
70
71