Salome HOME
4b633933a2bb02b2a0f16cbd83b3e9ed7b29ffe3
[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.salome-platform.org/ or email : webmaster.salome@opencascade.com
21 #
22 #
23 #
24 #  File   : Makefile.am
25 #  Author : Guillaume Boulant (CSSI)
26 #  Module : KERNEL
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_FileTransfer_i.hxx \
42         SALOME_FileRef_i.hxx \
43         SALOME_ContainerManager.hxx \
44         Container_init_python.hxx \
45         SALOME_Container.hxx
46
47 # Scripts to be installed
48 dist_salomescript_DATA =\
49         SALOME_ComponentPy.py \
50         SALOME_Container.py
51
52 # These files are executable scripts
53 dist_salomescript_SCRIPTS=\
54         SALOME_ContainerPy.py
55
56 #
57 # ===============================================================
58 # Local definitions
59 # ===============================================================
60 #
61
62 # This local variable defines the list of CPPFLAGS common to all target in this package.
63 COMMON_CPPFLAGS=\
64         @PYTHON_INCLUDES@ \
65         @MPI_INCLUDES@ \
66         @CAS_CPPFLAGS@ @CAS_CXXFLAGS@ \
67         @QT_MT_INCLUDES@ \
68         -I$(srcdir)/../Basics \
69         -I$(srcdir)/../SALOMELocalTrace \
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         $(top_builddir)/idl/libSalomeIDLKernel.la\
89         @PYTHON_LIBS@ \
90         @MPI_LIBS@ \
91         @CORBA_LIBS@
92
93 #
94 # ===============================================================
95 # Libraries targets
96 # ===============================================================
97 #
98 lib_LTLIBRARIES = libSalomeContainer.la
99 libSalomeContainer_la_SOURCES=\
100         Component_i.cxx \
101         Container_i.cxx \
102         SALOME_FileTransfer_i.cxx \
103         SALOME_FileRef_i.cxx \
104         SALOME_ContainerManager.cxx \
105         Container_init_python.cxx 
106
107 libSalomeContainer_la_CPPFLAGS =\
108         $(COMMON_CPPFLAGS)
109
110 libSalomeContainer_la_LDFLAGS  =\
111         -no-undefined -version-info=0:0:0 \
112         @LDEXPDYNFLAGS@
113
114 libSalomeContainer_la_LIBADD =\
115         $(COMMON_LIBS)
116
117
118 #
119 # ===============================================================
120 # Executables targets
121 # ===============================================================
122 #
123 bin_PROGRAMS = SALOME_Container SALOME_ContainerManagerServer
124 SALOME_Container_SOURCES =\
125         SALOME_Container.cxx \
126         SALOME_Container_SignalsHandler.cxx
127
128 SALOME_Container_CPPFLAGS =\
129         $(COMMON_CPPFLAGS)
130
131
132 SALOME_Container_LDADD =\
133         libSalomeContainer.la \
134         $(COMMON_LIBS) \
135         ../Basics/libSALOMEBasics.la
136
137
138 SALOME_ContainerManagerServer_SOURCES =\
139         SALOME_ContainerManagerServer.cxx
140
141 SALOME_ContainerManagerServer_CPPFLAGS=\
142         $(COMMON_CPPFLAGS)
143
144 SALOME_ContainerManagerServer_LDADD =\
145         libSalomeContainer.la \
146         $(COMMON_LIBS) \
147         ../Basics/libSALOMEBasics.la