Salome HOME
Merge from V6_3_BR 06/06/2011
[modules/smesh.git] / src / SMESHClient / Makefile.am
1 # Copyright (C) 2007-2011  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
20 #  GEOM GEOMClient : tool to transfer BREP files from GEOM server to GEOM client
21 #  File   : Makefile.in
22 #  Author : Pavel TELKOV (OCC)
23 #  Modified by : Alexander BORODIN (OCN) - autotools usage
24 #  Module : SHESM
25 #
26 include $(top_srcdir)/adm_local/unix/make_common_starter.am
27
28 # header files 
29 salomeinclude_HEADERS = \
30         SMESH_Client.hxx
31
32 # Libraries targets
33 lib_LTLIBRARIES = libSMESHClient.la
34 dist_libSMESHClient_la_SOURCES = \
35         SMESH_Client.cxx
36
37 # Executables targets
38 bin_PROGRAMS = SMESHClientBin
39 dist_SMESHClientBin_SOURCES = \
40         SMESHClientBin.cxx
41
42 # additionnal information to compil and link file
43 libSMESHClient_la_CPPFLAGS = \
44         $(KERNEL_CXXFLAGS) \
45         $(MED_CXXFLAGS) \
46         $(GEOM_CXXFLAGS) \
47         $(BOOST_CPPFLAGS) \
48         $(VTK_INCLUDES) \
49         $(CAS_CPPFLAGS) \
50         $(CORBA_CXXFLAGS) \
51         $(CORBA_INCLUDES) \
52         -I$(srcdir)/../Controls \
53         -I$(srcdir)/../Driver \
54         -I$(srcdir)/../DriverDAT \
55         -I$(srcdir)/../DriverMED \
56         -I$(srcdir)/../DriverUNV \
57         -I$(srcdir)/../DriverSTL \
58         -I$(srcdir)/../SMDS \
59         -I$(srcdir)/../SMESHDS \
60         -I$(srcdir)/../SMESH \
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         $(KERNEL_LDFLAGS) -lSalomeLifeCycleCORBA -lSalomeNS -lOpUtil -lSALOMEBasics \
70         -lSalomeIDLKernel -lSALOMELocalTrace \
71         $(GEOM_LDFLAGS) -lNMTDS -lSalomeIDLGEOM \
72         $(MED_LDFLAGS) -lMEDWrapper_V2_2 -lMEDWrapper_V2_1 -lSalomeIDLMED -lMEDWrapper \
73         $(CAS_KERNEL)
74
75 SMESHClientBin_CPPFLAGS = \
76         $(libSMESHClient_la_CPPFLAGS)
77
78 SMESHClientBin_LDADD = \
79         $(libSMESHClient_la_LDFLAGS) @CORBA_LIBS@
80
81