1*c291e2fcSPrafulla Wadaskar# 2*c291e2fcSPrafulla Wadaskar# (C) Copyright 2010 3*c291e2fcSPrafulla Wadaskar# Marvell Semiconductor <www.marvell.com> 4*c291e2fcSPrafulla Wadaskar# Written-by: Prafulla Wadaskar <prafulla@marvell.com> 5*c291e2fcSPrafulla Wadaskar# Contributor: Mahavir Jain <mjain@marvell.com> 6*c291e2fcSPrafulla Wadaskar# 7*c291e2fcSPrafulla Wadaskar# See file CREDITS for list of people who contributed to this 8*c291e2fcSPrafulla Wadaskar# project. 9*c291e2fcSPrafulla Wadaskar# 10*c291e2fcSPrafulla Wadaskar# This program is free software; you can redistribute it and/or 11*c291e2fcSPrafulla Wadaskar# modify it under the terms of the GNU General Public License as 12*c291e2fcSPrafulla Wadaskar# published by the Free Software Foundation; either version 2 of 13*c291e2fcSPrafulla Wadaskar# the License, or (at your option) any later version. 14*c291e2fcSPrafulla Wadaskar# 15*c291e2fcSPrafulla Wadaskar# This program is distributed in the hope that it will be useful, 16*c291e2fcSPrafulla Wadaskar# but WITHOUT ANY WARRANTY; without even the implied warranty of 17*c291e2fcSPrafulla Wadaskar# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18*c291e2fcSPrafulla Wadaskar# GNU General Public License for more details. 19*c291e2fcSPrafulla Wadaskar# 20*c291e2fcSPrafulla Wadaskar# You should have received a copy of the GNU General Public License 21*c291e2fcSPrafulla Wadaskar# along with this program; if not, write to the Free Software 22*c291e2fcSPrafulla Wadaskar# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, 23*c291e2fcSPrafulla Wadaskar# MA 02110-1301 USA 24*c291e2fcSPrafulla Wadaskar# 25*c291e2fcSPrafulla Wadaskar 26*c291e2fcSPrafulla Wadaskarinclude $(TOPDIR)/config.mk 27*c291e2fcSPrafulla Wadaskar 28*c291e2fcSPrafulla WadaskarLIB = $(obj)lib$(BOARD).o 29*c291e2fcSPrafulla Wadaskar 30*c291e2fcSPrafulla WadaskarCOBJS := aspenite.o 31*c291e2fcSPrafulla Wadaskar 32*c291e2fcSPrafulla WadaskarSRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c) 33*c291e2fcSPrafulla WadaskarOBJS := $(addprefix $(obj),$(COBJS)) 34*c291e2fcSPrafulla WadaskarSOBJS := $(addprefix $(obj),$(SOBJS)) 35*c291e2fcSPrafulla Wadaskar 36*c291e2fcSPrafulla Wadaskar$(LIB): $(obj).depend $(OBJS) $(SOBJS) 37*c291e2fcSPrafulla Wadaskar $(AR) $(ARFLAGS) $@ $(OBJS) $(SOBJS) 38*c291e2fcSPrafulla Wadaskar 39*c291e2fcSPrafulla Wadaskarclean: 40*c291e2fcSPrafulla Wadaskar rm -f $(SOBJS) $(OBJS) 41*c291e2fcSPrafulla Wadaskar 42*c291e2fcSPrafulla Wadaskardistclean: clean 43*c291e2fcSPrafulla Wadaskar rm -f $(LIB) core *.bak .depend 44*c291e2fcSPrafulla Wadaskar 45*c291e2fcSPrafulla Wadaskar######################################################################### 46*c291e2fcSPrafulla Wadaskar 47*c291e2fcSPrafulla Wadaskar# defines $(obj).depend target 48*c291e2fcSPrafulla Wadaskarinclude $(SRCTREE)/rules.mk 49*c291e2fcSPrafulla Wadaskar 50*c291e2fcSPrafulla Wadaskarsinclude $(obj).depend 51*c291e2fcSPrafulla Wadaskar 52*c291e2fcSPrafulla Wadaskar######################################################################### 53