]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
Improve make procedure (add aclocal flags)
authorvsr <vsr@opencascade.com>
Wed, 15 Apr 2009 13:35:33 +0000 (13:35 +0000)
committervsr <vsr@opencascade.com>
Wed, 15 Apr 2009 13:35:33 +0000 (13:35 +0000)
Makefile.am
build_configure

index 2af4f6dc257af766f66f028a730a66e9ba7730b7..417939b53e433a09e0c349647dc6cccb7676d7e3 100644 (file)
 #
 include $(top_srcdir)/adm_local/unix/make_common_starter.am
 
+if SMESH_ENABLE_GUI
+  ACLOCAL_AMFLAGS = -I adm_local/unix/config_files                      \
+                    -I ${GUI_ROOT_DIR}/adm_local/unix/config_files      \
+                    -I ${KERNEL_ROOT_DIR}/salome_adm/unix/config_files  \
+                    -I ${MED_ROOT_DIR}/adm_local/unix/config_files      \
+                    -I ${GEOM_ROOT_DIR}/adm_local/unix/config_files
+else !SMESH_ENABLE_GUI
+  ACLOCAL_AMFLAGS = -I adm_local/unix/config_files                      \
+                    -I ${KERNEL_ROOT_DIR}/salome_adm/unix/config_files  \
+                    -I ${MED_ROOT_DIR}/adm_local/unix/config_files      \
+                    -I ${GEOM_ROOT_DIR}/adm_local/unix/config_files
+endif
+
 SUBDIRS = idl adm_local resources src doc bin
 
 DIST_SUBDIRS = idl adm_local resources src doc bin 
index d135d9e8d027bbddfd5b19fdb2d9c99431a1d9eb..6eeefd6fd7fd4cbe30568df130ecc59667f56638 100755 (executable)
@@ -123,8 +123,8 @@ echo "====================================================== aclocal"
 
 if test ${SMESH_WITH_GUI} = yes; then
   aclocal -I adm_local/unix/config_files \
-          -I ${KERNEL_ROOT_DIR}/salome_adm/unix/config_files \
          -I ${GUI_ROOT_DIR}/adm_local/unix/config_files \
+          -I ${KERNEL_ROOT_DIR}/salome_adm/unix/config_files \
          -I ${MED_ROOT_DIR}/adm_local/unix/config_files \
          -I ${GEOM_ROOT_DIR}/adm_local/unix/config_files || exit 1
 else