aboutsummaryrefslogtreecommitdiff
path: root/src/make.code.defn
blob: 4b66372b257dec3367abbee864278ddfea085ac6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
# Main make.code.defn file for thorn IOHDF5Util
# $Header$

# Source files in this directory
SRCS = Startup.c DumpUtils.c DumpVar.c RecoverVar.c ParseVars.c

# Extend CFLAGS if HDF5 library was built with LFS support
LFS_support := $(shell grep _LARGEFILE_SOURCE $(strip $(HDF5_LIB_DIRS))/libhdf5.settings)

ifneq ($(strip $(LFS_support)),)
  CFLAGS += -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
endif