Salome HOME
rollback merge error (sorry guys...)
[modules/kernel.git] / src / LifeCycleCORBA / Makefile.am
1 # Copyright (C) 2007-2012  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)/../GenericObj \
59         -I$(srcdir)/../Container \
60         -I$(srcdir)/../ResourcesManager \
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         ../GenericObj/libSalomeGenericObj.la \
73         $(top_builddir)/idl/libSalomeIDLKernel.la
74
75 #
76 # ===============================================================
77 # Libraries targets
78 # ===============================================================
79 #
80 lib_LTLIBRARIES = libSalomeLifeCycleCORBA.la
81 libSalomeLifeCycleCORBA_la_SOURCES  = \
82         SALOME_LifeCycleCORBA.cxx \
83         SALOME_FileTransferCORBA.cxx
84 libSalomeLifeCycleCORBA_la_CPPFLAGS = \
85         $(COMMON_CPPFLAGS) \
86         @PYTHON_INCLUDES@ \
87         -I$(srcdir)/../Batch \
88         -I$(srcdir)/../Container \
89         -I$(srcdir)/../Notification
90
91 libSalomeLifeCycleCORBA_la_LIBADD   = $(COMMON_LIBS)
92 # _CS_gbo Check whether Python lib or Qt lib is not required here.
93 # For better understanding, it could be better to specified
94 # explicitely all libraries even those that are implicitly given
95 # throught a library mentionned in COMMON_LIBS.
96
97 #
98 # ===============================================================
99 # Executables targets
100 # ===============================================================
101 #
102 bin_PROGRAMS = Test_LifeCycleCORBA TestContainerManager
103 Test_LifeCycleCORBA_SOURCES  = Test_LifeCycleCORBA.cxx
104 Test_LifeCycleCORBA_CPPFLAGS =\
105         -I$(srcdir)/../Registry \
106         -I$(srcdir)/../Notification \
107         $(COMMON_CPPFLAGS)
108
109 Test_LifeCycleCORBA_LDADD    = \
110         libSalomeLifeCycleCORBA.la \
111         ../Registry/libRegistry.la \
112         ../Notification/libSalomeNotification.la \
113         ../Container/libSalomeContainer.la \
114         $(COMMON_LIBS) \
115         @CORBA_LIBS@
116
117 TestContainerManager_SOURCES  = TestContainerManager.cxx
118 TestContainerManager_CPPFLAGS =\
119         -I$(srcdir)/../Batch \
120         -I$(srcdir)/../Registry \
121         -I$(srcdir)/../Notification \
122         $(COMMON_CPPFLAGS)
123
124 TestContainerManager_LDADD    = \
125         libSalomeLifeCycleCORBA.la \
126         ../Registry/libRegistry.la \
127         ../Notification/libSalomeNotification.la \
128         ../Container/libSalomeContainer.la \
129         $(COMMON_LIBS) \
130         @CORBA_LIBS@
131