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