# Copyright 2018, UCAR/Unidata # See netcdf/COPYRIGHT file for copying and redistribution conditions. # Put Together AM_CPPFLAGS and AM_LDFLAGS AM_LDFLAGS = ${top_builddir}/cxx4/libnetcdf_c++4.la AM_CPPFLAGS = -I${top_srcdir}/cxx4 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 # 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} noinst_LTLIBRARIES = libmisc.la lib_LTLIBRARIES = libh5bzip2.la libh5bzip2_la_SOURCES = ${HDF5PLUGINSRC} libh5bzip2_la_LDFLAGS = -module -avoid-version -shared -export-dynamic -no-undefined libh5bzip2_la_LIBADD = -lhdf5 libmisc_la_SOURCES = H5Zmisc.c H5Zutil.c h5misc.h libmisc_la_LDFLAGS = -module -avoid-version -shared -export-dynamic -no-undefined -rpath ${abs_builddir} libmisc_la_LIBADD = -lhdf5 EXTRA_DIST=${PLUGINSRC} ${BZIP2SRC} ${PLUGINHDRS} ${BZIP2HDRS} \ H5Ztemplate.c H5Zmisc.c H5Zutil.c CMakeLists.txt