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