mirror of
https://github.com/Unidata/netcdf-c.git
synced 2024-12-27 08:49:16 +08:00
a25236eac4
Support installation of the bzip2 plugin under name libh5bzip2.so
32 lines
1.0 KiB
Makefile
32 lines
1.0 KiB
Makefile
# Copyright 2018, UCAR/Unidata
|
|
# See netcdf/COPYRIGHT file for copying and redistribution conditions.
|
|
|
|
# Put Together AM_CPPFLAGS and AM_LDFLAGS
|
|
include $(top_srcdir)/lib_flags.am
|
|
|
|
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} \
|
|
H5Ztemplate.c H5Zmisc.c H5Zutil.c CMakeLists.txt
|
|
|
|
# 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}
|
|
|
|
if ENABLE_FILTER_TESTING
|
|
|
|
noinst_LTLIBRARIES = libmisc.la
|
|
lib_LTLIBRARIES = libh5bzip2.la
|
|
|
|
libh5bzip2_la_SOURCES = ${HDF5PLUGINSRC}
|
|
libh5bzip2_la_LDFLAGS = -module -avoid-version -shared -export-dynamic -no-undefined
|
|
|
|
libmisc_la_SOURCES = H5Zmisc.c H5Zutil.c h5misc.h
|
|
libmisc_la_LDFLAGS = -module -avoid-version -shared -export-dynamic -no-undefined -rpath ${abs_builddir}
|
|
|
|
endif #ENABLE_FILTER_TESTING
|