]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
Issue 0020194: EDF 977 ALL: Get rid of warnings PACKAGE_VERSION already defined
authorvsr <vsr@opencascade.com>
Thu, 13 Aug 2009 05:50:13 +0000 (05:50 +0000)
committervsr <vsr@opencascade.com>
Thu, 13 Aug 2009 05:50:13 +0000 (05:50 +0000)
14 files changed:
adm_local/unix/make_common_starter.am
build_configure
configure.ac
idl/Makefile.am
src/DriverMED/Makefile.am
src/OBJECT/Makefile.am
src/SMESH/Makefile.am
src/SMESHClient/Makefile.am
src/SMESHFiltersSelection/Makefile.am
src/SMESHGUI/Makefile.am
src/SMESH_I/Makefile.am
src/SMESH_SWIG_WITHIHM/Makefile.am
src/StdMeshersGUI/Makefile.am
src/StdMeshers_I/Makefile.am

index 36ad8c3a7c7e37c3da0591452c8cc09f24250858..cd851519b43b9a45f237e8476506361a49c93fb6 100644 (file)
 #
 #  See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 #
+
+# ============================================================
+# The following is to avoid PACKAGE_... env variable
+# redefinition compilation warnings
+# ============================================================
+AM_CXXFLAGS = @KERNEL_CXXFLAGS@ -include SALOMEconfig.h
+AM_CPPFLAGS = @KERNEL_CXXFLAGS@ -include SALOMEconfig.h
+
 # ============================================================
 # This file defines the common definitions used in several
 # Makefile. This file must be included, if needed, by the file
index 07d07d6045b91ff1032273599dd8350fa366307d..6c5331b6a8d6557f96e9e7cb9933ada97be448a6 100755 (executable)
@@ -67,33 +67,16 @@ ABS_CONF_DIR=`pwd`
 
 #######################################################################
 
-mkdir -p salome_adm/unix/config_files
-#cp -f ${KERNEL_ROOT_DIR}/salome_adm/unix/config_files/* salome_adm/unix/config_files
-#cp -f ${KERNEL_ROOT_DIR}/salome_adm/unix/pythonbe.py salome_adm/unix
-
-cp -f ${KERNEL_ROOT_DIR}/salome_adm/unix/SALOMEconfig.h.in salome_adm/unix
-
-#cp -f ${GUI_ROOT_DIR}/adm_local/unix/config_files/* salome_adm/unix/config_files
-#cp -f ${MED_ROOT_DIR}/adm_local/unix/config_files/* salome_adm/unix/config_files
-#cp -f ${GEOM_ROOT_DIR}/adm_local/unix/config_files/* salome_adm/unix/config_files
-
-# remove KERNEL deprecated configure files
-#for deprecated in ac_cc_warnings.m4 ac_cxx_partial_specialization.m4 \
-#  check_mico.m4 config.guess ltmain.sh ac_cxx_bool.m4 ltconfig ac_cxx_typename.m4 \
-#    check_pthreads.m4 config.sub libtool.m4 ac_cxx_mutable.m4 missing
-#    do
-#      rm -f salome_adm/unix/config_files/${deprecated}
-#      done
-      
-
 # ____________________________________________________________________
 # aclocal creates the aclocal.m4 file from the standard macro and the
-# custom macro embedded in the directory salome_adm/unix/config_files
-# and KERNEL config_files directory.
+# custom macro embedded in the directory adm_local/unix/config_files,
+# KERNEL salome_adm/unix/config_files, GEOM and MED adm_local/unix/config_files
+# directories.
 # output:
 #   aclocal.m4
 #   autom4te.cache (directory)
 echo "====================================================== aclocal"
+
 aclocal -I adm_local/unix/config_files \
         -I ${KERNEL_ROOT_DIR}/salome_adm/unix/config_files \
         -I ${MED_ROOT_DIR}/adm_local/unix/config_files \
@@ -105,10 +88,10 @@ aclocal -I adm_local/unix/config_files \
 # version. The files are created in the directory specified with the
 # AC_CONFIG_AUX_DIR(<mydir>) tag (see configure.ac).
 # output:
-#   salome_adm/unix/config_files/config.guess
-#   salome_adm/unix/config_files/config.sub
-#   salome_adm/unix/config_files/ltmain.sh
-#echo "====================================================== libtoolize"
+#   adm_local/unix/config_files/config.guess
+#   adm_local/unix/config_files/config.sub
+#   adm_local/unix/config_files/ltmain.sh
+echo "==================================================== libtoolize"
 
 libtoolize --force --copy --automake || exit 1
 
@@ -128,11 +111,11 @@ autoconf
 # AC_CONFIG_AUX_DIR(<mydir>) tag (see configure.ac). This step also
 # creates the Makefile.in files from the Makefile.am files.
 # output:
