Salome HOME
Initial commit
[modules/jobmanager.git] / src / salomegui / Makefile.am
1 #  Copyright (C) 2009 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                                 $(OMNIORB_INCLUDES) \
32                                 -I$(KERNEL_ROOT_DIR)/include/salome \
33                                 -I$(GUI_ROOT_DIR)/include/salome \
34                                 -I$(top_srcdir)/src/genericgui \
35                                 -I$(top_srcdir)/src/wrappers \
36                                 -I$(top_srcdir)/src/engine \
37                                 -I$(top_srcdir)/src/bases
38
39 libJOBMANAGER_la_LDFLAGS  = -L$(GUI_ROOT_DIR)/lib/salome \
40                                 -L$(KERNEL_ROOT_DIR)/lib/salome \
41                                 $(qt4_ldflags)
42
43 libJOBMANAGER_la_LIBADD  = $(qt4_libs) \
44                                $(top_builddir)/src/bases/libBL_Bases.la \
45                                $(top_builddir)/src/engine/libBL_Engine.la \
46                                $(top_builddir)/src/genericgui/libBL_GenericGui.la \
47                                $(top_builddir)/src/wrappers/libBL_Wrappers_SALOME.la \
48                                -lSalomeApp
49
50 salomeinclude_HEADERS = BL_SalomeGui.hxx
51
52 # resources files
53 LIBICONS = SalomeApp.xml jobmanager.png
54 dist_salomeres_DATA = ${ICONS}
55 ICONS = $(LIBICONS:%=resources/%)
56
57 # --------------------------------------------
58 # *.h --> *_moc.cxx
59 # --------------------------------------------
60
61 SUFFIXES = .hxx _moc.cxx .qrc _qrc.cxx
62
63 .hxx_moc.cxx :
64         $(QT_MOC) -p . -o $@ $<
65
66 .qrc_qrc.cxx :
67         $(QT_RCC) -name $(*F)  $< -o $@
68
69 #.ui.h :
70 #       $(QT_UIC) -o $@ $<
71
72
73 clean-local-qt :
74         rm -f *_moc.cxx *_qrc.cxx
75
76
77 clean-local: clean-local-qt
78         rm -f YACS_msg_en.qm YACS_msg_fr.qm