]> SALOME platform Git repositories - modules/kernel.git/blob - src/Container/Makefile.am
Salome HOME
9ca0142278e666dd19ae486f3209fe9f05f30b27
[modules/kernel.git] / src / Container / Makefile.am
1 #  SALOME Container : implementation of container and engine for Kernel
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.in
25 #  Author : Paul RASCLE, EDF
26 #  Module : SALOME
27 #  $Header$
28
29
30 include $(top_srcdir)/salome_adm/unix/make_common_starter.am
31
32 #
33 # ===============================================================
34 # Header to be installed
35 # ===============================================================
36 #
37 # header files  
38 salomeinclude_HEADERS = \
39         SALOME_Component_i.hxx \
40         SALOME_Container_i.hxx \
41         SALOME_ContainerManager.hxx \
42         Container_init_python.hxx
43
44 # Scripts to be installed
45 salomescript_DATA =\
46         SALOME_ComponentPy.py \
47         SALOME_ContainerPy.py \
48         SALOME_Container.py
49
50 #
51 # ===============================================================
52 # Local definitions
53 # ===============================================================
54 #
55
56 # Sources built from idl files
57 BUILT_SOURCES =\
58         $(top_builddir)/idl/SALOME_Component.hh $(top_builddir)/idl/SALOME_ComponentSK.cc \
59         $(top_builddir)/idl/SALOME_ContainerManager.hh $(top_builddir)/idl/SALOME_ContainerManagerSK.cc
60
61 # This local variable defines the list of CPPFLAGS common to all target in this package.
62 COMMON_CPPFLAGS=\
63         @PYTHON_INCLUDES@ \
64         @MPI_INCLUDES@ \
65         @CAS_CPPFLAGS@ @CAS_CXXFLAGS@ \
66         @QT_MT_INCLUDES@ \
67         -I$(srcdir)/../Basics \
68         -I$(srcdir)/../SALOMELocalTrace \
69         -I$(srcdir)/../SALOMETraceCollector \
70         -I$(srcdir)/../NamingService \
71         -I$(srcdir)/../Utils \
72         -I$(srcdir)/../Registry \
73         -I$(srcdir)/../Notification \
74         -I$(srcdir)/../ResourcesManager \
75         -I$(top_builddir)/salome_adm/unix \
76         -I$(top_builddir)/idl \
77         @CORBA_CXXFLAGS@ @CORBA_INCLUDES@
78
79 # This local variable defines the list of dependant libraries common to all target in this package.
80 COMMON_LIBS =\
81         ../Registry/libRegistry.la \
82         ../Notification/libSalomeNotification.la \
83         ../ResourcesManager/libSalomeResourcesManager.la \
84         ../NamingService/libSalomeNS.la \
85         ../Utils/libOpUtil.la \
86         ../SALOMELocalTrace/libSALOMELocalTrace.la \
87         ../Basics/libSALOMEBasics.la \
88         @PYTHON_LIBS@ \
89         @MPI_LIBS@ \
90         @CORBA_LIBS@
91
92 #
93 # ===============================================================
94 # Libraries targets
95 # ===============================================================
96 #
97 lib_LTLIBRARIES = libSalomeContainer.la
98 libSalomeContainer_la_SOURCES=\
99         Component_i.cxx \
100         Container_i.cxx \
101         SALOME_ContainerManager.cxx \
102         Container_init_python.cxx \
103         $(BUILT_SOURCES)
104
105 libSalomeContainer_la_CPPFLAGS =\
106         $(COMMON_CPPFLAGS)
107
108 libSalomeContainer_la_LDFLAGS  =\
109         -no-undefined -version-info=0:0:0 \
110         @LDEXPDYNFLAGS@
111
112 libSalomeContainer_la_LIBADD =\
113         $(COMMON_LIBS)
114
115
116 #
117 # ===============================================================
118 # Executables targets
119 # ===============================================================
120 #
121 bin_PROGRAMS = SALOME_Container SALOME_ContainerManagerServer
122 SALOME_Container_SOURCES =\
123         SALOME_Container.cxx \
124         SALOME_Container_SignalsHandler.cxx
125
126 SALOME_Container_CPPFLAGS =\
127         $(COMMON_CPPFLAGS)
128
129
130 SALOME_Container_LDADD =\
131         libSalomeContainer.la \
132         $(COMMON_LIBS) \
133         ../Basics/libSALOMEBasics.la
134
135
136 SALOME_ContainerManagerServer_SOURCES =\
137         SALOME_ContainerManagerServer.cxx
138
139 SALOME_ContainerManagerServer_CPPFLAGS=\
140         $(COMMON_CPPFLAGS)
141
142 SALOME_ContainerManagerServer_LDADD =\
143         libSalomeContainer.la \
144         $(COMMON_LIBS) \
145         ../Basics/libSALOMEBasics.la