Salome HOME
Initial commit
[modules/jobmanager.git] / src / genericgui / 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 libdir = $(prefix)/lib/salome
21
22 lib_LTLIBRARIES = libBL_GenericGui.la
23
24 libBL_GenericGui_la_SOURCES = BL_GenericGui.hxx BL_GenericGui.cxx \
25                               BL_JobsTable.hxx BL_JobsTable.cxx \
26                               BL_JobTab.hxx BL_JobTab.cxx \
27                               BL_Buttons.hxx BL_Buttons.cxx \
28                               BL_JobsManager_QT.hxx BL_JobsManager_QT.cxx \
29                               BL_QModelManager.hxx BL_QModelManager.cxx \
30                               BL_CreateJobWizard.hxx BL_CreateJobWizard.cxx \
31                               BL_Summary.hxx BL_Summary.cxx \
32                               BL_MachineCatalog.hxx BL_MachineCatalog.cxx
33
34 nodist_libBL_GenericGui_la_SOURCES = BL_GenericGui_moc.cxx BL_JobsTable_moc.cxx \
35                                      BL_JobTab_moc.cxx  \
36                                      BL_Buttons_moc.cxx BL_JobsManager_QT_moc.cxx \
37                                      BL_QModelManager_moc.cxx BL_CreateJobWizard_moc.cxx \
38                                      BL_Summary_moc.cxx BL_MachineCatalog_moc.cxx
39
40 libBL_GenericGui_la_CXXFLAGS = $(qt4_cppflags) \
41                                -I$(top_srcdir)/src/bases \
42                                -I$(top_srcdir)/src/engine \
43                                -I$(KERNEL_ROOT_DIR)/include/salome \
44                                -I$(top_srcdir)/src/wrappers
45
46 libBL_GenericGui_la_LDFLAGS = $(qt4_ldflags) 
47
48 libBL_GenericGui_la_LIBADD = -lQtGui -lQtCore -lQtWebKit \
49                              $(top_builddir)/src/bases/libBL_Bases.la \
50                              $(top_builddir)/src/engine/libBL_Engine.la
51
52 SUFFIXES = .hxx _moc.cxx .qrc _qrc.cxx
53
54 .hxx_moc.cxx :
55         $(QT_MOC) -p . -o $@ $<
56
57 .qrc_qrc.cxx :
58         $(QT_RCC) -name $(*F)  $< -o $@
59
60 clean-local-qt :
61         rm -f *_moc.cxx *_qrc.cxx ui_*.h
62
63 clean-local: clean-local-qt
64