Salome HOME
1986df6830937670b4bc743bc2010c5da28a1f07
[plugins/ghs3dplugin.git] / src / Makefile.am
1 #  Copyright (C) 2004-2008  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 # -* Makefile *- 
20 # Author : Edward AGAPOV (OCC)
21 # Modified by : Alexander BORODIN (OCN) - autotools usage
22 # Module : GHS3DPLUGIN
23 # Date : 10/01/2004
24 #
25 include $(top_srcdir)/adm_local/unix/make_common_starter.am
26
27 if GHS3DPLUGIN_ENABLE_GUI
28   SUBDIRS = GUI
29 endif
30
31 DIST_SUBDIRS = GUI
32
33 # header files 
34 salomeinclude_HEADERS = \
35        GHS3DPlugin_Defs.hxx \
36        GHS3DPlugin_GHS3D.hxx \
37        GHS3DPlugin_GHS3D_i.hxx \
38        GHS3DPlugin_Hypothesis.hxx \
39        GHS3DPlugin_Hypothesis_i.hxx
40
41 # Libraries targets
42 lib_LTLIBRARIES = libGHS3DEngine.la
43
44 dist_libGHS3DEngine_la_SOURCES = \
45         GHS3DPlugin_GHS3D.cxx \
46         GHS3DPlugin_GHS3D_i.cxx \
47         GHS3DPlugin_i.cxx \
48         GHS3DPlugin_Hypothesis.cxx \
49         GHS3DPlugin_Hypothesis_i.cxx
50
51 libGHS3DEngine_la_CPPFLAGS =  \
52         $(KERNEL_CXXFLAGS)    \
53         $(CAS_CPPFLAGS)       \
54         $(GEOM_CXXFLAGS)      \
55         $(MED_CXXFLAGS)       \
56         $(SMESH_CXXFLAGS)     \
57         $(BOOST_CPPFLAGS)     \
58         $(CORBA_CXXFLAGS)     \
59         $(CORBA_INCLUDES)     \
60         -I$(top_builddir)/idl
61
62 libGHS3DEngine_la_LDFLAGS  = \
63         ../idl/libSalomeIDLGHS3DPLUGIN.la \
64         $(CAS_KERNEL) -lTKBRep -lTKG2d -lTKG3d -lTKTopAlgo -lTKGeomBase -lTKGeomAlgo \
65         $(SMESH_LDFLAGS) -lSMESHimpl -lSMESHEngine -lSMESHDS -lSMDS \
66         $(KERNEL_LDFLAGS) -lSalomeGenericObj -lSALOMELocalTrace