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