| 1 |
# Copyright (c) 2005 Sandia Corporation. Under the terms of Contract |
| 2 |
# DE-AC04-94AL85000 with Sandia Corporation, the U.S. Governement |
| 3 |
# retains certain rights in this software. |
| 4 |
# |
| 5 |
# Redistribution and use in source and binary forms, with or without |
| 6 |
# modification, are permitted provided that the following conditions are |
| 7 |
# met: |
| 8 |
# |
| 9 |
# * Redistributions of source code must retain the above copyright |
| 10 |
# notice, this list of conditions and the following disclaimer. |
| 11 |
# |
| 12 |
# * Redistributions in binary form must reproduce the above |
| 13 |
# copyright notice, this list of conditions and the following |
| 14 |
# disclaimer in the documentation and/or other materials provided |
| 15 |
# with the distribution. |
| 16 |
# |
| 17 |
# * Neither the name of Sandia Corporation nor the names of its |
| 18 |
# contributors may be used to endorse or promote products derived |
| 19 |
# from this software without specific prior written permission. |
| 20 |
# |
| 21 |
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS |
| 22 |
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT |
| 23 |
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR |
| 24 |
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT |
| 25 |
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, |
| 26 |
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT |
| 27 |
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |
| 28 |
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
| 29 |
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
| 30 |
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
| 31 |
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 32 |
# |
| 33 |
|
| 34 |
|
| 35 |
XCOMM Use include files locates in exodusii/cbind/include |
| 36 |
INCLUDES = IncRef-I../include |
| 37 |
REQUIREDLIBS = -L$(SHLIBDIR) $(NETCDF) |
| 38 |
|
| 39 |
#if UseNetcdf4 == NO |
| 40 |
NET_DEF = -DNOT_NETCDF4 |
| 41 |
#endif |
| 42 |
|
| 43 |
#ifndef BuildSharedExodusLibrary |
| 44 |
#define BuildSharedExodusLibrary NO |
| 45 |
#endif |
| 46 |
|
| 47 |
#define DoNormalLib YES |
| 48 |
#define DoSharedLib BuildSharedExodusLibrary |
| 49 |
#define LibName exodus |
| 50 |
SOREV = 5 |
| 51 |
#define SoRev SOREV |
| 52 |
|
| 53 |
DEFINES = $(PICFLAGS) $(NET_DEF) |
| 54 |
|
| 55 |
#if defined(BuildParallelAwareExodus) |
| 56 |
PARSRCS = ex_create_par.c ex_open_par.c |
| 57 |
PAROBJS = ${PARSRCS:.c=.o} |
| 58 |
$(PAROBJS): ../include/exodusII.h ../include/exodusII_int.h ../include/exodusII_par.h |
| 59 |
|
| 60 |
CC = $(CCPAR) |
| 61 |
#define LibraryCcCmd $(CCPAR) |
| 62 |
#endif |
| 63 |
|
| 64 |
SRCS = ex_close.c \ |
| 65 |
ex_conv.c \ |
| 66 |
ex_copy.c \ |
| 67 |
ex_create.c \ |
| 68 |
ex_create_group.c \ |
| 69 |
ex_get_group_id.c \ |
| 70 |
ex_get_group_ids.c \ |
| 71 |
ex_cvt_nodes_to_sides.c \ |
| 72 |
ex_err.c \ |
| 73 |
ex_get_all_times.c \ |
| 74 |
ex_get_attr.c \ |
| 75 |
ex_get_attr_names.c \ |
| 76 |
ex_get_attr_param.c \ |
| 77 |
ex_get_block.c \ |
| 78 |
ex_get_block_param.c \ |
| 79 |
ex_get_cmap_params.c \ |
| 80 |
ex_get_concat_node_sets.c \ |
| 81 |
ex_get_concat_sets.c \ |
| 82 |
ex_get_concat_side_set_node_count.c \ |
| 83 |
ex_get_concat_side_sets.c \ |
| 84 |
ex_get_conn.c \ |
| 85 |
ex_get_coord.c \ |
| 86 |
ex_get_coordinate_frames.c \ |
| 87 |
ex_get_coord_names.c \ |
| 88 |
ex_get_eb_info_global.c \ |
| 89 |
ex_get_elem_attr.c \ |
| 90 |
ex_get_elem_attr_names.c \ |
| 91 |
ex_get_elem_blk_ids.c \ |
| 92 |
ex_get_elem_block.c \ |
| 93 |
ex_get_elem_cmap.c \ |
| 94 |
ex_get_elem_conn.c \ |
| 95 |
ex_get_elem_map.c \ |
| 96 |
ex_get_elem_num_map.c \ |
| 97 |
ex_get_elem_type.c \ |
| 98 |
ex_get_elem_var.c \ |
| 99 |
ex_get_elem_var_tab.c \ |
| 100 |
ex_get_elem_var_time.c \ |
| 101 |
ex_get_entity_count_per_polyhedra.c \ |
| 102 |
ex_get_glob_vars.c \ |
| 103 |
ex_get_glob_var_time.c \ |
| 104 |
ex_get_id_map.c \ |
| 105 |
ex_get_ids.c \ |
| 106 |
ex_get_info.c \ |
| 107 |
ex_get_init.c \ |
| 108 |
ex_get_init_ext.c \ |
| 109 |
ex_get_init_global.c \ |
| 110 |
ex_get_init_info.c \ |
| 111 |
ex_get_loadbal_param.c \ |
| 112 |
ex_get_map.c \ |
| 113 |
ex_get_map_param.c \ |
| 114 |
ex_get_name.c \ |
| 115 |
ex_get_names.c \ |
| 116 |
ex_get_n_attr.c \ |
| 117 |
ex_get_n_conn.c \ |
| 118 |
ex_get_n_coord.c \ |
| 119 |
ex_get_n_elem_attr.c \ |
| 120 |
ex_get_n_elem_conn.c \ |
| 121 |
ex_get_n_elem_num_map.c \ |
| 122 |
ex_get_n_elem_var.c \ |
| 123 |
ex_get_n_nodal_var.c \ |
| 124 |
ex_get_n_node_num_map.c \ |
| 125 |
ex_get_n_node_set.c \ |
| 126 |
ex_get_n_node_set_df.c \ |
| 127 |
ex_get_nodal_var.c \ |
| 128 |
ex_get_nodal_var_time.c \ |
| 129 |
ex_get_node_cmap.c \ |
| 130 |
ex_get_node_map.c \ |
| 131 |
ex_get_node_num_map.c \ |
| 132 |
ex_get_node_set.c \ |
| 133 |
ex_get_node_set_dist_fact.c \ |
| 134 |
ex_get_node_set_ids.c \ |
| 135 |
ex_get_node_set_param.c \ |
| 136 |
ex_get_n_one_attr.c \ |
| 137 |
ex_get_nset_var.c \ |
| 138 |
ex_get_nset_var_tab.c \ |
| 139 |
ex_get_n_side_set.c \ |
| 140 |
ex_get_n_side_set_df.c \ |
| 141 |
ex_get_ns_param_global.c \ |
| 142 |
ex_get_num_map.c \ |
| 143 |
ex_get_n_var.c \ |
| 144 |
ex_get_object_truth_vector.c \ |
| 145 |
ex_get_one_attr.c \ |
| 146 |
ex_get_one_elem_attr.c \ |
| 147 |
ex_get_partial_attr.c \ |
| 148 |
ex_get_partial_conn.c \ |
| 149 |
ex_get_partial_coord.c \ |
| 150 |
ex_get_partial_elem_attr.c \ |
| 151 |
ex_get_partial_elem_conn.c \ |
| 152 |
ex_get_partial_elem_map.c \ |
| 153 |
ex_get_partial_elem_num_map.c \ |
| 154 |
ex_get_partial_elem_var.c \ |
| 155 |
ex_get_partial_id_map.c \ |
| 156 |
ex_get_partial_nodal_var.c \ |
| 157 |
ex_get_partial_node_num_map.c \ |
| 158 |
ex_get_partial_node_set.c \ |
| 159 |
ex_get_partial_node_set_df.c \ |
| 160 |
ex_get_partial_num_map.c \ |
| 161 |
ex_get_partial_one_attr.c \ |
| 162 |
ex_get_partial_set_dist_fact.c \ |
| 163 |
ex_get_partial_side_set.c \ |
| 164 |
ex_get_partial_side_set_df.c \ |
| 165 |
ex_get_partial_var.c \ |
| 166 |
ex_get_processor_elem_maps.c \ |
| 167 |
ex_get_processor_node_maps.c \ |
| 168 |
ex_get_prop_array.c \ |
| 169 |
ex_get_prop.c \ |
| 170 |
ex_get_prop_names.c \ |
| 171 |
ex_get_qa.c \ |
| 172 |
ex_get_set.c \ |
| 173 |
ex_get_set_dist_fact.c \ |
| 174 |
ex_get_set_param.c \ |
| 175 |
ex_get_sets.c \ |
| 176 |
ex_get_side_set.c \ |
| 177 |
ex_get_side_set_dist_fact.c \ |
| 178 |
ex_get_side_set_ids.c \ |
| 179 |
ex_get_side_set_node_count.c \ |
| 180 |
ex_get_side_set_node_list.c \ |
| 181 |
ex_get_side_set_node_list_len.c \ |
| 182 |
ex_get_side_set_param.c \ |
| 183 |
ex_get_sset_var.c \ |
| 184 |
ex_get_sset_var_tab.c \ |
| 185 |
ex_get_ss_param_global.c \ |
| 186 |
ex_get_time.c \ |
| 187 |
ex_get_truth_table.c \ |
| 188 |
ex_get_var.c \ |
| 189 |
ex_get_variable_name.c \ |
| 190 |
ex_get_variable_names.c \ |
| 191 |
ex_get_variable_param.c \ |
| 192 |
ex_get_var_name.c \ |
| 193 |
ex_get_var_names.c \ |
| 194 |
ex_get_var_param.c \ |
| 195 |
ex_get_var_tab.c \ |
| 196 |
ex_get_var_time.c \ |
| 197 |
ex_inquire.c \ |
| 198 |
ex_ne_util.c \ |
| 199 |
ex_open.c \ |
| 200 |
ex_opts.c \ |
| 201 |
ex_put_all_var_param.c \ |
| 202 |
ex_put_all_var_param_ext.c \ |
| 203 |
ex_put_attr.c \ |
| 204 |
ex_put_attr_names.c \ |
| 205 |
ex_put_attr_param.c \ |
| 206 |
ex_put_block.c \ |
| 207 |
ex_put_block_param.c \ |
| 208 |
ex_put_cmap_params.c \ |
| 209 |
ex_put_cmap_params_cc.c \ |
| 210 |
ex_put_concat_all_blocks.c \ |
| 211 |
ex_put_concat_elem_block.c \ |
| 212 |
ex_put_concat_node_sets.c \ |
| 213 |
ex_put_concat_sets.c \ |
| 214 |
ex_put_concat_side_sets.c \ |
| 215 |
ex_put_concat_var_param.c \ |
| 216 |
ex_put_conn.c \ |
| 217 |
ex_put_coord.c \ |
| 218 |
ex_put_coordinate_frames.c \ |
| 219 |
ex_put_coord_names.c \ |
| 220 |
ex_put_eb_info_global.c \ |
| 221 |
ex_put_elem_attr.c \ |
| 222 |
ex_put_elem_attr_names.c \ |
| 223 |
ex_put_elem_block.c \ |
| 224 |
ex_put_elem_cmap.c \ |
| 225 |
ex_put_elem_conn.c \ |
| 226 |
ex_put_elem_map.c \ |
| 227 |
ex_put_elem_num_map.c \ |
| 228 |
ex_put_elem_var.c \ |
| 229 |
ex_put_elem_var_slab.c \ |
| 230 |
ex_put_elem_var_tab.c \ |
| 231 |
ex_put_entity_count_per_polyhedra.c \ |
| 232 |
ex_put_glob_vars.c \ |
| 233 |
ex_put_id_map.c \ |
| 234 |
ex_put_info.c \ |
| 235 |
ex_put_init.c \ |
| 236 |
ex_put_init_ext.c \ |
| 237 |
ex_put_init_global.c \ |
| 238 |
ex_put_init_info.c \ |
| 239 |
ex_put_loadbal_param.c \ |
| 240 |
ex_put_loadbal_param_cc.c \ |
| 241 |
ex_put_map.c \ |
| 242 |
ex_put_map_param.c \ |
| 243 |
ex_put_name.c \ |
| 244 |
ex_put_names.c \ |
| 245 |
ex_put_n_coord.c \ |
| 246 |
ex_put_n_elem_attr.c \ |
| 247 |
ex_put_n_elem_conn.c \ |
| 248 |
ex_put_n_elem_num_map.c \ |
| 249 |
ex_put_n_nodal_var.c \ |
| 250 |
ex_put_n_node_num_map.c \ |
| 251 |
ex_put_n_node_set.c \ |
| 252 |
ex_put_n_node_set_df.c \ |
| 253 |
ex_put_nodal_var.c \ |
| 254 |
ex_put_nodal_var_slab.c \ |
| 255 |
ex_put_node_cmap.c \ |
| 256 |
ex_put_node_map.c \ |
| 257 |
ex_put_node_num_map.c \ |
| 258 |
ex_put_node_set.c \ |
| 259 |
ex_put_node_set_dist_fact.c \ |
| 260 |
ex_put_node_set_param.c \ |
| 261 |
ex_put_n_one_attr.c \ |
| 262 |
ex_put_nset_var.c \ |
| 263 |
ex_put_nset_var_tab.c \ |
| 264 |
ex_put_n_side_set.c \ |
| 265 |
ex_put_n_side_set_df.c \ |
| 266 |
ex_put_ns_param_global.c \ |
| 267 |
ex_put_num_map.c \ |
| 268 |
ex_put_n_var.c \ |
| 269 |
ex_put_one_attr.c \ |
| 270 |
ex_put_one_elem_attr.c \ |
| 271 |
ex_put_partial_attr.c \ |
| 272 |
ex_put_partial_coord.c \ |
| 273 |
ex_put_partial_elem_attr.c \ |
| 274 |
ex_put_partial_elem_conn.c \ |
| 275 |
ex_put_partial_elem_map.c \ |
| 276 |
ex_put_partial_elem_num_map.c \ |
| 277 |
ex_put_partial_id_map.c \ |
| 278 |
ex_put_partial_nodal_var.c \ |
| 279 |
ex_put_partial_node_num_map.c \ |
| 280 |
ex_put_partial_node_set.c \ |
| 281 |
ex_put_partial_node_set_df.c \ |
| 282 |
ex_put_partial_num_map.c \ |
| 283 |
ex_put_partial_one_attr.c \ |
| 284 |
ex_put_partial_set.c \ |
| 285 |
ex_put_partial_set_dist_fact.c \ |
| 286 |
ex_put_partial_side_set.c \ |
| 287 |
ex_put_partial_side_set_df.c \ |
| 288 |
ex_put_partial_var.c \ |
| 289 |
ex_put_processor_elem_maps.c \ |
| 290 |
ex_put_processor_node_maps.c \ |
| 291 |
ex_put_prop_array.c \ |
| 292 |
ex_put_prop.c \ |
| 293 |
ex_put_prop_names.c \ |
| 294 |
ex_put_qa.c \ |
| 295 |
ex_put_set.c \ |
| 296 |
ex_put_set_dist_fact.c \ |
| 297 |
ex_put_set_param.c \ |
| 298 |
ex_put_sets.c \ |
| 299 |
ex_put_side_set.c \ |
| 300 |
ex_put_side_set_dist_fact.c \ |
| 301 |
ex_put_side_set_param.c \ |
| 302 |
ex_put_sset_var.c \ |
| 303 |
ex_put_sset_var_tab.c \ |
| 304 |
ex_put_ss_param_global.c \ |
| 305 |
ex_put_time.c \ |
| 306 |
ex_put_truth_table.c \ |
| 307 |
ex_put_var.c \ |
| 308 |
ex_put_variable_name.c \ |
| 309 |
ex_put_variable_names.c \ |
| 310 |
ex_put_variable_param.c \ |
| 311 |
ex_put_var_name.c \ |
| 312 |
ex_put_var_names.c \ |
| 313 |
ex_put_var_param.c \ |
| 314 |
ex_put_var_tab.c \ |
| 315 |
ex_update.c \ |
| 316 |
ex_utils.c |
| 317 |
|
| 318 |
OBJS = ${SRCS:.c=.o} |
| 319 |
|
| 320 |
#include <Library.tmpl> |
| 321 |
|
| 322 |
LibraryTargetSubdirsCopy(libexodus.a,$(OBJS) $(PAROBJS),../../) |
| 323 |
|
| 324 |
|
| 325 |
$(OBJS): ../include/exodusII.h ../include/exodusII_int.h |
| 326 |
DependTarget() |
| 327 |
LibraryObjectRule() |