]> SALOME platform Git repositories - modules/yacs.git/blob - src/RessourcesCatalog/Makefile.am
Salome HOME
24f917812b77ce28a9e50a96fe5ba805f8f3ea6e
[modules/yacs.git] / src / RessourcesCatalog / Makefile.am
1 #  SALOME RessourcesCatalog : implementation of catalog resources parsing (SALOME_ModuleCatalog.idl)
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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
21 #
22 #
23 #
24 #  File   : Makefile.am
25 #  Author : Guillaume Boulant (CSSI)
26 #  Module : SALOME
27 #  $Header$
28
29
30 include $(top_srcdir)/salome_adm/unix/make_common_starter.am
31
32 #
33 # ===============================================================
34 # Header to be installed
35 # ===============================================================
36 #
37 # header files  
38 salomeinclude_HEADERS = \
39                 SALOME_RessourcesCatalog_impl.hxx \
40                 SALOME_RessourcesCatalog_Parser.hxx \
41                 SALOME_RessourcesCatalog_Handler.hxx 
42
43
44 #
45 # ===============================================================
46 # Local definitions
47 # ===============================================================
48 #
49
50 # This local variable defines the list of CPPFLAGS common to all target in this package.
51 COMMON_CPPFLAGS=\
52         -I$(srcdir)/../Basics \
53         -I$(srcdir)/../SALOMELocalTrace \
54         -I$(srcdir)/../NamingService \
55         -I$(srcdir)/../Utils \
56         -I$(top_builddir)/salome_adm/unix \
57         -I$(top_builddir)/idl \
58         @CORBA_CXXFLAGS@ @CORBA_INCLUDES@
59
60 # This local variable defines the list of dependant libraries common to all target in this package.
61 COMMON_LIBS =\
62         ../NamingService/libSalomeNS.la \
63         ../Utils/libOpUtil.la \
64         ../SALOMELocalTrace/libSALOMELocalTrace.la \
65         ../Basics/libSALOMEBasics.la \
66         $(top_builddir)/idl/libSalomeIDLKernel.la
67
68 #
69 # ===============================================================
70 # Libraries targets
71 # ===============================================================
72 #
73
74 lib_LTLIBRARIES = libSalomeRessourcesCatalog.la
75 libSalomeRessourcesCatalog_la_SOURCES=\
76         SALOME_RessourcesCatalog_Handler.cxx  \
77         SALOME_RessourcesCatalog_impl.cxx
78
79 libSalomeRessourcesCatalog_la_CPPFLAGS =\
80         $(COMMON_CPPFLAGS) \
81         @QT_MT_INCLUDES@
82
83 libSalomeRessourcesCatalog_la_LDFLAGS  = -no-undefined -version-info=0:0:0
84 libSalomeRessourcesCatalog_la_LIBADD   =\
85         $(COMMON_LIBS) \
86         @QT_MT_LIBS@
87
88 #
89 # ===============================================================
90 # Executables targets
91 # ===============================================================
92 #
93 bin_PROGRAMS = SALOME_RessourcesCatalog_Server SALOME_RessourcesCatalog_Client
94
95 #SALOME_RessourcesCatalog_Server
96 SALOME_RessourcesCatalog_Server_SOURCES  = SALOME_RessourcesCatalog_Server.cxx
97 SALOME_RessourcesCatalog_Server_CPPFLAGS =\
98         $(COMMON_CPPFLAGS) \
99         @QT_MT_INCLUDES@
100
101 SALOME_RessourcesCatalog_Server_LDADD    =\
102         libSalomeRessourcesCatalog.la \
103         $(COMMON_LIBS) \
104         @CORBA_LIBS@
105
106 #SALOME_RessourcesCatalog_Client
107 SALOME_RessourcesCatalog_Client_SOURCES  = SALOME_RessourcesCatalog_Client.cxx
108 SALOME_RessourcesCatalog_Client_CPPFLAGS =\
109         $(COMMON_CPPFLAGS) \
110         @QT_MT_INCLUDES@
111
112 SALOME_RessourcesCatalog_Client_LDADD    =\
113         libSalomeRessourcesCatalog.la \
114         $(COMMON_LIBS) \
115         @CORBA_LIBS@
116