1 # Copyright (C) 2007-2013 CEA/DEN, EDF R&D, OPEN CASCADE
3 # Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
4 # CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
6 # This library is free software; you can redistribute it and/or
7 # modify it under the terms of the GNU Lesser General Public
8 # License as published by the Free Software Foundation; either
9 # version 2.1 of the License.
11 # This library is distributed in the hope that it will be useful,
12 # but WITHOUT ANY WARRANTY; without even the implied warranty of
13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 # Lesser General Public License for more details.
16 # You should have received a copy of the GNU Lesser General Public
17 # License along with this library; if not, write to the Free Software
18 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
20 # See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
24 # Author : Vladimir Klyachin (OCN)
27 include $(top_srcdir)/adm_local/unix/make_common_starter.am
29 lib_LTLIBRARIES = libSUITApp.la
31 salomeinclude_HEADERS = \
34 dist_libSUITApp_la_SOURCES = \
36 SUITApp_Application.cxx
39 salomeinclude_HEADERS += SUITApp_init_python.hxx
40 dist_libSUITApp_la_SOURCES += SUITApp_init_python.cxx
44 SUITApp_Application_moc.cxx
46 nodist_libSUITApp_la_SOURCES = $(MOC_FILES)
48 nodist_salomeres_DATA = SUITApp_msg_en.qm SUITApp_msg_fr.qm
50 libSUITApp_la_CPPFLAGS = $(QT_INCLUDES) $(PYTHON_INCLUDES) \
51 -I$(srcdir)/../SUIT -I$(srcdir)/../Qtx -I$(srcdir)/../Style
53 if ENABLE_TESTRECORDER
54 libSUITApp_la_CPPFLAGS+= -DENABLE_TESTRECORDER $(TESTRECORDER_INCLUDES)
55 MOC_FLAGS = -DENABLE_TESTRECORDER
58 libSUITApp_la_LDFLAGS = $(QT_MT_LIBS)
60 if ENABLE_TESTRECORDER
61 libSUITApp_la_LDFLAGS+= $(TESTRECORDER_LIBS)
64 libSUITApp_la_LIBADD = ../Qtx/libqtx.la ../SUIT/libsuit.la ../Style/libSalomeStyle.la
67 libSUITApp_la_LDFLAGS += -Xlinker -export-dynamic $(PYTHON_LIBS)
71 bin_PROGRAMS = SUITApp
73 dist_SUITApp_SOURCES = SUITApp.cxx
75 SUITApp_CPPFLAGS = $(QT_INCLUDES) $(PYTHON_INCLUDES) \
76 -I$(srcdir)/../SUIT -I$(srcdir)/../Qtx -I$(srcdir)/../Style
78 if ENABLE_TESTRECORDER
79 SUITApp_CPPFLAGS+= -DENABLE_TESTRECORDER $(TESTRECORDER_INCLUDES)
82 SUITApp_LDADD = libSUITApp.la ../Qtx/libqtx.la ../SUIT/libsuit.la ../Style/libSalomeStyle.la ${QT_LIBS}
84 SUITApp_LDADD += $(PYTHON_LIBS)
87 if ENABLE_TESTRECORDER
88 SUITApp_LDADD+= $(TESTRECORDER_LIBS)