1a1596438SUma Shankar# 2a1596438SUma Shankar# (C) Copyright 2006 3a1596438SUma Shankar# Wolfgang Denk, DENX Software Engineering, wd@denx.de. 4a1596438SUma Shankar# 5a1596438SUma Shankar# (C) Copyright 2003 6a1596438SUma Shankar# Pavel Bartusek, Sysgo Real-Time Solutions AG, pba@sysgo.de 7a1596438SUma Shankar# 8a1596438SUma Shankar# 9a1596438SUma Shankar# See file CREDITS for list of people who contributed to this 10a1596438SUma Shankar# project. 11a1596438SUma Shankar# 12a1596438SUma Shankar# This program is free software; you can redistribute it and/or 13a1596438SUma Shankar# modify it under the terms of the GNU General Public License as 14a1596438SUma Shankar# published by the Free Software Foundation; either version 2 of 15a1596438SUma Shankar# the License, or (at your option) any later version. 16a1596438SUma Shankar# 17a1596438SUma Shankar# This program is distributed in the hope that it will be useful, 18a1596438SUma Shankar# but WITHOUT ANY WARRANTY; without even the implied warranty of 19a1596438SUma Shankar# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 20a1596438SUma Shankar# GNU General Public License for more details. 21a1596438SUma Shankar# 22a1596438SUma Shankar# You should have received a copy of the GNU General Public License 23a1596438SUma Shankar# along with this program; if not, write to the Free Software 24a1596438SUma Shankar# Foundation, Inc., 59 Temple Place, Suite 330, Boston, 25a1596438SUma Shankar# MA 02111-1307 USA 26a1596438SUma Shankar# 27a1596438SUma Shankar 28a1596438SUma Shankarinclude $(TOPDIR)/config.mk 29a1596438SUma Shankar 30a1596438SUma ShankarLIB = $(obj)libext4fs.o 31a1596438SUma Shankar 32a1596438SUma ShankarAOBJS = 3303e2ecf6SStephen WarrenCOBJS-$(CONFIG_FS_EXT4) := ext4fs.o ext4_common.o dev.o 34*293d7fbdSSimon GlassCOBJS-$(CONFIG_EXT4_WRITE) += ext4_write.o ext4_journal.o crc16.o 35a1596438SUma Shankar 36a1596438SUma ShankarSRCS := $(AOBJS:.o=.S) $(COBJS-y:.o=.c) 37a1596438SUma ShankarOBJS := $(addprefix $(obj),$(AOBJS) $(COBJS-y)) 38a1596438SUma Shankar 39a1596438SUma Shankar 40a1596438SUma Shankarall: $(LIB) $(AOBJS) 41a1596438SUma Shankar 42a1596438SUma Shankar$(LIB): $(obj).depend $(OBJS) 43a1596438SUma Shankar $(call cmd_link_o_target, $(OBJS)) 44a1596438SUma Shankar 45a1596438SUma Shankar######################################################################### 46a1596438SUma Shankar 47a1596438SUma Shankar# defines $(obj).depend target 48a1596438SUma Shankarinclude $(SRCTREE)/rules.mk 49a1596438SUma Shankar 50a1596438SUma Shankarsinclude $(obj).depend 51a1596438SUma Shankar 52a1596438SUma Shankar######################################################################### 53