Salome HOME
GEOM porting to CMake
[modules/geom.git] / src / BasicGUI / Makefile.am
index ab4659b1328b28b0ea10c868382c4fd2762ed541..1d680c9e252592304f4fde29c061486d17922cc5 100644 (file)
-#  GEOM BASICGUI : 
+# Copyright (C) 2007-2013  CEA/DEN, EDF R&D, OPEN CASCADE
 #
-#  Copyright (C) 2003  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 as published by the Free Software Foundation; either 
-#  version 2.1 of the License. 
-# 
-#  This library is distributed in the hope that it will be useful, 
-#  but WITHOUT ANY WARRANTY; without even the implied warranty of 
-#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
-#  Lesser General Public License for more details. 
-# 
-#  You should have received a copy 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
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public
+# License as published by the Free Software Foundation; either
+# version 2.1 of the License.
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+# Lesser General Public License for more details.
 #
+# You should have received a copy 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
 #
-#  File   : Makefile.in
-#  Author : Damien COQUERET (OCC)
-#  Modified by : Alexander BORODIN (OCN) - autotools usage
-#  Module : GEOM
-#  $Header: 
 
+# File    : Makefile.am
+# Author  : Alexander BORODIN, Open CASCADE S.A.S. (alexander.borodin@opencascade.com)
+# Package : BasicGUI
+#
 include $(top_srcdir)/adm_local/unix/make_common_starter.am
 
 # header files 
-salomeinclude_HEADERS = BasicGUI_PointDlg.h \
-                       GEOM_BasicGUI.hxx
+
+
+salomeinclude_HEADERS =                        \
+       BasicGUI.h                      \
+       BasicGUI_ArcDlg.h               \
+       BasicGUI_CircleDlg.h            \
+       BasicGUI_CurveDlg.h             \
+       BasicGUI_EllipseDlg.h           \
+       BasicGUI_LineDlg.h              \
+       BasicGUI_MarkerDlg.h            \
+       BasicGUI_PlaneDlg.h             \
+       BasicGUI_PointDlg.h             \
+       BasicGUI_VectorDlg.h            \
+       BasicGUI_ParamCurveWidget.h
+#
+# OBSOLETE: BasicGUI_WorkingPlaneDlg.h
+#
 
 # Libraries targets
+
 lib_LTLIBRARIES = libBasicGUI.la
 
 # Sources files
-dist_libBasicGUI_la_SOURCES = \
-       BasicGUI.cxx \
-       BasicGUI_PointDlg.cxx \
-       BasicGUI_LineDlg.cxx \
-       BasicGUI_CircleDlg.cxx \
-       BasicGUI_EllipseDlg.cxx \
-       BasicGUI_ArcDlg.cxx \
-       BasicGUI_VectorDlg.cxx \
-       BasicGUI_PlaneDlg.cxx \
-       BasicGUI_WorkingPlaneDlg.cxx \
-       BasicGUI_CurveDlg.cxx \
-       BasicGUI_MarkerDlg.cxx
+dist_libBasicGUI_la_SOURCES =          \
+       BasicGUI.cxx                    \
+       BasicGUI_PointDlg.cxx           \
+       BasicGUI_LineDlg.cxx            \
+       BasicGUI_CircleDlg.cxx          \
+       BasicGUI_EllipseDlg.cxx         \
+       BasicGUI_ArcDlg.cxx             \
+       BasicGUI_VectorDlg.cxx          \
+       BasicGUI_PlaneDlg.cxx           \
+       BasicGUI_CurveDlg.cxx           \
+       BasicGUI_MarkerDlg.cxx          \
+       BasicGUI_ParamCurveWidget.cxx
+#
+# OBSOLETE: BasicGUI_WorkingPlaneDlg.cxx
+#
 
