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