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