libutil_a_SOURCES = lib/util/input_file.c lib/util/mkdir_p.c libutil_a_SOURCES += lib/util/write_retry.c lib/util/read_retry.c libutil_a_SOURCES += lib/util/canonicalize_name.c libutil_a_SOURCES += include/util/util.h include/util/input_file.h libutil_a_SOURCES += include/util/hashtable.h lib/util/hashtable.c libutil_a_SOURCES += lib/util/fileproc.c libfilelist_a_SOURCES = lib/filelist/dump_toc.c lib/filelist/image_entry.c libfilelist_a_SOURCES += lib/filelist/image_entry_sort.c libfilelist_a_SOURCES += include/filelist/image_entry.h libcomp_a_SOURCES = lib/comp/compressor.c lib/comp/none.c libcomp_a_SOURCES += include/comp/compressor.h lib/comp/internal.h libcomp_a_CFLAGS = $(AM_CFLAGS) libcomp_a_CPPFLAGS = $(AM_CPPFLAGS) if WITH_ZLIB libcomp_a_SOURCES += lib/comp/zlib.c libcomp_a_CFLAGS += $(ZLIB_CFLAGS) libcomp_a_CPPFLAGS += -DWITH_ZLIB endif if WITH_LZMA libcomp_a_SOURCES += lib/comp/lzma.c libcomp_a_CFLAGS += $(XZ_CFLAGS) libcomp_a_CPPFLAGS += -DWITH_LZMA endif libpkg_a_SOURCES = include/pkg/pkgformat.h include/pkg/pkgreader.h libpkg_a_SOURCES += include/pkg/pkgio.h include/pkg/pkgwriter.h libpkg_a_SOURCES += include/pkg/pkglist.h libpkg_a_SOURCES += lib/pkg/pkgreader.c lib/pkg/pkgwriter.c libpkg_a_SOURCES += lib/pkg/pkg_unpack.c lib/pkg/pkgio_rd_image_entry.c libpkg_a_SOURCES += lib/pkg/collect.c lib/pkg/pkglist.c lib/pkg/tsort.c noinst_LIBRARIES += libutil.a libfilelist.a libcomp.a libpkg.a