diff options
Diffstat (limited to 'lib/fstream/Makemodule.am')
-rw-r--r-- | lib/fstream/Makemodule.am | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/lib/fstream/Makemodule.am b/lib/fstream/Makemodule.am index 27e4701..9178647 100644 --- a/lib/fstream/Makemodule.am +++ b/lib/fstream/Makemodule.am @@ -2,6 +2,8 @@ libfstream_a_SOURCES = include/fstream.h libfstream_a_SOURCES += lib/fstream/internal.h libfstream_a_SOURCES += lib/fstream/ostream.c lib/fstream/printf.c libfstream_a_SOURCES += lib/fstream/istream.c +libfstream_a_SOURCES += lib/fstream/compressor.c +libfstream_a_SOURCES += lib/fstream/compress/ostream_compressor.c libfstream_a_CFLAGS = $(AM_CFLAGS) $(ZLIB_CFLAGS) $(XZ_CFLAGS) libfstream_a_CPPFLAGS = $(AM_CPPFLAGS) @@ -14,4 +16,14 @@ libfstream_a_SOURCES += lib/fstream/unix/ostream.c libfstream_a_SOURCES += lib/fstream/unix/istream.c endif +if WITH_XZ +libfstream_a_SOURCES += lib/fstream/compress/xz.c +libfstream_a_CPPFLAGS += -DWITH_XZ +endif + +if WITH_GZIP +libfstream_a_SOURCES += lib/fstream/compress/gzip.c +libfstream_a_CPPFLAGS += -DWITH_GZIP +endif + noinst_LIBRARIES += libfstream.a |