Salome HOME
DCQ : Merge with Ecole_Ete_a6.
[modules/smesh.git] / src / SMESHGUI / Makefile.in
1 #  SMESH SMESHGUI : GUI for SMESH component
2 #
3 #  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
4 #  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
5
6 #  This library is free software; you can redistribute it and/or 
7 #  modify it under the terms of the GNU Lesser General Public 
8 #  License as published by the Free Software Foundation; either 
9 #  version 2.1 of the License. 
10
11 #  This library is distributed in the hope that it will be useful, 
12 #  but WITHOUT ANY WARRANTY; without even the implied warranty of 
13 #  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
14 #  Lesser General Public License for more details. 
15
16 #  You should have received a copy of the GNU Lesser General Public 
17 #  License along with this library; if not, write to the Free Software 
18 #  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA 
19
20 #  See http://www.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
21 #
22 #
23 #
24 #  File   : Makefile.in
25 #  Author : Nicolas REJNERI
26 #  Module : SMESH
27 #  $Header$
28
29 top_srcdir=@top_srcdir@
30 top_builddir=../..
31 srcdir=@srcdir@
32 VPATH=.:@srcdir@:@top_srcdir@/idl:$(top_builddir)/idl
33
34
35 @COMMENCE@
36
37 # header files 
38 EXPORT_HEADERS= SMESHGUI_Swig.hxx \
39                 SMESHGUI_Swig.i \
40                 SMESHGUI.h \
41                 SMESHGUI_Hypotheses.h \
42                 SMESHGUI_SpinBox.h \
43                 SMESHGUI_StudyAPI.h
44
45 # .po files to transform in .qm
46 PO_FILES = \
47            SMESH_icons.po \
48            SMESH_msg_en.po
49
50 # Libraries targets
51 LIB = libSMESHGUI.la
52 LIB_SRC =       SMESHGUI.cxx \
53                 SMESHGUI_StudyAPI.cxx \
54                 SMESHGUI_SpinBox.cxx \
55                 SMESHGUI_NodesDlg.cxx \
56                 SMESHGUI_AddHypothesisDlg.cxx \
57                 SMESHGUI_AddAlgorithmDlg.cxx \
58                 SMESHGUI_InitMeshDlg.cxx \
59                 SMESHGUI_AddSubMeshDlg.cxx \
60                 SMESHGUI_TransparencyDlg.cxx \
61                 SMESHGUI_GroupDlg.cxx \
62                 SMESHGUI_RemoveNodesDlg.cxx \
63                 SMESHGUI_RemoveElementsDlg.cxx \
64                 SMESHGUI_MeshInfosDlg.cxx \
65                 SMESHGUI_Preferences_ColorDlg.cxx \
66                 SMESHGUI_Preferences_ScalarBarDlg.cxx \
67                 SMESHGUI_Preferences_SelectionDlg.cxx \
68                 SMESHGUI_aParameterDlg.cxx \
69                 SMESHGUI_Swig.cxx \
70                 SMESHGUI_ComputeScalarValue.cxx \
71                 SMESHGUI_MoveNodesDlg.cxx \
72                 SMESHGUI_OrientationElementsDlg.cxx \
73                 SMESHGUI_DiagonalInversionDlg.cxx \
74                 SMESHGUI_AddFaceDlg.cxx \
75                 SMESHGUI_AddVolumeDlg.cxx \
76                 SMESHGUI_AddEdgeDlg.cxx \
77                 SMESHGUI_EditHypothesesDlg.cxx \
78                 SMESHGUI_CreateHypothesesDlg.cxx \
79                 SMESHGUI_XmlHandler.cxx \
80                 SMESHGUI_Filter.cxx \
81                 SMESHGUI_FilterDlg.cxx
82
83 LIB_MOC = \
84                 SMESHGUI.h \
85                 SMESHGUI_NodesDlg.h \
86                 SMESHGUI_SpinBox.h \
87                 SMESHGUI_AddHypothesisDlg.h \
88                 SMESHGUI_AddAlgorithmDlg.h \
89                 SMESHGUI_InitMeshDlg.h \
90                 SMESHGUI_AddSubMeshDlg.h \
91                 SMESHGUI_TransparencyDlg.h \
92                 SMESHGUI_GroupDlg.h \
93                 SMESHGUI_RemoveNodesDlg.h \
94                 SMESHGUI_RemoveElementsDlg.h \
95                 SMESHGUI_MeshInfosDlg.h \
96                 SMESHGUI_Preferences_ColorDlg.h \
97                 SMESHGUI_Preferences_ScalarBarDlg.h \
98                 SMESHGUI_Preferences_SelectionDlg.h \
99                 SMESHGUI_aParameterDlg.h \
100                 SMESHGUI_MoveNodesDlg.h \
101                 SMESHGUI_OrientationElementsDlg.h \
102                 SMESHGUI_DiagonalInversionDlg.h \
103                 SMESHGUI_AddEdgeDlg.h \
104                 SMESHGUI_AddVolumeDlg.h \
105                 SMESHGUI_AddFaceDlg.h \
106                 SMESHGUI_EditHypothesesDlg.h \
107                 SMESHGUI_CreateHypothesesDlg.h \
108                 SMESHGUI_FilterDlg.h
109
110 LIB_CLIENT_IDL = SALOME_Exception.idl \
111                  GEOM_Gen.idl \
112                  GEOM_Shape.idl \
113                  SMESH_Gen.idl \
114                  SMESH_Mesh.idl \
115                  SMESH_Hypothesis.idl \
116                  SMESH_Group.idl \
117                  SALOMEDS.idl \
118                  SALOMEDS_Attributes.idl \
119                  SALOME_ModuleCatalog.idl \
120                  SALOME_Component.idl \
121                  MED.idl \
122                  SMESH_Filter.idl \
123                  SALOME_GenericObj.idl
124
125 LIB_SERVER_IDL = 
126
127 # additionnal information to compil and link file
128
129 CPPFLAGS += $(QT_INCLUDES) $(VTK_INCLUDES) $(OGL_INCLUDES) $(OCC_INCLUDES) $(PYTHON_INCLUDES) \
130             $(MED2_INCLUDES) -I${KERNEL_ROOT_DIR}/include/salome -I${GEOM_ROOT_DIR}/include/salome \
131             $(BOOST_CPPFLAGS)
132 CXXFLAGS += -I${KERNEL_ROOT_DIR}/include/salome -I${GEOM_ROOT_DIR}/include/salome
133 #$(OCC_CXXFLAGS)
134
135 LDFLAGS += -lOCCViewer -lVTKViewer -lSalomeObject -lSalomeGUI -lSMESHObject -lSMDS -lSMESHDS -lSMESHFiltersSelection -lGEOMClient -lMeshDriverDAT -lMeshDriverMED -lMeshDriverUNV $(OCC_KERNEL_LIBS) -L${KERNEL_ROOT_DIR}/lib/salome -L${GEOM_ROOT_DIR}/lib/salome -lSalomeGenericObj
136
137 @CONCLUDE@