Salome HOME
Merge from BR_V5_DEV 17Feb09
[samples/component.git] / Makefile.am
index be9ccfa88ac65568a07344ecc1cd17b7a8298545..09ac60d086475264f4d49c61ac279e502fe3c050 100644 (file)
@@ -1,4 +1,7 @@
-#  Copyright (C) 2005  CEA/DEN, EDF R&D, OPEN CASCADE, PRINCIPIA R&D
+#  Copyright (C) 2007-2008  CEA/DEN, EDF R&D, OPEN CASCADE
+#
+#  Copyright (C) 2003-2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
+#  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
 #
 #  This library is free software; you can redistribute it and/or
 #  modify it under the terms 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/ or email : webmaster.salome@opencascade.com
+#  See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 #
 # -* Makefile *-
-#
 # Author : Patrick GOLDBRONN (CEA)
 # Date : 28/06/2001
 #  Modified by : Alexander BORODIN (OCN) - autotools usage
 # $Header:
 #
-
 include $(top_srcdir)/adm_local/unix/make_common_starter.am
 
+if COMPONENT_ENABLE_GUI
+    ACLOCAL_AMFLAGS = -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 ${MED_ROOT_DIR}/adm_local/unix/config_files
+else !COMPONENT_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
+endif
 
 SUBDIRS = idl adm_local resources src bin 
 
-DIST_SUBDIRS = idl adm_local resources src bin 
-
 DISTCLEANFILES = a.out aclocal.m4 configure
 
-salomeinclude_DATA=COMPONENT_version.h
+salomeinclude_DATA = COMPONENT_version.h
 
-EXTRA_DIST+= \
-       build_configure \
-       clean_configure \
-       LICENCE
+EXTRA_DIST +=          \
+       build_configure \
+       clean_configure
 
 dist-hook:
        rm -rf `find $(distdir) -name CVS`