-#   salome_adm/unix/config_files/compile
-#   salome_adm/unix/config_files/depcomp
-#   salome_adm/unix/config_files/install-sh
-#   salome_adm/unix/config_files/missing
-#   salome_adm/unix/config_files/py-compile
+#   adm_local/unix/config_files/compile
+#   adm_local/unix/config_files/depcomp
+#   adm_local/unix/config_files/install-sh
+#   adm_local/unix/config_files/missing
+#   adm_local/unix/config_files/py-compile
 #   Makefile.in (from Makefile.am)
 echo "====================================================== automake"
 
index 912e8c20af8314b3f212c3c03e12785d42026b19..0321f49f081f8a71381050c0cfb3d0476ac1f201 100644 (file)
@@ -27,7 +27,7 @@
 # Created from configure.in.base
 #
 AC_INIT([Salome2 Project SMESH module], [5.1.2], [webmaster.salome@opencascade.com], [SalomeSMESH])
-AC_CONFIG_AUX_DIR(salome_adm/unix/config_files)
+AC_CONFIG_AUX_DIR(adm_local/unix/config_files)
 AC_CANONICAL_HOST
 AC_CANONICAL_TARGET
 AM_INIT_AUTOMAKE([-Wno-portability])
@@ -107,7 +107,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='\${ROOT_BUILDDIR}'/salome_adm/unix/config_files/install-sh
+      INSTALL='\${ROOT_BUILDDIR}'/adm_local/unix/config_files/install-sh
       ;;
 esac
 
