Salome HOME
e29f456d537b5ffece33fcd8bb90cc7fb1c1a5f6
[modules/kernel.git] / src / DSC / DSC_Basic / Makefile.am
1 #  Copyright (C) 2007-2008  CEA/DEN, EDF R&D, OPEN CASCADE
2 #
3 #  Copyright (C) 2003-2007  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 #  File   : Makefile.am
23 #  Author : AndrĂ© RIBES (EDF)
24 #  Module : KERNEL
25 #
26 include $(top_srcdir)/salome_adm/unix/make_common_starter.am
27
28 #
29 # ===============================================================
30 # Header to be installed
31 # ===============================================================
32 #
33 # header files  
34 salomeinclude_HEADERS = ConnectionManager_i.hxx \
35                         DSC_Callbacks.hxx \
36                         DSC_i.hxx \
37                         DSC_interface.hxx \
38                         PortProperties_i.hxx \
39                         DSC_Basic.hxx
40 #
41 # ===============================================================
42 # Local definitions
43 # ===============================================================
44 #
45
46 # This local variable defines the list of CPPFLAGS common to all target in this package.
47 COMMON_CPPFLAGS= -I$(top_srcdir)/src/Container \
48                  -I$(top_srcdir)/src/Notification \
49                  -I$(top_srcdir)/src/SALOMELocalTrace \
50                  -I$(top_srcdir)/src/Basics \
51                  -I$(top_srcdir)/src/NamingService \
52                  -I$(top_srcdir)/src/Utils \
53                  -I$(top_builddir)/salome_adm/unix \
54                  -I$(top_builddir)/idl \
55                  @CORBA_CXXFLAGS@ @CORBA_INCLUDES@
56
57 # This local variable defines the list of dependant libraries common to all target in this package.
58 COMMON_LIBS = $(top_builddir)/src/Container/libSalomeContainer.la \
59               @CORBA_LIBS@
60
61 #
62 # ===============================================================
63 # Libraries targets
64 # ===============================================================
65 #
66 lib_LTLIBRARIES = libSalomeDSCContainer.la 
67
68 libSalomeDSCContainer_la_SOURCES  = DSC_i.cxx \
69                                     DSC_interface.cxx \
70                                     PortProperties_i.cxx
71
72 libSalomeDSCContainer_la_CXXFLAGS = $(COMMON_CPPFLAGS)
73
74 libSalomeDSCContainer_la_LIBADD   = $(COMMON_LIBS)
75
76 libSalomeDSCContainer_la_LDFLAGS = -no-undefined -version-info=0:0:0
77
78 #
79 # ===============================================================
80 # Executables targets
81 # ===============================================================
82 #
83 bin_PROGRAMS = SALOME_ConnectionManagerServer
84
85 SALOME_ConnectionManagerServer_SOURCES  = SALOME_ConnectionManagerServer.cxx \
86                                           ConnectionManager_i.cxx 
87
88 SALOME_ConnectionManagerServer_CXXFLAGS = $(COMMON_CPPFLAGS)
89
90 SALOME_ConnectionManagerServer_LDADD    = $(top_builddir)/idl/libSalomeIDLKernel.la \
91                                           $(top_builddir)/src/NamingService/libSalomeNS.la \
92                                           $(top_builddir)/src/SALOMELocalTrace/libSALOMELocalTrace.la