Salome HOME
CMake: set the flag Boost_NO_BOOST_CMAKE to avoid that the *standard* FindBoost.cmake
[modules/kernel.git] / src / ModuleCatalog / Makefile.am
1 # Copyright (C) 2007-2013  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 #  SALOME ModuleCatalog : implementation of ModuleCatalog server which parsers xml description of modules
24 #  File   : Makefile.am
25 #  Author : Guillaume Boulant (CSSI)
26 #  Module : SALOME
27 #  $Header$
28 #
29 include $(top_srcdir)/salome_adm/unix/make_common_starter.am
30
31 #
32 # ===============================================================
33 # Header an scripts to be installed
34 # ===============================================================
35 #
36 # header files  
37 salomeinclude_HEADERS = \
38                 SALOME_ModuleCatalog_impl.hxx \
39                 SALOME_ModuleCatalog_Acomponent_impl.hxx \
40                 PathPrefix.hxx \
41                 SALOME_ModuleCatalog_Parser.hxx \
42                 SALOME_ModuleCatalog_Parser_IO.hxx \
43                 SALOME_ModuleCatalog_Handler.hxx \
44                 SALOME_ModuleCatalog.hxx
45
46 # Scripts to be installed
47 dist_salomescript_PYTHON = TestModuleCatalog.py
48
49
50 #
51 # ===============================================================
52 # Libraries targets
53 # ===============================================================
54 #
55 lib_LTLIBRARIES = libSalomeCatalog.la
56
57 # This local variable defines the list of CPPFLAGS common to all target in this package.
58 COMMON_CPPFLAGS=\
59         -I$(srcdir)/../Basics \
60         -I$(srcdir)/../SALOMELocalTrace \
61         -I$(srcdir)/../NamingService \
62         -I$(srcdir)/../Utils \
63         -I$(top_builddir)/idl \
64         @LIBXML_INCLUDES@ \
65         @CORBA_CXXFLAGS@ @CORBA_INCLUDES@
66
67 # This local variable defines the list of dependant libraries common to all target in this package.
68 COMMON_LIBS =\
69         ../NamingService/libSalomeNS.la \
70         ../Utils/libOpUtil.la \
71         ../SALOMELocalTrace/libSALOMELocalTrace.la \
72         ../Basics/libSALOMEBasics.la \
73         $(top_builddir)/idl/libSalomeIDLKernel.la \
74         @LIBXML_LIBS@
75
76 libSalomeCatalog_la_SOURCES =\
77         SALOME_ModuleCatalog_Handler.cxx  \
78         SALOME_ModuleCatalog_Parser_IO.cxx \
79         SALOME_ModuleCatalog_impl.cxx \
80         SALOME_ModuleCatalog_Acomponent_impl.cxx
81
82 libSalomeCatalog_la_CPPFLAGS =\
83         $(COMMON_CPPFLAGS)
84
85 libSalomeCatalog_la_LDFLAGS = -no-undefined -version-info=0:0:0
86
87 libSalomeCatalog_la_LIBADD  =\
88         $(COMMON_LIBS)
89
90
91 #
92 # ===============================================================
93 # Executables targets
94 # ===============================================================
95 #
96 bin_PROGRAMS = SALOME_ModuleCatalog_Server SALOME_ModuleCatalog_Client
97
98 # SALOME_ModuleCatalog_Server
99 SALOME_ModuleCatalog_Server_SOURCES  = SALOME_ModuleCatalog_Server.cxx
100 SALOME_ModuleCatalog_Server_CPPFLAGS =\
101         $(COMMON_CPPFLAGS) 
102
103 SALOME_ModuleCatalog_Server_LDADD   =\
104         libSalomeCatalog.la ${COMMON_LIBS} \
105         @CORBA_LIBS@
106
107 # SALOME_ModuleCatalog_Client
108 SALOME_ModuleCatalog_Client_SOURCES  = SALOME_ModuleCatalog_Client.cxx
109 SALOME_ModuleCatalog_Client_CPPFLAGS =\
110         $(COMMON_CPPFLAGS)
111
112 SALOME_ModuleCatalog_Client_LDADD   =\
113         libSalomeCatalog.la ${COMMON_LIBS} \
114         @CORBA_LIBS@