]> SALOME platform Git repositories - modules/kernel.git/blob - src/KernelHelpers/Makefile.am
Salome HOME
Add missing linking flags
[modules/kernel.git] / src / KernelHelpers / Makefile.am
1 #  Copyright (C) 2010  CEA/DEN, EDF R&D, OPEN CASCADE
2 #
3 #  This library is free software; you can redistribute it and/or
4 #  modify it under the terms of the GNU Lesser General Public
5 #  License as published by the Free Software Foundation; either
6 #  version 2.1 of the License.
7 #
8 #  This library is distributed in the hope that it will be useful,
9 #  but WITHOUT ANY WARRANTY; without even the implied warranty of
10 #  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
11 #  Lesser General Public License for more details.
12 #
13 #  You should have received a copy of the GNU Lesser General Public
14 #  License along with this library; if not, write to the Free Software
15 #  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
16 #
17 # See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
18 #
19 # -* Makefile *- 
20 #
21 # Author : Guillaume Boulant (EDF) 
22 #
23
24 include $(top_srcdir)/salome_adm/unix/make_common_starter.am
25
26 # header files 
27 salomeinclude_HEADERS =                \
28         SALOME_KernelServices.hxx      \
29         SALOME_StudyEditor.hxx         \
30         SALOMEDS_DriverDefaultImpl.hxx
31
32 # Libraries targets
33 lib_LTLIBRARIES = libSalomeKernelHelpers.la
34
35 dist_libSalomeKernelHelpers_la_SOURCES =    \
36         SALOME_KernelServices.cxx           \
37         SALOME_StudyEditor.cxx              \
38         SALOMEDS_DriverDefaultImpl.cxx
39
40
41 OMNIORB_CXXFLAGS=@OMNIORB_CXXFLAGS@ @OMNIORB_INCLUDES@
42 OMNIORB_LIBS=@OMNIORB_LIBS@
43
44 libSalomeKernelHelpers_la_CPPFLAGS = \
45         $(OMNIORB_CXXFLAGS) \
46         -I$(srcdir)/../NamingService \
47         -I$(srcdir)/../SALOMELocalTrace \
48         -I$(srcdir)/../Basics \
49         -I$(srcdir)/../Utils \
50         -I$(srcdir)/../LifeCycleCORBA \
51         -I$(srcdir)/../Container \
52         -I$(srcdir)/../Notification \
53         -I$(srcdir)/../GenericObj \
54         -I$(top_builddir)/idl
55
56 libSalomeKernelHelpers_la_LDFLAGS  = \
57         $(OMNIORB_LIBS) \
58         ../NamingService/libSalomeNS.la \
59         ../SALOMELocalTrace/libSALOMELocalTrace.la \
60         ../Basics/libSALOMEBasics.la \
61         ../Utils/libOpUtil.la \
62         ../LifeCycleCORBA/libSalomeLifeCycleCORBA.la \
63         ../Container/libSalomeContainer.la \
64         ../Notification/libSalomeNotification.la \
65         ../GenericObj/libSalomeGenericObj.la \
66         $(top_builddir)/idl/libSalomeIDLKernel.la
67
68 #
69 # ===============================================================
70 # Executables targets
71 # ===============================================================
72 #
73 bin_PROGRAMS = TestKernelHelpers
74 TestKernelHelpers_SOURCES  = TestKernelHelpers.cxx
75 TestKernelHelpers_CPPFLAGS =\
76         $(libSalomeKernelHelpers_la_CPPFLAGS)
77
78 TestKernelHelpers_LDADD    = \
79         libSalomeKernelHelpers.la \
80         $(libSalomeKernelHelpers_la_LDFLAGS)