1#! make -f 2#---------------------------------------------------------------------------- 3# Project: TwlSDK - libraries - mi/ARM9 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-10-16#$ 15# $Rev: 8955 $ 16# $Author: yada $ 17#---------------------------------------------------------------------------- 18 19SUBDIRS = 20 21#---------------------------------------------------------------------------- 22override TARGET_PLATFORM = TWL 23 24TWL_CODEGEN ?= ALL 25TWL_PROC = ARM9 26 27# Create libraries for both HYBRID and LIMITED 28TWL_ARCHGEN ?= ALL 29 30SRCDIR = ../common/src ../common.TWL/src 31INCDIR = ../common/include 32 33SRCS = mi_ndma.c \ 34 mi_ndma_gxcommand.c \ 35 mi_sharedWram.c \ 36 mi_wram.c \ 37 mi_dma.c \ 38 mi_dma_hblank.c \ 39 mi_dma_vblank.c \ 40 mi_dma_mainmem.c \ 41 mi_dma_gxcommand.c \ 42 mi_memory.c \ 43 mi_swap.c \ 44 mi_uncompress.c \ 45 mi_byteAccess.c \ 46 mi_stream.c \ 47 mi_card.c \ 48 mi_dma_card.c \ 49 mi_uncomp_stream.c \ 50 mi_compress.c \ 51 mi_exMemory.c \ 52 mi_init.c \ 53 mi_cache.c \ 54 mi_secureuncompress.c 55 56TARGET_LIB = libmi$(TWL_LIBSUFFIX).a 57 58#---------------------------------------------------------------------------- 59include $(TWLSDK_ROOT)/build/buildtools/commondefs 60 61INSTALL_TARGETS = $(TARGETS) 62INSTALL_DIR = $(TWL_INSTALL_LIBDIR) 63 64#---------------------------------------------------------------------------- 65do-build: $(TARGETS) 66 67include $(TWLSDK_ROOT)/build/buildtools/modulerules 68 69#===== End of Makefile ===== 70