mknastyfs_SOURCES = extras/mknastyfs.c
mknastyfs_LDADD = libsquashfs.la

mk42sqfs_SOURCES = extras/mk42sqfs.c
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