Salome HOME
Join modifications from branch OCC_debug_for_3_2_0b1 T3_2_0b1 V3_2_0b1
authorjfa <jfa@opencascade.com>
Sat, 6 May 2006 09:00:40 +0000 (09:00 +0000)
committerjfa <jfa@opencascade.com>
Sat, 6 May 2006 09:00:40 +0000 (09:00 +0000)
INSTALL
Makefile.in
adm_local/Makefile.in
adm_local/unix/make_commence.in
bin/VERSION
build_configure
configure.in.base
resources/SalomeApp.xml [new file with mode: 0644]
src/LIGHTGUI/Makefile.in

diff --git a/INSTALL b/INSTALL
index 46330770cc675a5c534faf9858340ac546851a18..c79562f76d826b535c81e6c84cd635da39a9de4e 100644 (file)
--- a/INSTALL
+++ b/INSTALL
@@ -1,4 +1,4 @@
-This is the version 3.2.0a2 of LIGHT (sample no-corba-engine) SALOME module
+This is the version 3.2.0b1 of LIGHT (sample no-corba-engine) SALOME module
 Compatible with :
-       - KERNEL 3.2.0a2
-       - SALOMEGUI 3.2.0a2
+       - KERNEL 3.2.0b1
+       - SALOMEGUI 3.2.0b1
index 4e09f83a2f4d4522d4620ca3a333e1d87b44cd0d..e7b95684f672ed550e297c28653a0c37482eed42 100644 (file)
@@ -38,6 +38,7 @@ VPATH=.:@srcdir@:@top_srcdir@/bin:@top_srcdir@/resources:./bin
 SUBDIRS = src adm_local
 
 RESOURCES_FILES =          \
+       SalomeApp.xml      \
        LIGHT.png          \
        line_icon.png      \
        paragraph_icon.png \
index 9b5e810db5609f348cfc90502d69bd7da12b084f..06e2ec9f8523b50028370fdb354160b466a67d26 100644 (file)
@@ -1,3 +1,22 @@
+#  Copyright (C) 2005  OPEN CASCADE
+#
+#  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/
+#
+
 # source path
 top_srcdir=@top_srcdir@
 top_builddir=..
index a2e0a8cdaa9ce7b29d511a471025cdc23e6829f4..32014eb0c0d57347711c93b69a7c3f8b7d6b34f1 100644 (file)
@@ -239,7 +239,16 @@ all:
 Makefile: $(top_builddir)/config.status $(srcdir)/Makefile.in
        cd $(top_builddir) ; ./config.status
 
-$(top_builddir)/config.status: $(top_srcdir)/configure
+LOCAL_MAKE = make_commence
+
+KERNEL_MAKE = make_module depend SALOMEconfig.h F77config.h sstream envScript
+
+GUI_MAKE = make_conclude
+
+$(top_builddir)/config.status: $(top_srcdir)/configure \
+                              $(LOCAL_MAKE:%=$(top_srcdir)/adm_local/unix/%.in) \
+                              $(KERNEL_MAKE:%=$(KERNEL_ROOT_DIR)/salome_adm/unix/%.in) \
+                              $(GUI_MAKE:%=$(GUI_ROOT_DIR)/adm_local/unix/%.in)
        cd $(top_builddir) ; ./config.status --recheck
 
 # VPATH contain $(srcdir), so make configure is good in top_srcdir and we must add target configure otherwise :-)
@@ -254,7 +263,7 @@ $(top_srcdir)/configure.in: $(top_srcdir)/configure.in.base
        cd $(top_srcdir) && ./build_configure
 
 
-ACLOCAL_SRC = \
+ACLOCAL_KERNEL = \
 ac_cxx_bool.m4                                                         \
 ac_cxx_depend_flag.m4             check_hdf5.m4      enable_pthreads.m4        \
 ac_cxx_mutable.m4                 check_mico.m4      libtool.m4                \
@@ -267,7 +276,7 @@ ACLOCAL_GUI = \
 check_vtk.m4                     check_opengl.m4    check_qt.m4        \
 check_GUI.m4
 
-$(top_srcdir)/aclocal.m4: $(ACLOCAL_SRC:%=@KERNEL_ROOT_DIR@/salome_adm/unix/config_files/%) \
+$(top_srcdir)/aclocal.m4: $(ACLOCAL_KERNEL:%=@KERNEL_ROOT_DIR@/salome_adm/unix/config_files/%) \
                           $(ACLOCAL_GUI:%=@GUI_ROOT_DIR@/adm_local/unix/config_files/%)
        cd $(top_srcdir) ; aclocal --acdir=adm_local/unix/config_files -I @KERNEL_ROOT_DIR@/salome_adm/unix/config_files \
                          -I @GUI_ROOT_DIR@/adm_local/unix/config_files
