]> SALOME platform Git repositories - modules/gui.git/blob - src/SalomeApp/Makefile.am
Salome HOME
e7aad71ddcfdb51c34667f7429863a7d8f721ebc
[modules/gui.git] / src / SalomeApp / 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.in
24 #  Author : Vladimir Klyachin (OCN)
25 #  Module : SalomeApp
26
27 include $(top_srcdir)/adm_local/unix/make_common_starter.am
28
29 SUBDIRS=pluginsdemo
30
31 if CPPUNIT_IS_OK
32 if GUI_ENABLE_CORBA
33   SUBDIRS += Test
34 endif
35 endif
36
37 lib_LTLIBRARIES = libSalomeApp.la
38
39 salomeinclude_HEADERS =                 \
40         SalomeApp.h                     \
41         SalomeApp_Application.h         \
42         SalomeApp_DataModel.h           \
43         SalomeApp_DataObject.h          \
44         SalomeApp_LoadStudiesDlg.h      \
45         SalomeApp_Module.h              \
46         SalomeApp_Study.h               \
47         SalomeApp_ExceptionHandler.h    \
48         SalomeApp_PyInterp.h            \
49         SalomeApp_Tools.h               \
50         SalomeApp_ImportOperation.h     \
51         SalomeApp_Filter.h              \
52         SalomeApp_TypeFilter.h          \
53         SalomeApp_StudyPropertiesDlg.h  \
54         SalomeApp_CheckFileDlg.h        \
55         SalomeApp_VisualState.h         \
56         SalomeApp_ExitDlg.h             \
57         SalomeApp_NoteBook.h            \
58         SalomeApp_DoubleSpinBox.h       \
59         SalomeApp_IntSpinBox.h          \
60         SalomeApp_Engine_i.h
61
62 dist_libSalomeApp_la_SOURCES =                  \
63         SalomeApp_Module.cxx                    \
64         SalomeApp_Application.cxx               \
65         SalomeApp_DataModel.cxx                 \
66         SalomeApp_DataObject.cxx                \
67         SalomeApp_LoadStudiesDlg.cxx            \
68         SalomeApp_Study.cxx                     \
69         SalomeApp_ExceptionHandler.cxx          \
70         SalomeApp_PyInterp.cxx                  \
71         SalomeApp_Tools.cxx                     \
72         SalomeApp_ImportOperation.cxx           \
73         SalomeApp_Filter.cxx                    \
74         SalomeApp_TypeFilter.cxx                \
75         SalomeApp_StudyPropertiesDlg.cxx        \
76         SalomeApp_ListView.cxx                  \
77         SalomeApp_CheckFileDlg.cxx              \
78         SalomeApp_VisualState.cxx               \
79         SalomeApp_ExitDlg.cxx                   \
80         SalomeApp_NoteBook.cxx                  \
81         SalomeApp_DoubleSpinBox.cxx             \
82         SalomeApp_IntSpinBox.cxx                \
83         SalomeApp_Engine_i.cxx
84
85 MOC_FILES =                                     \
86         SalomeApp_Application_moc.cxx           \
87         SalomeApp_DataModel_moc.cxx             \
88         SalomeApp_Module_moc.cxx                \
89         SalomeApp_LoadStudiesDlg_moc.cxx        \
90         SalomeApp_Study_moc.cxx                 \
91         SalomeApp_StudyPropertiesDlg_moc.cxx    \
92         SalomeApp_ListView_moc.cxx              \
93         SalomeApp_CheckFileDlg_moc.cxx          \
94         SalomeApp_ExitDlg_moc.cxx               \
95         SalomeApp_NoteBook_moc.cxx              \
96         SalomeApp_DoubleSpinBox_moc.cxx         \
97         SalomeApp_IntSpinBox_moc.cxx
98
99 nodist_libSalomeApp_la_SOURCES = $(MOC_FILES)
100
101 # python modules
102 salomepython_PYTHON = salome_pluginsmanager.py
103
104 dist_salomescript_DATA = addvars2notebook.py
105
106 dist_salomeres_DATA =           \
107         resources/SalomeApp.ini \
108         resources/SalomeApp.xml
109
110 nodist_salomeres_DATA =         \
111         SalomeApp_images.qm     \
112         SalomeApp_msg_en.qm     \
113         SalomeApp_msg_fr.qm
114
115 libSalomeApp_la_CPPFLAGS = $(PYTHON_INCLUDES) $(QT_INCLUDES) $(QWT_INCLUDES)    \
116         $(CAS_CPPFLAGS) $(VTK_INCLUDES) $(BOOST_CPPFLAGS) @KERNEL_CXXFLAGS@     \
117         -I$(srcdir)/../LightApp -I$(srcdir)/../CAM -I$(srcdir)/../Qtx           \
118         -I$(srcdir)/../SUIT -I$(srcdir)/../OBJECT -I$(srcdir)/../SVTK           \
119         -I$(srcdir)/../STD -I$(srcdir)/../VTKViewer -I$(srcdir)/../ObjBrowser   \
120         -I$(srcdir)/../PyConsole -I$(srcdir)/../TOOLSGUI                        \
121         -I$(srcdir)/../PyInterp -I$(srcdir)/../Session -I$(top_builddir)/idl    \
122         -I$(srcdir)/../Event -I$(srcdir)/../CASCatch  -I$(srcdir)/../Prs        \
123         @CORBA_CXXFLAGS@ @CORBA_INCLUDES@ @LIBXML_INCLUDES@
124 libSalomeApp_la_LDFLAGS = $(PYTHON_LIBS) $(QT_MT_LIBS) 
125 libSalomeApp_la_LIBADD  = $(KERNEL_LDFLAGS) -lOpUtil -lSALOMELocalTrace -lSalomeLifeCycleCORBA \
126         -lSalomeDSClient -lTOOLSDS \
127         ../SUIT/libsuit.la ../STD/libstd.la ../CAM/libCAM.la ../ObjBrowser/libObjBrowser.la     \
128         ../Prs/libSalomePrs.la ../SPlot2d/libSPlot2d.la ../GLViewer/libGLViewer.la              \
129         ../OCCViewer/libOCCViewer.la ../VTKViewer/libVTKViewer.la ../OBJECT/libSalomeObject.la  \
130         ../SVTK/libSVTK.la ../SOCC/libSOCC.la ../PyInterp/libPyInterp.la                        \
131         ../PyConsole/libPyConsole.la ../LogWindow/libLogWindow.la                               \
132         ../LightApp/libLightApp.la ../TOOLSGUI/libToolsGUI.la ../../idl/libSalomeIDLGUI.la      \
133         ../Event/libEvent.la ../CASCatch/libCASCatch.la ../Prs/libSalomePrs.la $(CAS_KERNEL)