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