#! make -f #---------------------------------------------------------------------------- # Project: CtrBrom - libraries_sp - os # File: Makefile # # Copyright 2008-2009 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$ #---------------------------------------------------------------------------- SUBDIRS = #SUBMAKES = Makefile.CALLTRACE \ # Makefile.FUNCTIONCOST #---------------------------------------------------------------------------- # build ARM & THUMB libraries FIRM_CODEGEN_ALL ?= TRUE # Codegen for sub processer FIRM_PROC = ARM9 SRCDIR = $(BROM_ROOT)/build/libraries/os/common \ $(BROM_ROOT)/build/libraries/os/ARM9 \ SRCS = \ os_init.c \ os_system.c \ os_spinLock.c \ os_timer.c \ os_tick.c \ os_alarm.c \ os_irqHandler.c \ os_irqThreadSwitch.c \ os_interrupt.c \ os_exception.c \ os_thread.c \ os_context.c \ os_mutex.c \ os_message.c \ os_cache.c \ os_printf.c \ os_boot.c \ os_protectionUnit.c \ os_event.c \ TARGET_LIB = libos_sp$(FIRM_LIBSUFFIX).a #---------------------------------------------------------------------------- include $(CTRFIRM_ROOT)/build/buildtools/commondefs INSTALL_TARGETS = $(TARGETS) INSTALL_DIR = $(FIRM_INSTALL_LIBDIR) #---------------------------------------------------------------------------- do-build: $(TARGETS) include $(CTRFIRM_ROOT)/build/buildtools/modulerules #===== End of Makefile =====