TwlIPL/build/libraries_sysmenu/sysmenu/ARM9/Makefile
yosiokat ad4eaa2706 TwlSDKとTwlIPLのSVNリビジョン番号を取得して、ランチャーと本体設定で表示するよう変更。
git-svn-id: file:///Users/lillianskinner/Downloads/platinum/twl/TwlIPL/trunk@776 b08762b0-b915-fc4b-9d8c-17b2551a87ff
2008-02-29 11:13:13 +00:00

82 lines
2.3 KiB
Makefile
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#! make -f
#----------------------------------------------------------------------------
# Project: TwlIPL
# 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 =
MYSUBDIRS = ./
#----------------------------------------------------------------------------
TARGET_FIRM = SYSTEMMENU
TARGET_PLATFORM = TWL
TWL_ARCHGEN = LIMITED
TWL_PROC = ARM9
REVISION_SRC = src/revision.c
SRCS = sysmenu_lib.c \
util.c \
ninLogoFunc.c \
mountInfo.c \
device.c \
keys.c \
title.c \
banner.c \
../common/src/status.c \
../common/src/pxi.c \
$(REVISION_SRC)
TARGET_LIB = libsysmenu$(TWL_LIBSUFFIX).a
include $(TWL_IPL_RED_ROOT)/build/buildtools/commondefs
INSTALL_TARGETS = $(TARGETS)
INSTALL_DIR = $(SYSMENU_INSTALL_LIBDIR)
LINCLUDES = $(ROOT)/build/libraries/mb/common/include \
$(ROOT)/build/libraries/spi/ARM9/include \
$(SYSMENU_ROOT)/build/libraries_sysmenu/sysmenu/common/include
LDIRT_CLEAN = $(REVISION_SRC)
#----------------------------------------------------------------------------
do-build: $(REVISION_SRC) $(MYSUBDIRS) $(TARGETS)
include $(TWL_IPL_RED_ROOT)/build/buildtools/modulerules
#SVNƒŠƒrƒWƒ‡ƒ“ß<E2809A>žÝ
$(REVISION_SRC) ::
@if test -e $(SYSMENU_ROOT)/.svn; then \
svn info $(SYSMENU_ROOT) | grep 'Revision' | sed "s|Revision: \(.*\)|const char *g_strIPLSvnRevision = \"\1\";|" > $(REVISION_SRC); \
else \
echo "const char *g_strIPLSvnRevision = \"-\"" > $(REVISION_SRC); \
fi
@if test -e $(ROOT)/.svn; then \
svn info $(ROOT) | grep 'Revision' | sed "s|Revision: \(.*\)|const char *g_strSDKSvnRevision = \"\1\";|" >> $(REVISION_SRC); \
else \
echo "const char *g_strSDKSvnRevision = \"-\"" >> $(REVISION_SRC); \
fi
$(MYSUBDIRS)::
# $(MAKE) -C $@ -f MakeCrt0
#===== End of Makefile =====