1518e2e1aSwdenk# 2f9328639SMarian Balakowicz# (C) Copyright 2006 3f9328639SMarian Balakowicz# Wolfgang Denk, DENX Software Engineering, wd@denx.de. 4f9328639SMarian Balakowicz# 5518e2e1aSwdenk# (C) Copyright 2003 6518e2e1aSwdenk# Pavel Bartusek, Sysgo Real-Time Solutions AG, pba@sysgo.de 7518e2e1aSwdenk# 8518e2e1aSwdenk# 9518e2e1aSwdenk# See file CREDITS for list of people who contributed to this 10518e2e1aSwdenk# project. 11518e2e1aSwdenk# 12518e2e1aSwdenk# This program is free software; you can redistribute it and/or 13518e2e1aSwdenk# modify it under the terms of the GNU General Public License as 14518e2e1aSwdenk# published by the Free Software Foundation; either version 2 of 15518e2e1aSwdenk# the License, or (at your option) any later version. 16518e2e1aSwdenk# 17518e2e1aSwdenk# This program is distributed in the hope that it will be useful, 18518e2e1aSwdenk# but WITHOUT ANY WARRANTY; without even the implied warranty of 19518e2e1aSwdenk# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 20518e2e1aSwdenk# GNU General Public License for more details. 21518e2e1aSwdenk# 22518e2e1aSwdenk# You should have received a copy of the GNU General Public License 23518e2e1aSwdenk# along with this program; if not, write to the Free Software 24518e2e1aSwdenk# Foundation, Inc., 59 Temple Place, Suite 330, Boston, 25518e2e1aSwdenk# MA 02111-1307 USA 26518e2e1aSwdenk# 27518e2e1aSwdenk 28518e2e1aSwdenkinclude $(TOPDIR)/config.mk 29518e2e1aSwdenk 30f9328639SMarian BalakowiczLIB = $(obj)libreiserfs.a 31518e2e1aSwdenk 32518e2e1aSwdenkAOBJS = 33518e2e1aSwdenkCOBJS = reiserfs.o dev.o mode_string.o 34f9328639SMarian Balakowicz 35f9328639SMarian BalakowiczSRCS := $(AOBJS:.o=.S) $(COBJS:.o=.c) 36f9328639SMarian BalakowiczOBJS := $(addprefix $(obj),$(AOBJS) $(COBJS)) 37518e2e1aSwdenk 38518e2e1aSwdenk#CPPFLAGS += 39518e2e1aSwdenk 40518e2e1aSwdenkall: $(LIB) $(AOBJS) 41518e2e1aSwdenk 42f9328639SMarian Balakowicz$(LIB): $(obj).depend $(OBJS) 43*2b208f53SWolfgang Denk $(AR) $(ARFLAGS) $@ $(OBJS) 44518e2e1aSwdenk 45518e2e1aSwdenk######################################################################### 46518e2e1aSwdenk 47f9328639SMarian Balakowicz# defines $(obj).depend target 48f9328639SMarian Balakowiczinclude $(SRCTREE)/rules.mk 49518e2e1aSwdenk 50f9328639SMarian Balakowiczsinclude $(obj).depend 51518e2e1aSwdenk 52518e2e1aSwdenk######################################################################### 53