blob: ad99a41573eb11023616868f33d32e169b96ab96 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
|
# Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
# Copyright (C) 2009 - DIGITEO - Allan CORNET
#
# This file must be used under the terms of the CeCILL.
# This source file is licensed as described in the file COPYING, which
# you should have received as part of this distribution. The terms
# are also available at
# http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
if GUI
if XCOS
# No GUI. Disable the Java build
USEANT=1
endif
endif
HDF5_SOURCES = src/c/h5_fileManagement.c \
src/c/h5_writeDataToFile.c \
src/c/h5_readDataFromFile.c \
src/c/h5_readDataFromFile_v1.c \
src/cpp/import_from_hdf5_v1.cpp \
src/cpp/listvar_in_hdf5_v1.cpp
HDF5_CXX_SOURCES = src/cpp/H5Attribute.cpp \
src/cpp/H5AttributesList.cpp \
src/cpp/H5DataConverter.cpp \
src/cpp/H5Dataset.cpp \
src/cpp/H5Dataspace.cpp \
src/cpp/H5File.cpp \
src/cpp/H5Group.cpp \
src/cpp/H5Object.cpp \
src/cpp/H5Type.cpp \
src/cpp/H5DataFactory.cpp \
src/cpp/H5VariableScope.cpp \
src/cpp/H5SoftLink.cpp \
src/cpp/H5ExternalLink.cpp \
src/cpp/H5HardLink.cpp \
src/cpp/H5Link.cpp \
src/cpp/HDF5Scilab.cpp \
src/cpp/H5StringData.cpp \
src/cpp/H5ReferenceData.cpp \
src/cpp/H5CompoundData.cpp \
src/cpp/H5ArrayData.cpp \
src/cpp/H5VlenData.cpp \
src/cpp/H5Options.cpp
GATEWAY_C_SOURCES = sci_gateway/c/gw_hdf5.c
GATEWAY_CXX_SOURCES = sci_gateway/cpp/sci_export_to_hdf5.cpp \
sci_gateway/cpp/sci_import_from_hdf5.cpp \
sci_gateway/cpp/sci_is_hdf5_file.cpp \
sci_gateway/cpp/sci_listvar_in_hdf5.cpp \
sci_gateway/cpp/sci_h5dump.cpp \
sci_gateway/cpp/sci_h5open.cpp \
sci_gateway/cpp/sci_h5close.cpp \
sci_gateway/cpp/sci_h5read.cpp \
sci_gateway/cpp/sci_h5ls.cpp \
sci_gateway/cpp/sci_percent_H5Object_p.cpp \
sci_gateway/cpp/sci_percent_H5Object_e.cpp \
sci_gateway/cpp/sci_h5group.cpp \
sci_gateway/cpp/sci_h5rm.cpp \
sci_gateway/cpp/sci_h5dataset.cpp \
sci_gateway/cpp/sci_h5write.cpp \
sci_gateway/cpp/sci_h5attr.cpp \
sci_gateway/cpp/sci_h5ln.cpp \
sci_gateway/cpp/sci_h5readattr.cpp \
sci_gateway/cpp/sci_h5flush.cpp \
sci_gateway/cpp/sci_h5cp.cpp \
sci_gateway/cpp/sci_h5isfoo.cpp \
sci_gateway/cpp/sci_h5mount.cpp \
sci_gateway/cpp/sci_h5umount.cpp \
sci_gateway/cpp/sci_h5mv.cpp \
sci_gateway/cpp/sci_h5get.cpp \
sci_gateway/cpp/sci_h5label.cpp \
sci_gateway/cpp/sci_h5exists.cpp \
sci_gateway/cpp/sci_percent_H5Object_fieldnames.cpp
if GIWS
BUILT_SOURCES=giws
endif
#### hdf5 : include files ####
FORCE_HDF_1.8_API = -DH5Dopen_vers=2 -DH5Topen_vers=2 -DH5Dcreate_vers=2 -DH5Aiterate_vers=2 \
-DH5Gcreate_vers=2 -DH5Gopen_vers=2 -DH5Tget_array_dims_vers=2 \
-DH5Acreate_vers=2 -DNO_DEPRECATED_SYMBOLS
libscihdf5_la_CPPFLAGS = -I$(srcdir)/includes/ \
-I$(srcdir)/src/c/ \
-I$(srcdir)/src/cpp/ \
-I$(top_srcdir)/modules/output_stream/includes/ \
-I$(top_srcdir)/modules/api_scilab/includes/ \
-I$(top_srcdir)/modules/jvm/includes/ \
-I$(top_srcdir)/modules/commons/src/jni/ \
-I$(top_srcdir)/modules/localization/includes/ \
-I$(top_srcdir)/modules/fileio/includes/ \
$(JAVA_JNI_INCLUDE) \
$(HDF5_CFLAGS) \
$(AM_CPPFLAGS) \
$(FORCE_HDF_1.8_API)
#### hdf5 : gateway declaration ####
libscihdf5_la_sci_gatewaydir = $(mydatadir)/sci_gateway
libscihdf5_la_sci_gateway_DATA = sci_gateway/hdf5_gateway.xml
pkglib_LTLIBRARIES = libscihdf5.la
noinst_LTLIBRARIES =
noinst_LTLIBRARIES += libscihdf5-algo.la
# When Scilab is built with HDF5, we need some libraries for a workaround
libscihdf5_la_LDFLAGS = $(AM_LDFLAGS)
libscihdf5_algo_la_SOURCES = $(HDF5_SOURCES) $(HDF5_CXX_SOURCES)
libscihdf5_la_SOURCES = $(GATEWAY_CXX_SOURCES) $(GATEWAY_C_SOURCES)
libscihdf5_algo_la_CPPFLAGS = $(libscihdf5_la_CPPFLAGS)
# For the code check (splint)
CHECK_SRC= $(HDF5_SOURCES) $(GATEWAY_CXX_SOURCES)
INCLUDE_FLAGS = $(libscihdf5_la_CPPFLAGS)
libscihdf5_la_LIBADD = libscihdf5-algo.la $(HDF5_LIBS)
#### Target ######
modulename=hdf5
#### hdf5 : Conf files ####
libscihdf5_la_rootdir = $(mydatadir)
libscihdf5_la_root_DATA = license.txt
#### hdf5 : init scripts ####
libscihdf5_la_etcdir = $(mydatadir)/etc
libscihdf5_la_etc_DATA = etc/hdf5.quit etc/hdf5.start
#### hdf5 : test file ####
libscihdf5_la_testsampledatadir = $(mydatadir)/tests/sample_scilab_data
libscihdf5_la_testsampledata_DATA = \
tests/sample_scilab_data/booleanmatrix.sod \
tests/sample_scilab_data/booleanmatrix_v1.sod \
tests/sample_scilab_data/booleanscalar.sod \
tests/sample_scilab_data/booleanscalar_v1.sod \
tests/sample_scilab_data/booleansparse.sod \
tests/sample_scilab_data/booleansparse_v1.sod \
tests/sample_scilab_data/emptymatrix.sod \
tests/sample_scilab_data/emptysparse.sod \
tests/sample_scilab_data/emptysparse_v1.sod \
tests/sample_scilab_data/hypermatrixcomplex.sod \
tests/sample_scilab_data/hypermatrixcomplex_v1.sod \
tests/sample_scilab_data/hypermatrix.sod \
tests/sample_scilab_data/hypermatrix_v1.sod \
tests/sample_scilab_data/int16.sod \
tests/sample_scilab_data/int16_v1.sod \
tests/sample_scilab_data/int32.sod \
tests/sample_scilab_data/int32_v1.sod \
tests/sample_scilab_data/int8.sod \
tests/sample_scilab_data/int8_v1.sod \
tests/sample_scilab_data/list.sod \
tests/sample_scilab_data/list_v1.sod \
tests/sample_scilab_data/listnested.sod \
tests/sample_scilab_data/listnested_v1.sod \
tests/sample_scilab_data/matricedoublecomplex.sod \
tests/sample_scilab_data/matricedoublecomplex_v1.sod \
tests/sample_scilab_data/matricedoublecomplexscalar.sod \
tests/sample_scilab_data/matricedoublecomplexscalar_v1.sod \
tests/sample_scilab_data/matricedouble.sod \
tests/sample_scilab_data/matricedouble_v1.sod \
tests/sample_scilab_data/matricedoublescalar.sod \
tests/sample_scilab_data/matricedoublescalar_v1.sod \
tests/sample_scilab_data/matricestring.sod \
tests/sample_scilab_data/matricestring_v1.sod \
tests/sample_scilab_data/matricestringscalar.sod \
tests/sample_scilab_data/matricestringscalar_v1.sod \
tests/sample_scilab_data/mlist.sod \
tests/sample_scilab_data/mlist_v1.sod \
tests/sample_scilab_data/polynomialscoef.sod \
tests/sample_scilab_data/polynomialscoef_v1.sod \
tests/sample_scilab_data/polynomials.sod \
tests/sample_scilab_data/polynomials_v1.sod \
tests/sample_scilab_data/sparsematrix.sod \
tests/sample_scilab_data/sparsematrix_v1.sod \
tests/sample_scilab_data/tlist.sod \
tests/sample_scilab_data/tlist_v1.sod \
tests/sample_scilab_data/uint16.sod \
tests/sample_scilab_data/uint16_v1.sod \
tests/sample_scilab_data/uint32.sod \
tests/sample_scilab_data/uint32_v1.sod \
tests/sample_scilab_data/uint8.sod \
tests/sample_scilab_data/uint8_v1.sod \
tests/sample_scilab_data/undefinedelement.sod \
tests/sample_scilab_data/undefinedelement_v1.sod \
tests/sample_scilab_data/voidelement.sod \
tests/sample_scilab_data/voidelement_v1.sod
include $(top_srcdir)/Makefile.incl.am
|