Salome HOME
6bee2cf3c56c4420a2c2d31c6412866c2a3de316
[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)/../ResourcesManager \
59         -I$(top_builddir)/salome_adm/unix \
60         -I$(top_builddir)/idl \
61         @CORBA_CXXFLAGS@ @CORBA_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         @QT_MT_INCLUDES@ \
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
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 #CPPFLAGS += $(PYTHON_INCLUDES) $(QT_MT_INCLUDES)
116
117 #LDFLAGS += -lSalomeNS -lOpUtil -lSALOMELocalTrace -lSalomeContainer -lSalomeResourcesManager
118 #LDFLAGSFORBIN= $(LDFLAGS) -lRegistry -lSalomeNotification -lSALOMEBasics
119 #LIBS += $(PYTHON_LIBS)