]> SALOME platform Git repositories - modules/kernel.git/blob - src/LifeCycleCORBA/Makefile.am
Salome HOME
Première version avec la totalité des packages sources en automake.
[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.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 salomescript_DATA =\
42         Launchers.py
43
44 #
45 # ===============================================================
46 # Local definitions
47 # ===============================================================
48 #
49
50 # Sources built from idl files
51 BUILT_SOURCES =\
52         $(top_builddir)/idl/SALOME_Component.hh $(top_builddir)/idl/SALOME_ComponentSK.cc \
53         $(top_builddir)/idl/SALOME_TestComponent.hh $(top_builddir)/idl/SALOME_TestComponentSK.cc \
54         $(top_builddir)/idl/SALOME_ContainerManager.hh $(top_builddir)/idl/SALOME_ContainerManagerSK.cc \
55         $(top_builddir)/idl/SALOME_ModuleCatalog.hh $(top_builddir)/idl/SALOME_ModuleCatalogSK.cc \
56         $(top_builddir)/idl/SALOME_Exception.hh $(top_builddir)/idl/SALOME_ExceptionSK.cc
57
58 # This local variable defines the list of CPPFLAGS common to all target in this package.
59 COMMON_CPPFLAGS=\
60         -I$(srcdir)/../Basics \
61         -I$(srcdir)/../SALOMELocalTrace \
62         -I$(srcdir)/../SALOMETraceCollector \
63         -I$(srcdir)/../NamingService \
64         -I$(srcdir)/../Utils \
65         -I$(srcdir)/../ResourcesManager \
66         -I$(top_builddir)/salome_adm/unix \
67         -I$(top_builddir)/idl \
68         @CORBA_CXXFLAGS@ @CORBA_INCLUDES@
69
70 # This local variable defines the list of dependant libraries common to all target in this package.
71 COMMON_LIBS =\
72         ../Container/libSalomeContainer.la \
73         ../ResourcesManager/libSalomeResourcesManager.la \
74         ../NamingService/libSalomeNS.la \
75         ../Utils/libOpUtil.la \
76         ../SALOMELocalTrace/libSALOMELocalTrace.la \
77         ../Basics/libSALOMEBasics.la
78
79 #
80 # ===============================================================
81 # Libraries targets
82 # ===============================================================
83 #
84 lib_LTLIBRARIES = libSalomeLifeCycleCORBA.la
85 libSalomeLifeCycleCORBA_la_SOURCES  = SALOME_LifeCycleCORBA.cxx Launchers.cxx $(BUILT_SOURCES)
86 libSalomeLifeCycleCORBA_la_CPPFLAGS = \
87         $(COMMON_CPPFLAGS) \
88         @PYTHON_INCLUDES@ \
89         @QT_MT_INCLUDES@ \
90         -I$(srcdir)/../Container \
91         -I$(srcdir)/../Notification
92
93 libSalomeLifeCycleCORBA_la_LIBADD   = $(COMMON_LIBS)
94 # _CS_gbo Check whether Python lib or Qt lib is not required here.
95 # For better understanding, it could be better to specified
96 # explicitely all libraries even those that are implicitly given
97 # throught a library mentionned in COMMON_LIBS.
98
99 #
100 # ===============================================================
101 # Executables targets
102 # ===============================================================
103 #
104 bin_PROGRAMS = Test_LifeCycleCORBA
105 Test_LifeCycleCORBA_SOURCES  = Test_LifeCycleCORBA.cxx
106 Test_LifeCycleCORBA_CPPFLAGS =\
107         -I$(srcdir)/../Registry \
108         -I$(srcdir)/../Notification \
109         $(COMMON_CPPFLAGS)
110
111 Test_LifeCycleCORBA_LDADD    = \
112         libSalomeLifeCycleCORBA.la \
113         ../Registry/libRegistry.la \
114         ../Notification/libSalomeNotification.la \
115         ../Container/libSalomeContainer.la \
116         $(COMMON_LIBS) \
117         @CORBA_LIBS@
118
119 #CPPFLAGS += $(PYTHON_INCLUDES) $(QT_MT_INCLUDES)
120
121 #LDFLAGS += -lSalomeNS -lOpUtil -lSALOMELocalTrace -lSalomeContainer -lSalomeResourcesManager
122 #LDFLAGSFORBIN= $(LDFLAGS) -lRegistry -lSalomeNotification -lSALOMEBasics
123 #LIBS += $(PYTHON_LIBS)