Salome HOME
GEOM porting to CMake
[modules/geom.git] / src / GEOMBase / Makefile.am
index 078b1c4a27334ab30144e14e9dc0612114f8d929..087203851b93286a2a2d640fcd517f05eacf428c 100644 (file)
@@ -1,95 +1,80 @@
-#  GEOM GEOMBASE : 
+# 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: 
 
+# GEOM GEOMBASE : 
+# File    : Makefile.am
+# Author  : Alexander BORODIN, Open CASCADE S.A.S. (alexander.borodin@opencascade.com)
+# Package : GEOMBase
+#
 include $(top_srcdir)/adm_local/unix/make_common_starter.am
 
 # Libraries targets
 lib_LTLIBRARIES = libGEOMBase.la
 
 # header files 
-salomeinclude_HEADERS = \
-       GEOMBase.h \
-       GEOMBase_Skeleton.h \
-       GEOMBase_Helper.h \
-       GEOM_Operation.h \
-       GEOMBase_aWarningDlg.h \
-       GEOM_GEOMBase.hxx
-
-dist_libGEOMBase_la_SOURCES = \
-       GEOMBase.cxx \
-       GEOMBase_Skeleton.cxx \
-       GEOMBase_aParameterDlg.cxx \
-       GEOMBase_Helper.cxx \
-       GEOMBase_aWarningDlg.cxx \
-       GEOM_Operation.cxx
-
-MOC_FILES = \
-       GEOMBase_Skeleton_moc.cxx \
-       GEOMBase_aWarningDlg_moc.cxx \
-       GEOMBase_aParameterDlg_moc.cxx
+salomeinclude_HEADERS =                \
+       GEOMBase.h              \
+       GEOMBase_Skeleton.h     \
+       GEOMBase_Helper.h       \
+       GEOM_Operation.h        \
+       GEOM_GEOMBase.hxx       \
+       GEOM_GenericObjPtr.h
 
-nodist_libGEOMBase_la_SOURCES= \
-        $(MOC_FILES)
+dist_libGEOMBase_la_SOURCES =          \
+       GEOMBase.cxx                    \
+       GEOMBase_Skeleton.cxx           \
+       GEOMBase_Helper.cxx             \
+       GEOM_Operation.cxx              \
+       GEOM_GenericObjPtr.cxx
 
-#LIB_CLIENT_IDL = SALOME_Exception.idl \
-#               SALOMEDS.idl \
-#               SALOMEDS_Attributes.idl \
-#                 SALOME_GenericObj.idl \
-#               SALOME_Component.idl \
-#               GEOM_Gen.idl
+MOC_FILES =                            \
+       GEOMBase_Skeleton_moc.cxx
 
-#LIB_SERVER_IDL = 
+nodist_libGEOMBase_la_SOURCES =        \
+       $(MOC_FILES)
 
-# additionnal information to compil and link file
+# additional information to compile and link file
 
-libGEOMBase_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)/../GEOMClient \
-       -I$(srcdir)/../GEOMImpl \
-       -I$(srcdir)/../GEOMGUI \
-       -I$(srcdir)/../DlgRef \
-       -I$(top_builddir)/idl \
-       -I$(top_builddir)/salome_adm/unix
+libGEOMBase_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)/../GEOMClient       \
+       -I$(srcdir)/../GEOMImpl         \
+       -I$(srcdir)/../GEOMGUI          \
+       -I$(srcdir)/../DlgRef           \
+       -I$(top_builddir)/src/DlgRef    \
+       -I$(top_builddir)/idl           
 
-libGEOMBase_la_LDFLAGS  = \
-       ../../idl/libSalomeIDLGEOM.la \
-       ../GEOMGUI/libGEOM.la \
-       ../DlgRef/libDlgRef.la \
-       $(KERNEL_LDFLAGS) -lOpUtil \
+libGEOMBase_la_LDFLAGS  =              \
+       ../../idl/libSalomeIDLGEOM.la   \
+       ../GEOMGUI/libGEOM.la           \
+       ../DlgRef/libDlgRef.la          \
+       $(KERNEL_LDFLAGS) -lOpUtil      \
        $(GUI_LDFLAGS) -lsuit -lOCCViewer -lVTKViewer -lSVTK -lSalomePrs -lSalomeApp -lCAM \
-       $(CAS_LDPATH) -lTKPrim
+       $(CAS_LDPATH) -lTKPrim          \
+       $(OPENCV_LIBS)