1 # Copyright (C) 2006-2022 CEA/DEN, EDF R&D
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, or (at your option) any later version.
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.
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
17 # See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
21 # --------------------------------------------
23 # --------------------------------------------
25 SUFFIXES += .i WRAP.cxx .idl .hh SK.cc _idl.py
28 $(SWIG) $(SWIG_PYTHON_OPT) $(SWIG_PYTHON_INCLUDES) -o $@ $<
32 $(OMNIORB_IDL) $(OMNIORB_IDLCXXFLAGS) -bcxx $<
34 %.hh %SK.cc: ${KERNEL_ROOT_DIR}/idl/salome/%.idl
35 $(OMNIORB_IDL) $(OMNIORB_IDLCXXFLAGS) -bcxx $<
37 %.hh %SK.cc: ${MED_ROOT_DIR}/idl/salome/%.idl
38 $(OMNIORB_IDL) $(OMNIORB_IDLCXXFLAGS) -bcxx $<
41 $(OMNIORB_IDL) $(OMNIORB_IDLPYFLAGS) -bpython $<