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