3 # Wolfgang Denk, DENX Software Engineering, wd@denx.de.
6 # Pavel Bartusek, Sysgo Real-Time Solutions AG, pba@sysgo.de
9 # SPDX-License-Identifier: GPL-2.0+
12 include $(TOPDIR)/config.mk
14 LIB = $(obj)libreiserfs.o
17 COBJS-$(CONFIG_CMD_REISER) := reiserfs.o dev.o mode_string.o
19 SRCS := $(AOBJS:.o=.S) $(COBJS-y:.o=.c)
20 OBJS := $(addprefix $(obj),$(AOBJS) $(COBJS-y))
26 $(LIB): $(obj).depend $(OBJS)
27 $(call cmd_link_o_target, $(OBJS))
29 #########################################################################
31 # defines $(obj).depend target
32 include $(SRCTREE)/rules.mk
34 sinclude $(obj).depend
36 #########################################################################