#
# 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
#######################################################################
-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 \
# 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
# 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"
# 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])
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
# 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 \
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) \
-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@ \
$(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) \
-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 \
-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 \
-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 \
$(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 \
-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 \
-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 \
$(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 \
-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 \
-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 \