1 # Copyright (C) 2007-2013 CEA/DEN, EDF R&D, OPEN CASCADE
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
20 include $(top_srcdir)/adm_local/unix/make_common_starter.am
23 # Common subdirectories
26 COMMON_SUBDIRS = INTERP_KERNEL MEDCoupling
29 # Unitary tests for INTERP_KERNEL
33 INTERPTEST_SUBDIRS = INTERP_KERNELTest
37 COMMON_SUBDIRS += MEDLoader
41 # ParaMEDMEM is enabled if MPI is detected ok
42 # In addition, ParaMEDMEM_Swig is not available in MICROMED mode
47 PARAMEDMEM_SUBDIRS += ParaMEDMEM
49 PARAMEDMEM_SUBDIRS += ParaMEDLoader
51 PARAMEDMEM_SUBDIRS += ParaMEDMEMTest
57 # Other packages are not available in MICROMED mode
60 if !MED_ENABLE_MICROMED
62 BASE_SUBDIRS = MEDWrapper MEDMEM MEDCoupling_Swig MEDMEM_SWIG MEDMEMBinTest
65 PARAMEDMEM_SUBDIRS += ParaMEDMEM_Swig
69 BASE_SUBDIRS += MEDMEMCppTest
72 if MED_ENABLE_SPLITTER
73 SPLITTER_SUBDIRS = MEDSPLITTER MEDSPLITTER_Swig MEDPartitioner
76 if MED_ENABLE_RENUMBER
77 RENUMBER_SUBDIRS = RENUMBER
81 KERNEL_SUBDIRS = MEDCouplingCorba MEDCouplingCorba_Swig MEDMEM_I MED MedCorba_Swig MED_SWIG MedClient
84 KERNEL_SUBDIRS += ParaMEDCouplingCorba ParaMEDMEMComponent
89 KERNEL_SUBDIRS += MEDCalculator
95 GUI_SUBDIRS = MEDGUI MEDOP
100 SUBDIRS = $(COMMON_SUBDIRS) $(PARAMEDMEM_SUBDIRS) $(BASE_SUBDIRS) $(INTERPTEST_SUBDIRS) \
101 $(SPLITTER_SUBDIRS) $(RENUMBER_SUBDIRS) $(KERNEL_SUBDIRS) $(GUI_SUBDIRS)
104 MEDWrapper INTERP_KERNEL MEDMEM MEDCoupling MEDCoupling_Swig MEDMEM_SWIG \
105 MEDMEMBinTest MEDMEMCppTest INTERP_KERNELTest ParaMEDMEM ParaMEDMEM_Swig MEDLoader \
106 MEDSPLITTER MEDSPLITTER_Swig MEDPartitioner RENUMBER MEDCouplingCorba MEDCouplingCorba_Swig \
107 MEDMEM_I MED MED_SWIG MedCorba_Swig ParaMEDLoader MedClient ParaMEDMEMComponent \
108 ParaMEDCouplingCorba MEDCalculator MEDGUI MEDOP ParaMEDMEMTest