#!/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-*.Process.MPCore.* include $(makePlatformDefsPath tests) SAMPLED_DEMOS_COMMON_INCLUDE_DIR = $(dir $(HORIZON_ROOT)/../CTR/SampleDemos/common/include) INCLUDES += $(SAMPLED_DEMOS_COMMON_INCLUDE_DIR) \ ../../../common \ ../../../ConsoleRestore \ TEST_COMMON_SOURCES[] = ../../../ConsoleRestore/TitleDownloader.cpp ../../../ConsoleRestore/Shop.cpp ../../../ConsoleRestore/BgsCommunicator.cpp ../../../ConsoleRestore/SimpleXmlPreprocessor.cpp ../../../ConsoleRestore/XmlCreator.cpp ../../../ConsoleRestore/PreinstallImporter.cpp ../../../common/Util.cpp ../../../common/HeapManager.cpp ../../../common/SdLogger.cpp ../../../common/LogConsole.cpp ../../../common/CommonLogger.cpp ../../../common/SdMountManager.cpp ../../../common/VersionDetect.cpp ../../../common/HardwareStateManager.cpp ../../../common/FileTransfer.cpp ../../../common/SdReaderWriter.cpp CCFLAGS += -DCOMMON_LOGGER_DETAIL_ENABLE SOURCES_TEST[] = test_TitleDownloader.cpp ROMFS_ROOT = ../../../common/romfiles TEST_ENVIRONMENT_PROCESSLIST = true TEST_ENVIRONMENT_EMUMEM = true LIBS += libnn_test \ libnn_mcu \ libnn_ps \ libnn_am \ lib_demo \ libnn_nim \ libnn_xml_simple \ ROM_SPEC_FILE = ../../../ConsoleRestore/ConsoleRestore.rsf DESCRIPTOR = $(HORIZON_ROOT)/resources/specfiles/private/RepairTool.desc include $(makePlatformDefsPath build.tests) tests: $(TEST_TARGETS)