1 # Copyright (C) 2008-2021 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
19 # Author: André Ribes, andre.ribes@edf.fr, EDF R&D
21 include $(top_srcdir)/adm_local/make_common_starter.am
23 BUILT_SOURCES = ADAO_COMPONENTSK.cc
24 IDL_FILES=ADAO_COMPONENT.idl
26 lib_LTLIBRARIES = libADAO_COMPONENT.la
27 salomeidl_DATA = $(IDL_FILES)
28 salomepython_DATA = ADAO_COMPONENT_idl.py
29 libADAO_COMPONENT_la_SOURCES =
30 nodist_libADAO_COMPONENT_la_SOURCES = ADAO_COMPONENTSK.cc
31 nodist_salomeinclude_HEADERS= ADAO_COMPONENT.hh
32 libADAO_COMPONENT_la_CXXFLAGS = -I. $(KERNEL_INCLUDES)
33 libADAO_COMPONENT_la_LIBADD = $(KERNEL_LIBS)
34 ##########################################################
36 $(OMNIORB_IDL) -bcxx $(IDLCXXFLAGS) $(OMNIORB_IDLCXXFLAGS) $(IDL_INCLUDES) $<
38 $(OMNIORB_IDL) -bpython $(IDL_INCLUDES) $<
39 %PaCO.hxx %PaCO.cxx : %.idl %.xml
40 $(OMNIORB_IDL) -I@KERNEL_ROOT_DIR@/idl/salome -p@PACOPATH@/lib/python -bpaco -Wb$(top_srcdir)/idl/$*.xml,$(srcdir):@PACOPATH@/idl:@KERNEL_ROOT_DIR@/idl/salome $(top_srcdir)/idl/$*.idl
42 CLEANFILES = *.hh *SK.cc *.py *.hxx *.cxx
44 EXTRA_DIST = $(IDL_FILES)
47 rm -rf ADAO_COMPONENT ADAO_COMPONENT__POA
50 ${mkinstalldirs} $(DESTDIR)$(salomepythondir)
51 cp -R ADAO_COMPONENT ADAO_COMPONENT__POA $(DESTDIR)$(salomepythondir)
54 rm -rf $(DESTDIR)$(salomepythondir)/ADAO_COMPONENT
55 rm -rf $(DESTDIR)$(salomepythondir)/ADAO_COMPONENT__POA