2018-01-17 02:00:09 +08:00
|
|
|
# Copyright 2018, UCAR/Unidata
|
|
|
|
# See netcdf/COPYRIGHT file for copying and redistribution conditions.
|
|
|
|
|
2019-02-26 06:56:32 +08:00
|
|
|
# Put Together AM_CPPFLAGS and AM_LDFLAGS
|
|
|
|
include $(top_srcdir)/lib_flags.am
|
|
|
|
|
2018-01-17 02:00:09 +08:00
|
|
|
BZIP2HDRS=bzlib.h bzlib_private.h
|
|
|
|
BZIP2SRC= blocksort.c huffman.c crctable.c randtable.c compress.c decompress.c bzlib.c
|
|
|
|
|
|
|
|
PLUGINSRC=H5Zbzip2.c
|
|
|
|
PLUGINHDRS=h5bzip2.h
|
|
|
|
|
|
|
|
EXTRA_DIST=${PLUGINSRC} ${BZIP2SRC} ${PLUGINHDRS} ${BZIP2HDRS} \
|
2019-02-01 12:13:06 +08:00
|
|
|
H5Ztemplate.c H5Zmisc.c H5Zutil.c CMakeLists.txt
|
2018-01-17 02:00:09 +08:00
|
|
|
|
2018-03-17 01:46:18 +08:00
|
|
|
# WARNING: This list must be kept consistent with the corresponding
|
|
|
|
# AC_CONFIG_LINK commands near the end of configure.ac.
|
|
|
|
HDF5PLUGINSRC=${PLUGINSRC} ${BZIP2SRC} ${PLUGINHDRS} ${BZIP2HDRS}
|
2018-01-17 02:00:09 +08:00
|
|
|
|
2018-03-17 01:46:18 +08:00
|
|
|
if ENABLE_FILTER_TESTING
|
2018-01-17 02:00:09 +08:00
|
|
|
|
2019-02-28 06:22:46 +08:00
|
|
|
noinst_LTLIBRARIES = libmisc.la
|
|
|
|
lib_LTLIBRARIES = libh5bzip2.la
|
2018-01-17 02:00:09 +08:00
|
|
|
|
2019-02-28 06:22:46 +08:00
|
|
|
libh5bzip2_la_SOURCES = ${HDF5PLUGINSRC}
|
|
|
|
libh5bzip2_la_LDFLAGS = -module -avoid-version -shared -export-dynamic -no-undefined
|
2018-01-17 02:00:09 +08:00
|
|
|
|
2019-02-01 12:13:06 +08:00
|
|
|
libmisc_la_SOURCES = H5Zmisc.c H5Zutil.c h5misc.h
|
2018-03-03 07:55:58 +08:00
|
|
|
libmisc_la_LDFLAGS = -module -avoid-version -shared -export-dynamic -no-undefined -rpath ${abs_builddir}
|
2018-01-17 02:00:09 +08:00
|
|
|
|
|
|
|
endif #ENABLE_FILTER_TESTING
|