Salome HOME
Windows porting
[modules/geom.git] / src / GEOMGUI / Makefile.in
index 6e1a48bc4718711c9862176bfa782d482e9a8a16..a14ea4cb1f2e776a11355a94f50cbca0071ec81f 100644 (file)
-# -* Makefile *- 
+#  GEOM GEOMGUI : GUI for Geometry component
 #
-# Author : Marc Tajchman (CEA)
-# Date : 5/07/2001
-# $Header$
+#  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
 #
+#
+#
+#  File   : Makefile.in
+#  Author : Marc Tajchman (CEA)
+#  Module : GEOM
+#  $Header$
 
-# source path
 top_srcdir=@top_srcdir@
 top_builddir=../..
 srcdir=@srcdir@
-VPATH=.:$(srcdir):$(top_srcdir)/idl:$(top_builddir)/idl
+VPATH=.:@srcdir@:@top_srcdir@/idl
 
 
 @COMMENCE@
 
-# header files 
-EXPORT_HEADERS= GeometryGUI_Swig.hxx \
-               GeometryGUI_Swig.i
-
-# ressources files :
+# ressources files
 PO_FILES = \
-       GEOM_icons.po \
+       GEOM_images.po \
        GEOM_msg_en.po \
        GEOM_msg_fr.po
 
+# header files 
+EXPORT_HEADERS= GeometryGUI.h \
+                GEOMGUI.h \
+               GEOM_Displayer.h \
+               GEOMGUI_OCCSelector.h \
+               GEOMGUI_Selection.h \
+                GeometryGUI_Swig.hxx \
+               GeometryGUI_Swig.i
+
 # Libraries targets 
-LIB = libGEOMGUI.la
+LIB = libGEOM.la
 LIB_SRC =      GeometryGUI.cxx \
-               GeometryGUI_SpinBox.cxx \
-               GeometryGUI_TransparencyDlg.cxx \
-               GeometryGUI_NbIsosDlg.cxx \
-               GeometryGUI_BoxDlg.cxx \
-               GeometryGUI_ArchimedeDlg.cxx \
-               GeometryGUI_PointDlg.cxx \
-               GeometryGUI_VectorDlg.cxx \
-               GeometryGUI_PlaneDlg.cxx \
-               GeometryGUI_PrismDlg.cxx \
-               GeometryGUI_FuseDlg.cxx \
-               GeometryGUI_SectionDlg.cxx \
-               GeometryGUI_CommonDlg.cxx \
-               GeometryGUI_CutDlg.cxx \
-               GeometryGUI_LineDlg.cxx \
-               GeometryGUI_ScaleDlg.cxx \
-               GeometryGUI_MirrorDlg.cxx \
-               GeometryGUI_SphereDlg.cxx \
-               GeometryGUI_CircleDlg.cxx \
-               GeometryGUI_RevolDlg.cxx \
-               GeometryGUI_RotationDlg.cxx \
-               GeometryGUI_TranslationDlg.cxx \
-               GeometryGUI_ArcDlg.cxx \
-               GeometryGUI_PipeDlg.cxx \
-               GeometryGUI_CylinderDlg.cxx \
-               GeometryGUI_ConeDlg.cxx \
-               GeometryGUI_TorusDlg.cxx \
-               GeometryGUI_FillingDlg.cxx \
-               GeometryGUI_SewingDlg.cxx \
-               GeometryGUI_CompoundDlg.cxx \
-               GeometryGUI_EdgeDlg.cxx \
-               GeometryGUI_OrientationDlg.cxx \
-               GeometryGUI_PartitionDlg.cxx \
-               GeometryGUI_SubShapeDlg.cxx \
-               GeometryGUI_aParameterDlg.cxx \
-               GeometryGUI_WireDlg.cxx \
-               GeometryGUI_WorkingPlaneDlg.cxx \
-               GeometryGUI_PropertiesDlg.cxx \
-               GeometryGUI_InertiaDlg.cxx \
-               GeometryGUI_CenterMassDlg.cxx \
-               GeometryGUI_FaceDlg.cxx \
-               GeometryGUI_BndBoxDlg.cxx \
-               GeometryGUI_MaxToleranceDlg.cxx \
-               GeometryGUI_WhatisDlg.cxx \
-               GeometryGUI_DistanceDlg.cxx \
-               GeometryGUI_SuppressFacesDlg.cxx \
-               GeometryGUI_CheckShape.cxx \
-               GeometryGUI_FilletDlg.cxx \
-               GeometryGUI_ChamferDlg.cxx \
-               GeometryGUI_MultiTranslationDlg.cxx \
-               GeometryGUI_MultiRotationDlg.cxx \
-               GeometryGUI_Swig.cxx \
-               GeometryGUI_SuppressHoleDlg.cxx \
+                GEOMGUI.cxx \
+               GEOM_Displayer.cxx \
+                GEOMGUI_OCCSelector.cxx \
+               GEOMGUI_Selection.cxx \
+               GeometryGUI_Swig.cxx
 
