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