Salome HOME
3288dc823bec032d0852b4eb4cc4b3f72170dfc2
[samples/calculator.git] / src / CALCULATOR / Makefile.am
1 # Copyright (C) 2007-2012  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 #  SuperVisionTest AddComponent : example of component that adds two numbers
21 #  File   : Makefile.in
22 #  Author : , CEA
23 #  Modified by : Alexander BORODIN (OCN) - autotools usage
24 #
25 include $(top_srcdir)/adm_local/unix/make_common_starter.am
26
27 # header files 
28 salomeinclude_HEADERS = CALCULATOR.hxx
29
30 # Libraries targets
31 lib_LTLIBRARIES = libCALCULATOREngine.la
32 dist_libCALCULATOREngine_la_SOURCES = \
33         CALCULATOR.cxx
34
35 libCALCULATOREngine_la_CPPFLAGS = \
36         $(CORBA_CXXFLAGS) \
37         $(CORBA_INCLUDES) \
38         $(MED_CXXFLAGS) \
39         $(KERNEL_CXXFLAGS) \
40         -I$(top_builddir) \
41         -I$(top_builddir)/idl
42
43 libCALCULATOREngine_la_LDFLAGS = \
44         $(CORBA_LIBS) \
45         $(HDF5_LIBS) \
46         $(KERNEL_LDFLAGS) \
47         -lSalomeContainer \
48         -lOpUtil \
49         -lSalomeIDLKernel \
50         $(MED_LDFLAGS) \
51         -lSalomeIDLMED \
52         -lmedcouplingclient \
53         -lmedcouplingcorba \
54         $(top_builddir)/idl/libSalomeIDLCALCULATOR.la
55
56 # Scripts to be installed
57 dist_salomescript_DATA = \
58         CALCULATOR_TEST.py \
59         CALCULATOR_TEST_STUDY_WITHOUTIHM.py \
60         CALCULATOR_TEST_WITHOUTIHM.py
61
62 dist_salomeres_DATA       = graphe1.xml 
63 dist_salomescript_SCRIPTS = graphe1.py