1# Copyright 2018, UCAR/Unidata 2# See netcdf/COPYRIGHT file for copying and redistribution conditions. 3 4BZIP2HDRS=bzlib.h bzlib_private.h 5BZIP2SRC= blocksort.c huffman.c crctable.c randtable.c compress.c decompress.c bzlib.c 6 7PLUGINSRC=H5Zbzip2.c 8PLUGINHDRS=h5bzip2.h 9 10EXTRA_DIST=${PLUGINSRC} ${BZIP2SRC} ${PLUGINHDRS} ${BZIP2HDRS} \ 11 H5Ztemplate.c H5Zmisc.c CMakeLists.txt 12 13# WARNING: This list must be kept consistent with the corresponding 14# AC_CONFIG_LINK commands near the end of configure.ac. 15HDF5PLUGINSRC=${PLUGINSRC} ${BZIP2SRC} ${PLUGINHDRS} ${BZIP2HDRS} 16 17if ENABLE_FILTER_TESTING 18 19lib_LTLIBRARIES = libbzip2.la libmisc.la 20 21libbzip2_la_SOURCES = ${HDF5PLUGINSRC} 22libbzip2_la_LDFLAGS = -module -avoid-version -shared -export-dynamic -no-undefined 23 24libmisc_la_SOURCES = H5Zmisc.c h5misc.h 25libmisc_la_LDFLAGS = -module -avoid-version -shared -export-dynamic -no-undefined -rpath ${abs_builddir} 26 27endif #ENABLE_FILTER_TESTING 28