Salome HOME
CCAR: replace the old way to take the python global interpreter lock
[modules/kernel.git] / src / LifeCycleCORBA / 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 LifeCycleCORBA : implementation of containers and engines life cycle both in Python and C++
23 #  File   : Makefile.am
24 #  Author : Guillaume Boulant
25 #  Module : KERNEL
26 #  $Header$
27 #
28 include $(top_srcdir)/salome_adm/unix/make_common_starter.am
29
30 #
31 # ===============================================================
32 # Files to be installed
33 # ===============================================================
34 #
35 # header files  
36 salomeinclude_HEADERS = \
37         SALOME_LifeCycleCORBA.hxx \
38         SALOME_FileTransferCORBA.hxx
39
40 # Scripts to be installed
41 #dist_salomescript_DATA =\
42 #       Launchers.py
43
44 #
45 # ===============================================================
46 # Local definitions
47 # ===============================================================
48 #
49
50 # This local variable defines the list of CPPFLAGS common to all target in this package.
51 COMMON_CPPFLAGS=\
52         -I$(srcdir)/../Basics \
53         -I$(srcdir)/../SALOMELocalTrace \
54         -I$(srcdir)/../SALOMETraceCollector \
55         -I$(srcdir)/../NamingService \
56         -I$(srcdir)/../Utils \
57         -I$(srcdir)/../Container \
58         -I$(srcdir)/../ResourcesManager \
59         -I$(top_builddir)/idl \
60         @CORBA_CXXFLAGS@ @CORBA_INCLUDES@ @LIBXML_INCLUDES@
61
62 # This local variable defines the list of dependant libraries common to all target in this package.
63 COMMON_LIBS =\
64         ../Container/libSalomeContainer.la \
65         ../ResourcesManager/libSalomeResourcesManager.la \
66         ../NamingService/libSalomeNS.la \
67         ../Utils/libOpUtil.la \
68         ../SALOMELocalTrace/libSALOMELocalTrace.la \
69         ../Basics/libSALOMEBasics.la \
70         $(top_builddir)/idl/libSalomeIDLKernel.la
71
72 #
73 # ===============================================================
74 # Libraries targets
75 # ===============================================================
76 #
77 lib_LTLIBRARIES = libSalomeLifeCycleCORBA.la
78 libSalomeLifeCycleCORBA_la_SOURCES  = \
79         SALOME_LifeCycleCORBA.cxx \
80         SALOME_FileTransferCORBA.cxx
81 libSalomeLifeCycleCORBA_la_CPPFLAGS = \
82         $(COMMON_CPPFLAGS) \
83         @PYTHON_INCLUDES@ \
84         -I$(srcdir)/../Batch \
85         -I$(srcdir)/../Container \
86         -I$(srcdir)/../Notification
87
88 libSalomeLifeCycleCORBA_la_LIBADD   = $(COMMON_LIBS)
89 # _CS_gbo Check whether Python lib or Qt lib is not required here.
90 # For better understanding, it could be better to specified
91 # explicitely all libraries even those that are implicitly given
92 # throught a library mentionned in COMMON_LIBS.
93
94 #
95 # ===============================================================
96 # Executables targets
97 # ===============================================================
98 #
99 bin_PROGRAMS = Test_LifeCycleCORBA TestContainerManager
100 Test_LifeCycleCORBA_SOURCES  = Test_LifeCycleCORBA.cxx
101 Test_LifeCycleCORBA_CPPFLAGS =\
102         -I$(srcdir)/../Registry \
103         -I$(srcdir)/../Notification \
104         $(COMMON_CPPFLAGS)
105
106 Test_LifeCycleCORBA_LDADD    = \
107         libSalomeLifeCycleCORBA.la \
108         ../Registry/libRegistry.la \
109         ../Notification/libSalomeNotification.la \
110         ../Container/libSalomeContainer.la \
111         $(COMMON_LIBS) \
112         @CORBA_LIBS@
113
114 TestContainerManager_SOURCES  = TestContainerManager.cxx
115 TestContainerManager_CPPFLAGS =\
116         -I$(srcdir)/../Batch \
117         -I$(srcdir)/../Registry \
118         -I$(srcdir)/../Notification \
119         $(COMMON_CPPFLAGS)
120
121 TestContainerManager_LDADD    = \
122         libSalomeLifeCycleCORBA.la \
123         ../Registry/libRegistry.la \
124         ../Notification/libSalomeNotification.la \
125         ../Container/libSalomeContainer.la \
126         $(COMMON_LIBS) \
127         @CORBA_LIBS@
128