# copy header files in common directory ------------
-ifeq ($(HAVE_SSTREAM),yes)
- include_list=include/salome/SALOMEconfig.h
-else
- include_list=include/salome/SALOMEconfig.h include/salome/sstream
+include_list = include/salome/SALOMEconfig.h \
+ include/salome/NETGENPLUGIN_version.h
+
+# copy header files in common directory
+ifneq ($(HAVE_SSTREAM),yes)
+ include_list += include/salome/sstream
endif
inc: idl $(include_list)
-$(RM) $@
$(LN_S) ../../$< $@
+include/salome/NETGENPLUGIN_version.h: NETGENPLUGIN_version.h
+ cp $< $@
+
# install script in $(bindir) :
install-bin: $(BIN_SCRIPT)
$(INSTALL) -d $(bindir)
--- /dev/null
+// Copyright (C) 2005 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
+// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
+//
+// 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.
+//
+// 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.
+//
+// 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
+//
+// See http://www.salome-platform.org/
+//
+// File : NETGENPLUGIN_version.h
+// Author : Vadim SANDLER
+// Module : SALOME
+
+#if !defined(__NETGENPLUGIN_VERSION_H__)
+#define __NETGENPLUGIN_VERSION_H__
+
+/*
+ NETGENPLUGIN_VERSION is (major << 16) + (minor << 8) + patch.
+*/
+
+#define NETGENPLUGIN_VERSION_STR "@VERSION@"
+#define NETGENPLUGIN_VERSION @XVERSION@
+
+#endif // __NETGENPLUGIN_VERSION_H__