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