1 # Copyright (C) 2006-2012 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 include $(top_srcdir)/adm/unix/make_begin.am
23 lib_LTLIBRARIES = libSalomeWrap.la
25 dist_libSalomeWrap_la_SOURCES = \
26 SalomeWrapExport.hxx \
27 SalomeWrap_Module.hxx \
28 SalomeWrap_Module.cxx \
29 SalomeWrap_DataModel.hxx \
30 SalomeWrap_DataModel.cxx \
33 WrapGraphicsView.hxx \
38 SalomeWrap_Module_moc.cxx \
39 WrapGraphicsView_moc.cxx
41 nodist_libSalomeWrap_la_SOURCES = $(MOC_FILES)
43 libSalomeWrap_la_CXXFLAGS = \
46 $(OMNIORB_CXXFLAGS) $(OMNIORB_INCLUDES) \
48 -I$(KERNEL_ROOT_DIR)/include/salome \
49 -I$(GUI_ROOT_DIR)/include/salome \
50 -I$(srcdir)/../bases \
53 libSalomeWrap_la_LDFLAGS = \
55 -L$(GUI_ROOT_DIR)/lib/salome \
58 libSalomeWrap_la_LIBADD = \
59 $(qt4_libs) $(QT_LIBS) $(OMNIORB_LIBS) \
60 ../engine/libYACSlibEngine.la \
62 -lCAM -lsuit -lLightApp -lqtx -lQxScene -lObjBrowser -lSalomeApp
67 # --------------------------------------------
69 # --------------------------------------------
71 SUFFIXES = .hxx _moc.cxx .qrc _qrc.cxx
74 $(QT_MOC) -p . -o $@ $<
78 rm -f *_moc.cxx *_qrc.cxx
81 clean-local: clean-local-qt