top_srcdir=@top_srcdir@
top_builddir=.
srcdir=@srcdir@
-VPATH=.:@srcdir@:@top_srcdir@/bin:@top_srcdir@/resources:./bin:@top_srcdir@/idl
+VPATH=.:@srcdir@:@top_srcdir@/bin:./bin/salome:@top_srcdir@/resources:./bin:@top_srcdir@/idl
@COMMENCE@
-SUBDIRS = idl src examples salome_adm
+SUBDIRS = idl src examples doc salome_adm
RESOURCES_FILES = \
back.xpm \
orbmodule.py \
runSalome.py \
killSalome.py \
+killSalomeWithPort.py \
runSalome \
-runNS.sh
+runSalome.csh \
+runNS.sh \
+launchConfigureParser.py \
+salome.launch \
+showNS.py
# copy header files in common directory
ifeq ($(HAVE_SSTREAM),yes)
# install script in $(bindir) :
install-bin: $(BIN_SCRIPT)
$(INSTALL) -d $(bindir)
- for f in X $(BIN_SCRIPT); do \
- if test $$f != X; then \
- (cp -p ./bin/$$f $(bindir) || exit 1); \
- fi; \
- done
+ $(INSTALL_PROGRAM) $^ $(bindir)
uninstall: uninstall-idl
#
# Created from configure.in.base
#
-AS_SHELL_SANITIZES
+
AC_INIT(src)
AC_CONFIG_AUX_DIR(salome_adm/unix/config_files)
AC_CANONICAL_HOST
echo
echo
-dnl Modification B. Secher portage sur osf
-AC_CHECK_PROG(SHELL,sh,,)
-AC_SUBST(SHELL)
-
if test -z "$AR"; then
AC_CHECK_PROGS(AR,ar xar,:,$PATH)
fi
dnl full-path to the binary instead.
case "$INSTALL" in
*install-sh*)
- INSTALL="${ROOT_SRCDIR}/salome_adm/unix/config_files/install-sh -c"
+ INSTALL='\${top_srcdir}'/salome_adm/unix/config_files/install-sh
;;
esac
dnl inutil car libtool
dnl AC_PROG_CC
AC_PROG_CXX
-AC_CXX_WARNINGS
-AC_CXX_TEMPLATE_OPTIONS
AC_DEPEND_FLAG
-#AC_CC_WARNINGS([ansi])
+# AC_CC_WARNINGS([ansi])
cc_ok=yes
dnl Library libdl :
AC_CHECK_LIB(dl,dlopen)
-dnl Library librt : for alpha/osf
-AC_CHECK_LIB(rt,nanosleep)
-
dnl add library libm :
AC_CHECK_LIB(m,ceil)
-dnl
-dnl Check if we use std iostream by default or if we must add
-dnl a compiler directive for that
-dnl
-
-AC_CXX_USE_STD_IOSTREAM
-
dnl
dnl Well we use sstream which is not in gcc pre-2.95.3
dnl We must test if it exists. If not, add it in include !
AC_CXX_HAVE_SSTREAM
-dnl
-dnl ---------------------------------------------
-dnl testing linker
-dnl ---------------------------------------------
-dnl
+echo
+echo ---------------------------------------------
+echo BOOST Library
+echo ---------------------------------------------
+echo
-AC_LINKER_OPTIONS
+CHECK_BOOST
dnl
dnl ---------------------------------------------
dnl ---------------------------------------------
dnl
-CHECK_MPI
CHECK_MPICH
echo
echo
echo Configure
-variables="cc_ok mpi_ok mpich_ok lex_yacc_ok python_ok swig_ok threads_ok OpenGL_ok qt_ok vtk_ok hdf5_ok med2_ok omniORB_ok occ_ok sip_ok pyqt_ok qwt_ok doxygen_ok graphviz_ok"
-
-AC_SUBST(pyqt_ok)
+variables="cc_ok boost_ok lex_yacc_ok python_ok swig_ok threads_ok OpenGL_ok qt_ok vtk_ok hdf5_ok med2_ok omniORB_ok occ_ok sip_ok pyqt_ok qwt_ok doxygen_ok graphviz_ok"
for var in $variables
do
fi
# make other build directories
-for rep in salome_adm adm_local doc bin/salome include/salome lib/salome share/salome/resources share/salome/doc idl
+for rep in salome_adm adm_local doc bin/salome include/salome lib/salome share/salome/resources idl
do
# if test ! -d $rep ; then
# eval mkdir $rep
dnl excluding .in files (treated in AC-OUTPUT below) and CVS
dnl directory
-cd $ROOT_BUILDDIR/bin
+mkdir -p bin/salome
+cd bin/salome
for i in $ROOT_SRCDIR/bin/*
do
local_bin=`echo $i | sed -e "s,$ROOT_SRCDIR,.,"`
case "$local_bin" in
- *.in | *~) ;;
- ./bin/CVS) ;;
- *) ln -fs $i; echo $local_bin ;;
+ *.in | *~) ;;
+ ./bin/CVS | ./bin/salome) ;;
+ *) /usr/bin/install -c $i .; echo $local_bin ;;
esac
done
cd $ROOT_BUILDDIR
echo
AC_OUTPUT_COMMANDS([ \
- chmod +x ./bin/* \
+ chmod +x ./bin/*; \
+ chmod +x ./bin/salome/* \
])
## do not delete this line