18ae158cdSTsiChungLiew# 28ae158cdSTsiChungLiew# (C) Copyright 2000-2003 38ae158cdSTsiChungLiew# Wolfgang Denk, DENX Software Engineering, wd@denx.de. 48ae158cdSTsiChungLiew# 58ae158cdSTsiChungLiew# See file CREDITS for list of people who contributed to this 68ae158cdSTsiChungLiew# project. 78ae158cdSTsiChungLiew# 88ae158cdSTsiChungLiew# This program is free software; you can redistribute it and/or 98ae158cdSTsiChungLiew# modify it under the terms of the GNU General Public License as 108ae158cdSTsiChungLiew# published by the Free Software Foundation; either version 2 of 118ae158cdSTsiChungLiew# the License, or (at your option) any later version. 128ae158cdSTsiChungLiew# 138ae158cdSTsiChungLiew# This program is distributed in the hope that it will be useful, 148ae158cdSTsiChungLiew# but WITHOUT ANY WARRANTY; without even the implied warranty of 158ae158cdSTsiChungLiew# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 168ae158cdSTsiChungLiew# GNU General Public License for more details. 178ae158cdSTsiChungLiew# 188ae158cdSTsiChungLiew# You should have received a copy of the GNU General Public License 198ae158cdSTsiChungLiew# along with this program; if not, write to the Free Software 208ae158cdSTsiChungLiew# Foundation, Inc., 59 Temple Place, Suite 330, Boston, 218ae158cdSTsiChungLiew# MA 02111-1307 USA 228ae158cdSTsiChungLiew# 238ae158cdSTsiChungLiew 248ae158cdSTsiChungLiewinclude $(TOPDIR)/config.mk 258ae158cdSTsiChungLiew 26*6d8962e8SSebastien CarlierLIB = $(obj)lib$(BOARD).o 278ae158cdSTsiChungLiew 286e80f5aaSTsiChung LiewCOBJS = $(BOARD).o 298ae158cdSTsiChungLiew 308ae158cdSTsiChungLiewSRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c) 318ae158cdSTsiChungLiewOBJS := $(addprefix $(obj),$(COBJS)) 328ae158cdSTsiChungLiewSOBJS := $(addprefix $(obj),$(SOBJS)) 338ae158cdSTsiChungLiew 348ae158cdSTsiChungLiew$(LIB): $(obj).depend $(OBJS) 35*6d8962e8SSebastien Carlier $(call cmd_link_o_target, $(OBJS)) 368ae158cdSTsiChungLiew 378ae158cdSTsiChungLiew######################################################################### 388ae158cdSTsiChungLiew 398ae158cdSTsiChungLiew# defines $(obj).depend target 408ae158cdSTsiChungLiewinclude $(SRCTREE)/rules.mk 418ae158cdSTsiChungLiew 428ae158cdSTsiChungLiewsinclude $(obj).depend 438ae158cdSTsiChungLiew 448ae158cdSTsiChungLiew######################################################################### 45