--- /dev/null
+AC_DEFUN([CHECK_EFICAS],[
+
+AC_CHECKING(for Eficas)
+
+eficas_ok=no
+
+AC_ARG_WITH(eficas,
+ [ --with-eficas=DIR root directory path of Eficas installation],
+ EFICAS_DIR=$withval,EFICAS_DIR="")
+
+if test "x$EFICAS_DIR" = "x" ; then
+
+ # no --with-eficas option used
+
+ if test "x$EFICAS_ROOT_DIR" != "x" ; then
+
+ #EFICAS_ROOT_DIR environment variable defined
+ EFICAS_DIR=$EFICAS_ROOT_DIR
+
+ else
+ AC_MSG_WARN("EFICAS_ROOT_DIR is not defined")
+ fi
+fi
+
+if test "x$EFICAS_DIR" != "x" ; then
+ eficas_ok=yes
+ AC_SUBST(EFICAS_DIR)
+fi
+
+AC_MSG_RESULT(for Eficas: $eficas_ok)
+
+])dnl
+
include $(top_srcdir)/adm_local/make_common_starter.am
-bin_SCRIPTS = DatassimYacsSchemaCreator.py
+bin_SCRIPTS = DatassimYacsSchemaCreator.py qtEficas_datassim_study.py
-EXTRA_DIST = DatassimYacsSchemaCreator.py
+EXTRA_DIST = DatassimYacsSchemaCreator.py qtEficas_datassim_study.py.in
--- /dev/null
+#!/usr/bin/env python
+# -*- coding: utf-8 -*-
+
+"""
+ Ce module sert à lancer EFICAS pour Datassim
+"""
+
+import sys
+# Configuration de l'installation
+INSTALLDIR = "@EFICAS_DIR@"
+sys.path[:0]=[INSTALLDIR]
+DATASSIM_INSTALL_DIR = "@PYTHON_SITE@/salome/daEficas"
+sys.path[:0]=[DATASSIM_INSTALL_DIR]
+
+# Configuration
+import prefs
+import prefs_DATASSIM
+
+# Modules Eficas
+from InterfaceQT4 import eficas_go
+eficas_go.lance_eficas(code=prefs.code)
CHECK_F77
CHECK_BOOST
CHECK_OMNIORB
-CHECK_PACO
-CHECK_MPI
+CHECK_EFICAS
MODULE_NAME=datassim
AC_SUBST(MODULE_NAME)
-AC_CHECK_ASTER
-
echo
echo
echo
echo " Python ................. : $python_ok"
echo " Boost ................. : $boost_ok"
echo " SALOME KERNEL .......... : $Kernel_ok"
-echo " PaCO++ ................. : $PaCO_ok"
-echo " MPI .................... : $mpi_ok"
-echo " Code Aster ............. : $Aster_ok"
+echo " Eficas ................. : $eficas_ok"
echo
echo "------------------------------------------------------------------------"
echo
resources/Makefile
src/Makefile
src/daComposant/Makefile
+ src/daEficas/Makefile
src/daSalome/Makefile
src/daSalome/daGUI/Makefile
src/daSalome/daGUI/daGuiImpl/Makefile
bin/Makefile
+ bin/qtEficas_datassim_study.py
])
AC_OUTPUT
-SUBDIRS= daComposant daSalome
+SUBDIRS = daComposant daSalome daEficas
--- /dev/null
+# Copyright (C) 2010 EDF R&D
+#
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public
+# License as published by the Free Software Foundation; either
+# version 2.1 of the License.
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+#
+# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+#
+
+include $(top_srcdir)/adm_local/make_common_starter.am
+
+mypkgpythondir =$(salomepythondir)/daEficas
+
+mypkgpython_PYTHON = \
+ configuration_DATASSIM.py \
+ convert_datassim.py \
+ DATASSIM_Cata_V0.py \
+ generator_datassim.py \
+ __init__.py \
+ prefs_DATASSIM.py \
+ prefs.py
+++ /dev/null
-#!/usr/bin/env python
-# -*- coding: utf-8 -*-
-
-"""
- Ce module sert à lancer EFICAS pour Datassim
-"""
-# Configuration
-import prefs
-import prefs_DATASSIM
-
-# Modules Eficas
-import sys
-from InterfaceQT4 import eficas_go
-eficas_go.lance_eficas(code=prefs.code)