diff options
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2022-05-11 05:03:34 +0000 |
---|---|---|
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2022-05-11 05:03:34 +0000 |
commit | 6912926289e65c53a48e62f806bc7181ce539110 (patch) | |
tree | f45494b4fa9aec94d0e57c9fb54292d41bd435e5 /lib/Makefile.am | |
parent | d86ab3bdb084f4516faa0aad3e469ef435af6ef8 (diff) | |
parent | a1c0e6162f259e6cbb27432707ae9c4ca569cbda (diff) | |
download | erofs-utils-6912926289e65c53a48e62f806bc7181ce539110.tar.gz |
Snap for 8570526 from a1c0e6162f259e6cbb27432707ae9c4ca569cbda to mainline-mediaprovider-releaseaml_mpr_331918000aml_mpr_331812020aml_mpr_331711020aml_mpr_331613010aml_mpr_331512020aml_mpr_331412040aml_mpr_331311080aml_mpr_331112050aml_mpr_331112030aml_mpr_331011070aml_mpr_330911040aml_mpr_330811020android13-mainline-mediaprovider-release
Change-Id: Ica67785a5b12a169436af02fce224485d0bf7676
Diffstat (limited to 'lib/Makefile.am')
-rw-r--r-- | lib/Makefile.am | 33 |
1 files changed, 30 insertions, 3 deletions
diff --git a/lib/Makefile.am b/lib/Makefile.am index f21dc35..25a4a2b 100644 --- a/lib/Makefile.am +++ b/lib/Makefile.am @@ -1,9 +1,33 @@ # SPDX-License-Identifier: GPL-2.0+ -# Makefile.am noinst_LTLIBRARIES = liberofs.la +noinst_HEADERS = $(top_srcdir)/include/erofs_fs.h \ + $(top_srcdir)/include/erofs/blobchunk.h \ + $(top_srcdir)/include/erofs/block_list.h \ + $(top_srcdir)/include/erofs/cache.h \ + $(top_srcdir)/include/erofs/compress.h \ + $(top_srcdir)/include/erofs/config.h \ + $(top_srcdir)/include/erofs/decompress.h \ + $(top_srcdir)/include/erofs/defs.h \ + $(top_srcdir)/include/erofs/err.h \ + $(top_srcdir)/include/erofs/exclude.h \ + $(top_srcdir)/include/erofs/flex-array.h \ + $(top_srcdir)/include/erofs/hashmap.h \ + $(top_srcdir)/include/erofs/hashtable.h \ + $(top_srcdir)/include/erofs/inode.h \ + $(top_srcdir)/include/erofs/internal.h \ + $(top_srcdir)/include/erofs/io.h \ + $(top_srcdir)/include/erofs/list.h \ + $(top_srcdir)/include/erofs/print.h \ + $(top_srcdir)/include/erofs/trace.h \ + $(top_srcdir)/include/erofs/xattr.h \ + $(top_srcdir)/include/erofs/compress_hints.h \ + $(top_srcdir)/lib/liberofs_private.h + +noinst_HEADERS += compressor.h liberofs_la_SOURCES = config.c io.c cache.c super.c inode.c xattr.c exclude.c \ - namei.c data.c compress.c compressor.c zmap.c decompress.c + namei.c data.c compress.c compressor.c zmap.c decompress.c \ + compress_hints.c hashmap.c sha256.c blobchunk.c dir.c liberofs_la_CFLAGS = -Wall -Werror -I$(top_srcdir)/include if ENABLE_LZ4 liberofs_la_CFLAGS += ${LZ4_CFLAGS} @@ -12,4 +36,7 @@ if ENABLE_LZ4HC liberofs_la_SOURCES += compressor_lz4hc.c endif endif - +if ENABLE_LIBLZMA +liberofs_la_CFLAGS += ${liblzma_CFLAGS} +liberofs_la_SOURCES += compressor_liblzma.c +endif |