Salome HOME
ba91fd298c15dfd4732cf276a2239095dab03866
[modules/jobmanager.git] / src / genericgui / 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_GenericGui.la
23
24 libBL_GenericGui_la_SOURCES = BL_GenericGuiDefines.hxx \
25                               BL_GenericGui.hxx BL_GenericGui.cxx \
26                               BL_JobsTable.hxx BL_JobsTable.cxx \
27                               BL_JobTab.hxx BL_JobTab.cxx \
28                               BL_Buttons.hxx BL_Buttons.cxx \
29                               BL_JobsManager_QT.hxx BL_JobsManager_QT.cxx \
30                               BL_QModelManager.hxx BL_QModelManager.cxx \
31                               BL_CreateJobWizard.hxx BL_CreateJobWizard.cxx \
32                               BL_Summary.hxx BL_Summary.cxx \
33                               JM_ResourceCatalog.hxx JM_ResourceCatalog.cxx \
34                               JM_SalomeResource.hxx JM_SalomeResource.cxx \
35                               JM_EditSalomeResource.hxx JM_EditSalomeResource.cxx
36
37 MOC_FILES =                          BL_GenericGui_moc.cxx BL_JobsTable_moc.cxx \
38                                      BL_JobTab_moc.cxx  \
39                                      BL_Buttons_moc.cxx BL_JobsManager_QT_moc.cxx \
40                                      BL_QModelManager_moc.cxx BL_CreateJobWizard_moc.cxx \
41                                      BL_Summary_moc.cxx JM_ResourceCatalog_moc.cxx \
42                                      JM_SalomeResource_moc.cxx JM_EditSalomeResource_moc.cxx
43
44 nodist_libBL_GenericGui_la_SOURCES = $(MOC_FILES)
45
46 libBL_GenericGui_la_CXXFLAGS = $(qt4_cppflags) \
47                                -I$(top_srcdir)/src/bases \
48                                -I$(top_srcdir)/src/engine \
49                                -I$(KERNEL_ROOT_DIR)/include/salome \
50                                $(OMNIORB_INCLUDES) $(OMNIORB_CXXFLAGS) \
51                                -I../../idl \
52                                -I$(top_srcdir)/src/wrappers
53
54 libBL_GenericGui_la_LDFLAGS = $(qt4_ldflags) 
55
56 libBL_GenericGui_la_LIBADD = -lQtGui -lQtCore \
57                              $(top_builddir)/src/bases/libBL_Bases.la \
58                              $(top_builddir)/src/engine/libBL_Engine.la
59
60 SUFFIXES = .hxx _moc.cxx .qrc _qrc.cxx
61
62 .hxx_moc.cxx :
63         $(QT_MOC) -p . -o $@ $<
64
65 .qrc_qrc.cxx :
66         $(QT_RCC) -name $(*F)  $< -o $@
67
68 clean-local-qt :
69         rm -f *_moc.cxx *_qrc.cxx ui_*.h
70
71 clean-local: clean-local-qt
72