Salome HOME
Compilation with cmake
[modules/kernel.git] / src / DSC / DSC_User / 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 = base_port.hxx \
35                         uses_port.hxx \
36                         provides_port.hxx \
37                         Superv_Component_i.hxx \
38                         DSC_Exception.hxx \
39                         port_factory.hxx
40
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= \
49                  -I$(top_srcdir)/src/Container \
50                  -I$(top_srcdir)/src/Notification \
51                  -I$(top_srcdir)/src/DSC/DSC_Basic \
52                  -I$(top_srcdir)/src/SALOMELocalTrace \
53                  -I$(top_srcdir)/src/Basics \
54                  -I$(top_srcdir)/src/Utils \
55                  -I$(top_builddir)/salome_adm/unix \
56                  -I$(top_builddir)/idl \
57                  @CORBA_CXXFLAGS@ @CORBA_INCLUDES@ @BOOST_CPPFLAGS@
58
59
60 # This local variable defines the list of dependant libraries common to all target in this package.
61 COMMON_LIBS = 
62
63 #
64 # ===============================================================
65 # Libraries targets
66 # ===============================================================
67 #
68 lib_LTLIBRARIES = libSalomeDSCSuperv.la 
69
70 libSalomeDSCSuperv_la_SOURCES  = base_port.cxx \
71                                  uses_port.cxx \
72                                  provides_port.cxx \
73                                  Superv_Component_i.cxx
74
75 libSalomeDSCSuperv_la_CXXFLAGS = $(COMMON_CPPFLAGS)
76
77 libSalomeDSCSuperv_la_LDFLAGS  = -no-undefined -version-info=0:0:0
78 libSalomeDSCSuperv_la_LIBADD  = ../DSC_Basic/libSalomeDSCContainer.la
79
80 #
81 # ===============================================================
82 # Executables targets
83 # ===============================================================
84 #
85 noinst_PROGRAMS = test_DSC_Exception
86
87 test_DSC_Exception_SOURCES = test_DSC_Exception.cxx
88
89 test_DSC_Exception_CXXFLAGS = $(COMMON_CPPFLAGS)
90
91 test_DSC_Exception_LDADD = $(top_builddir)/src/Utils/libOpUtil.la \
92                            $(CORBA_LIBS)
93
94 SUBDIRS = . Basic Datastream