index 4f7cac1888a9355d2852d1cede0fb14985e4e5c7..f61d0930de872a3968299725aef9a542e8ece96d 100755 (executable)
@@ -1 +1 @@
-THIS IS SAMPLE LIGHT (NO-CORBA-ENGINE) MODULE : VERSION: 3.2.0a2
+THIS IS SAMPLE LIGHT (NO-CORBA-ENGINE) MODULE : VERSION: 3.2.0b1
index 3571d17baadf8733ba076b8a09b192ecc981d586..dcbd68696ae013b388f7a8029b3e82ab8e386bc3 100755 (executable)
@@ -144,6 +144,10 @@ fi
 echo "" >> configure.in_tmp1
 echo 'ln -fs ${KERNEL_ROOT_DIR}/salome_adm ${ROOT_SRCDIR}/.' >> configure.in_tmp1
 
+# make a link allowing AC_OUTPUT to find the GUI make_conlude.in  files
+echo "" >> configure.in_tmp1
+echo 'ln -fs ${GUI_ROOT_DIR}/adm_local ${ROOT_SRCDIR}/gui_adm' >> configure.in_tmp1
+
 echo  "" >> configure.in_tmp1
 echo "AC_OUTPUT([ \\" >> configure.in_tmp1
 
@@ -160,7 +164,6 @@ echo "      ./salome_adm/unix/F77config.h \\" >> configure.in_tmp1
 echo " ./salome_adm/unix/sstream \\" >> configure.in_tmp1
 
 echo " ./salome_adm/unix/depend \\" >> configure.in_tmp1
-#echo "        ./adm_local/unix/make_omniorb \\" >> configure.in_tmp1
 echo " ./salome_adm/unix/envScript \\" >> configure.in_tmp1
 echo " ./salome_adm/unix/make_module \\" >> configure.in_tmp1
 
@@ -170,7 +173,8 @@ echo "      ./salome_adm/unix/make_module \\" >> configure.in_tmp1
 # salome_adm, par le make_conclude (resp. make_commence) du module,
 # c'est à dire le make_conclude (resp. make_commence) du répertoire
 # adm_local
-echo " ./adm_local/unix/make_commence \\" >> configure.in_tmp1
+echo " ./adm_local/unix/make_commence:${ABS_CONF_DIR}/adm_local/unix/make_commence.in \\" >> configure.in_tmp1
+echo " ./gui_adm/unix/make_conclude \\" >> configure.in_tmp1
 
 \rm -f configure.in_tmp2 configure.in_tmp3
 touch configure.in_tmp2
index e1c2367a528d206ab15f0015665496077f646b4f..8a357c61cf657818b52cf81df1f39157902b466f 100644 (file)
@@ -348,8 +348,7 @@ done
 dnl generals files which could be included in every makefile
 
 AC_SUBST_FILE(COMMENCE) COMMENCE=adm_local/unix/make_commence
-AC_SUBST_FILE(CONCLUDE) CONCLUDE=${GUI_ROOT_DIR}/adm_local/unix/make_conclude
-#AC_SUBST_FILE(CONCLUDE) CONCLUDE=salome_adm/unix/make_conclude
+AC_SUBST_FILE(CONCLUDE) CONCLUDE=gui_adm/unix/make_conclude
 AC_SUBST_FILE(MODULE) MODULE=salome_adm/unix/make_module
 
 dnl les dependences
@@ -364,7 +363,7 @@ else
 fi
 
 # make other build directories
-for rep in salome_adm adm_local doc bin/salome include/salome lib/salome share/salome/resources idl
+for rep in salome_adm gui_adm adm_local doc bin/salome include/salome lib/salome share/salome/resources idl
 do
 #   if test ! -d $rep ; then
 #      eval mkdir $rep
diff --git a/resources/SalomeApp.xml b/resources/SalomeApp.xml
new file mode 100644 (file)
index 0000000..91e66f2
--- /dev/null
@@ -0,0 +1,11 @@
+<document>
+  <section name="LIGHT">
+    <!-- Major module parameters -->
+    <parameter name="name" value="Light"/>
+    <parameter name="icon" value="LIGHT.png"/>
+  </section>
+  <section name="resources">
+    <!-- Module resources -->
+    <parameter name="LIGHT" value="${LIGHT_ROOT_DIR}/share/salome/resources"/>
+  </section>
+</document>
index bc84ee537f8f430b1883d2eecaaab9628e96c9ee..fcf33f5fa91c2460f69773ef09aef6dc3ffab41e 100644 (file)
@@ -56,7 +56,7 @@ LIB_MOC =                       \
 
 # additionnal compilation flags
 CPPFLAGS += \
-       $(QT_INCLUDES) $(VTK_INCLUDES) $(OCC_INCLUDES) $(PYTHON_INCLUDES) -I${BOOSTDIR} \
+       $(QT_INCLUDES) $(VTK_INCLUDES) $(OCC_INCLUDES) $(PYTHON_INCLUDES)  \
        -I${GUI_ROOT_DIR}/include/salome
 
 # additionnal linkage flags