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