1*9b914727SLuka Perkov# 2*9b914727SLuka Perkov# (C) Copyright 2009 3*9b914727SLuka Perkov# Marvell Semiconductor <www.marvell.com> 4*9b914727SLuka Perkov# Written-by: Prafulla Wadaskar <prafulla@marvell.com> 5*9b914727SLuka Perkov# 6*9b914727SLuka Perkov# See file CREDITS for list of people who contributed to this 7*9b914727SLuka Perkov# project. 8*9b914727SLuka Perkov# 9*9b914727SLuka Perkov# This program is free software; you can redistribute it and/or 10*9b914727SLuka Perkov# modify it under the terms of the GNU General Public License as 11*9b914727SLuka Perkov# published by the Free Software Foundation; either version 2 of 12*9b914727SLuka Perkov# the License, or (at your option) any later version. 13*9b914727SLuka Perkov# 14*9b914727SLuka Perkov# This program is distributed in the hope that it will be useful, 15*9b914727SLuka Perkov# but WITHOUT ANY WARRANTY; without even the implied warranty of 16*9b914727SLuka Perkov# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 17*9b914727SLuka Perkov# GNU General Public License for more details. 18*9b914727SLuka Perkov# 19*9b914727SLuka Perkov# You should have received a copy of the GNU General Public License 20*9b914727SLuka Perkov# along with this program. If not, see <http://www.gnu.org/licenses/>. 21*9b914727SLuka Perkov# 22*9b914727SLuka Perkov 23*9b914727SLuka Perkovinclude $(TOPDIR)/config.mk 24*9b914727SLuka Perkov 25*9b914727SLuka PerkovLIB = $(obj)lib$(BOARD).o 26*9b914727SLuka Perkov 27*9b914727SLuka PerkovCOBJS := iconnect.o 28*9b914727SLuka Perkov 29*9b914727SLuka PerkovSRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c) 30*9b914727SLuka PerkovOBJS := $(addprefix $(obj),$(COBJS)) 31*9b914727SLuka PerkovSOBJS := $(addprefix $(obj),$(SOBJS)) 32*9b914727SLuka Perkov 33*9b914727SLuka Perkov$(LIB): $(obj).depend $(OBJS) $(SOBJS) 34*9b914727SLuka Perkov $(call cmd_link_o_target, $(OBJS) $(SOBJS)) 35*9b914727SLuka Perkov 36*9b914727SLuka Perkov######################################################################### 37*9b914727SLuka Perkov 38*9b914727SLuka Perkov# defines $(obj).depend target 39*9b914727SLuka Perkovinclude $(SRCTREE)/rules.mk 40*9b914727SLuka Perkov 41*9b914727SLuka Perkovsinclude $(obj).depend 42*9b914727SLuka Perkov 43*9b914727SLuka Perkov######################################################################### 44