Salome HOME
IMP NPAL13547: Checkbox to kill SALOME completely.
[modules/kernel.git] / src / ModuleCatalog / Makefile.am
1 #  SALOME ModuleCatalog : implementation of ModuleCatalog server which parsers xml description of modules
2 #
3 #  Copyright (C) 2003  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 #
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_DATA = 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)/salome_adm/unix \
64         -I$(top_builddir)/idl \
65         @LIBXML_INCLUDES@ \
66         @CORBA_CXXFLAGS@ @CORBA_INCLUDES@
67
68 # This local variable defines the list of dependant libraries common to all target in this package.
69 COMMON_LIBS =\
70         ../NamingService/libSalomeNS.la \
71         ../Utils/libOpUtil.la \
72         ../SALOMELocalTrace/libSALOMELocalTrace.la \
73         ../Basics/libSALOMEBasics.la \
74         $(top_builddir)/idl/libSalomeIDLKernel.la \
75         @LIBXML_LIBS@
76
77 libSalomeCatalog_la_SOURCES =\
78         SALOME_ModuleCatalog_Handler.cxx  \
79         SALOME_ModuleCatalog_Parser_IO.cxx \
80         SALOME_ModuleCatalog_impl.cxx \
81         SALOME_ModuleCatalog_Acomponent_impl.cxx
82
83 libSalomeCatalog_la_CPPFLAGS =\
84         $(COMMON_CPPFLAGS)
85
86 libSalomeCatalog_la_LDFLAGS = -no-undefined -version-info=0:0:0
87
88 libSalomeCatalog_la_LIBADD  =\
89         $(COMMON_LIBS)
90
91
92 #
93 # ===============================================================
94 # Executables targets
95 # ===============================================================
96 #
97 bin_PROGRAMS = SALOME_ModuleCatalog_Server SALOME_ModuleCatalog_Client
98
99 # SALOME_ModuleCatalog_Server
100 SALOME_ModuleCatalog_Server_SOURCES  = SALOME_ModuleCatalog_Server.cxx
101 SALOME_ModuleCatalog_Server_CPPFLAGS =\
102         $(COMMON_CPPFLAGS) 
103
104 SALOME_ModuleCatalog_Server_LDADD   =\
105         libSalomeCatalog.la \
106         $(COMMON_LIBS) \
107         @CORBA_LIBS@
108
109 # SALOME_ModuleCatalog_Client
110 SALOME_ModuleCatalog_Client_SOURCES  = SALOME_ModuleCatalog_Client.cxx
111 SALOME_ModuleCatalog_Client_CPPFLAGS =\
112         $(COMMON_CPPFLAGS)
113
114 SALOME_ModuleCatalog_Client_LDADD   =\
115         libSalomeCatalog.la \
116         $(COMMON_LIBS) \
117         @CORBA_LIBS@