]> SALOME platform Git repositories - modules/gui.git/blob - src/GuiHelpers/Makefile.am
Salome HOME
dc45c3c80edca8d47fc832758d0d4e571d82bf09
[modules/gui.git] / src / GuiHelpers / Makefile.am
1 # Copyright (C) 2011-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 # Author : Guillaume Boulant (EDF/R&D) 
20 #
21
22 include $(top_srcdir)/adm_local/unix/make_common_starter.am
23
24 # header files 
25 salomeinclude_HEADERS =        \
26         QtHelper.hxx           \
27         SALOME_GuiServices.hxx       \
28         SALOME_AppStudyEditor.hxx     \
29         StandardApp_Module.hxx
30
31 # Libraries targets
32 lib_LTLIBRARIES = libSalomeGuiHelpers.la
33
34 dist_libSalomeGuiHelpers_la_SOURCES = \
35         SALOME_GuiServices.cxx         \
36         SALOME_AppStudyEditor.cxx       \
37         StandardApp_Module.cxx
38
39
40 QT_CXXFLAGS=@QT_INCLUDES@ @QT_MT_INCLUDES@
41 CAS_CXXFLAGS=@CAS_CPPFLAGS@ @CAS_CXXFLAGS@
42 BOOST_CPPFLAGS=@BOOST_CPPFLAGS@
43 BOOST_LIBS=@BOOST_LIBS@
44 CORBA_CXXFLAGS=@OMNIORB_CXXFLAGS@ @OMNIORB_INCLUDES@
45 CORBA_LIBS=@OMNIORB_LIBS@
46
47 libSalomeGuiHelpers_la_CPPFLAGS =   \
48         $(QT_CXXFLAGS)              \
49         $(CAS_CXXFLAGS)             \
50         $(BOOST_CPPFLAGS)           \
51         $(CORBA_CXXFLAGS)           \
52         $(KERNEL_CXXFLAGS)          \
53         -I$(srcdir)/../SalomeApp    \
54         -I$(srcdir)/../LightApp     \
55         -I$(srcdir)/../SUIT         \
56         -I$(srcdir)/../Qtx          \
57         -I$(srcdir)/../CAM          \
58         -I$(srcdir)/../STD          \
59         -I$(srcdir)/../OBJECT
60
61
62 libSalomeGuiHelpers_la_LDFLAGS  = \
63         ../SalomeApp/libSalomeApp.la \
64         $(KERNEL_LDFLAGS) -lSalomeKernelHelpers \
65         $(CORBA_LIBS)
66
67 #
68 # =======================================================
69 # Specific definitions for Qt MOC files
70 #
71
72 # moc-files generation
73 %_moc.cxx: %.hxx
74         $(MOC) $< -o $@
75
76 # MOC pre-processing
77 MOC_FILES_HXX = \
78         StandardApp_Module_moc.cxx
79
80 nodist_libSalomeGuiHelpers_la_SOURCES = $(MOC_FILES_HXX)
81
82 EXTRA_DIST+=$(MOC_FILES_HXX:%_moc.cxx=%.hxx)