Salome HOME
Merge from V6_main_20120808 08Aug12
[modules/smesh.git] / src / Tools / MeshCut / Makefile.am
1 # Copyright (C) 2007-2012  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 include $(top_srcdir)/adm_local/unix/make_common_starter.am
21
22
23 bin_PROGRAMS = MeshCut
24
25 MeshCut_SOURCES = \
26   MeshCut_Globals.hxx \
27   MeshCut_Carre.hxx \
28   MeshCut_Carre.cxx \
29   MeshCut_Cube.hxx \
30   MeshCut_Cube.cxx \
31   MeshCut_Maillage.hxx \
32   MeshCut_Maillage.cxx \
33   MeshCut_Fonctions.hxx \
34   MeshCut_Fonctions.cxx \
35   MeshCut_Utils.hxx \
36   MeshCut_Utils.cxx \
37   MeshCut_Cas.hxx \
38   MeshCut_Cas.cxx \
39   MeshCut_DC.cxx
40
41 MeshCut_CPPFLAGS =  $(MED3_INCLUDES)
42
43 MeshCut_LDFLAGS =  $(MED3_LIBS) $(HDF5_LIBS)
44
45 salomeplugins_PYTHON = \
46         meshcut_plugin.py
47
48 UIPY_FILES =  MeshCutDialog.py
49
50 if SMESH_ENABLE_GUI
51   nodist_salomescript_SCRIPTS = $(UIPY_FILES)
52 endif
53
54 CLEANFILES = $(UIPY_FILES)
55
56 EXTRA_DIST += $(UIPY_FILES:%.py=%.ui)
57
58 %.py : %.ui
59         $(PYUIC) $< -o $@