]> SALOME platform Git repositories - modules/yacs.git/blob - src/Container/Makefile.am
Salome HOME
df8f5b8f2ac9a7ffe05bd2d0a1aed6614e185c0b
[modules/yacs.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.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_ContainerManager.hxx \
42         Container_init_python.hxx
43
44 # Scripts to be installed
45 dist_salomescript_DATA =\
46         SALOME_ComponentPy.py \
47         SALOME_Container.py
48
49 # These files are executable scripts
50 dist_salomescript_SCRIPTS=\
51         SALOME_ContainerPy.py
52
53 #
54 # ===============================================================
55 # Local definitions
56 # ===============================================================
57 #
58
59 # This local variable defines the list of CPPFLAGS common to all target in this package.
60 COMMON_CPPFLAGS=\
61         @PYTHON_INCLUDES@ \
62         @MPI_INCLUDES@ \
63         @CAS_CPPFLAGS@ @CAS_CXXFLAGS@ \
64         @QT_MT_INCLUDES@ \
65         -I$(srcdir)/../Basics \
66         -I$(srcdir)/../SALOMELocalTrace \
67         -I$(srcdir)/../NamingService \
68         -I$(srcdir)/../Utils \
69         -I$(srcdir)/../Registry \
70         -I$(srcdir)/../Notification \
71         -I$(srcdir)/../ResourcesManager \
72         -I$(top_builddir)/salome_adm/unix \
73         -I$(top_builddir)/idl \
74         @CORBA_CXXFLAGS@ @CORBA_INCLUDES@
75
76 # This local variable defines the list of dependant libraries common to all target in this package.
77 COMMON_LIBS =\
78         ../Registry/libRegistry.la \
79         ../Notification/libSalomeNotification.la \
80         ../ResourcesManager/libSalomeResourcesManager.la \
81         ../NamingService/libSalomeNS.la \
82         ../Utils/libOpUtil.la \
83         ../SALOMELocalTrace/libSALOMELocalTrace.la \
84         ../Basics/libSALOMEBasics.la \
85         $(top_builddir)/idl/libSalomeIDLKernel.la\
86         @PYTHON_LIBS@ \
87         @MPI_LIBS@ \
88         @CORBA_LIBS@
89
90 #
91 # ===============================================================
92 # Libraries targets
93 # ===============================================================
94 #
95 lib_LTLIBRARIES = libSalomeContainer.la
96 libSalomeContainer_la_SOURCES=\
97         Component_i.cxx \
98         Container_i.cxx \
99         SALOME_ContainerManager.cxx \
100         Container_init_python.cxx 
101
102 libSalomeContainer_la_CPPFLAGS =\
103         $(COMMON_CPPFLAGS)
104
105 libSalomeContainer_la_LDFLAGS  =\
106         -no-undefined -version-info=0:0:0 \
107         @LDEXPDYNFLAGS@
108
109 libSalomeContainer_la_LIBADD =\
110         $(COMMON_LIBS)
111
112
113 #
114 # ===============================================================
115 # Executables targets
116 # ===============================================================
117 #
118 bin_PROGRAMS = SALOME_Container SALOME_ContainerManagerServer
119 SALOME_Container_SOURCES =\
120         SALOME_Container.cxx \
121         SALOME_Container_SignalsHandler.cxx
122
123 SALOME_Container_CPPFLAGS =\
124         $(COMMON_CPPFLAGS)
125
126
127 SALOME_Container_LDADD =\
128         libSalomeContainer.la \
129         $(COMMON_LIBS) \
130         ../Basics/libSALOMEBasics.la
131
132
133 SALOME_ContainerManagerServer_SOURCES =\
134         SALOME_ContainerManagerServer.cxx
135
136 SALOME_ContainerManagerServer_CPPFLAGS=\
137         $(COMMON_CPPFLAGS)
138
139 SALOME_ContainerManagerServer_LDADD =\
140         libSalomeContainer.la \
141         $(COMMON_LIBS) \
142         ../Basics/libSALOMEBasics.la