blob: 516519a1f8f6e04d03e958b9a3aa12191323931b [file] [log] [blame]
Stefan Roese371abe82009-03-19 15:34:56 +01001#
2# (C) Copyright 2008
3# Stefan Roese, DENX Software Engineering, sr@denx.de.
4#
Wolfgang Denkd79de1d2013-07-08 09:37:19 +02005# SPDX-License-Identifier: GPL-2.0+
Stefan Roese371abe82009-03-19 15:34:56 +01006#
7
8include $(TOPDIR)/config.mk
9
Sebastien Carliera8d426f2010-11-05 15:48:07 +010010LIB = $(obj)liblzo.o
Stefan Roese371abe82009-03-19 15:34:56 +010011
12SOBJS =
13
14COBJS-$(CONFIG_LZO) += lzo1x_decompress.o
15
16COBJS = $(COBJS-y)
17SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c)
18OBJS := $(addprefix $(obj),$(SOBJS) $(COBJS))
19
20$(LIB): $(obj).depend $(OBJS)
Sebastien Carliera8d426f2010-11-05 15:48:07 +010021 $(call cmd_link_o_target, $(OBJS))
Stefan Roese371abe82009-03-19 15:34:56 +010022
23#########################################################################
24
25# defines $(obj).depend target
26include $(SRCTREE)/rules.mk
27
28sinclude $(obj).depend
29
30#########################################################################