Salome HOME
Checkbox 'Resource can launch batch jobs' is checked by default (EDF issue #2771)
[modules/jobmanager.git] / src / salomegui / 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 include $(top_srcdir)/src/bases/make_begin.am
21
22 MOC_FILES = BL_SalomeGui_moc.cxx
23
24 lib_LTLIBRARIES = libJOBMANAGER.la
25
26 dist_libJOBMANAGER_la_SOURCES = BL_SalomeGui.hxx BL_SalomeGui.cxx
27
28 nodist_libJOBMANAGER_la_SOURCES = $(MOC_FILES)
29
30 libJOBMANAGER_la_CXXFLAGS = $(qt4_cppflags) \
31                                 $(BOOST_CPPFLAGS) \
32                                 $(OMNIORB_INCLUDES) $(OMNIORB_CXXFLAGS) \
33                                 -I$(top_builddir)/idl \
34                                 -I. \
35                                 -I$(KERNEL_ROOT_DIR)/include/salome \
36                                 -I$(GUI_ROOT_DIR)/include/salome \
37                                 -I$(top_srcdir)/src/genericgui \
38                                 -I$(top_srcdir)/src/wrappers \
39                                 -I$(top_srcdir)/src/engine \
40                                 -I$(top_srcdir)/src/bases
41
42 libJOBMANAGER_la_LDFLAGS  = -L$(GUI_ROOT_DIR)/lib/salome \
43                                 -L$(KERNEL_ROOT_DIR)/lib/salome \
44                                 $(qt4_ldflags)
45
46 libJOBMANAGER_la_LIBADD  = $(qt4_libs) \
47                            $(top_builddir)/idl/libJOBMANAGER_IDL.la \
48                            @OMNIORB_LIBS@ \
49                                $(top_builddir)/src/bases/libBL_Bases.la \
50                                $(top_builddir)/src/engine/libBL_Engine.la \
51                                $(top_builddir)/src/genericgui/libBL_GenericGui.la \
52                                $(top_builddir)/src/wrappers/libBL_Wrappers_SALOME.la \
53                                -lSalomeApp
54
55 salomeinclude_HEADERS = BL_SalomeGui.hxx
56 salomeinclude_DATA = JOBMANAGER_version.h
57
58 # resources files
59 ICONS = resources/jobmanager.png
60
61 nodist_salomeres_SCRIPTS = resources/SalomeApp.xml
62
63 dist_salomeres_DATA = ${ICONS}
64
65 # --------------------------------------------
66 # *.h --> *_moc.cxx
67 # --------------------------------------------
68
69 SUFFIXES = .hxx _moc.cxx .qrc _qrc.cxx
70
71 .hxx_moc.cxx :
72         $(QT_MOC) -p . -o $@ $<
73
74 .qrc_qrc.cxx :
75         $(QT_RCC) -name $(*F)  $< -o $@
76
77 #.ui.h :
78 #       $(QT_UIC) -o $@ $<
79
80
81 clean-local-qt :
82         rm -f *_moc.cxx *_qrc.cxx
83
84
85 clean-local: clean-local-qt
86         rm -f YACS_msg_en.qm YACS_msg_fr.qm