xref: /rk3399_rockchip-uboot/drivers/net/Makefile (revision 991b089d1ce5ad945725e3657a8f106dfa02a38e)
10c0a9cdaSMichal Simek#
20c0a9cdaSMichal Simek# (C) Copyright 2006
30c0a9cdaSMichal Simek# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
40c0a9cdaSMichal Simek#
50c0a9cdaSMichal Simek# See file CREDITS for list of people who contributed to this
60c0a9cdaSMichal Simek# project.
70c0a9cdaSMichal Simek#
80c0a9cdaSMichal Simek# This program is free software; you can redistribute it and/or
90c0a9cdaSMichal Simek# modify it under the terms of the GNU General Public License as
100c0a9cdaSMichal Simek# published by the Free Software Foundation; either version 2 of
110c0a9cdaSMichal Simek# the License, or (at your option) any later version.
120c0a9cdaSMichal Simek#
130c0a9cdaSMichal Simek# This program is distributed in the hope that it will be useful,
140c0a9cdaSMichal Simek# but WITHOUT ANY WARRANTY; without even the implied warranty of
150c0a9cdaSMichal Simek# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.	See the
160c0a9cdaSMichal Simek# GNU General Public License for more details.
170c0a9cdaSMichal Simek#
180c0a9cdaSMichal Simek# You should have received a copy of the GNU General Public License
190c0a9cdaSMichal Simek# along with this program; if not, write to the Free Software
200c0a9cdaSMichal Simek# Foundation, Inc., 59 Temple Place, Suite 330, Boston,
210c0a9cdaSMichal Simek# MA 02111-1307 USA
220c0a9cdaSMichal Simek#
230c0a9cdaSMichal Simek
240c0a9cdaSMichal Simekinclude $(TOPDIR)/config.mk
250c0a9cdaSMichal Simek
268e585f02STsiChung LiewLIB 	:= $(obj)libnet.a
27*991b089dSMichal Simek
28*991b089dSMichal SimekCOBJS 	:= mcffec.o
290c0a9cdaSMichal Simek
300c0a9cdaSMichal SimekSRCS 	:= $(COBJS:.o=.c)
310c0a9cdaSMichal SimekOBJS 	:= $(addprefix $(obj),$(COBJS))
320c0a9cdaSMichal Simek
330c0a9cdaSMichal Simekall:	$(LIB)
340c0a9cdaSMichal Simek
350c0a9cdaSMichal Simek$(LIB):	$(obj).depend $(OBJS)
360c0a9cdaSMichal Simek	$(AR) $(ARFLAGS) $@ $(OBJS)
370c0a9cdaSMichal Simek
380c0a9cdaSMichal Simek#########################################################################
390c0a9cdaSMichal Simek
400c0a9cdaSMichal Simek# defines $(obj).depend target
410c0a9cdaSMichal Simekinclude $(SRCTREE)/rules.mk
420c0a9cdaSMichal Simek
430c0a9cdaSMichal Simeksinclude $(obj).depend
440c0a9cdaSMichal Simek
450c0a9cdaSMichal Simek#########################################################################
46