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