if __lib__dir__: return __lib__dir__
import platform
if platform.architecture()[0] == "64bit":
- __lib__dir__ = "lib64"
+ if platform.machine() == "ia64":
+ __lib__dir__ = "lib"
+ else:
+ __lib__dir__ = "lib64"
else:
__lib__dir__ = "lib"
return get_lib_dir()
if __lib__dir__: return __lib__dir__
import platform
if platform.architecture()[0] == "64bit":
- __lib__dir__ = "lib64"
+ if platform.machine() == "ia64":
+ __lib__dir__ = "lib"
+ else:
+ __lib__dir__ = "lib64"
else:
__lib__dir__ = "lib"
return get_lib_dir()
include $(top_srcdir)/salome_adm/unix/make_common_starter.am
+AM_CXXFLAGS = -fPIC
+
BASEIDL_FILES = \
SALOME_Exception.idl \
SALOME_Comm.idl \
../SALOMELocalTrace/libSALOMELocalTrace.la \
../Basics/libSALOMEBasics.la \
$(top_builddir)/idl/libSalomeIDLKernel.la\
- @PYTHON_LIBS@ \
@MPI_LIBS@ \
@CORBA_LIBS@
+# @PYTHON_LIBS@
+
#
# ===============================================================
# Libraries targets
@LDEXPDYNFLAGS@
libSalomeContainer_la_LIBADD =\
+ $(PYTHON_LIBS) \
$(COMMON_LIBS)
----------------------------------------------------------------------------*/
#include "hdfi.h"
+#include <stdlib.h>
/*
* - Name : _MEDdatasetWrite
if(ndim < 0) return -1;
hdf_size *dim = (hdf_size *) malloc(sizeof(hdf_size)*ndim);
- if ((ret == HDFdatasetGetDim(id, dim)) < 0) return -1;
+ if ((ret = HDFdatasetGetDim(id, dim)) < 0) return -1;
for(i=0; i<ndim; i++) size+=dim[i];
free(dim);
test7.cxx \
test8.cxx \
test9.cxx
+
+#bin_PROGRAMS=HDFtest1 HDFtest2 HDFtest3
+#HDFtest1_SOURCES = test1.c
+#HDFtest2_SOURCES = test2.c
+#HDFtest3_SOURCES = test3.cxx
+
+#AM_CFLAGS= @CAS_CPPFLAGS@ @HDF5_INCLUDES@ -DPCLINUX \
+# -I$(srcdir)/../SALOMELocalTrace \
+# -I$(srcdir)/../Basics
+#AM_CXXFLAGS= @CAS_CPPFLAGS@ @HDF5_INCLUDES@ -DPCLINUX \
+# -I$(srcdir)/../SALOMELocalTrace \
+# -I$(srcdir)/../Basics
+#AM_LDFLAGS= @HDF5_LIBS@
#include"hdfi.h"
#include<stdlib.h>
+#define MESSAGE(msg) printf(msg);
+//__FILE__,":[",__LINE__,"]: ",
+
int main() {
hdf_idt fid,gid,did,atid;
hdf_err ret;
path=salome_path.split(":")
import platform
if platform.architecture()[0] == "64bit":
- libdir = "lib64"
+ if platform.machine() == "ia64":
+ libdir = "lib"
+ else:
+ libdir = "lib64"
else:
libdir = "lib"
for rep in path:
_libNOTIFICATION_la_LDFLAGS = -module
-_libNOTIFICATION_la_LIBADD = ../Notification/libSalomeNotification.la \
- @PYTHON_LIBS@
+_libNOTIFICATION_la_LIBADD = ../Notification/libSalomeNotification.la
+
+# @PYTHON_LIBS@
swig_wrap.cpp : $(SWIG_SOURCES)
$(SWIG) $(SWIG_FLAGS) -o $@ $<