Salome HOME
Fix linkage problem: add missing -l options
[modules/superv.git] / src / Supervision / Makefile.in
1 #  Copyright (C) 2007-2008  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 #  SUPERV Supervision : contains the implementation of interfaces of SuperVision described in SUPERV.idl
23 #  File   : Makefile.in
24 #  Author : , CEA
25 #  Module : SUPERV
26 #  $Header: 
27 #
28 top_srcdir=@top_srcdir@
29 top_builddir=../..
30 srcdir=@srcdir@
31 VPATH=.:@srcdir@:@top_srcdir@/idl:$(top_builddir)/idl
32
33
34 @COMMENCE@
35
36 EXPORT_PYSCRIPTS = SuperV.py batchmode_SuperV.py
37 EXPORT_SHAREDPYSCRIPTS = SUPERV_shared_modules.py
38
39 EXPORT_HEADERS =  \
40           SuperV_Impl.hxx  \
41           StreamGraph_Impl.hxx \
42           Graph_Impl.hxx \
43           CNode_Impl.hxx \
44           FNode_Impl.hxx \
45           INode_Impl.hxx \
46           GNode_Impl.hxx \
47           LNode_Impl.hxx \
48           ELNode_Impl.hxx \
49           SNode_Impl.hxx \
50           ESNode_Impl.hxx \
51           StreamLink_Impl.hxx \
52           Link_Impl.hxx \
53           StreamPort_Impl.hxx  \
54           Port_Impl.hxx \
55           Value_Impl.hxx
56
57 # Libraries targets
58 LIB = libSUPERVEngine.la
59 LIB_SRC = Value_Impl.cxx  \
60           Port_Impl.cxx \
61           StreamPort_Impl.cxx \
62           Link_Impl.cxx \
63           StreamLink_Impl.cxx \
64           CNode_Impl.cxx \
65           FNode_Impl.cxx \
66           INode_Impl.cxx \
67           GNode_Impl.cxx \
68           LNode_Impl.cxx \
69           ELNode_Impl.cxx \
70           SNode_Impl.cxx \
71           ESNode_Impl.cxx \
72           Graph_Impl.cxx \
73           StreamGraph_Impl.cxx \
74           SuperV_Impl.cxx 
75  
76 LIB_CLIENT_IDL = SALOME_ModuleCatalog.idl \
77                  SALOME_Component.idl \
78                  SALOMEDS.idl \
79                  SUPERV.idl  \
80                  SALOME_Exception.idl \
81                  SALOME_GenericObj.idl \
82                  ObjRef_omniORB4.idl
83
84 # Executables targets
85 BIN = SuperV_Server_omniORB4 \
86         SuperV_Client_omniORB4 
87 BIN_SRC = 
88 BIN_SERVER_IDL = 
89
90 CPPFLAGS+= $(PYTHON_INCLUDES) $(QT_MT_INCLUDES) $(OCC_INCLUDES) $(BOOST_CPPFLAGS)\
91         $(KERNEL_CXXFLAGS)
92 CXXFLAGS += -g -D__x86__ -D__linux__ -ftemplate-depth-42 -Wall \
93         $(KERNEL_CXXFLAGS) $(SUPERV_LDFLAGS)
94 LDFLAGS+= -lSalomeSuperVisionEditor -lSalomeSuperVisionExecutor -lSalomeSuperVisionBase \
95         -lSalomeContainer -lSalomeNotification -lSalomeNS -lSalomeLifeCycleCORBA \
96         -lOpUtil -lRegistry -lTOOLSDS -lSALOMELocalTrace \
97         $(QT_MT_LIBS) $(KERNEL_LDFLAGS) $(CAS_KERNEL)
98 #LIBS += -Xlinker -export-dynamic $(PYTHON_LIBS)
99
100 LDFLAGSFORBIN += $(LDFLAGS) $(KERNEL_LDFLAGS) -lSalomeResourcesManager -lSALOMEBasics -lSalomeIDLKernel -lResourcesManager -lSalomeHDFPersist -lSalomeBatch
101 #LIBSFORBIN += $(LIBS)
102
103 @CONCLUDE@
104