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 salomeinclude_HEADERS = \
28 lib_LTLIBRARIES = libYACS.la
30 dist_libYACS_la_SOURCES = \
32 Yacsgui_DataModel.hxx \
33 Yacsgui_Resource.cxx \
34 Yacsgui_Resource.hxx \
41 nodist_libYACS_la_SOURCES = $(MOC_FILES)
43 libYACS_la_CXXFLAGS = \
50 -I$(KERNEL_ROOT_DIR)/include/salome \
51 -I$(GUI_ROOT_DIR)/include/salome \
52 -I$(srcdir)/../bases \
53 -I$(srcdir)/../engine \
54 -I$(srcdir)/../runtime \
55 -I$(srcdir)/../yacsloader \
57 -I$(srcdir)/../salomewrap \
58 -I$(srcdir)/../genericgui \
65 libYACS_la_LDFLAGS = \
67 -L$(GUI_ROOT_DIR)/lib/salome -L$(KERNEL_ROOT_DIR)/lib/salome \
68 $(qt4_ldflags) $(qsci4_ldflags)
71 ../genericgui/libGenericGui.la \
73 $(qt4_libs) $(qsci4_libs) \
74 -lSalomeApp -lSalomeSession
79 resources/YACSSchemaCatalog.xml \
80 resources/YACSCatalog.xml \
81 resources/ModuleYacs.png \
82 resources/ExecYACS.png
85 nodist_salomeres_DATA = \
88 resources/SalomeApp.xml
91 resources/YACS_msg_en.ts \
92 resources/YACS_msg_fr.ts
94 dist_salomeres_DATA = $(QMFILES) ${ICONS}
99 # --------------------------------------------
101 # --------------------------------------------
103 SUFFIXES = .hxx _moc.cxx .qrc _qrc.cxx
106 $(QT_MOC) -p . -o $@ $<
109 $(QT_RCC) -name $(*F) $< -o $@
116 rm -f *_moc.cxx *_qrc.cxx
119 clean-local: clean-local-qt
120 rm -f YACS_msg_en.qm YACS_msg_fr.qm