summaryrefslogtreecommitdiff
path: root/unpack/Makemodule.am
blob: 6829681d7142d2e83f1fe487ef087e3b62cee6ce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
rdsquashfs_SOURCES = unpack/rdsquashfs.c unpack/tree_node_from_inode.c
rdsquashfs_SOURCES += unpack/rdsquashfs.h unpack/read_fstree.c
rdsquashfs_SOURCES += unpack/list_files.c unpack/extract_file.c
rdsquashfs_SOURCES += unpack/restore_fstree.c unpack/describe.c
rdsquashfs_LDADD = libsquashfs.a libfstree.a libcompress.a libutil.a

if WITH_XZ
rdsquashfs_LDADD += $(XZ_LIBS)
endif

if WITH_GZIP
rdsquashfs_LDADD += $(ZLIB_LIBS)
endif

if WITH_LZO
rdsquashfs_LDADD += $(LZO_LIBS)
endif

if WITH_LZ4
rdsquashfs_LDADD += $(LZ4_LIBS)
endif

if WITH_LZ4
rdsquashfs_LDADD += $(ZSTD_LIBS)
endif

bin_PROGRAMS += rdsquashfs