Salome HOME
Merge from V6_main 01/04/2013
[modules/yacs.git] / src / runtime / Makefile.am
1 # Copyright (C) 2006-2013  CEA/DEN, EDF R&D
2 #
3 # This library is free software; you can redistribute it and/or
4 # modify it under the terms of the GNU Lesser General Public
5 # License as published by the Free Software Foundation; either
6 # version 2.1 of the License.
7 #
8 # This library is distributed in the hope that it will be useful,
9 # but WITHOUT ANY WARRANTY; without even the implied warranty of
10 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
11 # Lesser General Public License for more details.
12 #
13 # You should have received a copy of the GNU Lesser General Public
14 # License along with this library; if not, write to the Free Software
15 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
16 #
17 # See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
18 #
19
20 include $(top_srcdir)/adm/unix/make_begin.am
21
22 SUBDIRS = Test
23
24
25
26 lib_LTLIBRARIES = libYACSRuntimeSALOME.la
27
28 libYACSRuntimeSALOME_la_SOURCES =      \
29         TypeConversions.cxx            \
30         CORBACORBAConv.cxx             \
31         CORBAPythonConv.cxx            \
32         CORBAXMLConv.cxx               \
33         CORBANeutralConv.cxx           \
34         XMLCORBAConv.cxx               \
35         XMLPythonConv.cxx              \
36         XMLNeutralConv.cxx             \
37         CORBANode.cxx                  \
38         CORBAPorts.cxx                 \
39         CppNode.cxx                    \
40         CppPorts.cxx                   \
41         NeutralPythonConv.cxx          \
42         NeutralCORBAConv.cxx           \
43         NeutralXMLConv.cxx             \
44         NeutralInitConv.cxx            \
45         PythonCORBAConv.cxx            \
46         PythonNeutralConv.cxx          \
47         PythonXMLConv.cxx              \
48         PythonInitConv.cxx             \
49         PythonNode.cxx                 \
50         SalomePythonNode.cxx           \
51         DistributedPythonNode.cxx      \
52         SalomePythonComponent.cxx      \
53         SalomeContainer.cxx            \
54         PythonPorts.cxx                \
55         XMLNode.cxx                    \
56         XMLPorts.cxx                   \
57         RuntimeSALOME.cxx              \
58         SALOMEDispatcher.cxx           \
59         SalomeProc.cxx                 \
60         CalStreamPort.cxx              \
61         CORBAComponent.cxx             \
62         SalomeComponent.cxx            \
63         CppComponent.cxx               \
64         CppContainer.cxx               \
65         CppCORBAConv.cxx               \
66         CppNeutralConv.cxx             \
67         CppXMLConv.cxx                 \
68         CppCppConv.cxx                 \
69         CppPythonConv.cxx              \
70         CORBACppConv.cxx               \
71         NeutralCppConv.cxx             \
72         XMLCppConv.cxx                 \
73         PythonCppConv.cxx              \
74         SessionCataLoader.cxx          \
75         PresetPorts.cxx                \
76         PresetNode.cxx                 \
77         OutNode.cxx                    \
78         StudyNodes.cxx                 \
79         StudyPorts.cxx                 \
80         VisitorSaveSalomeSchema.cxx    \
81         PyStdout.cxx                   \
82         SalomeOptimizerLoop.cxx        \
83         PyOptimizerAlg.cxx             \
84         $(__dummy__)
85
86 salomeinclude_HEADERS = \
87 YACSRuntimeSALOMEExport.hxx \
88 CalStreamPort.hxx            CORBAComponent.hxx   CORBACORBAConv.hxx         CORBACppConv.hxx \
89 CORBANeutralConv.hxx         CORBANode.hxx        CORBAPorts.hxx             CORBAPythonConv.hxx \
90 CORBAXMLConv.hxx             CppComponent.hxx     CppContainer.hxx           CppCORBAConv.hxx \
91 CppCppConv.hxx               CppNeutralConv.hxx   CppNode.hxx                CppPorts.hxx \
92 CppPythonConv.hxx            CppXMLConv.hxx       NeutralCORBAConv.hxx       NeutralCppConv.hxx \
93 NeutralPythonConv.hxx        NeutralXMLConv.hxx   OutNode.hxx                PresetNode.hxx \
94 PresetPorts.hxx              PyStdout.hxx         PythonCORBAConv.hxx        PythonCppConv.hxx \
95 PythonNeutralConv.hxx        PythonNode.hxx       PythonPorts.hxx            PythonXMLConv.hxx \
96 RuntimeSALOME.hxx            SalomeComponent.hxx  SalomeContainer.hxx \
97 SALOMEDispatcher.hxx         SalomeProc.hxx       SalomePythonComponent.hxx  SalomePythonNode.hxx \
98 SessionCataLoader.hxx        StudyNodes.hxx       StudyPorts.hxx             TypeConversions.hxx \
99 VisitorSaveSalomeSchema.hxx  XMLCORBAConv.hxx     XMLCppConv.hxx             XMLNeutralConv.hxx \
100 XMLNode.hxx                  XMLPorts.hxx         XMLPythonConv.hxx          PythonInitConv.hxx \
101 NeutralInitConv.hxx      SalomeOptimizerLoop.hxx  DistributedPythonNode.hxx  PyOptimizerAlg.hxx
102
103 EXTRA_libYACSRuntimeSALOME_la_SOURCES =  \
104         $(__dummy__)
105
106 if SALOME_KERNEL
107 SALOME_LIBS=$(KERNEL_LDFLAGS) -lSalomeLifeCycleCORBA -lSalomeIDLKernel -lSalomeNS -lSalomeContainer -lSALOMEBasics -lSalomeResourcesManager -lOpUtil -lSALOMELocalTrace -lRegistry -lSalomeNotification -lResourcesManager -lSalomeHDFPersist -lSalomeGenericObj
108 SALOME_INCL_PATH=-I$(KERNEL_ROOT_DIR)/include/salome 
109 endif
110
111 if DSC_PORTS
112 DSC_LIBS=$(KERNEL_LDFLAGS) -lSalomeDSCContainer
113 endif
114
115 libYACSRuntimeSALOME_la_LIBADD = \
116         $(DSC_LIBS) $(SALOME_LIBS) $(OMNIORB_LIBS) $(PYTHON_LIBS) $(LIBXML_LIBS) \
117         ../../idl/libSalomeIDLYACS.la \
118         ../engine/libYACSlibEngine.la
119
120 AM_CXXFLAGS = \
121         $(THREAD_DEF) \
122         $(PYTHON_CPPFLAGS) \
123         $(OMNIORB_INCLUDES) \
124         -I$(OMNIORB_ROOT)/include/omniORB4/internal \
125         $(OMNIORB_CXXFLAGS) \
126         $(SALOME_INCL_PATH) \
127         -I$(srcdir)/../bases \
128         -I$(srcdir)/../engine \
129         -I../../idl \
130         -I../.. \
131         $(LIBXML_INCLUDES)
132
133 include $(top_srcdir)/adm/unix/make_end.am