Salome HOME
Merge from BR_V5_DEV 17Feb09
[samples/component.git] / src / TypesCheck / Makefile.am
1 #  Copyright (C) 2007-2008  CEA/DEN, EDF R&D, OPEN CASCADE
2 #
3 #  Copyright (C) 2003-2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
4 #  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
5 #
6 #  This library is free software; you can redistribute it and/or
7 #  modify it under the terms of the GNU Lesser General Public
8 #  License as published by the Free Software Foundation; either
9 #  version 2.1 of the License.
10 #
11 #  This library is distributed in the hope that it will be useful,
12 #  but WITHOUT ANY WARRANTY; without even the implied warranty of
13 #  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
14 #  Lesser General Public License for more details.
15 #
16 #  You should have received a copy of the GNU Lesser General Public
17 #  License along with this library; if not, write to the Free Software
18 #  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
19 #
20 #  See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
21 #
22 #  SuperVisionTest AddComponent : example of component that adds two numbers
23 #  File   : Makefile.in
24 #  Author : , CEA
25 #  Module : SuperVisionTest
26 #  Modified by : Alexander BORODIN (OCN) - autotools usage
27 #
28 include $(top_srcdir)/adm_local/unix/make_common_starter.am
29
30 # header files 
31 salomeinclude_HEADERS = \
32         TypesCheck_Impl.hxx
33
34 # Libraries targets
35 lib_LTLIBRARIES = libTypesCheckEngine.la
36 dist_libTypesCheckEngine_la_SOURCES = \
37         TypesCheck_Impl.cxx 
38
39 bin_PROGRAMS = TypesCheck_CheckOfUndefined
40 dist_TypesCheck_CheckOfUndefined_SOURCES = \
41         TypesCheck_CheckOfUndefined.cxx
42
43 ${bin_PROGRAMS}: ${lib_LTLIBRARIES}
44
45 libTypesCheckEngine_la_CPPFLAGS = \
46         $(PYTHON_INCLUDES) \
47         $(CORBA_CXXFLAGS) \
48         $(CORBA_INCLUDES) \
49         $(KERNEL_CXXFLAGS) \
50         -I$(srcdir)/../AddComponent \
51         -I$(top_builddir)/idl \
52         -I$(top_builddir)/salome_adm/unix
53 libTypesCheckEngine_la_LDFLAGS  = \
54         ../../idl/libSalomeIDLCOMPONENT.la \
55         $(KERNEL_LDFLAGS) \
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)