Salome HOME
Join modifications from BR_Dev_For_4_0 tag V4_1_1.
[modules/kernel.git] / src / LifeCycleCORBA / Makefile.am
1 #  SALOME LifeCycleCORBA : implementation of containers and engines life cycle both in Python and C++
2 #
3 #  Copyright (C) 2003  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 #
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)/salome_adm/unix \
61         -I$(top_builddir)/idl \
62         @CORBA_CXXFLAGS@ @CORBA_INCLUDES@ @LIBXML_INCLUDES@
63
64 # This local variable defines the list of dependant libraries common to all target in this package.
65 COMMON_LIBS =\
66         ../Container/libSalomeContainer.la \
67         ../ResourcesManager/libSalomeResourcesManager.la \
68         ../NamingService/libSalomeNS.la \
69         ../Utils/libOpUtil.la \
70         ../SALOMELocalTrace/libSALOMELocalTrace.la \
71         ../Basics/libSALOMEBasics.la \
72         $(top_builddir)/idl/libSalomeIDLKernel.la
73
74 #
75 # ===============================================================
76 # Libraries targets
77 # ===============================================================
78 #
79 lib_LTLIBRARIES = libSalomeLifeCycleCORBA.la
80 libSalomeLifeCycleCORBA_la_SOURCES  = \
81         SALOME_LifeCycleCORBA.cxx \
82         SALOME_FileTransferCORBA.cxx
83 libSalomeLifeCycleCORBA_la_CPPFLAGS = \
84         $(COMMON_CPPFLAGS) \
85         @PYTHON_INCLUDES@ \
86         -I$(srcdir)/../Batch \
87         -I$(srcdir)/../Container \
88         -I$(srcdir)/../Notification
89
90 libSalomeLifeCycleCORBA_la_LIBADD   = $(COMMON_LIBS)
91 # _CS_gbo Check whether Python lib or Qt lib is not required here.
92 # For better understanding, it could be better to specified
93 # explicitely all libraries even those that are implicitly given
94 # throught a library mentionned in COMMON_LIBS.
95
96 #
97 # ===============================================================
98 # Executables targets
99 # ===============================================================
100 #
101 bin_PROGRAMS = Test_LifeCycleCORBA TestContainerManager
102 Test_LifeCycleCORBA_SOURCES  = Test_LifeCycleCORBA.cxx
103 Test_LifeCycleCORBA_CPPFLAGS =\
104         -I$(srcdir)/../Registry \
105         -I$(srcdir)/../Notification \
106         $(COMMON_CPPFLAGS)
107
108 Test_LifeCycleCORBA_LDADD    = \
109         libSalomeLifeCycleCORBA.la \
110         ../Registry/libRegistry.la \
111         ../Notification/libSalomeNotification.la \
112         ../Container/libSalomeContainer.la \
113         $(COMMON_LIBS) \
114         @CORBA_LIBS@
115
116 TestContainerManager_SOURCES  = TestContainerManager.cxx
117 TestContainerManager_CPPFLAGS =\
118         -I$(srcdir)/../Batch \
119         -I$(srcdir)/../Registry \
120         -I$(srcdir)/../Notification \
121         $(COMMON_CPPFLAGS)
122
123 TestContainerManager_LDADD    = \
124         libSalomeLifeCycleCORBA.la \
125         ../Registry/libRegistry.la \
126         ../Notification/libSalomeNotification.la \
127         ../Container/libSalomeContainer.la \
128         $(COMMON_LIBS) \
129         @CORBA_LIBS@
130