Salome HOME
aa15a0d08d564477eed39a4144fea3c2b90c005c
[samples/component.git] / src / TypesCheck / 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
20 #  SuperVisionTest AddComponent : example of component that adds two numbers
21 #  File   : Makefile.in
22 #  Author : , CEA
23 #  Module : SuperVisionTest
24 #  Modified by : Alexander BORODIN (OCN) - autotools usage
25 #
26 include $(top_srcdir)/adm_local/unix/make_common_starter.am
27
28 # header files 
29 salomeinclude_HEADERS = \
30         TypesCheck_Impl.hxx
31
32 # Libraries targets
33 lib_LTLIBRARIES = libTypesCheckEngine.la
34 dist_libTypesCheckEngine_la_SOURCES = \
35         TypesCheck_Impl.cxx 
36
37 bin_PROGRAMS = TypesCheck_CheckOfUndefined
38 dist_TypesCheck_CheckOfUndefined_SOURCES = \
39         TypesCheck_CheckOfUndefined.cxx
40
41 ${bin_PROGRAMS}: ${lib_LTLIBRARIES}
42
43 libTypesCheckEngine_la_CPPFLAGS = \
44         $(PYTHON_INCLUDES) \
45         $(CORBA_CXXFLAGS) \
46         $(CORBA_INCLUDES) \
47         $(KERNEL_CXXFLAGS) \
48         -I$(srcdir)/../AddComponent \
49         -I$(top_builddir)/idl \
50         -I$(top_builddir)
51
52 libTypesCheckEngine_la_LDFLAGS  = \
53         ../../idl/libSalomeIDLCOMPONENT.la \
54         $(KERNEL_LDFLAGS) \
55         -lSalomeGenericObj \
56         -lSalomeContainer \
57         -lSalomeNS \
58         -lOpUtil \
59         -lRegistry \
60         -lSalomeNotification \
61         -lSALOMELocalTrace \
62         -lSalomeResourcesManager \
63         -lSALOMEBasics \
64         -lSalomeIDLKernel
65
66 TypesCheck_CheckOfUndefined_CPPFLAGS = \
67         $(libTypesCheckEngine_la_CPPFLAGS)
68
69 TypesCheck_CheckOfUndefined_LDFLAGS  = \
70         ./libTypesCheckEngine.la \
71         $(libTypesCheckEngine_la_LDFLAGS) \
72         $(CORBA_LIBS)