1#! make -f
2#----------------------------------------------------------------------------
3# Project:  TwlSDK - libraries - wxc
4# File:     Makefile
5#
6# Copyright 2005-2009 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-09-18#$
15# $Rev: 8573 $
16# $Author: okubata_ryoma $
17#----------------------------------------------------------------------------
18
19SUBDIRS			 =
20
21#----------------------------------------------------------------------------
22override TARGET_PLATFORM = NITRO
23
24NITRO_CODEGEN	 	?= ALL
25NITRO_PROC		 = ARM9
26
27SRCDIR			 = ./src
28
29# Basic structure of WXC library itself (driver/scheduler/API layer)
30SRCS			= wxc_common.c wxc_protocol.c wxc_driver.c wxc_scheduler.c wxc_api.c
31
32# Automatically install all existing protocols
33SRCS			+= $(wildcard $(SRCDIR)/wxc_protocol_impl_*.c)
34
35TARGET_LIB		 = libwxc$(NITRO_LIBSUFFIX).a
36
37#----------------------------------------------------------------------------
38include	$(TWLSDK_ROOT)/build/buildtools/commondefs
39
40INSTALL_TARGETS	 = $(TARGETS)
41INSTALL_DIR		 = $(NITRO_INSTALL_LIBDIR)
42
43#----------------------------------------------------------------------------
44do-build:		$(TARGETS)
45
46include	$(TWLSDK_ROOT)/build/buildtools/modulerules
47
48#===== End of Makefile =====
49