2019-04-22 20:19:27 +02:00
|
|
|
pkg2sqfs_SOURCES = sqfs/pkg2sqfs.c
|
2019-04-05 14:19:23 +02:00
|
|
|
pkg2sqfs_SOURCES += sqfs/vfs.c sqfs/pkg2sqfs.h sqfs/block.c
|
2019-04-22 20:19:27 +02:00
|
|
|
pkg2sqfs_SOURCES += sqfs/meta.c
|
2019-04-05 14:19:23 +02:00
|
|
|
pkg2sqfs_CPPFLAGS = $(AM_CPPFLAGS) -I$(top_srcdir)/sqfs
|
|
|
|
pkg2sqfs_CFLAGS = $(AM_CFLAGS)
|
2019-04-22 20:19:27 +02:00
|
|
|
pkg2sqfs_LDADD = libsqfs.a libpkg.a libutil.a libfilelist.a libcomp.a
|
2019-04-05 14:19:23 +02:00
|
|
|
|
|
|
|
if WITH_LZMA
|
|
|
|
pkg2sqfs_LDADD += $(XZ_LIBS)
|
|
|
|
endif
|
|
|
|
|
|
|
|
if WITH_ZLIB
|
|
|
|
pkg2sqfs_LDADD += $(ZLIB_LIBS)
|
|
|
|
endif
|
|
|
|
|
|
|
|
bin_PROGRAMS += pkg2sqfs
|