1 # Copyright (C) 2007-2013 CEA/DEN, EDF R&D, OPEN CASCADE
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 # MED MEDGUI : MED component GUI implemetation
22 include $(top_srcdir)/adm_local/unix/make_common_starter.am
25 lib_LTLIBRARIES= libMEDGUI.la
27 UIC_FILES = ui_MEDGUIFileContentDial.h ui_MEDGUISelectComponents.h
29 BUILT_SOURCES = $(UIC_FILES)
31 EXTRA_DIST+= MEDGUIFileContentDial.ui MEDGUISelectComponents.ui
33 dist_libMEDGUI_la_SOURCES = MEDGUIFileContentDial.h MEDGUISelection.hxx \
34 MEDGUIFileContentDial.cxx MEDGUISelection.cxx \
35 MEDGUISelectComponents.h MEDGUISelectComponents.cxx MEDGUIDataBaseDockWidget.hxx \
36 MEDGUIDataBaseDockWidget.cxx
38 MOC_FILES= MEDGUIFileContentDial_moc.cxx MEDGUISelectComponents_moc.cxx
40 # meta object implementation files generation (moc)
44 # translation (*.qm) files generation (lrelease)
48 EXTRA_DIST += $(MOC_FILES:%_moc.cxx=%.h) $(nodist_salomeres_DATA:%.qm=%.ts)
54 ${QTDIR}/bin/moc -p . -o $@ $<
57 ${QTDIR}/bin/rcc -name $(*F) $< -o $@
60 rm -f *_moc.cxx *_qrc.cxx ui_*.h *.qm
62 clean-local: clean-local-qt
66 nodist_libMEDGUI_la_SOURCES= $(MOC_FILES)
68 libMEDGUI_la_CPPFLAGS= $(QT_INCLUDES) $(VTK_INCLUDES) @CAS_CPPFLAGS@ $(PYTHON_INCLUDES) $(BOOST_CPPFLAGS) \
69 ${KERNEL_CXXFLAGS} ${GUI_CXXFLAGS} \
70 @CORBA_INCLUDES@ @CORBA_CXXFLAGS@ \
71 -I$(top_builddir) -I$(top_builddir)/idl -I$(srcdir)/../MEDCoupling -I$(srcdir)/../INTERP_KERNEL -I$(srcdir)/../INTERP_KERNEL/Bases \
72 -I$(srcdir)/../MEDCoupling -I$(srcdir)/../MEDLoader -I$(srcdir)/../MEDCalculator
74 libMEDGUI_la_LDFLAGS = \
75 $(QT_MT_LIBS) $(CAS_KERNEL) $(BOOST_LIBS) \
76 $(KERNEL_LDFLAGS) -lSalomeLifeCycleCORBA -lOpUtil -lSALOMELocalTrace \
77 $(GUI_LDFLAGS) -lSalomeApp -lCAM -lLightApp -lqtx -lsuit -lSalomeObject
79 libMEDGUI_la_LIBADD = \
80 $(top_builddir)/idl/libSalomeIDLMED.la \
81 $(top_builddir)/src/MEDCalculator/libmedcalculator.la
84 # .po files to transform in .qm
85 nodist_salomeres_DATA= \