Salome HOME
f5d02d70fc2710901278b8e65cc4f9b177b96080
[plugins/hexoticplugin.git] / src / GUI / Makefile.am
1 # Copyright (C) 2007-2012  CEA/DEN, EDF R&D
2 #
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.
7 #
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.
12 #
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
16 #
17 # See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
18 #
19
20 # ---
21 # File   : Makefile.am
22 # Author : Vadim SANDLER, Open CASCADE S.A.S (vadim.sandler@opencascade.com)
23 # ---
24 #
25 include $(top_srcdir)/adm_local/unix/make_common_starter.am
26
27 # header files 
28 salomeinclude_HEADERS = \
29     HexoticPluginGUI.h          \
30     HexoticPluginGUI_Dlg.h    \
31     HexoticPluginGUI_HypothesisCreator.h
32
33 # Libraries targets
34 lib_LTLIBRARIES = libHexoticPluginGUI.la
35
36 dist_libHexoticPluginGUI_la_SOURCES =           \
37         HexoticPluginGUI.cxx                    \
38         HexoticPluginGUI_StdWidget.cxx \
39     HexoticPluginGUI_HypothesisCreator.cxx
40
41 MOC_FILES = \
42         HexoticPluginGUI_HypothesisCreator_moc.cxx \
43     HexoticPluginGUI_Dlg_moc.cxx
44
45 UIC_FILES =     \
46         ui_HexoticPluginGUI_StdWidget_QTD.h
47
48 BUILT_SOURCES = $(UIC_FILES)
49         
50 nodist_libHexoticPluginGUI_la_SOURCES = \
51         $(MOC_FILES)
52
53 # additionnal information to compil and link file
54
55 libHexoticPluginGUI_la_CPPFLAGS =       \
56         $(QT_INCLUDES)                  \
57         $(CAS_CPPFLAGS)                 \
58         $(PYTHON_INCLUDES)              \
59         $(KERNEL_CXXFLAGS)              \
60         $(GUI_CXXFLAGS)                 \
61         $(GEOM_CXXFLAGS)                \
62         $(MED_CXXFLAGS)                 \
63         $(SMESH_CXXFLAGS)               \
64         $(BOOST_CPPFLAGS)               \
65         $(CORBA_CXXFLAGS)               \
66         $(CORBA_INCLUDES)               \
67         -I$(srcdir)/../HexoticPlugin    \
68         -I$(top_builddir)/idl
69
70 libHexoticPluginGUI_la_LDFLAGS =                           \
71         ../HexoticPlugin/libHexoticEngine.la               \
72         ../../idl/libSalomeIDLHexoticPLUGIN.la \
73         ${SMESH_LDFLAGS} -lSMESH                           \
74         $(CAS_KERNEL)                                      \
75         $(GUI_LDFLAGS) -lsuit -lqtx -lSalomeApp            \
76         $(QT_LIBS)
77
78 # resources files
79 nodist_salomeres_DATA =         \
80         HexoticPLUGIN_images.qm \
81         HexoticPLUGIN_msg_en.qm \
82         HexoticPLUGIN_msg_fr.qm
83
84 SUBDIRS = resources
85
86 DIST_SUBDIRS = resources