blob: d81d71d3927a43e6785fb8d27ea05dbdc7b33c00 [file] [log] [blame]
wdenk4d01d9e2004-03-25 14:59:05 +00001#
Marian Balakowiczd62379d2006-09-01 19:49:50 +02002# (C) Copyright 2006
3# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
4#
wdenk4d01d9e2004-03-25 14:59:05 +00005# (C) Copyright 2003
6# Pavel Bartusek, Sysgo Real-Time Solutions AG, pba@sysgo.de
7#
8#
Wolfgang Denkd79de1d2013-07-08 09:37:19 +02009# SPDX-License-Identifier: GPL-2.0+
wdenk4d01d9e2004-03-25 14:59:05 +000010#
11
12include $(TOPDIR)/config.mk
13
Sebastien Carliera8d426f2010-11-05 15:48:07 +010014LIB = $(obj)libreiserfs.o
wdenk4d01d9e2004-03-25 14:59:05 +000015
16AOBJS =
Jean-Christophe PLAGNIOL-VILLARD39b9fc92008-08-31 04:24:56 +020017COBJS-$(CONFIG_CMD_REISER) := reiserfs.o dev.o mode_string.o
Marian Balakowiczd62379d2006-09-01 19:49:50 +020018
Jean-Christophe PLAGNIOL-VILLARD39b9fc92008-08-31 04:24:56 +020019SRCS := $(AOBJS:.o=.S) $(COBJS-y:.o=.c)
20OBJS := $(addprefix $(obj),$(AOBJS) $(COBJS-y))
wdenk4d01d9e2004-03-25 14:59:05 +000021
22#CPPFLAGS +=
23
24all: $(LIB) $(AOBJS)
25
Marian Balakowiczd62379d2006-09-01 19:49:50 +020026$(LIB): $(obj).depend $(OBJS)
Sebastien Carliera8d426f2010-11-05 15:48:07 +010027 $(call cmd_link_o_target, $(OBJS))
wdenk4d01d9e2004-03-25 14:59:05 +000028
wdenk4d01d9e2004-03-25 14:59:05 +000029#########################################################################
30
Marian Balakowiczd62379d2006-09-01 19:49:50 +020031# defines $(obj).depend target
32include $(SRCTREE)/rules.mk
wdenk4d01d9e2004-03-25 14:59:05 +000033
Marian Balakowiczd62379d2006-09-01 19:49:50 +020034sinclude $(obj).depend
wdenk4d01d9e2004-03-25 14:59:05 +000035
36#########################################################################