summaryrefslogtreecommitdiff
path: root/unpack/Makemodule.am
diff options
context:
space:
mode:
Diffstat (limited to 'unpack/Makemodule.am')
-rw-r--r--unpack/Makemodule.am12
1 files changed, 12 insertions, 0 deletions
diff --git a/unpack/Makemodule.am b/unpack/Makemodule.am
new file mode 100644
index 0000000..190803e
--- /dev/null
+++ b/unpack/Makemodule.am
@@ -0,0 +1,12 @@
+unsquashfs_SOURCES = unpack/unsquashfs.c
+unsquashfs_LDADD = libsquashfs.a libfstree.a libcompress.a libutil.a
+
+if WITH_LZMA
+unsquashfs_LDADD += $(XZ_LIBS)
+endif
+
+if WITH_ZLIB
+unsquashfs_LDADD += $(ZLIB_LIBS)
+endif
+
+bin_PROGRAMS += unsquashfs