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 = 29*f0037c56SGrant LikelyCOBJS-y += jffs2_1pass.o 30*f0037c56SGrant LikelyCOBJS-y += compr_rtime.o 31*f0037c56SGrant LikelyCOBJS-y += compr_rubin.o 32*f0037c56SGrant LikelyCOBJS-y += compr_zlib.o 33*f0037c56SGrant LikelyCOBJS-y += mini_inflate.o 34*f0037c56SGrant LikelyCOBJS-y += compr_lzo.o 35*f0037c56SGrant LikelyCOBJS-y += compr_lzari.o 36f9328639SMarian Balakowicz 37*f0037c56SGrant LikelyCOBJS := $(COBJS-y) 38f9328639SMarian BalakowiczSRCS := $(AOBJS:.o=.S) $(COBJS:.o=.c) 39f9328639SMarian BalakowiczOBJS := $(addprefix $(obj),$(AOBJS) $(COBJS)) 40012771d8Swdenk 41012771d8Swdenk#CPPFLAGS += 42012771d8Swdenk 43012771d8Swdenkall: $(LIB) $(AOBJS) 44012771d8Swdenk 45f9328639SMarian Balakowicz$(LIB): $(obj).depend $(OBJS) 462b208f53SWolfgang Denk $(AR) $(ARFLAGS) $@ $(OBJS) 47012771d8Swdenk 48012771d8Swdenk 49012771d8Swdenk######################################################################### 50012771d8Swdenk 51f9328639SMarian Balakowicz# defines $(obj).depend target 52f9328639SMarian Balakowiczinclude $(SRCTREE)/rules.mk 53012771d8Swdenk 54f9328639SMarian Balakowiczsinclude $(obj).depend 55012771d8Swdenk 56012771d8Swdenk######################################################################### 57