mirror of
https://github.com/rvtr/TwlIPL_commit-99.git
synced 2025-10-31 06:21:11 -04:00
73 lines
2.0 KiB
Makefile
Executable File
73 lines
2.0 KiB
Makefile
Executable File
#! make -f
|
||
#----------------------------------------------------------------------------
|
||
# Project: NITRO-System - buildtools
|
||
# File: nnslibdefs
|
||
#
|
||
# Copyright 2004-2008 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.
|
||
#
|
||
# $Revision: $
|
||
#----------------------------------------------------------------------------
|
||
|
||
#----------------------------------------------------------------------------
|
||
#
|
||
# このファイル(nnslibdefs)は、SDKのcommondefsからincludeされます
|
||
#
|
||
# このファイル中で設定した以下のMAKE変数が、SDKのcommondefsから参照されます。
|
||
# ・NITROSYSTEM_INCDIR
|
||
# ・NITROSYSTEM_LIBDIR
|
||
# ・NITROSYSTEM_LIBS
|
||
#
|
||
|
||
NITRO_LIBTYPE ?= $(TWL_LIBTYPE)
|
||
NITRO_LIBSUFFIX ?= $(TWL_LIBSUFFIX)
|
||
|
||
|
||
ifdef NITROSYSTEM_ROOT
|
||
|
||
NITROSYSTEM_ROOT_ := $(subst $(SPACE),\ ,$(subst \,/,$(NITROSYSTEM_ROOT)))
|
||
|
||
-include $(NITROSYSTEM_ROOT_)/build/buildtools/private/nnslibdefs
|
||
|
||
|
||
#----------------------------------------------------------------------------
|
||
#
|
||
# NITRO-System Library settings
|
||
#
|
||
# NITRO-Systemのcommondefsが使用されている場合は、NITRO-Systemライブラリを使
|
||
# 用するための設定をします。
|
||
#
|
||
|
||
ifdef NITROSYSTEM_COMMONDEFS_
|
||
|
||
NITROSYSTEM_INCDIR ?= $(NITROSYSTEM_ROOT_)/include
|
||
NITROSYSTEM_LIBDIR ?= $(NITROSYSTEM_ROOT_)/lib/$(NITRO_LIBTYPE)
|
||
|
||
NNS_USELIBS ?= $(NNS_ALLLIBS)
|
||
|
||
ifeq ($(CODEGEN_PROC),ARM9)
|
||
NITROSYSTEM_LIBS := $(foreach lib,$(NNS_USELIBS),libnns$(lib)$(NITRO_LIBSUFFIX).a)
|
||
else # ($(CODEGEN_PROC),ARM7)
|
||
NITROSYSTEM_LIBS :=
|
||
endif
|
||
|
||
|
||
TWLSYSTEM_INCDIR = $(NITROSYSTEM_INCDIR)
|
||
TWLSYSTEM_LIBDIR = $(NITROSYSTEM_LIBDIR)
|
||
TWLSYSTEM_LIBS = $(NITROSYSTEM_LIBS)
|
||
|
||
|
||
# NITROSYSTEM_COMMONDEFS_
|
||
endif
|
||
|
||
# NITROSYSTEM_ROOT
|
||
endif
|
||
|
||
|
||
#----- End of nnslibdefs -----
|