1*9eefe2a2SStefan Roese# 2*9eefe2a2SStefan Roese# (C) Copyright 2006 3*9eefe2a2SStefan Roese# Wolfgang Denk, DENX Software Engineering, wd@denx.de. 4*9eefe2a2SStefan Roese# 5*9eefe2a2SStefan Roese# (C) Copyright 2003 6*9eefe2a2SStefan Roese# Pavel Bartusek, Sysgo Real-Time Solutions AG, pba@sysgo.de 7*9eefe2a2SStefan Roese# 8*9eefe2a2SStefan Roese# 9*9eefe2a2SStefan Roese# See file CREDITS for list of people who contributed to this 10*9eefe2a2SStefan Roese# project. 11*9eefe2a2SStefan Roese# 12*9eefe2a2SStefan Roese# This program is free software; you can redistribute it and/or 13*9eefe2a2SStefan Roese# modify it under the terms of the GNU General Public License as 14*9eefe2a2SStefan Roese# published by the Free Software Foundation; either version 2 of 15*9eefe2a2SStefan Roese# the License, or (at your option) any later version. 16*9eefe2a2SStefan Roese# 17*9eefe2a2SStefan Roese# This program is distributed in the hope that it will be useful, 18*9eefe2a2SStefan Roese# but WITHOUT ANY WARRANTY; without even the implied warranty of 19*9eefe2a2SStefan Roese# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 20*9eefe2a2SStefan Roese# GNU General Public License for more details. 21*9eefe2a2SStefan Roese# 22*9eefe2a2SStefan Roese# You should have received a copy of the GNU General Public License 23*9eefe2a2SStefan Roese# along with this program; if not, write to the Free Software 24*9eefe2a2SStefan Roese# Foundation, Inc., 59 Temple Place, Suite 330, Boston, 25*9eefe2a2SStefan Roese# MA 02111-1307 USA 26*9eefe2a2SStefan Roese# 27*9eefe2a2SStefan Roese 28*9eefe2a2SStefan Roeseinclude $(TOPDIR)/config.mk 29*9eefe2a2SStefan Roese 30*9eefe2a2SStefan RoeseLIB = $(obj)libubifs.a 31*9eefe2a2SStefan Roese 32*9eefe2a2SStefan RoeseCOBJS-$(CONFIG_CMD_UBIFS) := ubifs.o io.o super.o sb.o master.o lpt.o 33*9eefe2a2SStefan RoeseCOBJS-$(CONFIG_CMD_UBIFS) += lpt_commit.o scan.o lprops.o 34*9eefe2a2SStefan RoeseCOBJS-$(CONFIG_CMD_UBIFS) += tnc.o tnc_misc.o debug.o crc16.o budget.o 35*9eefe2a2SStefan RoeseCOBJS-$(CONFIG_CMD_UBIFS) += log.o orphan.o recovery.o replay.o 36*9eefe2a2SStefan Roese 37*9eefe2a2SStefan RoeseSRCS := $(AOBJS:.o=.S) $(COBJS-y:.o=.c) 38*9eefe2a2SStefan RoeseOBJS := $(addprefix $(obj),$(AOBJS) $(COBJS-y)) 39*9eefe2a2SStefan Roese 40*9eefe2a2SStefan Roeseall: $(LIB) $(AOBJS) 41*9eefe2a2SStefan Roese 42*9eefe2a2SStefan Roese$(LIB): $(obj).depend $(OBJS) 43*9eefe2a2SStefan Roese $(AR) $(ARFLAGS) $@ $(OBJS) 44*9eefe2a2SStefan Roese 45*9eefe2a2SStefan Roese######################################################################### 46*9eefe2a2SStefan Roese 47*9eefe2a2SStefan Roese# defines $(obj).depend target 48*9eefe2a2SStefan Roeseinclude $(SRCTREE)/rules.mk 49*9eefe2a2SStefan Roese 50*9eefe2a2SStefan Roesesinclude $(obj).depend 51*9eefe2a2SStefan Roese 52*9eefe2a2SStefan Roese######################################################################### 53