Salome HOME
PR: merge from branch BR_auto_V310 tag mergefrom_OCC_development_for_3_2_0a2_10mar06
[modules/yacs.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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
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
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)/../ResourcesManager \
58         -I$(top_builddir)/salome_adm/unix \
59         -I$(top_builddir)/idl \
60         @CORBA_CXXFLAGS@ @CORBA_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         Launchers.cxx \
81         Launchers.hxx
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)