added missing files

This commit is contained in:
Ed Hartnett 2018-05-08 12:20:55 -06:00
parent c402b79ed8
commit a68f57a0e5
2 changed files with 45 additions and 0 deletions

18
libhdf5/CMakeLists.txt Normal file
View File

@ -0,0 +1,18 @@
## This is a CMake file, part of Unidata's netCDF package.
# Copyright 2018, see the COPYRIGHT file for more information.
#
# This builds the HDF5 dispatch layer.
#
# Ed Hartnett
# The source files for the HDF5 dispatch layer.
SET(libnchdf5_SOURCES nc4hdf.c nc4info.c hdf5file.c)
# SET(libnchdf5_SOURCES hdf5file.c nc4hdf.c hdf5attr.c hdf5dispatch.c
# hdf5var.c hdf5type.c hdf5internal.c hdf5dim.c hdf5grp.c nc4info.c)
# Build the HDF4 dispatch layer as a library that will be included in
# the netCDF library.
add_library(netcdfhdf5 OBJECT ${libnchdf5_SOURCES})
# Remember to package this file for CMake builds.
ADD_EXTRA_DIST(${libnchdf5_SOURCES} CMakeLists.txt)

27
libhdf5/Makefile.am Normal file
View File

@ -0,0 +1,27 @@
# This is part of Unidata's netCDF package. Copyright 2018, see the
# COPYRIGHT file for more information.
# Build the HDF5 dispatch layer.
# Ed Hartnett
# Get AM_CPPFLAGS.
include $(top_srcdir)/lib_flags.am
libnetcdf4_la_CPPFLAGS = ${AM_CPPFLAGS}
# This is our output. The HDF5 convenience library.
noinst_LTLIBRARIES = libnchdf5.la
# The source files.
libnchdf5_la_SOURCES = nc4hdf.c nc4info.c hdf5file.c
# libnchdf5_la_SOURCES = nc4hdf.c nc4info.c hdf5file.c hdf5attr.c \
# hdf5dispatch.c hdf5var.c hdf5type.c hdf5internal.c hdf5dim.c \
# hdf5grp.c
# Package this for cmake build.
EXTRA_DIST = CMakeLists.txt