#!/usr/bin/env omake #---------------------------------------------------------------------------- # Project: Horizon # File: OMakefile # # Copyright (C)2009 Nintendo Co., Ltd. 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. # # $Rev$ #---------------------------------------------------------------------------- SUPPORTED_TARGETS = CTR-T*.Process.MPCore.* #MAKECSU = true #INSTALL_SDK_TOOL = true CTR_APPTYPE = BOTH CTR_MAKE_DEVELOPMENT_IMAGE = true TARGET_PROGRAM = ConsoleBackup SAMPLED_DEMOS_COMMON_INCLUDE_DIR = $(dir $(HORIZON_ROOT)/../CTR/SampleDemos/common/include) INCLUDES += $(SAMPLED_DEMOS_COMMON_INCLUDE_DIR) \ ../common SOURCES[] = ConsoleBackup.cpp Controller.cpp Exporter.cpp ../common/HardwareInfo.cpp ../common/DrawSystemState.cpp ../common/FileTransfer.cpp ../common/FileChecker.cpp ../common/SdReaderWriter.cpp ../common/HeapManager.cpp ../common/SdLogger.cpp ../common/wave.cpp ../common/SimplePlayer.cpp ../common/LogConsole.cpp ../common/CommonLogger.cpp ../common/SdMountManager.cpp ../common/PlayHistoryManager.cpp ../common/VersionDetect.cpp CTR_BANNER_SPEC = $(TARGET_PROGRAM).bsf ROMFS_ROOT = ../common/romfiles LIBS += libnn_cfg \ libnn_driversEeprom \ libnn_driversi2c \ libnn_driversCal \ libnn_crypto \ libnn_driversCodec \ libnn_spi \ libnn_gpio \ libnn_pdn \ libnn_mcu \ libnn_i2c \ libnn_driversCamera \ libnn_ps \ libnn_driversRsa \ lib_demo \ libnn_nwm \ libnn_friends \ INSTALL_SDK_TOOL = true ROM_SPEC_FILE = $(TARGET_PROGRAM).rsf DESCRIPTOR = $(HORIZON_ROOT)/resources/specfiles/_private/RepairTool.desc include $(ROOT_OMAKE)/modulerules VERSION_H = $(file version.h) $(VERSION_H): $(SOURCES) section bash genversion.sh RequireSetup($(VERSION_H)) build: $(VERSION_H) $(DEFAULT_TARGETS)