1#----------------------------------------------------------------------------
2# Project:  Horizon
3# File:     WIN.targetdefs.om
4#
5# Copyright (C)2009-2011 Nintendo Co., Ltd.  All rights reserved.
6#
7# These coded instructions, statements, and computer programs contain
8# proprietary information of Nintendo of America Inc. and/or Nintendo
9# Company Ltd., and are protected by Federal copyright law. They may
10# not be disclosed to third parties or copied or duplicated in any form,
11# in whole or in part, without the prior written consent of Nintendo.
12#
13# $Rev: 34627 $
14#----------------------------------------------------------------------------
15
16#----------------------------------------------------------------------------
17# Definitions of shared functions for platforms
18#----------------------------------------------------------------------------
19
20#----------------------------------------------------------------------------
21# Define platform hardware
22#----------------------------------------------------------------------------
23section
24    private.spec = $(TargetSpec.new $'WIN-IA32')
25    spec.platform     = WIN
26    spec.hardware     = WIN-IA32
27    spec.processors   = i386
28    spec.getSystemFlags(systemname) =
29        flags =
30        return $(flags)
31
32    spec.getMinimumLibraries(systemname, processor) =
33        return $(EMPTY)
34
35    spec.getDefaultLibraries(systemname, processor) =
36        #return /usr/lib/mingw/crt1.o -lgcc -lmingw32 -lcrtdll -lkernel32 -luser32
37        return $(EMPTY)
38
39    TARGET_MANAGER = $(TARGET_MANAGER.register $(spec))
40    export TARGET_MANAGER
41
42#----------------------------------------------------------------------------
43