1 # Copyright (C) 2006-2008 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.
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) $(MYSWIG_FLAGS) -o $@ $<
31 $(OMNIORB_IDL) $(OMNIORB_IDLCXXFLAGS) $(IDLCXXFLAGS) -bcxx $<
34 $(OMNIORB_IDL) $(OMNIORB_IDLPYFLAGS) $(IDLPYFLAGS) $<
36 # --------------------------------------------
38 # --------------------------------------------
40 SUFFIXES += .h _moc.cxx
48 # --------------------------------------------
50 # --------------------------------------------
58 for Header in $(patsubst %.ui,%.h,$(wildcard *.ui)) ; do \
62 # --------------------------------------------
64 # --------------------------------------------
69 $(UIC) -o $@ -impl $(patsubst %.cxx,%.h,$@) $<
72 for Impl in $(patsubst %.ui,%.cxx,$(wildcard *.ui)) ; do \
76 # --------------------------------------------
78 # --------------------------------------------
83 subdir=`dirname $@` ; \
84 if ! test -d $$subdir; then \
92 clean-local : clean-local-h2Moc clean-local-po2qm clean-local-ui2cxx clean-local-ui2h