-# Copyright (C) 2007-2012 CEA/DEN, EDF R&D, OPEN CASCADE
+# Copyright (C) 2007-2013 CEA/DEN, EDF R&D, OPEN CASCADE
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
#
include $(top_srcdir)/adm_local/unix/make_common_starter.am
-EXTRA_DIST += CMakeLists.txt
+BASEIDL_FILES = \
+ MEDCouplingCorbaServant.idl \
+ MEDCouplingCorbaServantTest.idl \
+ ParaMEDCouplingCorbaServant.idl
-BASEIDL_FILES = MED.idl MED_Gen.idl Compo1Py.idl MEDCouplingCorbaServant.idl MEDCouplingCorbaServantTest.idl ParaMEDCouplingCorbaServant.idl
+MEDOPIDL_FILES = \
+ MEDDataManager.idl \
+ MEDCalculator.idl \
+ MEDEventListener.idl \
+ MEDOPFactory.idl
MPIIDL_FILES = ParaMEDMEMComponent.idl
if MPI_IS_OK
IDL_FILES += $(MPIIDL_FILES)
endif
+IDL_FILES += $(MEDOPIDL_FILES)
IDL_FILES_PY=$(IDL_FILES:%.idl=%_idl.py)
lib_LTLIBRARIES = libSalomeIDLMED.la libSalomeIDLMEDTests.la
# Sources built from idl files
-BASEIDL_SOURCES = MEDSK.cc MED_GenSK.cc MEDCouplingCorbaServantSK.cc Compo1PySK.cc ParaMEDCouplingCorbaServantSK.cc
+BASEIDL_SOURCES = \
+ MEDCouplingCorbaServantSK.cc \
+ ParaMEDCouplingCorbaServantSK.cc
+
+MEDOPIDL_SOURCES = \
+ MEDDataManagerSK.cc \
+ MEDCalculatorSK.cc \
+ MEDEventListenerSK.cc \
+ MEDOPFactorySK.cc
MPIIDL_SOURCES = ParaMEDMEMComponentSK.cc
if MPI_IS_OK
IDL_SOURCES += $(MPIIDL_SOURCES)
endif
+IDL_SOURCES += $(MEDOPIDL_SOURCES)
nodist_libSalomeIDLMED_la_SOURCES = $(IDL_SOURCES)
# header files must be exported: other modules have to use this library
-nodist_salomeinclude_HEADERS = MED.hh MED_Gen.hh MEDCouplingCorbaServant.hh Compo1Py.hh MEDCouplingCorbaServantTest.hh ParaMEDCouplingCorbaServant.hh
+nodist_salomeinclude_HEADERS = \
+ MEDCouplingCorbaServant.hh \
+ MEDCouplingCorbaServantTest.hh \
+ ParaMEDCouplingCorbaServant.hh
+
if MPI_IS_OK
nodist_salomeinclude_HEADERS += ParaMEDMEMComponent.hh
endif
+nodist_salomeinclude_HEADERS += \
+ MEDDataManager.hh \
+ MEDCalculator.hh \
+ MEDEventListener.hh \
+ MEDOPFactory.hh
+
libSalomeIDLMED_la_CPPFLAGS = \
-I$(top_builddir)/idl \
@CORBA_CXXFLAGS@ @CORBA_INCLUDES@ @KERNEL_CXXFLAGS@
IDLCXXFLAGS = -bcxx @IDLCXXFLAGS@ -I$(top_builddir)/idl/salome -I$(KERNEL_ROOT_DIR)/idl/salome
IDLPYFLAGS = @IDLPYFLAGS@ -I$(KERNEL_ROOT_DIR)/idl/salome
-MEDSK.cc : MED.idl
- $(OMNIORB_IDL) $(IDLCXXFLAGS) $(OMNIORB_IDLCXXFLAGS) $<
-MED.hh : MEDSK.cc
+SUFFIXES = .idl .hh SK.cc
-MED_GenSK.cc : MED_Gen.idl
+%SK.cc %.hh : %.idl
$(OMNIORB_IDL) $(IDLCXXFLAGS) $(OMNIORB_IDLCXXFLAGS) $<
-MED_Gen.hh : MED_GenSK.cc
-ParaMEDMEMComponentSK.cc : ParaMEDMEMComponent.idl
- $(OMNIORB_IDL) $(IDLCXXFLAGS) $(OMNIORB_IDLCXXFLAGS) $<
-ParaMEDMEMComponent.hh : ParaMEDMEMComponentSK.cc
-
-MEDCouplingCorbaServantSK.cc : MEDCouplingCorbaServant.idl
- $(OMNIORB_IDL) $(IDLCXXFLAGS) $(OMNIORB_IDLCXXFLAGS) $<
-MEDCouplingCorbaServant.hh : MEDCouplingCorbaServantSK.cc
-
-ParaMEDCouplingCorbaServantSK.cc : ParaMEDCouplingCorbaServant.idl
- $(OMNIORB_IDL) $(IDLCXXFLAGS) $(OMNIORB_IDLCXXFLAGS) $<
-ParaMEDCouplingCorbaServant.hh : ParaMEDCouplingCorbaServantSK.cc
-
-Compo1PySK.cc : Compo1Py.idl
- $(OMNIORB_IDL) $(IDLCXXFLAGS) $(OMNIORB_IDLCXXFLAGS) $<
-Compo1Py.hh : Compo1PySK.cc
-
-MEDCouplingCorbaServantTestSK.cc : MEDCouplingCorbaServantTest.idl
- $(OMNIORB_IDL) $(IDLCXXFLAGS) $(OMNIORB_IDLCXXFLAGS) $<
-MEDCouplingCorbaServantTest.hh : MEDCouplingCorbaServantTestSK.cc
+# MEDSK.cc : MED.idl
+# $(OMNIORB_IDL) $(IDLCXXFLAGS) $(OMNIORB_IDLCXXFLAGS) $<
+# MED.hh : MEDSK.cc
install-exec-local: $(IDL_FILES:%=$(top_srcdir)/idl/%)
$(INSTALL) -d $(DESTDIR)$(salomepythondir)
# we want to remove only staff generated for IDL files and nothing more
uninstall-local:
- @for modulen in SALOME_MED SALOME_TEST Compo1Py_ORB ; do \
+ @for modulen in SALOME_MED SALOME_TEST Compo1Py_ORB MEDOP ; do \
test -d $(DESTDIR)$(salomepythondir)/$${modulen} && echo "Removing $(DESTDIR)$(salomepythondir)/$${modulen}" && rm -rf $(DESTDIR)$(salomepythondir)/$${modulen} ; \
test -d $(DESTDIR)$(salomepythondir)/$${modulen}__POA && echo "Removing $(DESTDIR)$(salomepythondir)/$${modulen}__POA" && rm -rf $(DESTDIR)$(salomepythondir)/$${modulen}__POA ; \
done ; \