-MOC_FILES = \
-       BasicGUI_PointDlg_moc.cxx \
-       BasicGUI_LineDlg_moc.cxx \
-       BasicGUI_CircleDlg_moc.cxx \
-       BasicGUI_EllipseDlg_moc.cxx \
-       BasicGUI_ArcDlg_moc.cxx \
-       BasicGUI_VectorDlg_moc.cxx \
-       BasicGUI_PlaneDlg_moc.cxx \
-       BasicGUI_WorkingPlaneDlg_moc.cxx \
-       BasicGUI_CurveDlg_moc.cxx \
-       BasicGUI_MarkerDlg_moc.cxx
+MOC_FILES =                                    \
+       BasicGUI_PointDlg_moc.cxx               \
+       BasicGUI_LineDlg_moc.cxx                \
+       BasicGUI_CircleDlg_moc.cxx              \
+       BasicGUI_EllipseDlg_moc.cxx             \
+       BasicGUI_ArcDlg_moc.cxx                 \
+       BasicGUI_VectorDlg_moc.cxx              \
+       BasicGUI_PlaneDlg_moc.cxx               \
+       BasicGUI_CurveDlg_moc.cxx               \
+       BasicGUI_MarkerDlg_moc.cxx              \
+       BasicGUI_ParamCurveWidget_moc.cxx
+#
+# OBSOLETE: BasicGUI_WorkingPlaneDlg_moc.cxx
+#
 
-nodist_libBasicGUI_la_SOURCES= \
+nodist_libBasicGUI_la_SOURCES =                        \
        $(MOC_FILES)
 
+# additional information to compile and link file
 
-# LIB_CLIENT_IDL = SALOME_GenericObj.idl SALOME_Exception.idl SALOME_Component.idl
-
-# LIB_SERVER_IDL = 
-
-# additionnal information to compil and link file
-
-libBasicGUI_la_CPPFLAGS = \
-       $(QT_INCLUDES) \
-       $(VTK_INCLUDES) \
-       $(CAS_CPPFLAGS) \
-       $(PYTHON_INCLUDES) \
-       $(BOOST_CPPFLAGS) \
-       $(KERNEL_CXXFLAGS) \
-       $(GUI_CXXFLAGS) \
-       $(CORBA_CXXFLAGS) \
-       $(CORBA_INCLUDES) \
-       -I$(srcdir)/../OBJECT \
-       -I$(srcdir)/../DlgRef \
-       -I$(srcdir)/../GEOMGUI \
-       -I$(srcdir)/../GEOMFiltersSelection \
-       -I$(srcdir)/../GEOMBase \
-       -I$(srcdir)/../GEOMImpl \
-       -I$(srcdir)/../GEOMClient \
-       -I$(top_builddir)/idl \
-       -I$(top_builddir)/salome_adm/unix
+libBasicGUI_la_CPPFLAGS =                      \
+       $(QT_INCLUDES)                          \
+       $(VTK_INCLUDES)                         \
+       $(CAS_CPPFLAGS)                         \
+       $(PYTHON_INCLUDES)                      \
+       $(BOOST_CPPFLAGS)                       \
+       $(KERNEL_CXXFLAGS)                      \
+       $(GUI_CXXFLAGS)                         \
+       $(CORBA_CXXFLAGS)                       \
+       $(CORBA_INCLUDES)                       \
+       $(OPENCV_INCLUDES)                      \
+       -I$(srcdir)/../OBJECT                   \
+       -I$(srcdir)/../DlgRef                   \
+       -I$(srcdir)/../GEOMGUI                  \
+       -I$(srcdir)/../GEOMFiltersSelection     \
+       -I$(srcdir)/../GEOMBase                 \
+       -I$(srcdir)/../GEOMImpl                 \
+       -I$(srcdir)/../GEOMClient               \
+       -I$(top_builddir)/src/DlgRef            \
+       -I$(top_builddir)/idl
 
 
-libBasicGUI_la_LDFLAGS  = \
-       ../GEOMFiltersSelection/libGEOMFiltersSelection.la \
-       ../GEOMBase/libGEOMBase.la \
-       ../GEOMGUI/libGEOM.la \
-       $(GUI_LDFLAGS) -lsuit
+libBasicGUI_la_LDFLAGS  =                                      \
+       ../GEOMFiltersSelection/libGEOMFiltersSelection.la      \
+       ../GEOMBase/libGEOMBase.la                              \
+       ../GEOMGUI/libGEOM.la                                   \
+       $(CAS_LDFLAGS) -lTKGeomBase                             \
+       $(GUI_LDFLAGS) -lsuit                                   \
+       $(OPENCV_LIBS)