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 34*16396608SJean-Christophe PLAGNIOL-VILLARDCOBJS-$(CONFIG_HAS_DATAFLASH) += partition.o 358e429b3eSStelian PopCOBJS-$(CONFIG_CMD_NAND) += nand.o 368e429b3eSStelian Pop 378e429b3eSStelian PopSRCS := $(SOBJS:.o=.S) $(COBJS-y:.o=.c) 388e429b3eSStelian PopOBJS := $(addprefix $(obj),$(COBJS-y)) 398e429b3eSStelian PopSOBJS := $(addprefix $(obj),$(SOBJS)) 408e429b3eSStelian Pop 418e429b3eSStelian Pop$(LIB): $(obj).depend $(OBJS) $(SOBJS) 428e429b3eSStelian Pop $(AR) $(ARFLAGS) $@ $(OBJS) $(SOBJS) 438e429b3eSStelian Pop 448e429b3eSStelian Popclean: 458e429b3eSStelian Pop rm -f $(SOBJS) $(OBJS) 468e429b3eSStelian Pop 478e429b3eSStelian Popdistclean: clean 48c8a3b109SWolfgang Denk rm -f $(LIB) core *.bak $(obj).depend 498e429b3eSStelian Pop 508e429b3eSStelian Pop######################################################################### 518e429b3eSStelian Pop 528e429b3eSStelian Pop# defines $(obj).depend target 538e429b3eSStelian Popinclude $(SRCTREE)/rules.mk 548e429b3eSStelian Pop 558e429b3eSStelian Popsinclude $(obj).depend 568e429b3eSStelian Pop 578e429b3eSStelian Pop######################################################################### 58