1012771d8Swdenk# 2f9328639SMarian Balakowicz# (C) Copyright 2000-2006 3012771d8Swdenk# Wolfgang Denk, DENX Software Engineering, wd@denx.de. 4012771d8Swdenk# 5012771d8Swdenk# See file CREDITS for list of people who contributed to this 6012771d8Swdenk# project. 7012771d8Swdenk# 8012771d8Swdenk# This program is free software; you can redistribute it and/or 9012771d8Swdenk# modify it under the terms of the GNU General Public License as 10012771d8Swdenk# published by the Free Software Foundation; either version 2 of 11012771d8Swdenk# the License, or (at your option) any later version. 12012771d8Swdenk# 13012771d8Swdenk# This program is distributed in the hope that it will be useful, 14012771d8Swdenk# but WITHOUT ANY WARRANTY; without even the implied warranty of 15012771d8Swdenk# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16012771d8Swdenk# GNU General Public License for more details. 17012771d8Swdenk# 18012771d8Swdenk# You should have received a copy of the GNU General Public License 19012771d8Swdenk# along with this program; if not, write to the Free Software 20012771d8Swdenk# Foundation, Inc., 59 Temple Place, Suite 330, Boston, 21012771d8Swdenk# MA 02111-1307 USA 22012771d8Swdenk# 23012771d8Swdenk 24012771d8Swdenkinclude $(TOPDIR)/config.mk 25012771d8Swdenk 26f9328639SMarian BalakowiczLIB = $(obj)libjffs2.a 27012771d8Swdenk 28012771d8SwdenkAOBJS = 29012771d8SwdenkCOBJS = jffs2_1pass.o compr_rtime.o compr_rubin.o compr_zlib.o mini_inflate.o 3007cc0999SwdenkCOBJS += compr_lzo.o compr_lzari.o 31f9328639SMarian Balakowicz 32f9328639SMarian BalakowiczSRCS := $(AOBJS:.o=.S) $(COBJS:.o=.c) 33f9328639SMarian BalakowiczOBJS := $(addprefix $(obj),$(AOBJS) $(COBJS)) 34012771d8Swdenk 35012771d8Swdenk#CPPFLAGS += 36012771d8Swdenk 37012771d8Swdenkall: $(LIB) $(AOBJS) 38012771d8Swdenk 39f9328639SMarian Balakowicz$(LIB): $(obj).depend $(OBJS) 40*2b208f53SWolfgang Denk $(AR) $(ARFLAGS) $@ $(OBJS) 41012771d8Swdenk 42012771d8Swdenk 43012771d8Swdenk######################################################################### 44012771d8Swdenk 45f9328639SMarian Balakowicz# defines $(obj).depend target 46f9328639SMarian Balakowiczinclude $(SRCTREE)/rules.mk 47012771d8Swdenk 48f9328639SMarian Balakowiczsinclude $(obj).depend 49012771d8Swdenk 50012771d8Swdenk######################################################################### 51