Salome HOME
41aacc80f8248b3a6dbff73d1cd445e4b3f8141a
[modules/jobmanager.git] / src / wrappers / Makefile.am
1 # Copyright (C) 2009-2013  CEA/DEN, EDF R&D
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 libdir = $(prefix)/lib/salome
21
22 lib_LTLIBRARIES = libBL_Wrappers_Qt.la 
23
24 if HAS_GUI
25 lib_LTLIBRARIES += libBL_Wrappers_SALOME.la
26 endif
27
28 libBL_Wrappers_Qt_la_SOURCES = BL_MainWindows_Wrap.hxx \
29                                BL_MainWindows_Qt.cxx  BL_MainWindows_Qt.hxx
30
31 nodist_libBL_Wrappers_Qt_la_SOURCES =
32
33 libBL_Wrappers_Qt_la_CXXFLAGS = $(qt4_cppflags) -I$(top_srcdir)/src/bases
34
35 libBL_Wrappers_Qt_la_LDFLAGS = $(qt4_ldflags) 
36
37 libBL_Wrappers_Qt_la_LIBADD = -lQtGui -lQtCore $(top_builddir)/src/bases/libBL_Bases.la
38
39 ###########
40
41 libBL_Wrappers_SALOME_la_SOURCES = BL_MainWindows_Wrap.hxx \
42                                    BL_MainWindows_SALOME.cxx  BL_MainWindows_SALOME.hxx
43
44 nodist_libBL_Wrappers_SALOME_la_SOURCES =
45
46 libBL_Wrappers_SALOME_la_CXXFLAGS = $(qt4_cppflags) -I$(top_srcdir)/src/bases \
47                                     $(OMNIORB_INCLUDES) $(OMNIORB_CXXFLAGS) $(BOOST_CPPFLAGS) \
48                                     -I$(KERNEL_ROOT_DIR)/include/salome \
49                                     -I$(GUI_ROOT_DIR)/include/salome
50
51 libBL_Wrappers_SALOME_la_LDFLAGS = $(qt4_ldflags) 
52
53 libBL_Wrappers_SALOME_la_LIBADD = -lQtGui -lQtCore $(top_builddir)/src/bases/libBL_Bases.la $(OMNIORB_LIBS) \
54                                   $(KERNEL_LDFLAGS) -lSalomeIDLKernel $(GUI_LDFLAGS) -lLightApp -lSalomeApp -lSalomeSession -lCAM -lsuit
55