-# version 2.1 of the License.
+# Copyright (C) 2007-2011 CEA/DEN, EDF R&D, OPEN CASCADE
#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public
+# License as published by the Free Software Foundation; either
+# version 2.1 of the License.
#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# Lesser General Public License for more details.
#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
#
-
-# File : Makefile.in
-# Author : Patrick GOLDBRONN (CEA)
-# Modified by : Alexander BORODIN (OCN) - autotools usage
-# Module : SMESH
-# $Header$
+# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
#
+
include $(top_srcdir)/adm_local/unix/make_common_starter.am
bin_PROGRAMS = MeshCut
MeshCut_SOURCES = \
+ MeshCut_Globals.hxx \
+ MeshCut_Carre.hxx \
MeshCut_Carre.cxx \
+ MeshCut_Cube.hxx \
MeshCut_Cube.cxx \
+ MeshCut_Maillage.hxx \
MeshCut_Maillage.cxx \
+ MeshCut_Fonctions.hxx \
MeshCut_Fonctions.cxx \
+ MeshCut_Utils.hxx \
MeshCut_Utils.cxx \
+ MeshCut_Cas.hxx \
MeshCut_Cas.cxx \
MeshCut_DC.cxx
-MeshCut_CPPFLAGS = $(MED2_INCLUDES)
+MeshCut_CPPFLAGS = $(MED3_INCLUDES)
+
+MeshCut_LDFLAGS = $(MED3_LIBS) $(HDF5_LIBS)
+
+salomeplugins_PYTHON = \
+ meshcut_plugin.py
+
+UIPY_FILES = MeshCutDialog.py
+
+if SMESH_ENABLE_GUI
+ nodist_salomescript_SCRIPTS = $(UIPY_FILES)
+endif
+
+CLEANFILES = $(UIPY_FILES)
-MeshCut_LDFLAGS = $(MED2_LIBS) $(HDF5_LIBS)
+EXTRA_DIST += $(UIPY_FILES:%.py=%.ui)
+%.py : %.ui
+ $(PYUIC) $< -o $@