1*bfc93fb4SNobuhiro Iwamatsu# 2*bfc93fb4SNobuhiro Iwamatsu# Copyright (C) 2012 Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com> 3*bfc93fb4SNobuhiro Iwamatsu# 4*bfc93fb4SNobuhiro Iwamatsu# This program is free software; you can redistribute it and/or 5*bfc93fb4SNobuhiro Iwamatsu# modify it under the terms of the GNU General Public License as 6*bfc93fb4SNobuhiro Iwamatsu# published by the Free Software Foundation; either version 2 of 7*bfc93fb4SNobuhiro Iwamatsu# the License, or (at your option) any later version. 8*bfc93fb4SNobuhiro Iwamatsu# 9*bfc93fb4SNobuhiro Iwamatsu# This program is distributed in the hope that it will be useful, 10*bfc93fb4SNobuhiro Iwamatsu# but WITHOUT ANY WARRANTY; without even the implied warranty of 11*bfc93fb4SNobuhiro Iwamatsu# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12*bfc93fb4SNobuhiro Iwamatsu# GNU General Public License for more details. 13*bfc93fb4SNobuhiro Iwamatsu# 14*bfc93fb4SNobuhiro Iwamatsu# You should have received a copy of the GNU General Public License 15*bfc93fb4SNobuhiro Iwamatsu# along with this program; if not, write to the Free Software 16*bfc93fb4SNobuhiro Iwamatsu# Foundation, Inc., 59 Temple Place, Suite 330, Boston, 17*bfc93fb4SNobuhiro Iwamatsu# MA 02111-1307 USA 18*bfc93fb4SNobuhiro Iwamatsu 19*bfc93fb4SNobuhiro Iwamatsuinclude $(TOPDIR)/config.mk 20*bfc93fb4SNobuhiro Iwamatsu 21*bfc93fb4SNobuhiro IwamatsuLIB = $(obj)lib$(BOARD).o 22*bfc93fb4SNobuhiro Iwamatsu 23*bfc93fb4SNobuhiro IwamatsuCOBJS := ap_sh4a_4a.o 24*bfc93fb4SNobuhiro IwamatsuSOBJS := lowlevel_init.o 25*bfc93fb4SNobuhiro Iwamatsu 26*bfc93fb4SNobuhiro IwamatsuSRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c) 27*bfc93fb4SNobuhiro IwamatsuOBJS := $(addprefix $(obj),$(COBJS)) 28*bfc93fb4SNobuhiro IwamatsuSOBJS := $(addprefix $(obj),$(SOBJS)) 29*bfc93fb4SNobuhiro Iwamatsu 30*bfc93fb4SNobuhiro Iwamatsu$(LIB): $(obj).depend $(OBJS) $(SOBJS) 31*bfc93fb4SNobuhiro Iwamatsu $(call cmd_link_o_target, $(OBJS) $(SOBJS)) 32*bfc93fb4SNobuhiro Iwamatsu 33*bfc93fb4SNobuhiro Iwamatsu######################################################################### 34*bfc93fb4SNobuhiro Iwamatsu 35*bfc93fb4SNobuhiro Iwamatsu# defines $(obj).depend target 36*bfc93fb4SNobuhiro Iwamatsuinclude $(SRCTREE)/rules.mk 37*bfc93fb4SNobuhiro Iwamatsu 38*bfc93fb4SNobuhiro Iwamatsusinclude $(obj).depend 39*bfc93fb4SNobuhiro Iwamatsu 40*bfc93fb4SNobuhiro Iwamatsu######################################################################### 41