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