1*576afd4fSJean-Christophe PLAGNIOL-VILLARD#
2*576afd4fSJean-Christophe PLAGNIOL-VILLARD# (C) Copyright 2000-2006
3*576afd4fSJean-Christophe PLAGNIOL-VILLARD# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
4*576afd4fSJean-Christophe PLAGNIOL-VILLARD#
5*576afd4fSJean-Christophe PLAGNIOL-VILLARD# (C) Copyright 2004
6*576afd4fSJean-Christophe PLAGNIOL-VILLARD# ARM Ltd.
7*576afd4fSJean-Christophe PLAGNIOL-VILLARD# Philippe Robin, <philippe.robin@arm.com>
8*576afd4fSJean-Christophe PLAGNIOL-VILLARD#
9*576afd4fSJean-Christophe PLAGNIOL-VILLARD# See file CREDITS for list of people who contributed to this
10*576afd4fSJean-Christophe PLAGNIOL-VILLARD# project.
11*576afd4fSJean-Christophe PLAGNIOL-VILLARD#
12*576afd4fSJean-Christophe PLAGNIOL-VILLARD# This program is free software; you can redistribute it and/or
13*576afd4fSJean-Christophe PLAGNIOL-VILLARD# modify it under the terms of the GNU General Public License as
14*576afd4fSJean-Christophe PLAGNIOL-VILLARD# published by the Free Software Foundation; either version 2 of
15*576afd4fSJean-Christophe PLAGNIOL-VILLARD# the License, or (at your option) any later version.
16*576afd4fSJean-Christophe PLAGNIOL-VILLARD#
17*576afd4fSJean-Christophe PLAGNIOL-VILLARD# This program is distributed in the hope that it will be useful,
18*576afd4fSJean-Christophe PLAGNIOL-VILLARD# but WITHOUT ANY WARRANTY; without even the implied warranty of
19*576afd4fSJean-Christophe PLAGNIOL-VILLARD# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
20*576afd4fSJean-Christophe PLAGNIOL-VILLARD# GNU General Public License for more details.
21*576afd4fSJean-Christophe PLAGNIOL-VILLARD#
22*576afd4fSJean-Christophe PLAGNIOL-VILLARD# You should have received a copy of the GNU General Public License
23*576afd4fSJean-Christophe PLAGNIOL-VILLARD# along with this program; if not, write to the Free Software
24*576afd4fSJean-Christophe PLAGNIOL-VILLARD# Foundation, Inc., 59 Temple Place, Suite 330, Boston,
25*576afd4fSJean-Christophe PLAGNIOL-VILLARD# MA 02111-1307 USA
26*576afd4fSJean-Christophe PLAGNIOL-VILLARD#
27*576afd4fSJean-Christophe PLAGNIOL-VILLARD
28*576afd4fSJean-Christophe PLAGNIOL-VILLARDinclude $(TOPDIR)/config.mk
29*576afd4fSJean-Christophe PLAGNIOL-VILLARD
30*576afd4fSJean-Christophe PLAGNIOL-VILLARDLIB	= $(obj)lib$(BOARD).a
31*576afd4fSJean-Christophe PLAGNIOL-VILLARD
32*576afd4fSJean-Christophe PLAGNIOL-VILLARDSOBJS-y	:= lowlevel_init.o
33*576afd4fSJean-Christophe PLAGNIOL-VILLARD
34*576afd4fSJean-Christophe PLAGNIOL-VILLARDCOBJS-y	:= integrator.o
35*576afd4fSJean-Christophe PLAGNIOL-VILLARDCOBJS-$(CONFIG_PCI) += pci.o
36*576afd4fSJean-Christophe PLAGNIOL-VILLARDCOBJS-y += timer.o
37*576afd4fSJean-Christophe PLAGNIOL-VILLARD
38*576afd4fSJean-Christophe PLAGNIOL-VILLARDSRCS	:= $(SOBJS-y:.o=.S) $(COBJS-y:.o=.c)
39*576afd4fSJean-Christophe PLAGNIOL-VILLARDCOBJS	:= $(addprefix $(obj),$(COBJS-y))
40*576afd4fSJean-Christophe PLAGNIOL-VILLARDSOBJS	:= $(addprefix $(obj),$(SOBJS-y))
41*576afd4fSJean-Christophe PLAGNIOL-VILLARD
42*576afd4fSJean-Christophe PLAGNIOL-VILLARD$(LIB):	$(obj).depend $(COBJS) $(SOBJS)
43*576afd4fSJean-Christophe PLAGNIOL-VILLARD	$(AR) $(ARFLAGS) $@ $(COBJS) $(SOBJS)
44*576afd4fSJean-Christophe PLAGNIOL-VILLARD
45*576afd4fSJean-Christophe PLAGNIOL-VILLARDclean:
46*576afd4fSJean-Christophe PLAGNIOL-VILLARD	rm -f $(SOBJS) $(COBJS)
47*576afd4fSJean-Christophe PLAGNIOL-VILLARD
48*576afd4fSJean-Christophe PLAGNIOL-VILLARDdistclean:	clean
49*576afd4fSJean-Christophe PLAGNIOL-VILLARD	rm -f $(LIB) core *.bak $(obj).depend
50*576afd4fSJean-Christophe PLAGNIOL-VILLARD
51*576afd4fSJean-Christophe PLAGNIOL-VILLARD#########################################################################
52*576afd4fSJean-Christophe PLAGNIOL-VILLARD
53*576afd4fSJean-Christophe PLAGNIOL-VILLARD# defines $(obj).depend target
54*576afd4fSJean-Christophe PLAGNIOL-VILLARDinclude $(SRCTREE)/rules.mk
55*576afd4fSJean-Christophe PLAGNIOL-VILLARD
56*576afd4fSJean-Christophe PLAGNIOL-VILLARDsinclude $(obj).depend
57*576afd4fSJean-Christophe PLAGNIOL-VILLARD
58*576afd4fSJean-Christophe PLAGNIOL-VILLARD#########################################################################
59