TwlIPL/build/systemMenu_RED/sharedFont/Makefile
yosiokat 4254d09127 共有フォントのビルド時に、ファイル名にフォントデータのタイムスタンプを付加するよう変更。
git-svn-id: file:///Users/lillianskinner/Downloads/platinum/twl/TwlIPL/trunk@2434 b08762b0-b915-fc4b-9d8c-17b2551a87ff
2008-09-08 06:46:06 +00:00

61 lines
1.9 KiB
Makefile

#! 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:
#----------------------------------------------------------------------------
TARGET_FIRM = SYSTEMMENU
SUBDIRS =
include $(TWL_IPL_RED_ROOT)/build/buildtools/commondefs
FONT_TIMESTAMP = 08073100
FONT_DIR = WW
FONTS = TBF1_l.NFTR \
TBF1_m.NFTR \
TBF1_s.NFTR
FONT_RSC = $(addprefix $(FONT_DIR)/, $(FONTS))
FONT_ORG_DIR = $(TWL_IPL_RED_ROOT)/build/systemMenu_RED/sharedFont/WW
FONT_ORG_RSC = $(addprefix $(FONT_ORG_DIR)/, $(FONTS))
ifneq ($(TWL_IPL_RED_PRIVATE_ROOT),)
FONT_TABLE = TWLFontTable.dat
FONT_TABLE_WITH_TIMESTAMP = TWLFontTable_$(FONT_TIMESTAMP).dat
endif
GEN_FONT_TABLE = $(SYSMENU_TOOLSDIR)/bin/genFontTable.plx
#----------------------------------------------------------------------------
INSTALL_TARGETS = $(FONT_TABLE)
INSTALL_DIR = $(TWL_IPL_RED_ROOT)/build/systemMenu_tools/SystemUpdater/data
LDIRT_CLEAN = $(FONT_TABLE_WITH_TIMESTAMP)
#----------------------------------------------------------------------------
include $(TWL_IPL_RED_ROOT)/build/buildtools/modulerules
do-build : $(FONT_TABLE) $(FONT_TABLE_WITH_TIMESTAMP)
# compress sharedFonts and them in local directory
$(FONT_TABLE): $(FONT_RSC) $(GEN_FONT_TABLE)
$(GEN_FONT_TABLE) $(FONT_TIMESTAMP) $(FONT_RSC)
$(FONT_TABLE_WITH_TIMESTAMP): $(FONT_TABLE)
cp $< $@
#===== End of Makefile =====