]> SALOME platform Git repositories - tools/sat.git/blob - data/templates/CppComponent/src/CPPCMPGUI/Makefile.am
Salome HOME
add the template command
[tools/sat.git] / data / templates / CppComponent / src / CPPCMPGUI / 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 # -* Makefile *-
21 # Author :
22 # Modified by : Alexander BORODIN (OCN) - autotools usage
23 # Module : GHS3DPLUGIN
24 #
25 include $(top_srcdir)/adm_local/unix/make_common_starter.am
26
27 # header files
28 salomeinclude_HEADERS = \
29         :sat:{CPPCMP}GUI.h
30
31 # Libraries targets
32 lib_LTLIBRARIES = lib:sat:{CPPCMP}.la
33
34 dist_lib:sat:{CPPCMP}_la_SOURCES = \
35         :sat:{CPPCMP}GUI.cxx
36
37 # MOC pre-processing
38 MOC_FILES = \
39         :sat:{CPPCMP}GUI_moc.cxx
40
41 nodist_lib:sat:{CPPCMP}_la_SOURCES = $(MOC_FILES)
42
43 lib:sat:{CPPCMP}_la_CPPFLAGS = \
44         $(QT_INCLUDES) \
45         $(CAS_CPPFLAGS) \
46         $(PYTHON_INCLUDES) \
47         $(BOOST_CPPFLAGS) \
48         $(CORBA_CXXFLAGS) \
49         $(CORBA_INCLUDES) \
50         $(KERNEL_CXXFLAGS) \
51         $(GUI_CXXFLAGS) \
52         -I$(srcdir)/../:sat:{CPPCMP} \
53         -I$(top_builddir)/idl \
54         -I$(top_builddir)
55
56 lib:sat:{CPPCMP}_la_LDFLAGS  = \
57         ../../idl/libSalomeIDL:sat:{CPPCMP}.la \
58         ../:sat:{CPPCMP}/lib:sat:{CPPCMP}Engine.la \
59         $(KERNEL_LDFLAGS) -lSalomeLifeCycleCORBA \
60         $(GUI_LDFLAGS) \
61         -lSalomeApp
62
63 # resources files
64 nodist_salomeres_DATA = \
65         :sat:{CPPCMP}_msg_en.qm \
66         :sat:{CPPCMP}_msg_fr.qm \
67         :sat:{CPPCMP}_icons.qm