Salome HOME
f671a1216d11637b244322a3347decc7d8f51b86
[modules/gui.git] / Makefile.am
1 # Copyright (C) 2007-2012  CEA/DEN, EDF R&D, OPEN CASCADE
2 #
3 # Copyright (C) 2003-2007  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.salome-platform.org/ or email : webmaster.salome@opencascade.com
21 #
22
23 #  File   : Makefile.am
24 #  Author : Patrick GOLDBRONN (CEA)
25
26 include $(top_srcdir)/adm_local/unix/make_common_starter.am
27
28 ##
29 # Common packages
30 ##
31
32 SUBDIRS_COMMON = CASCatch Qtx Style DDS QDS ObjBrowser SUIT SUITApp STD CAF CAM LogWindow Prs Event OpenGLUtils GUI_PY
33
34 ##
35 # SALOME object
36 ##
37 if ENABLE_SALOMEOBJECT
38   SUBDIRS_OBJECT = OBJECT
39 endif
40
41 ##
42 # GL viewer
43 ##
44 if ENABLE_GLVIEWER
45   SUBDIRS_GLVIEWER = GLViewer
46 endif
47
48 ##
49 # VTK viewer
50 ##
51 if ENABLE_VTKVIEWER
52   SUBDIRS_VTKVIEWER = VTKViewer
53 if ENABLE_SALOMEOBJECT
54     SUBDIRS_VTKVIEWER += SVTK
55     SUBDIRS_VIEWERTOOLS = ViewerTools
56 endif
57 endif
58
59 ##
60 # OCC viewer
61 ##
62 if ENABLE_OCCVIEWER
63   SUBDIRS_OCCVIEWER = OCCViewer
64   SUBDIRS_VIEWERTOOLS = ViewerTools
65 if ENABLE_SALOMEOBJECT
66     SUBDIRS_OCCVIEWER += SOCC
67 endif
68 endif
69
70 ##
71 # Plot2d viewer
72 ##
73 if ENABLE_PLOT2DVIEWER
74   SUBDIRS_PLOT2DVIEWER = Plot2d
75 if ENABLE_SALOMEOBJECT
76     SUBDIRS_PLOT2DVIEWER += SPlot2d
77 endif
78 endif
79
80 ##
81 # SUPERV graph viewer
82 ##
83 if ENABLE_SUPERVGRAPHVIEWER
84   SUBDIRS_SUPERVGRAPHVIEWER = SUPERVGraph
85 endif
86
87 ##
88 # Qx scene viewer
89 ##
90 ###VSR: QxGraph has been replaced by QxScene
91 ###SUBDIRS_QXGRAPHVIEWER = QxGraph
92 if ENABLE_QXGRAPHVIEWER
93   SUBDIRS_QXGRAPHVIEWER = QxScene
94 endif
95
96 ##
97 # Python console (base)
98 ##
99 if ENABLE_PYCONSOLE
100   SUBDIRS_PYCONSOLE = PyInterp PyConsole
101 endif
102
103 ##
104 # Light SALOME packages
105 ##
106 SUBDIRS_LIGHT = LightApp ResExporter
107
108 ##
109 # Full (CORBA) SALOME packages
110 ##
111 if GUI_ENABLE_CORBA
112   SUBDIRS_CORBA = TOOLSGUI Session SalomeApp GuiHelpers TreeData
113 endif
114
115
116 ##
117 # Extra Python packages
118 ##
119 if ENABLE_PYCONSOLE
120   SUBDIRS_PY_LIGHT = SALOME_SWIG SALOME_PY SALOME_PYQT
121 endif
122
123 SUBDIRS = $(SUBDIRS_COMMON) $(SUBDIRS_OBJECT) $(SUBDIRS_VIEWERTOOLS) $(SUBDIRS_GLVIEWER) $(SUBDIRS_VTKVIEWER) \
124           $(SUBDIRS_OCCVIEWER) $(SUBDIRS_PLOT2DVIEWER) $(SUBDIRS_SUPERVGRAPHVIEWER) $(SUBDIRS_QXGRAPHVIEWER) \
125           $(SUBDIRS_PYCONSOLE) $(SUBDIRS_LIGHT) $(SUBDIRS_CORBA) $(SUBDIRS_PY_LIGHT)
126
127 DIST_SUBDIRS = CASCatch Qtx Style DDS QDS ObjBrowser SUIT SUITApp STD CAF CAM LogWindow Prs Event OpenGLUtils \
128                OBJECT ViewerTools GLViewer VTKViewer SVTK OCCViewer SOCC Plot2d SPlot2d SUPERVGraph QxGraph QxScene \
129                PyInterp PyConsole LightApp ResExporter TOOLSGUI Session SalomeApp GuiHelpers TreeData \
130                SALOME_SWIG SALOME_PY SALOME_PYQT GUI_PY