1*d70575b6SThierry Reding# 2*d70575b6SThierry Reding# (C) Copyright 2010,2011 3*d70575b6SThierry Reding# NVIDIA Corporation <www.nvidia.com> 4*d70575b6SThierry Reding# (C) Copyright 2011,2012 5*d70575b6SThierry Reding# Avionic Design GmbH <www.avionic-design.de> 6*d70575b6SThierry Reding# 7*d70575b6SThierry Reding# See file CREDITS for list of people who contributed to this 8*d70575b6SThierry Reding# project. 9*d70575b6SThierry Reding# 10*d70575b6SThierry Reding# This program is free software; you can redistribute it and/or 11*d70575b6SThierry Reding# modify it under the terms of the GNU General Public License as 12*d70575b6SThierry Reding# published by the Free Software Foundation; either version 2 of 13*d70575b6SThierry Reding# the License, or (at your option) any later version. 14*d70575b6SThierry Reding# 15*d70575b6SThierry Reding# This program is distributed in the hope that it will be useful, 16*d70575b6SThierry Reding# but WITHOUT ANY WARRANTY; without even the implied warranty of 17*d70575b6SThierry Reding# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18*d70575b6SThierry Reding# GNU General Public License for more details. 19*d70575b6SThierry Reding# 20*d70575b6SThierry Reding# You should have received a copy of the GNU General Public License 21*d70575b6SThierry Reding# along with this program; if not, write to the Free Software 22*d70575b6SThierry Reding# Foundation, Inc., 59 Temple Place, Suite 330, Boston, 23*d70575b6SThierry Reding# MA 02111-1307 USA 24*d70575b6SThierry Reding# 25*d70575b6SThierry Reding 26*d70575b6SThierry Redinginclude $(TOPDIR)/config.mk 27*d70575b6SThierry Reding 28*d70575b6SThierry Redingifneq ($(OBJTREE),$(SRCTREE)) 29*d70575b6SThierry Reding$(shell mkdir -p $(obj)../common $(obj)../../nvidia/common) 30*d70575b6SThierry Redingendif 31*d70575b6SThierry Reding 32*d70575b6SThierry RedingLIB = $(obj)lib$(BOARD).o 33*d70575b6SThierry Reding 34*d70575b6SThierry RedingCOBJS := ../../nvidia/common/board.o 35*d70575b6SThierry RedingCOBJS += ../common/tamonten.o 36*d70575b6SThierry Reding 37*d70575b6SThierry RedingSRCS := $(COBJS:.o=.c) 38*d70575b6SThierry RedingOBJS := $(addprefix $(obj),$(COBJS)) 39*d70575b6SThierry Reding 40*d70575b6SThierry Reding$(LIB): $(obj).depend $(OBJS) 41*d70575b6SThierry Reding $(call cmd_link_o_target, $(OBJS)) 42*d70575b6SThierry Reding 43*d70575b6SThierry Reding######################################################################### 44*d70575b6SThierry Reding 45*d70575b6SThierry Reding# defines $(obj).depend target 46*d70575b6SThierry Redinginclude $(SRCTREE)/rules.mk 47*d70575b6SThierry Reding 48*d70575b6SThierry Redingsinclude $(obj).depend 49*d70575b6SThierry Reding 50*d70575b6SThierry Reding######################################################################### 51