1*10db3a17STsiChung Liew#
2*10db3a17STsiChung Liew# (C) Copyright 2000-2006
3*10db3a17STsiChung Liew# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
4*10db3a17STsiChung Liew#
5*10db3a17STsiChung Liew# See file CREDITS for list of people who contributed to this
6*10db3a17STsiChung Liew# project.
7*10db3a17STsiChung Liew#
8*10db3a17STsiChung Liew# This program is free software; you can redistribute it and/or
9*10db3a17STsiChung Liew# modify it under the terms of the GNU General Public License as
10*10db3a17STsiChung Liew# published by the Free Software Foundation; either version 2 of
11*10db3a17STsiChung Liew# the License, or (at your option) any later version.
12*10db3a17STsiChung Liew#
13*10db3a17STsiChung Liew# This program is distributed in the hope that it will be useful,
14*10db3a17STsiChung Liew# but WITHOUT ANY WARRANTY; without even the implied warranty of
15*10db3a17STsiChung Liew# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16*10db3a17STsiChung Liew# GNU General Public License for more details.
17*10db3a17STsiChung Liew#
18*10db3a17STsiChung Liew# You should have received a copy of the GNU General Public License
19*10db3a17STsiChung Liew# along with this program; if not, write to the Free Software
20*10db3a17STsiChung Liew# Foundation, Inc., 59 Temple Place, Suite 330, Boston,
21*10db3a17STsiChung Liew# MA 02111-1307 USA
22*10db3a17STsiChung Liew#
23*10db3a17STsiChung Liew
24*10db3a17STsiChung Liewinclude $(TOPDIR)/config.mk
25*10db3a17STsiChung Liew
26*10db3a17STsiChung LiewLIB	= $(obj)lib$(BOARD).a
27*10db3a17STsiChung Liew
28*10db3a17STsiChung LiewCOBJS	= $(BOARD).o mii.o
29*10db3a17STsiChung Liew
30*10db3a17STsiChung LiewSRCS	:= $(SOBJS:.o=.S) $(COBJS:.o=.c)
31*10db3a17STsiChung LiewOBJS	:= $(addprefix $(obj),$(COBJS))
32*10db3a17STsiChung LiewSOBJS	:= $(addprefix $(obj),$(SOBJS))
33*10db3a17STsiChung Liew
34*10db3a17STsiChung Liew$(LIB):	$(obj).depend $(OBJS)
35*10db3a17STsiChung Liew	$(AR) $(ARFLAGS) $@ $(OBJS)
36*10db3a17STsiChung Liew
37*10db3a17STsiChung Liew#########################################################################
38*10db3a17STsiChung Liew
39*10db3a17STsiChung Liew# defines $(obj).depend target
40*10db3a17STsiChung Liewinclude $(SRCTREE)/rules.mk
41*10db3a17STsiChung Liew
42*10db3a17STsiChung Liewsinclude $(obj).depend
43*10db3a17STsiChung Liew
44*10db3a17STsiChung Liew#########################################################################
45