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