TwlIPL/build/tools/makenorfirm/test/Makefile
yosiokat 9f2bdac23f ソースファイルのヘッダのSVN自動変換キーワードを修正。
git-svn-id: file:///Users/lillianskinner/Downloads/platinum/twl/TwlIPL/trunk@15 b08762b0-b915-fc4b-9d8c-17b2551a87ff
2007-09-07 02:50:45 +00:00

59 lines
1.7 KiB
Makefile

#! make -f
#---------------------------------------------------------------------------
# Project: TwlFirm - tools - makenorfirm
# File: Makefile
#
# Copyright 2007 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:: $
# $Rev:$
# $Author:$
#---------------------------------------------------------------------------
SUBDIRS = wram_rbin \
include $(TWLSDK_ROOT)/build/buildtools/commondefs
MAKENORFIRM = ../makenorfirm.exe
MAKEFIRM_RSA_PRVKEY = ./rsa_private.der
MAKEFIRM_ARM9 = ./twl_norfirm9_print.axf
MAKEFIRM_ARM7 = ./twl_norfirm7_print.axf
SDEPENDS_BIN += $(MAKEFIRM_ARM9) $(MAKEFIRM_ARM7)
MAKEFIRM_FLAGS += -d
MAKEFIRM_DEFS += -DFIRM_ROOT='$(FIRM_ROOT)' \
-DMAKEFIRM_ARM9='$(basename $(MAKEFIRM_ARM9))' \
-DMAKEFIRM_ARM7='$(basename $(MAKEFIRM_ARM7))' \
-DMAKEFIRM_RSA_PRVKEY='$(MAKEFIRM_RSA_PRVKEY)' \
TARGET = test.srl
%.srl: %.norsf $(MAKENORFIRM) $(MAKEFIRM_RSA_PRVKEY)
$(MAKENORFIRM) $(MAKEFIRM_FLAGS) $(MAKEFIRM_DEFS) $< $@
.PHONY: build install do-autotest clean clobber
define ECHO_CURDIR
echo "==== $(CURDIR)";
endef
build:
@$(ECHO_CURDIR)
@$(MAKE) $(TARGET)
install do-autotest:
@$(ECHO_CURDIR)
clean clobber super-clobber:
@$(ECHO_CURDIR)
-rm -f $(TARGET) *~
test-utf16.bsf: icon.nbfc icon.nbfp