X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FGEOM_SWIG_WITHIHM%2FMakefile.am;h=59166af8166fe326892e11e3cf228fe1af65bc74;hb=601653cb9e15950bd7a7ac235c8a43d63b44d9f1;hp=6802d97fd7b9f19dabab7be1baa44e86c0d5913b;hpb=63b2d29eaebaea3e0191cc2bdf8de19056c961b8;p=modules%2Fgeom.git diff --git a/src/GEOM_SWIG_WITHIHM/Makefile.am b/src/GEOM_SWIG_WITHIHM/Makefile.am index 6802d97fd..59166af81 100644 --- a/src/GEOM_SWIG_WITHIHM/Makefile.am +++ b/src/GEOM_SWIG_WITHIHM/Makefile.am @@ -1,32 +1,22 @@ -# Copyright (C) 2007-2008 CEA/DEN, EDF R&D, OPEN CASCADE +# Copyright (C) 2007-2012 CEA/DEN, EDF R&D, OPEN CASCADE # -# Copyright (C) 2003-2007 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 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. # -# 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 # -# 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/ or email : webmaster.salome@opencascade.com -# -# GEOM GEOM_SWIG : binding of C++ omplementaion with Python -# File : Makefile.in -# Author : Nicolas REJNERI, Paul RASCLE -# Modified by : Alexander BORODIN (OCN) - autotools usage -# Module : GEOM -# $Header$ -# Libraries targets +# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com # + include $(top_srcdir)/adm_local/unix/make_common_starter.am # =============================================================== @@ -42,26 +32,24 @@ include $(top_srcdir)/adm_local/unix/make_common_starter.am # Step 2: build the dynamic library from cpp built source files and # dependant libraries. # -# swig_wrap.cpp -- gcc --> swig_wrap.o |-- link --> _libSALOME_Swig.la +# swig_wrap.cpp -- gcc --> swig_wrap.o |-- link --> _libGEOM_Swig.la # + | # dependant libs | # -# The file libGEOM_Swig.py will be installed to the -# /bin/salome directory. -# The library _libGEOM_Swig.so will be installed to the +# The files libGEOM_Swig.py and _libGEOM_Swig.so will be installed to the # /lib/python/site-package/salome directory. # SWIG_FLAGS = @SWIG_FLAGS@ -I$(srcdir) -I$(srcdir)/../GEOMGUI SWIG_SOURCES = libGEOM_Swig.i -libGEOM_Swig.py: swig_wrap.cpp +salomeinclude_HEADERS = $(SWIG_SOURCES) libGEOM_Swig.h -# Libraries targets -lib_LTLIBRARIES = _libGEOM_Swig.la -_libGEOM_Swig_la_SOURCES = $(SWIG_SOURCES) +salomepython_PYTHON = libGEOM_Swig.py +salomepyexec_LTLIBRARIES = _libGEOM_Swig.la + +_libGEOM_Swig_la_SOURCES = $(SWIG_SOURCES) libGEOM_Swig.h libGEOM_Swig.cxx nodist__libGEOM_Swig_la_SOURCES = swig_wrap.cpp -salomeinclude_HEADERS = $(SWIG_SOURCES) _libGEOM_Swig_la_CPPFLAGS = \ $(QT_INCLUDES) \ @@ -73,27 +61,23 @@ _libGEOM_Swig_la_CPPFLAGS = \ $(GUI_CXXFLAGS) \ $(CORBA_CXXFLAGS) \ $(CORBA_INCLUDES) \ + $(BOOST_CPPFLAGS) \ + -I$(srcdir)/../GEOMClient \ + -I$(srcdir)/../OBJECT \ -I$(srcdir)/../GEOMGUI \ + -I$(srcdir)/../GEOMToolsGUI \ -I$(top_builddir)/idl _libGEOM_Swig_la_LDFLAGS = -module _libGEOM_Swig_la_LIBADD = \ ../GEOMGUI/libGEOM.la \ + ../GEOMToolsGUI/libGEOMToolsGUI.la \ $(PYTHON_LIBS) swig_wrap.cpp : $(SWIG_SOURCES) $(SWIG) $(SWIG_FLAGS) -o $@ $< -CLEANFILES = swig_wrap.cpp libGEOM_Swig.py - -# -# =============================================================== -# Files to be installed -# =============================================================== -# +libGEOM_Swig.py: swig_wrap.cpp -# Scripts to be installed (distributed) -dist_salomescript_DATA = +CLEANFILES = swig_wrap.cpp libGEOM_Swig.py -# Scripts to be installed (non-distributed) -nodist_salomescript_DATA = libGEOM_Swig.py