]> SALOME platform Git repositories - modules/gui.git/blob - src/Session/Makefile.am
Salome HOME
ae858a3f40ecd0bbdb5c9043fc5e4287d910a766
[modules/gui.git] / src / Session / Makefile.am
1 #  Copyright (C) 2007-2008  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 #  SALOME Session : implementation of Session.idl
23 #  File   : Makefile.in
24 #  Author : Paul RASCLE, EDF
25 #  Module : SALOME
26 #  $Header$
27 #
28 include $(top_srcdir)/adm_local/unix/make_common_starter.am
29
30 lib_LTLIBRARIES = libSalomeSession.la
31
32 salomeinclude_HEADERS =                 \
33         Session_Session_i.hxx           \
34         SALOME_Session.hxx              \
35         Session_ServerLauncher.hxx      \
36         Session_ServerThread.hxx        \
37         Session_ServerCheck.hxx         \
38         SalomeApp_Engine_i.hxx
39
40 # Libraries targets
41
42 dist_libSalomeSession_la_SOURCES =      \
43         Session_Session_i.cxx           \
44         Session_ServerThread.cxx        \
45         Session_ServerLauncher.cxx      \
46         Session_ServerCheck.cxx         \
47         SalomeApp_Engine_i.cxx
48
49 libSalomeSession_la_CPPFLAGS = $(QT_MT_INCLUDES) $(PYTHON_INCLUDES)             \
50         $(HDF5_INCLUDES) $(BOOST_CPPFLAGS) @KERNEL_CXXFLAGS@ $(CAS_CPPFLAGS)    \
51         @CORBA_CXXFLAGS@ @CORBA_INCLUDES@                                       \
52         -I$(top_builddir)/salome_adm/unix -I$(top_builddir)/idl                 \
53         -I$(srcdir)/../Qtx -I$(srcdir)/../SUIT -I$(srcdir)/../Event             \
54         -I$(srcdir)/../Style @LIBXML_INCLUDES@
55
56 if ENABLE_TESTRECORDER
57   libSalomeSession_la_CPPFLAGS+= -DENABLE_TESTRECORDER $(TESTRECORDER_INCLUDES)
58 endif
59
60 libSalomeSession_la_LDFLAGS = $(QT_MT_LIBS) $(KERNEL_LDFLAGS) -lSalomeNS        \
61         -lSalomeLifeCycleCORBA -lOpUtil -lSALOMELocalTrace -lSalomeCatalog      \
62         -lSalomeDSClient $(CAS_KERNEL) -lwith_loggerTraceCollector              \
63         -lSalomeIDLKernel -lSalomeContainer -lTOOLSDS -lSalomeLauncher          \
64         -lRegistry -lSALOMEBasics                                               \
65         ../SUIT/libsuit.la ../Event/libEvent.la ../../idl/libSalomeIDLGUI.la    \
66         ../Style/libSalomeStyle.la
67
68 if ENABLE_TESTRECORDER
69   libSalomeSession_la_LDFLAGS+= $(TESTRECORDER_LIBS)
70 endif
71
72 # Executable
73 bin_PROGRAMS = SALOME_Session_Server
74
75 dist_SALOME_Session_Server_SOURCES = SALOME_Session_Server.cxx
76
77 SALOME_Session_Server_CPPFLAGS = $(libSalomeSession_la_CPPFLAGS)
78 SALOME_Session_Server_LDADD    = $(libSalomeSession_la_LDFLAGS)                 \
79         $(PYTHON_LIBS) $(OMNIORB_LIBS)                                          \
80         $(HDF5_LIBS) -lSalomeContainer -lSalomeResourcesManager -lTOOLSDS       \
81         -lSalomeHDFPersist -lSalomeDSImpl -lSalomeGenericObj -lRegistry         \
82         -lSalomeNotification -lSALOMEBasics -lSalomeLauncher ../Qtx/libqtx.la   \
83         $(top_builddir)/idl/libSalomeIDLGUI.la                                  \
84         libSalomeSession.la
85
86 if ENABLE_TESTRECORDER
87   SALOME_Session_Server_LDADD+= $(TESTRECORDER_LIBS)
88 endif