18e429b3eSStelian Pop# 28e429b3eSStelian Pop# (C) Copyright 2003-2008 38e429b3eSStelian Pop# Wolfgang Denk, DENX Software Engineering, wd@denx.de. 48e429b3eSStelian Pop# 58e429b3eSStelian Pop# (C) Copyright 2008 68e429b3eSStelian Pop# Stelian Pop <stelian.pop@leadtechdesign.com> 78e429b3eSStelian Pop# Lead Tech Design <www.leadtechdesign.com> 88e429b3eSStelian Pop# 98e429b3eSStelian Pop# See file CREDITS for list of people who contributed to this 108e429b3eSStelian Pop# project. 118e429b3eSStelian Pop# 128e429b3eSStelian Pop# This program is free software; you can redistribute it and/or 138e429b3eSStelian Pop# modify it under the terms of the GNU General Public License as 148e429b3eSStelian Pop# published by the Free Software Foundation; either version 2 of 158e429b3eSStelian Pop# the License, or (at your option) any later version. 168e429b3eSStelian Pop# 178e429b3eSStelian Pop# This program is distributed in the hope that it will be useful, 188e429b3eSStelian Pop# but WITHOUT ANY WARRANTY; without even the implied warranty of 198e429b3eSStelian Pop# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 208e429b3eSStelian Pop# GNU General Public License for more details. 218e429b3eSStelian Pop# 228e429b3eSStelian Pop# You should have received a copy of the GNU General Public License 238e429b3eSStelian Pop# along with this program; if not, write to the Free Software 248e429b3eSStelian Pop# Foundation, Inc., 59 Temple Place, Suite 330, Boston, 258e429b3eSStelian Pop# MA 02111-1307 USA 268e429b3eSStelian Pop# 278e429b3eSStelian Pop 288e429b3eSStelian Popinclude $(TOPDIR)/config.mk 298e429b3eSStelian Pop 308e429b3eSStelian PopLIB = $(obj)lib$(BOARD).a 318e429b3eSStelian Pop 328e429b3eSStelian PopCOBJS-y += at91sam9263ek.o 338e429b3eSStelian PopCOBJS-y += led.o 3416396608SJean-Christophe PLAGNIOL-VILLARDCOBJS-$(CONFIG_HAS_DATAFLASH) += partition.o 35*1b3b7c64SJean-Christophe PLAGNIOL-VILLARDifndef CONFIG_SKIP_LOWLEVEL_INIT 36*1b3b7c64SJean-Christophe PLAGNIOL-VILLARDSOBJS-y += lowlevel_init.o 37*1b3b7c64SJean-Christophe PLAGNIOL-VILLARDendif 388e429b3eSStelian Pop 39*1b3b7c64SJean-Christophe PLAGNIOL-VILLARDSRCS := $(SOBJS-y:.o=.S) $(COBJS-y:.o=.c) 408e429b3eSStelian PopOBJS := $(addprefix $(obj),$(COBJS-y)) 41*1b3b7c64SJean-Christophe PLAGNIOL-VILLARDSOBJS := $(addprefix $(obj),$(SOBJS-y)) 428e429b3eSStelian Pop 438e429b3eSStelian Pop$(LIB): $(obj).depend $(OBJS) $(SOBJS) 448e429b3eSStelian Pop $(AR) $(ARFLAGS) $@ $(OBJS) $(SOBJS) 458e429b3eSStelian Pop 468e429b3eSStelian Popclean: 478e429b3eSStelian Pop rm -f $(SOBJS) $(OBJS) 488e429b3eSStelian Pop 498e429b3eSStelian Popdistclean: clean 50c8a3b109SWolfgang Denk rm -f $(LIB) core *.bak $(obj).depend 518e429b3eSStelian Pop 528e429b3eSStelian Pop######################################################################### 538e429b3eSStelian Pop 548e429b3eSStelian Pop# defines $(obj).depend target 558e429b3eSStelian Popinclude $(SRCTREE)/rules.mk 568e429b3eSStelian Pop 578e429b3eSStelian Popsinclude $(obj).depend 588e429b3eSStelian Pop 598e429b3eSStelian Pop######################################################################### 60