xref: /openbmc/u-boot/drivers/pcmcia/Makefile (revision 73646217)
1*73646217SJean-Christophe PLAGNIOL-VILLARD#
2*73646217SJean-Christophe PLAGNIOL-VILLARD# (C) Copyright 2000-2007
3*73646217SJean-Christophe PLAGNIOL-VILLARD# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
4*73646217SJean-Christophe PLAGNIOL-VILLARD#
5*73646217SJean-Christophe PLAGNIOL-VILLARD# See file CREDITS for list of people who contributed to this
6*73646217SJean-Christophe PLAGNIOL-VILLARD# project.
7*73646217SJean-Christophe PLAGNIOL-VILLARD#
8*73646217SJean-Christophe PLAGNIOL-VILLARD# This program is free software; you can redistribute it and/or
9*73646217SJean-Christophe PLAGNIOL-VILLARD# modify it under the terms of the GNU General Public License as
10*73646217SJean-Christophe PLAGNIOL-VILLARD# published by the Free Software Foundation; either version 2 of
11*73646217SJean-Christophe PLAGNIOL-VILLARD# the License, or (at your option) any later version.
12*73646217SJean-Christophe PLAGNIOL-VILLARD#
13*73646217SJean-Christophe PLAGNIOL-VILLARD# This program is distributed in the hope that it will be useful,
14*73646217SJean-Christophe PLAGNIOL-VILLARD# but WITHOUT ANY WARRANTY; without even the implied warranty of
15*73646217SJean-Christophe PLAGNIOL-VILLARD# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.	See the
16*73646217SJean-Christophe PLAGNIOL-VILLARD# GNU General Public License for more details.
17*73646217SJean-Christophe PLAGNIOL-VILLARD#
18*73646217SJean-Christophe PLAGNIOL-VILLARD# You should have received a copy of the GNU General Public License
19*73646217SJean-Christophe PLAGNIOL-VILLARD# along with this program; if not, write to the Free Software
20*73646217SJean-Christophe PLAGNIOL-VILLARD# Foundation, Inc., 59 Temple Place, Suite 330, Boston,
21*73646217SJean-Christophe PLAGNIOL-VILLARD# MA 02111-1307 USA
22*73646217SJean-Christophe PLAGNIOL-VILLARD#
23*73646217SJean-Christophe PLAGNIOL-VILLARD
24*73646217SJean-Christophe PLAGNIOL-VILLARDinclude $(TOPDIR)/config.mk
25*73646217SJean-Christophe PLAGNIOL-VILLARD
26*73646217SJean-Christophe PLAGNIOL-VILLARDLIB 	:= $(obj)libpcmcia.a
27*73646217SJean-Christophe PLAGNIOL-VILLARD
28*73646217SJean-Christophe PLAGNIOL-VILLARDCOBJS-y += mpc8xx_pcmcia.o
29*73646217SJean-Christophe PLAGNIOL-VILLARDCOBJS-y += pxa_pcmcia.o
30*73646217SJean-Christophe PLAGNIOL-VILLARDCOBJS-y += rpx_pcmcia.o
31*73646217SJean-Christophe PLAGNIOL-VILLARDCOBJS-y += ti_pci1410a.o
32*73646217SJean-Christophe PLAGNIOL-VILLARDCOBJS-y += tqm8xx_pcmcia.o
33*73646217SJean-Christophe PLAGNIOL-VILLARD
34*73646217SJean-Christophe PLAGNIOL-VILLARDCOBJS	:= $(COBJS-y)
35*73646217SJean-Christophe PLAGNIOL-VILLARDSRCS 	:= $(COBJS:.o=.c)
36*73646217SJean-Christophe PLAGNIOL-VILLARDOBJS 	:= $(addprefix $(obj),$(COBJS))
37*73646217SJean-Christophe PLAGNIOL-VILLARD
38*73646217SJean-Christophe PLAGNIOL-VILLARDall:	$(LIB)
39*73646217SJean-Christophe PLAGNIOL-VILLARD
40*73646217SJean-Christophe PLAGNIOL-VILLARD$(LIB):	$(obj).depend $(OBJS)
41*73646217SJean-Christophe PLAGNIOL-VILLARD	$(AR) $(ARFLAGS) $@ $(OBJS)
42*73646217SJean-Christophe PLAGNIOL-VILLARD
43*73646217SJean-Christophe PLAGNIOL-VILLARD#########################################################################
44*73646217SJean-Christophe PLAGNIOL-VILLARD
45*73646217SJean-Christophe PLAGNIOL-VILLARD# defines $(obj).depend target
46*73646217SJean-Christophe PLAGNIOL-VILLARDinclude $(SRCTREE)/rules.mk
47*73646217SJean-Christophe PLAGNIOL-VILLARD
48*73646217SJean-Christophe PLAGNIOL-VILLARDsinclude $(obj).depend
49*73646217SJean-Christophe PLAGNIOL-VILLARD
50*73646217SJean-Christophe PLAGNIOL-VILLARD#########################################################################
51