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