2 # Author : OCC team (OCN)
6 top_srcdir=@top_srcdir@
9 VPATH=.:@srcdir@:@srcdir@/resources
15 EXPORT_HEADERS= LightApp.h \
17 LightApp_Application.h \
18 LightApp_DataModel.h \
19 LightApp_DataObject.h \
20 LightApp_DataOwner.h \
21 LightApp_DataSubOwner.h \
23 LightApp_Displayer.h \
25 LightApp_HDFDriver.h \
27 LightApp_ModuleDlg.h \
30 LightApp_OBSelector.h \
31 LightApp_Operation.h \
32 LightApp_Selection.h \
33 LightApp_SelectionMgr.h \
34 LightApp_ShowHideOp.h \
37 LightApp_Preferences.h \
38 LightApp_PreferencesDlg.h \
39 LightApp_RootObject.h \
40 LightApp_UpdateFlags.h \
41 LightApp_WidgetContainer.h
43 ifneq ($(DISABLE_VTKVIEWER),yes)
44 ifneq ($(DISABLE_SALOMEOBJECT),yes)
45 EXPORT_HEADERS+= LightApp_VTKSelector.h
48 ifneq ($(DISABLE_OCCVIEWER),yes)
49 EXPORT_HEADERS+= LightApp_OCCSelector.h
51 ifneq ($(DISABLE_GLVIEWER),yes)
52 EXPORT_HEADERS+= LightApp_GLSelector.h
55 # .po files to transform in .qm
56 PO_FILES = LightApp_images.po \
62 LIB_SRC= LightApp_AboutDlg.cxx \
63 LightApp_Application.cxx \
64 LightApp_DataModel.cxx \
65 LightApp_DataObject.cxx \
66 LightApp_DataOwner.cxx \
67 LightApp_DataSubOwner.cxx \
69 LightApp_Displayer.cxx \
71 LightApp_HDFDriver.cxx \
73 LightApp_ModuleDlg.cxx \
74 LightApp_NameDlg.cxx \
75 LightApp_OBFilter.cxx \
76 LightApp_OBSelector.cxx \
77 LightApp_Operation.cxx \
78 LightApp_Selection.cxx \
79 LightApp_SelectionMgr.cxx \
80 LightApp_ShowHideOp.cxx \
82 LightApp_SwitchOp.cxx \
83 LightApp_Preferences.cxx \
84 LightApp_PreferencesDlg.cxx \
85 LightApp_WidgetContainer.cxx
87 ifneq ($(DISABLE_VTKVIEWER),yes)
88 ifneq ($(DISABLE_SALOMEOBJECT),yes)
89 LIB_SRC+= LightApp_VTKSelector.cxx
92 ifneq ($(DISABLE_OCCVIEWER),yes)
93 LIB_SRC+= LightApp_OCCSelector.cxx
95 ifneq ($(DISABLE_GLVIEWER),yes)
96 LIB_SRC+= LightApp_GLSelector.cxx
99 LIB_MOC = LightApp_AboutDlg.h \
100 LightApp_Application.h \
101 LightApp_DataModel.h \
103 LightApp_OBSelector.h \
104 LightApp_Operation.h \
106 LightApp_ModuleDlg.h \
108 LightApp_SelectionMgr.h \
109 LightApp_ShowHideOp.h \
111 LightApp_SwitchOp.h \
112 LightApp_Preferences.h \
113 LightApp_PreferencesDlg.h \
114 LightApp_WidgetContainer.h
116 ifneq ($(DISABLE_VTKVIEWER),yes)
117 ifneq ($(DISABLE_SALOMEOBJECT),yes)
118 LIB_MOC+= LightApp_VTKSelector.h
121 ifneq ($(DISABLE_OCCVIEWER),yes)
122 LIB_MOC+= LightApp_OCCSelector.h
124 ifneq ($(DISABLE_GLVIEWER),yes)
125 LIB_MOC+= LightApp_GLSelector.h
128 RESOURCES_FILES = icon_about.png \
132 icon_module_big.png \
137 CPPFLAGS+=$(PYTHON_INCLUDES) $(QT_INCLUDES) $(OCC_INCLUDES) \
138 $(HDF5_INCLUDES) -I${KERNEL_ROOT_DIR}/include/salome
140 ifneq ($(DISABLE_VTKVIEWER),yes)
141 CPPFLAGS+= $(VTK_INCLUDES)
143 CPPFLAGS+= -DDISABLE_VTKVIEWER
145 ifneq ($(DISABLE_PLOT2DVIEWER),yes)
146 CPPFLAGS+= $(QWT_INCLUDES)
148 CPPFLAGS+= -DDISABLE_PLOT2DVIEWER
150 ifeq ($(DISABLE_OCCVIEWER),yes)
151 CPPFLAGS+= -DDISABLE_OCCVIEWER
153 ifneq ($(DISABLE_PYCONSOLE),yes)
154 CPPFLAGS+= $(PYTHON_INCLUDES)
156 CPPFLAGS+= -DDISABLE_PYCONSOLE
158 ifeq ($(DISABLE_GLVIEWER),yes)
159 CPPFLAGS+= -DDISABLE_GLVIEWER
161 ifeq ($(DISABLE_SUPERVGRAPHVIEWER),yes)
162 CPPFLAGS+= -DDISABLE_SUPERVGRAPHVIEWER
164 ifeq ($(DISABLE_SALOMEOBJECT),yes)
165 CPPFLAGS+= -DDISABLE_SALOMEOBJECT
168 LDFLAGS+=$(QT_MT_LIBS)
169 ifneq ($(DISABLE_PYCONSOLE),yes)
170 LDFLAGS+= $(PYTHON_LIBS)
173 LIBS+= -lsuit -lstd -lCAM -lObjBrowser -lLogWindow $(CAS_KERNEL) -lSalomePrs \
174 $(HDF5_LIBS) -L$(KERNEL_ROOT_DIR)/lib/salome -lSalomeHDFPersist
176 ifneq ($(DISABLE_SALOMEOBJECT),yes)
177 LIBS+= -lSalomeObject
179 ifneq ($(DISABLE_VTKVIEWER),yes)
181 ifneq ($(DISABLE_SALOMEOBJECT),yes)
185 ifneq ($(DISABLE_OCCVIEWER),yes)
187 ifneq ($(DISABLE_SALOMEOBJECT),yes)
191 ifneq ($(DISABLE_GLVIEWER),yes)
194 ifneq ($(DISABLE_PLOT2DVIEWER),yes)
196 ifneq ($(DISABLE_SALOMEOBJECT),yes)
200 ifneq ($(DISABLE_PYCONSOLE),yes)
201 LIBS+= -lPyInterp -lPythonConsole
203 ifneq ($(DISABLE_SUPERVGRAPHVIEWER),yes)