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