@@ -433,7 +433,6 @@ echo
 # autoscan, the Makefile list is generated in the output file configure.scan.
 # This could be helpfull to update de configuration.
 AC_OUTPUT([ \
-  salome_adm/unix/SALOMEconfig.h \
   adm_local/Makefile \
   adm_local/cmake_files/Makefile \
   adm_local/unix/Makefile \
index a1d468cb5e0d95ea24c0c9b72250a3369086edbe..03486bd078c5826f0c33e3afb18cb3b8e58909d2 100644 (file)
@@ -57,7 +57,6 @@ nodist_libSalomeIDLSMESH_la_SOURCES = \
 nodist_salomeinclude_HEADERS = $(BASEIDL_FILES:%.idl=%.hh)
 
 libSalomeIDLSMESH_la_CPPFLAGS =                        \
-       -I$(top_builddir)/salome_adm/unix       \
        -I$(top_builddir)/idl                   \
        $(CORBA_CXXFLAGS) $(CORBA_INCLUDES)     \
        $(KERNEL_CXXFLAGS) $(MED_CXXFLAGS)      \
@@ -85,8 +84,7 @@ IDLCXXFLAGS = \
        -I$(top_builddir)/idl/salome \
        -I$(KERNEL_ROOT_DIR)/idl/salome \
        -I$(MED_ROOT_DIR)/idl/salome \
-       -I$(GEOM_ROOT_DIR)/idl/salome \
-       -I$(top_builddir)/salome_adm/unix
+       -I$(GEOM_ROOT_DIR)/idl/salome
 
 IDLPYFLAGS  = \
        @IDLPYFLAGS@ \
index 5b795f8aea3f77e919d52299771697925e98d9e3..79da654fb416dd797936db9c0a10c2f68c3b16b0 100644 (file)
@@ -66,8 +66,7 @@ libMeshDriverMED_la_CPPFLAGS = \
        $(BOOST_CPPFLAGS) \
        -I$(srcdir)/../Driver \
        -I$(srcdir)/../SMDS \
-       -I$(srcdir)/../SMESHDS \
-       -I$(top_builddir)/salome_adm/unix
+       -I$(srcdir)/../SMESHDS
 
 libMeshDriverMED_la_LDFLAGS  = \
        $(BOOST_LIBS) \
index 8ef36754fc6d1723b19109fc10f9037c7d216db5..30a2e591a560815f81b59e6abba663ba62a7c8ec 100644 (file)
@@ -70,8 +70,7 @@ libSMESHObject_la_CPPFLAGS = \
        -I$(srcdir)/../DriverMED \
        -I$(srcdir)/../SMESH \
        -I$(srcdir)/../SMESHClient \
-       -I$(top_builddir)/idl \
-       -I$(top_builddir)/salome_adm/unix
+       -I$(top_builddir)/idl
 
 libSMESHObject_la_LDFLAGS  = \
         ../SMESHClient/libSMESHClient.la \
index ce65291a351b129c6a21b7237b76e87d1cda5cad..b286778f91e9282f3afc18110b5db8ba65592096 100644 (file)
@@ -94,9 +94,7 @@ libSMESHimpl_la_CPPFLAGS = \
        -I$(srcdir)/../DriverUNV \
        -I$(srcdir)/../DriverSTL \
        -I$(srcdir)/../SMDS \
-       -I$(srcdir)/../SMESHDS \
-       -I$(top_builddir)/salome_adm/unix
-
+       -I$(srcdir)/../SMESHDS
 
 libSMESHimpl_la_LDFLAGS = \
        ../SMESHDS/libSMESHDS.la \
index e44db75f28e013f8a560e2bf40f363da2f09469b..dfde2987ef45980971c49a4544583298d8596c33 100644 (file)
@@ -59,8 +59,7 @@ libSMESHClient_la_CPPFLAGS = \
        -I$(srcdir)/../SMDS \
        -I$(srcdir)/../SMESHDS \
        -I$(srcdir)/../SMESH \
-       -I$(top_builddir)/idl \
-       -I$(top_builddir)/salome_adm/unix
+       -I$(top_builddir)/idl
 
 libSMESHClient_la_LDFLAGS  = \
        ../../idl/libSalomeIDLSMESH.la \
index a0d49e885d71994cf68d375cc08ad613df02672c..527992db348be5e1555cc2d9a2c2078811a67eb5 100644 (file)
@@ -57,8 +57,7 @@ libSMESHFiltersSelection_la_CPPFLAGS = \
        $(BOOST_CPPFLAGS) \
        $(CORBA_CXXFLAGS) \
        $(CORBA_INCLUDES) \
-       -I$(top_builddir)/idl \
-       -I$(top_builddir)/salome_adm/unix
+       -I$(top_builddir)/idl
 
 libSMESHFiltersSelection_la_LDFLAGS  = \
        ../../idl/libSalomeIDLSMESH.la \
index bd8db3b6b9cc3a47b80bc5e35cf27abc38c078cb..0c8b888699060004a2c17fa02ad06872a8ffa4c4 100644 (file)
@@ -237,9 +237,7 @@ libSMESH_la_CPPFLAGS = \
        -I$(srcdir)/../SMESH_I \
        -I$(srcdir)/../Controls \
        -I$(srcdir)/../SMESHClient \
-       -I$(top_builddir)/idl \
-       -I$(top_builddir)/salome_adm/unix
-
+       -I$(top_builddir)/idl
 
 libSMESH_la_LDFLAGS  = \
        ../SMESHFiltersSelection/libSMESHFiltersSelection.la \
index 2a15a44df935ab6b5d9607c143783dd28a744204..b9282322d77e514fa0c4814a5d38d623ecd6ea46 100644 (file)
@@ -103,9 +103,7 @@ libSMESHEngine_la_CPPFLAGS = \
        -I$(srcdir)/../Driver \
        -I$(srcdir)/../DriverMED \
        -I$(srcdir)/../SMESH \
-       -I$(top_builddir)/idl \
-       -I$(top_builddir)/salome_adm/unix
-
+       -I$(top_builddir)/idl
 
 libSMESHEngine_la_LDFLAGS  = \
        ../../idl/libSalomeIDLSMESH.la \
index e540dd1ab7e959a729f5ac756c01842e5787ec4f..5370d7f3eec3e31c2b8dcd0f13722740e46c5aa3 100644 (file)
@@ -73,8 +73,7 @@ _libSMESH_Swig_la_CPPFLAGS =  \
        $(BOOST_CPPFLAGS)       \
        -I$(srcdir)             \
        -I$(srcdir)/../SMESHGUI \
-       -I$(top_builddir)/idl   \
-       -I$(top_builddir)/salome_adm/unix
+       -I$(top_builddir)/idl
 
 _libSMESH_Swig_la_LDFLAGS  = -module
 _libSMESH_Swig_la_LIBADD   = ../SMESHGUI/libSMESH.la                   \
index 8e31360dc64780ebcbd587ef7e1ef59d5181a4f2..7415bc74b8c061c53083204d2d43fd40b02fb911 100644 (file)
@@ -88,9 +88,7 @@ libStdMeshersGUI_la_CPPFLAGS = \
        -I$(srcdir)/../StdMeshers \
        -I$(srcdir)/../OBJECT \
        -I$(srcdir)/../SMESHFiltersSelection \
-       -I$(top_builddir)/idl \
-       -I$(top_builddir)/salome_adm/unix
-
+       -I$(top_builddir)/idl
 
 libStdMeshersGUI_la_LDFLAGS  = \
        ../../idl/libSalomeIDLSMESH.la \
index 0238db8679edd2a647a39605a1df19e1bf294c96..94ed920c86c22abb75adf3ccf9554b9047391c1d 100644 (file)
@@ -119,9 +119,7 @@ libStdMeshersEngine_la_CPPFLAGS = \
        -I$(srcdir)/../SMDS \
        -I$(srcdir)/../Controls \
        -I$(srcdir)/../StdMeshers \
-       -I$(top_builddir)/idl \
-       -I$(top_builddir)/salome_adm/unix
-
+       -I$(top_builddir)/idl
 
 libStdMeshersEngine_la_LDFLAGS  = \
        ../../idl/libSalomeIDLSMESH.la \