Salome HOME
Merge from V5_1_main 14/05/2010
[modules/smesh.git] / src / SMESHClient / Makefile.am
1 #  Copyright (C) 2007-2010  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         $(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$(top_builddir)/idl
61
62 libSMESHClient_la_LDFLAGS  = \
63         ../../idl/libSalomeIDLSMESH.la \
64         ../SMDS/libSMDS.la \
65         ../SMESH/libSMESHimpl.la \
66         ../SMESHDS/libSMESHDS.la \
67         ../Controls/libSMESHControls.la \
68         $(KERNEL_LDFLAGS) -lSalomeLifeCycleCORBA -lSalomeNS -lOpUtil -lSALOMEBasics \
69         $(GEOM_LDFLAGS) -lNMTDS \
70         $(MED_LDFLAGS) -lMEDWrapper_V2_2 -lMEDWrapper_V2_1 \
71         $(CAS_KERNEL)
72
73 SMESHClientBin_CPPFLAGS = \
74         $(libSMESHClient_la_CPPFLAGS)
75
76 SMESHClientBin_LDADD = \
77         $(libSMESHClient_la_LDFLAGS)
78
79