1415a613bSKumar Gala# 2415a613bSKumar Gala# Copyright 2004 Freescale Semiconductor. 3415a613bSKumar Gala# (C) Copyright 2001-2006 4415a613bSKumar Gala# Wolfgang Denk, DENX Software Engineering, wd@denx.de. 5415a613bSKumar Gala# 6415a613bSKumar Gala# See file CREDITS for list of people who contributed to this 7415a613bSKumar Gala# project. 8415a613bSKumar Gala# 9415a613bSKumar Gala# This program is free software; you can redistribute it and/or 10415a613bSKumar Gala# modify it under the terms of the GNU General Public License as 11415a613bSKumar Gala# published by the Free Software Foundation; either version 2 of 12415a613bSKumar Gala# the License, or (at your option) any later version. 13415a613bSKumar Gala# 14415a613bSKumar Gala# This program is distributed in the hope that it will be useful, 15415a613bSKumar Gala# but WITHOUT ANY WARRANTY; without even the implied warranty of 16415a613bSKumar Gala# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 17415a613bSKumar Gala# GNU General Public License for more details. 18415a613bSKumar Gala# 19415a613bSKumar Gala# You should have received a copy of the GNU General Public License 20415a613bSKumar Gala# along with this program; if not, write to the Free Software 21415a613bSKumar Gala# Foundation, Inc., 59 Temple Place, Suite 330, Boston, 22415a613bSKumar Gala# MA 02111-1307 USA 23415a613bSKumar Gala# 24415a613bSKumar Gala 25415a613bSKumar Galainclude $(TOPDIR)/config.mk 26415a613bSKumar Gala 27415a613bSKumar GalaLIB = $(obj)lib$(BOARD).a 28415a613bSKumar Gala 29*25eedb2cSJon LoeligerCOBJS-y += $(BOARD).o 30*25eedb2cSJon LoeligerCOBJS-y += law.o 31*25eedb2cSJon LoeligerCOBJS-y += tlb.o 32415a613bSKumar Gala 33*25eedb2cSJon LoeligerSRCS := $(SOBJS-y:.o=.S) $(COBJS-y:.o=.c) 34*25eedb2cSJon LoeligerOBJS := $(addprefix $(obj),$(COBJS-y)) 35*25eedb2cSJon LoeligerSOBJS := $(addprefix $(obj),$(SOBJS-y)) 36415a613bSKumar Gala 37415a613bSKumar Gala$(LIB): $(obj).depend $(OBJS) $(SOBJS) 38415a613bSKumar Gala $(AR) $(ARFLAGS) $@ $(OBJS) 39415a613bSKumar Gala 40415a613bSKumar Galaclean: 41415a613bSKumar Gala rm -f $(OBJS) $(SOBJS) 42415a613bSKumar Gala 43415a613bSKumar Galadistclean: clean 44415a613bSKumar Gala rm -f $(LIB) core *.bak .depend 45415a613bSKumar Gala 46415a613bSKumar Gala######################################################################### 47415a613bSKumar Gala 48415a613bSKumar Gala# defines $(obj).depend target 49415a613bSKumar Galainclude $(SRCTREE)/rules.mk 50415a613bSKumar Gala 51415a613bSKumar Galasinclude $(obj).depend 52415a613bSKumar Gala 53415a613bSKumar Gala######################################################################### 54