Salome HOME
Join modifications from branch BR_DEBUG_3_2_0b1
[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
45 # Scripts to be installed
46 dist_salomescript_DATA = SALOME_TestModuleCatalog.py
47
48
49 #
50 # ===============================================================
51 # Libraries targets
52 # ===============================================================
53 #
54 lib_LTLIBRARIES = libSalomeCatalog.la
55
56 # This local variable defines the list of CPPFLAGS common to all target in this package.
57 COMMON_CPPFLAGS=\
58         -I$(srcdir)/../Basics \
59         -I$(srcdir)/../SALOMELocalTrace \
60         -I$(srcdir)/../NamingService \
61         -I$(srcdir)/../Utils \
62         -I$(top_builddir)/salome_adm/unix \
63         -I$(top_builddir)/idl \
64         @CORBA_CXXFLAGS@ @CORBA_INCLUDES@ \
65         @QT_MT_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
75 libSalomeCatalog_la_SOURCES =\
76         SALOME_ModuleCatalog_Handler.cxx  \
77         SALOME_ModuleCatalog_Parser_IO.cxx \
78         SALOME_ModuleCatalog_impl.cxx \
79         SALOME_ModuleCatalog_Acomponent_impl.cxx
80
81 libSalomeCatalog_la_CPPFLAGS =\
82         $(COMMON_CPPFLAGS)
83
84 libSalomeCatalog_la_LDFLAGS = -no-undefined -version-info=0:0:0
85
86 libSalomeCatalog_la_LIBADD  =\
87         $(COMMON_LIBS) \
88         @QT_MT_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 \
105         $(COMMON_LIBS) \
106         @CORBA_LIBS@
107
108 # SALOME_ModuleCatalog_Client
109 SALOME_ModuleCatalog_Client_SOURCES  = SALOME_ModuleCatalog_Client.cxx
110 SALOME_ModuleCatalog_Client_CPPFLAGS =\
111         $(COMMON_CPPFLAGS)
112
113 SALOME_ModuleCatalog_Client_LDADD   =\
114         libSalomeCatalog.la \
115         $(COMMON_LIBS) \
116         @CORBA_LIBS@