1 # Copyright (C) 2007-2013 CEA/DEN, EDF R&D
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.
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.
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
17 # See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
20 # author: Guillaume Boulant (EDF/R&D, 2012)
22 include $(top_srcdir)/adm_local/unix/make_common_starter.am
27 # ---------------------------------------------------------
28 # Generation rules to create moc files from QObject headers
29 # and form source files from ui files
30 # ---------------------------------------------------------
31 # WRN: this rules could be integrated in the make_common_starter.am.
32 # For that, we first have to make the naming convention of Q_OBJECT
33 # files be the same between MEDGUI (old GUI) and MEDOP/gui (new GUI).
40 EXTRA_DIST+=$(MOC_FILES:%_moc.cxx=%.hxx) $(nodist_salomeres_DATA:%.qm=%.ts) test
43 rm -f @builddir@/*_moc.cxx
47 lib_LTLIBRARIES = libMEDOPGUI.la
49 salomeinclude_HEADERS = \
50 MEDOPFactoryClient.hxx \
51 XmedConsoleDriver.hxx \
52 WorkspaceController.hxx \
54 MEDEventListener_i.hxx \
56 DatasourceController.hxx \
57 DatasourceConstants.hxx \
60 dist_libMEDOPGUI_la_SOURCES = \
61 MEDOPFactoryClient.cxx \
62 XmedConsoleDriver.cxx \
63 WorkspaceController.cxx \
65 MEDEventListener_i.cxx \
67 DatasourceController.cxx \
73 MEDEventListener_i_moc.cxx \
74 WorkspaceController_moc.cxx \
75 DatasourceController_moc.cxx
77 nodist_libMEDOPGUI_la_SOURCES = $(MOC_FILES)
79 OMNIORB_CXXFLAGS=@CORBA_CXXFLAGS@ @CORBA_INCLUDES@
80 OMNIORB_LIBS=@OMNIORB_LIBS@
82 QT_CXXFLAGS = @QT_INCLUDES@ @QT_MT_INCLUDES@
83 QT_LDFLAGS = $(QT_MT_LIBS)
85 CAS_CXXFLAGS = @CAS_CPPFLAGS@ @CAS_CXXFLAGS@
87 BOOST_CXXFLAGS=@BOOST_CPPFLAGS@
89 libMEDOPGUI_la_CPPFLAGS = \
100 -I$(top_builddir)/idl \
103 libMEDOPGUI_la_LDFLAGS = \
104 -no-undefined -version-info=0:0:0 \
105 $(KERNEL_LDFLAGS) -lSalomeLifeCycleCORBA -lSalomeKernelHelpers \
106 $(GUI_LDFLAGS) -lSalomeApp -lSalomeGuiHelpers -lSalomeTreeData \
111 # Specify MED internal libraries to be linked in
112 libMEDOPGUI_la_LIBADD = \
113 $(top_builddir)/idl/libSalomeIDLMED.la \
114 dialogs/libMEDOPGUI_dialogs.la \
115 ../cmp/libMEDOPFactoryEngine.la
118 libMEDOPGUI_la_CPPFLAGS += "-D__WITH_MEDMEMGUI__" -I$(top_srcdir)/src/MEDGUI
119 libMEDOPGUI_la_LIBADD += $(top_builddir)/src/MEDGUI/libMEDGUI.la
123 nodist_salomeres_DATA = \