summaryrefslogtreecommitdiff
path: root/extras/Makemodule.am
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2020-01-12 06:30:28 +0100
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2020-01-13 11:38:27 +0100
commit6d680a93d1a2b1921d3b0b45e94f396d23a96f7b (patch)
treec945b72049f5b972bf16f39ab735ffb8b0f5b5ba /extras/Makemodule.am
parent7e44447c4a4652c2238458c1e4d84162ee584d71 (diff)
Add readline based sqfsbrowse demo
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'extras/Makemodule.am')
-rw-r--r--extras/Makemodule.am8
1 files changed, 8 insertions, 0 deletions
diff --git a/extras/Makemodule.am b/extras/Makemodule.am
index b7882eb..d3b80f2 100644
--- a/extras/Makemodule.am
+++ b/extras/Makemodule.am
@@ -7,4 +7,12 @@ mk42sqfs_LDADD = libsquashfs.la
list_files_SOURCES = extras/list_files.c
list_files_LDADD = libsquashfs.la
+if WITH_READLINE
+sqfsbrowse_SOURCES = extras/browse.c
+sqfsbrowse_CFLAGS = $(AM_CFLAGS) $(READLINE_CFLAGS)
+sqfsbrowse_LDADD = libsquashfs.la $(READLINE_LIBS)
+
+noinst_PROGRAMS += sqfsbrowse
+endif
+
noinst_PROGRAMS += mknastyfs mk42sqfs list_files