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
30*6d8962e8SSebastien CarlierLIB	= $(obj)lib$(BOARD).o
318e429b3eSStelian Pop
328e429b3eSStelian PopCOBJS-y += at91sam9263ek.o
338e429b3eSStelian PopCOBJS-y += led.o
3416396608SJean-Christophe PLAGNIOL-VILLARDCOBJS-$(CONFIG_HAS_DATAFLASH) += partition.o
358e429b3eSStelian Pop
361b3b7c64SJean-Christophe PLAGNIOL-VILLARDSRCS	:= $(SOBJS-y:.o=.S) $(COBJS-y:.o=.c)
378e429b3eSStelian PopOBJS	:= $(addprefix $(obj),$(COBJS-y))
381b3b7c64SJean-Christophe PLAGNIOL-VILLARDSOBJS	:= $(addprefix $(obj),$(SOBJS-y))
398e429b3eSStelian Pop
408e429b3eSStelian Pop$(LIB):	$(obj).depend $(OBJS) $(SOBJS)
41*6d8962e8SSebastien Carlier	$(call cmd_link_o_target, $(OBJS) $(SOBJS))
428e429b3eSStelian Pop
438e429b3eSStelian Popclean:
448e429b3eSStelian Pop	rm -f $(SOBJS) $(OBJS)
458e429b3eSStelian Pop
468e429b3eSStelian Popdistclean:	clean
47c8a3b109SWolfgang Denk	rm -f $(LIB) core *.bak $(obj).depend
488e429b3eSStelian Pop
498e429b3eSStelian Pop#########################################################################
508e429b3eSStelian Pop
518e429b3eSStelian Pop# defines $(obj).depend target
528e429b3eSStelian Popinclude $(SRCTREE)/rules.mk
538e429b3eSStelian Pop
548e429b3eSStelian Popsinclude $(obj).depend
558e429b3eSStelian Pop
568e429b3eSStelian Pop#########################################################################
57