]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
sources v1.2
authornri <nri@opencascade.com>
Wed, 9 Jul 2003 16:39:58 +0000 (16:39 +0000)
committernri <nri@opencascade.com>
Wed, 9 Jul 2003 16:39:58 +0000 (16:39 +0000)
build_configure
configure.in.base

index 6f7bd330956f742e1a519d80307a71d63aadf424..259f89c54e148ec21766c3ff9facb17d5d904ae0 100755 (executable)
@@ -89,11 +89,6 @@ then
 fi
 chmod u-w configure.in.base 
 
-#############################################
-echo '' >> configure.in_tmp1
-echo 'export TEMPO=${KERNEL_ROOT_DIR}' >> configure.in_tmp1
-echo 'export KERNEL_ROOT_DIR=${ROOT_SRCDIR}' >> configure.in_tmp1
-#############################################
 
 echo  "" >> configure.in_tmp1
 echo "AC_OUTPUT([ \\" >> configure.in_tmp1
@@ -104,30 +99,24 @@ echo "AC_OUTPUT([ \\" >> configure.in_tmp1
 # put them "manually"
 #
 
-echo " ./salome_adm/unix/SALOMEconfig.h \\" >> configure.in_tmp1
-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 " ./salome_adm/unix/make_omniorb \\" >> configure.in_tmp1
-echo " ./salome_adm/unix/envScript \\" >> configure.in_tmp1
-echo " ./salome_adm/unix/make_commence \\" >> configure.in_tmp1
-echo " ./salome_adm/unix/make_conclude \\" >> configure.in_tmp1
-echo " ./salome_adm/unix/make_module \\" >> configure.in_tmp1
-echo "  ./salome_adm/Makefile \\" >> configure.in_tmp1
+echo " ./adm/unix/SALOMEconfig.h \\" >> configure.in_tmp1
+echo " ./adm/unix/F77config.h \\" >> configure.in_tmp1
+echo " ./adm/unix/sstream \\" >> configure.in_tmp1
+echo " ./adm/unix/depend \\" >> configure.in_tmp1
+echo " ./adm/unix/make_omniorb \\" >> configure.in_tmp1
+echo " ./adm/unix/envScript \\" >> configure.in_tmp1
+echo " ./adm/unix/make_commence \\" >> configure.in_tmp1
+echo " ./adm/unix/make_conclude \\" >> configure.in_tmp1
+echo " ./adm/unix/make_module \\" >> configure.in_tmp1
 
 \rm -f configure.in_tmp2 configure.in_tmp3
 touch configure.in_tmp2
 find_in . configure.in_tmp2
-sed '/^...salome_adm/d' configure.in_tmp2 >  configure.in_tmp3
+sed '/^...adm/d' configure.in_tmp2 >  configure.in_tmp3
 sed '/configure.in/d' configure.in_tmp3 >  configure.in_tmp2
 sed 's/.in / /' configure.in_tmp2 >> configure.in_tmp1
 
 echo  "])" >> configure.in_tmp1
-
-#############################################
-echo 'export KERNEL_ROOT_DIR=${TEMPO}' >> configure.in_tmp1
-#############################################
-
 \mv configure.in_tmp1 configure.in_new
 \rm  -f configure.in_tmp2 configure.in_tmp3
 
@@ -183,7 +172,7 @@ else
        echo -n "Creating 'configure' script ...  "
 fi
 
-aclocal --acdir=salome_adm/unix/config_files
+aclocal --acdir=adm/unix/config_files
 if autoconf
 then
        echo "done"
index 8e3ab92de2cefe129dab1e86588a50e14032a037..6d9d8bfe1ce6a72360efce026b90570dda8f60f4 100644 (file)
@@ -15,8 +15,8 @@
 # Created from configure.in.base
 #
 
-AC_INIT(src)
-AC_CONFIG_AUX_DIR(salome_adm/unix/config_files)
+AC_INIT(SALOME)
+AC_CONFIG_AUX_DIR(adm/unix/config_files)
 AC_CANONICAL_HOST
 
 PACKAGE=salome
@@ -37,9 +37,6 @@ cd $ROOT_BUILDDIR
 
 AC_SUBST(ROOT_SRCDIR)
 AC_SUBST(ROOT_BUILDDIR)
-dnl ##########################################################
-AC_SUBST(KERNEL_ROOT_DIR)
-dnl ##########################################################
 
 echo
 echo Source root directory : $ROOT_SRCDIR
@@ -85,7 +82,7 @@ dnl Fix up the INSTALL macro if it s a relative path. We want the
 dnl full-path to the binary instead.
 case "$INSTALL" in
    *install-sh*)
-      INSTALL='\${top_srcdir}'/salome_adm/unix/config_files/install-sh
+      INSTALL='\${top_srcdir}'/adm/unix/config_files/install-sh
       ;;
 esac
 
@@ -194,7 +191,7 @@ CHECK_CORBA
 
 AC_SUBST_FILE(CORBA)
 corba=make_$ORB
-CORBA=salome_adm/unix/$corba
+CORBA=adm/unix/$corba
 
 echo
 echo ---------------------------------------------
@@ -297,12 +294,12 @@ echo
 
 dnl generals files which could be included in every makefile
 
-AC_SUBST_FILE(COMMENCE) COMMENCE=salome_adm/unix/make_commence
-AC_SUBST_FILE(CONCLUDE) CONCLUDE=salome_adm/unix/make_conclude
-AC_SUBST_FILE(MODULE) MODULE=salome_adm/unix/make_module
+AC_SUBST_FILE(COMMENCE) COMMENCE=adm/unix/make_commence
+AC_SUBST_FILE(CONCLUDE) CONCLUDE=adm/unix/make_conclude
+AC_SUBST_FILE(MODULE) MODULE=adm/unix/make_module
 
 dnl les dependences
-AC_SUBST_FILE(DEPEND) DEPEND=salome_adm/unix/depend
+AC_SUBST_FILE(DEPEND) DEPEND=adm/unix/depend
 
 dnl We don t need to say when we re entering directories if we re using
 dnl GNU make becuase make does it for us.
@@ -313,7 +310,7 @@ else
 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 adm bin include lib share/salome/resources share/salome/idl
 do
 #   if test ! -d $rep ; then
 #      eval mkdir $rep
@@ -358,7 +355,7 @@ do
 done
 cd $ROOT_BUILDDIR
 
-AC_SUBST_FILE(ENVSCRIPT) ENVSCRIPT=salome_adm/unix/envScript
+AC_SUBST_FILE(ENVSCRIPT) ENVSCRIPT=adm/unix/envScript
 
 dnl copy xml files to the build tree (lib directory)
 dnl pourquoi ????