105316f8eSTsiChung Liew#
205316f8eSTsiChung Liew# (C) Copyright 2000-2003
305316f8eSTsiChung Liew# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
405316f8eSTsiChung Liew#
505316f8eSTsiChung Liew# See file CREDITS for list of people who contributed to this
605316f8eSTsiChung Liew# project.
705316f8eSTsiChung Liew#
805316f8eSTsiChung Liew# This program is free software; you can redistribute it and/or
905316f8eSTsiChung Liew# modify it under the terms of the GNU General Public License as
1005316f8eSTsiChung Liew# published by the Free Software Foundation; either version 2 of
1105316f8eSTsiChung Liew# the License, or (at your option) any later version.
1205316f8eSTsiChung Liew#
1305316f8eSTsiChung Liew# This program is distributed in the hope that it will be useful,
1405316f8eSTsiChung Liew# but WITHOUT ANY WARRANTY; without even the implied warranty of
1505316f8eSTsiChung Liew# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
1605316f8eSTsiChung Liew# GNU General Public License for more details.
1705316f8eSTsiChung Liew#
1805316f8eSTsiChung Liew# You should have received a copy of the GNU General Public License
1905316f8eSTsiChung Liew# along with this program; if not, write to the Free Software
2005316f8eSTsiChung Liew# Foundation, Inc., 59 Temple Place, Suite 330, Boston,
2105316f8eSTsiChung Liew# MA 02111-1307 USA
2205316f8eSTsiChung Liew#
2305316f8eSTsiChung Liew
2405316f8eSTsiChung Liewinclude $(TOPDIR)/config.mk
2505316f8eSTsiChung Liew
2605316f8eSTsiChung LiewLIB	= $(obj)lib$(BOARD).a
2705316f8eSTsiChung Liew
28*6e80f5aaSTsiChung LiewCOBJS	= $(BOARD).o
2905316f8eSTsiChung Liew
3005316f8eSTsiChung LiewSRCS	:= $(SOBJS:.o=.S) $(COBJS:.o=.c)
3105316f8eSTsiChung LiewOBJS	:= $(addprefix $(obj),$(COBJS))
3205316f8eSTsiChung LiewSOBJS	:= $(addprefix $(obj),$(SOBJS))
3305316f8eSTsiChung Liew
3405316f8eSTsiChung Liew$(LIB):	$(obj).depend $(OBJS)
3505316f8eSTsiChung Liew	$(AR) $(ARFLAGS) $@ $(OBJS)
3605316f8eSTsiChung Liew
3705316f8eSTsiChung Liew#########################################################################
3805316f8eSTsiChung Liew
3905316f8eSTsiChung Liew# defines $(obj).depend target
4005316f8eSTsiChung Liewinclude $(SRCTREE)/rules.mk
4105316f8eSTsiChung Liew
4205316f8eSTsiChung Liewsinclude $(obj).depend
4305316f8eSTsiChung Liew
4405316f8eSTsiChung Liew#########################################################################
45