1 # Copyright (C) 2007-2008 CEA/DEN, EDF R&D, OPEN CASCADE
3 # Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
4 # CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
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.
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.
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
20 # See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
22 # SALOME Session : implementation of Session.idl
24 # Author : Paul RASCLE, EDF
28 include $(top_srcdir)/adm_local/unix/make_common_starter.am
30 lib_LTLIBRARIES = libSalomeSession.la
32 salomeinclude_HEADERS = \
33 Session_Session_i.hxx \
35 Session_ServerLauncher.hxx \
36 Session_ServerThread.hxx \
37 Session_ServerCheck.hxx \
38 SalomeApp_Engine_i.hxx
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
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@
56 if ENABLE_TESTRECORDER
57 libSalomeSession_la_CPPFLAGS+= -DENABLE_TESTRECORDER $(TESTRECORDER_INCLUDES)
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
68 if ENABLE_TESTRECORDER
69 libSalomeSession_la_LDFLAGS+= $(TESTRECORDER_LIBS)
73 bin_PROGRAMS = SALOME_Session_Server
75 dist_SALOME_Session_Server_SOURCES = SALOME_Session_Server.cxx
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 \
86 if ENABLE_TESTRECORDER
87 SALOME_Session_Server_LDADD+= $(TESTRECORDER_LIBS)