Salome HOME
-#if OCC_VERSION_LARGE > 0x06010000
[modules/smesh.git] / src / SMESHClient / Makefile.am
1 # Copyright (C) 2007-2013  CEA/DEN, EDF R&D, OPEN CASCADE
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 #  GEOM GEOMClient : tool to transfer BREP files from GEOM server to GEOM client
20 #  File   : Makefile.in
21 #  Author : Pavel TELKOV (OCC)
22 #  Modified by : Alexander BORODIN (OCN) - autotools usage
23 #  Module : SHESM
24
25 include $(top_srcdir)/adm_local/unix/make_common_starter.am
26
27 # header files 
28 salomeinclude_HEADERS = \
29         SMESH_Client.hxx
30
31 # Libraries targets
32 lib_LTLIBRARIES = libSMESHClient.la
33 dist_libSMESHClient_la_SOURCES = \
34         SMESH_Client.cxx
35
36 # Executables targets
37 bin_PROGRAMS = SMESHClientBin
38 dist_SMESHClientBin_SOURCES = \
39         SMESHClientBin.cxx
40
41 # additionnal information to compil and link file
42 libSMESHClient_la_CPPFLAGS = \
43         $(KERNEL_CXXFLAGS) \
44         $(MED_CXXFLAGS) \
45         $(GEOM_CXXFLAGS) \
46         $(BOOST_CPPFLAGS) \
47         $(VTK_INCLUDES) \
48         $(CAS_CPPFLAGS) \
49         $(CORBA_CXXFLAGS) \
50         $(CORBA_INCLUDES) \
51         -I$(srcdir)/../Controls \
52         -I$(srcdir)/../Driver \
53         -I$(srcdir)/../DriverDAT \
54         -I$(srcdir)/../DriverMED \
55         -I$(srcdir)/../DriverUNV \
56         -I$(srcdir)/../DriverSTL \
57         -I$(srcdir)/../SMDS \
58         -I$(srcdir)/../SMESHDS \
59         -I$(srcdir)/../SMESH \
60         -I$(srcdir)/../SMESHUtils \
61         -I$(top_builddir)/idl
62
63 libSMESHClient_la_LDFLAGS  = \
64         ../../idl/libSalomeIDLSMESH.la \
65         ../SMDS/libSMDS.la \
66         ../SMESH/libSMESHimpl.la \
67         ../SMESHDS/libSMESHDS.la \
68         ../Controls/libSMESHControls.la \
69         ../MEDWrapper/Factory/libMEDWrapper.la \
70         ../MEDWrapper/Base/libMEDWrapperBase.la \
71         ../MEDWrapper/V2_2/libMEDWrapper_V2_2.la \
72         $(KERNEL_LDFLAGS) -lSalomeLifeCycleCORBA -lSalomeNS -lOpUtil -lSALOMEBasics -lSalomeContainer -lSalomeHDFPersist -lSalomeGenericObj \
73         -lRegistry -lResourcesManager -lSalomeResourcesManager -lSalomeNotification \
74         -lSalomeIDLKernel -lSALOMELocalTrace \
75         $(GEOM_LDFLAGS) -lSalomeIDLGEOM \
76         $(CAS_KERNEL)
77
78
79 SMESHClientBin_CPPFLAGS = \
80         $(libSMESHClient_la_CPPFLAGS)
81
82 SMESHClientBin_LDADD = \
83         $(libSMESHClient_la_LDFLAGS) @CORBA_LIBS@
84
85