srcdir=@srcdir@
VPATH=.:@srcdir@:@top_srcdir@/bin:@top_srcdir@/resources:./bin:@top_srcdir@/idl:${KERNEL_ROOT_DIR}/idl/salome
-
@COMMENCE@
SUBDIRS = idl src doc adm_local
VERSION
+
# copy header files in common directory
ifeq ($(HAVE_SSTREAM),yes)
include_list=include/salome/SALOMEconfig.h
Visu_ok=no
+VISU_LDFLAGS=""
+VISU_CXXFLAGS=""
+
+
AC_ARG_WITH(visu,
[ --with-visu=DIR root directory path of VISU module installation ],
VISU_DIR="$withval",VISU_DIR="")
VISU_ROOT_DIR=${VISU_DIR}
fi
AC_SUBST(VISU_ROOT_DIR)
+
+ VISU_LDFLAGS=-L${VISU_DIR}/lib${LIB_LOCATION_SUFFIX}/salome
+ VISU_CXXFLAGS=-I${VISU_DIR}/include/salome
+
+ AC_SUBST(VISU_LDFLAGS)
+ AC_SUBST(VISU_CXXFLAGS)
+
else
AC_MSG_WARN("Cannot find VISU module sources")
fi
@SET_MAKE@
SHELL=/bin/sh
+LIB_LOCATION_SUFFIX=@LIB_LOCATION_SUFFIX@
# header missing
HAVE_SSTREAM=@HAVE_SSTREAM@
LIBS=@LIBS@
-LDFLAGS=@LDFLAGS@ -L$(top_builddir)/lib@LIB_LOCATION_SUFFIX@/salome
+LDFLAGS=@LDFLAGS@ -L$(top_builddir)/lib@LIB_LOCATION_SUFFIX@/salome -Xlinker -rpath-link -Xlinker
# add libstdc++ to link c++ library with libtool !
LDFLAGS+= -lstdc++
AC_CXX_USE_STD_IOSTREAM
AC_CXX_HAVE_SSTREAM
-echo
-echo ---------------------------------------------
-echo BOOST Library
-echo ---------------------------------------------
-echo
-CHECK_BOOST
dnl
dnl ---------------------------------------------
CHECK_HDF5
+echo
+echo ---------------------------------------------
+echo BOOST Library
+echo ---------------------------------------------
+echo
+
+CHECK_BOOST
+
echo
echo ---------------------------------------------
echo Testing OpenCascade
PY_CLIENT_IDL = $(IDL_FILES)
+LIB_LOCATION_SUFFIX=@LIB_LOCATION_SUFFIX@
+
# we copy all idl file in $(top_builddir)/idl
inc: $(top_builddir)/idl/salome $(IDL_FILES:%=$(top_builddir)/idl/salome/%)
lib: pyidl
-PYTHON_BUILD_SITE=$(top_builddir)/lib@LIB_LOCATION_SUFFIX@/python$(PYTHON_VERSION)/site-packages/@PACKAGE@
+PYTHON_BUILD_SITE=$(top_builddir)/lib$(LIB_LOCATION_SUFFIX)/python$(PYTHON_VERSION)/site-packages/@PACKAGE@
pyidl: $(PYTHON_BUILD_SITE) $(IDL_FILES:%.idl=$(PYTHON_BUILD_SITE)/%_idl.py)
top_builddir=../..
srcdir=@srcdir@
VPATH=.:@srcdir@
-
+BOOST_LIBSUFFIX=@BOOST_LIBSUFFIX@
@COMMENCE@
top_builddir=../..
srcdir=@srcdir@
VPATH=.:@srcdir@:@top_srcdir@/idl
-
+BOOST_LIBSUFFIX=@BOOST_LIBSUFFIX@
@COMMENCE@
top_builddir=../..
srcdir=@srcdir@
VPATH=.:@srcdir@:@top_srcdir@/idl
-
+BOOST_LIBSUFFIX=@BOOST_LIBSUFFIX@
@COMMENCE@