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