-LIB_MOC = \
-                GeometryGUI.h \
-                GeometryGUI_SpinBox.h \
-                GeometryGUI_TransparencyDlg.h \
-                GeometryGUI_NbIsosDlg.h \
-                GeometryGUI_BoxDlg.h \
-                GeometryGUI_ArchimedeDlg.h \
-                GeometryGUI_PointDlg.h \
-                GeometryGUI_VectorDlg.h \
-                GeometryGUI_PlaneDlg.h \
-                GeometryGUI_PrismDlg.h \
-                GeometryGUI_FuseDlg.h \
-                GeometryGUI_SectionDlg.h \
-                GeometryGUI_CommonDlg.h \
-                GeometryGUI_CutDlg.h \
-                GeometryGUI_LineDlg.h \
-                GeometryGUI_ScaleDlg.h \
-                GeometryGUI_MirrorDlg.h \
-                GeometryGUI_SphereDlg.h \
-                GeometryGUI_CircleDlg.h \
-                GeometryGUI_RevolDlg.h \
-                GeometryGUI_RotationDlg.h \
-                GeometryGUI_TranslationDlg.h \
-                GeometryGUI_ArcDlg.h \
-                GeometryGUI_PipeDlg.h \
-                GeometryGUI_CylinderDlg.h \
-                GeometryGUI_ConeDlg.h \
-                GeometryGUI_TorusDlg.h \
-                GeometryGUI_FillingDlg.h \
-                GeometryGUI_SewingDlg.h \
-                GeometryGUI_CompoundDlg.h \
-                GeometryGUI_EdgeDlg.h \
-                GeometryGUI_OrientationDlg.h \
-                GeometryGUI_PartitionDlg.h \
-                GeometryGUI_SubShapeDlg.h \
-                GeometryGUI_aParameterDlg.h \
-                GeometryGUI_WireDlg.h \
-                GeometryGUI_WorkingPlaneDlg.h \
-                GeometryGUI_PropertiesDlg.h \
-                GeometryGUI_InertiaDlg.h \
-                GeometryGUI_CenterMassDlg.h \
-                GeometryGUI_FaceDlg.h \
-                GeometryGUI_BndBoxDlg.h \
-                GeometryGUI_MaxToleranceDlg.h \
-                GeometryGUI_WhatisDlg.h \
-                GeometryGUI_DistanceDlg.h \
-                GeometryGUI_SuppressFacesDlg.h \
-                GeometryGUI_CheckShape.h \
-                GeometryGUI_FilletDlg.h \
-                GeometryGUI_ChamferDlg.h \
-                GeometryGUI_MultiTranslationDlg.h \
-                GeometryGUI_MultiRotationDlg.h \
-                GeometryGUI_SuppressHoleDlg.h
+LIB_MOC = GeometryGUI.h \
 
 LIB_CLIENT_IDL = SALOME_Exception.idl \
-                GEOM_Gen.idl \
-                GEOM_Shape.idl \
                 SALOMEDS.idl \
                 SALOMEDS_Attributes.idl \
-                SALOME_ModuleCatalog.idl \
-                SALOME_Component.idl \
+                SALOME_GenericObj.idl \
+                SALOME_Component.idl
 
-LIB_SERVER_IDL = 
+LIB_SERVER_IDL =  
 
 # additionnal information to compil and link file
 
-CPPFLAGS += $(QT_INCLUDES) $(VTK_INCLUDES) $(OGL_INCLUDES) $(OCC_INCLUDES) $(PYTHON_INCLUDES) -I${KERNEL_ROOT_DIR}/include/salome
-CXXFLAGS += $(OCC_CXXFLAGS) -I${KERNEL_ROOT_DIR}/include/salome
+CPPFLAGS += $(QT_INCLUDES) $(VTK_INCLUDES) $(OCC_INCLUDES) $(PYTHON_INCLUDES) $(BOOST_CPPFLAGS) -I$(KERNEL_ROOT_DIR)/include/salome -I$(GUI_ROOT_DIR)/include/salome
+CXXFLAGS += $(BOOST_CPPFLAGS) -I$(KERNEL_ROOT_DIR)/include/salome -I$(GUI_ROOT_DIR)/include/salome
 
-LDFLAGS += -lOCCViewer -lVTKViewer -lSalomeObject -lSalomeGUI -lGEOMClient -lGEOMObject -lGEOMFiltersSelection -lGEOMSketcher $(OCC_KERNEL_LIBS) $(OCC_MODELER_LIBS) -L${KERNEL_ROOT_DIR}/lib/salome
+LDFLAGS += -lGEOMFiltersSelection -L$(KERNEL_ROOT_DIR)/lib/salome -L$(GUI_ROOT_DIR)/lib/salome -lOCCViewer -lVTKViewer -lSalomeApp -lCAM -lGEOMClient -lSOCC -lSVTK -lGEOMObject -lToolsGUI -lEvent
 
 @CONCLUDE@