From: eap Date: Tue, 5 Feb 2013 15:02:54 +0000 (+0000) Subject: 0021756: [CEA 602] MEDPartitioner improvements / X-Git-Tag: V6_main_FINAL~389 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=46b1055b049137eef5ad2f431a7c7c87730fe60f;p=tools%2Fmedcoupling.git 0021756: [CEA 602] MEDPartitioner improvements / - in MPI configuration, only medpartitioner_para is compiled, while having medpartitioner is still relevant. --- diff --git a/src/MEDPartitioner/Makefile.am b/src/MEDPartitioner/Makefile.am index c6039a030..f3f9bc75e 100644 --- a/src/MEDPartitioner/Makefile.am +++ b/src/MEDPartitioner/Makefile.am @@ -114,18 +114,19 @@ libmedpartitioner_la_CXXFLAGS = @CXXTMPDPTHFLAGS@ libmedpartitioner_la_LDFLAGS+= $(MED3_LIBS_C_ONLY) $(HDF5_LIBS) $(STDLIB) $(LIBXML_LIBS) $(MPI_LIBS) ../INTERP_KERNEL/libinterpkernel.la ../MEDCoupling/libmedcoupling.la ../MEDLoader/libmedloader.la # Executables targets + +bin_PROGRAMS= medpartitioner +dist_medpartitioner_SOURCES= medpartitioner.cxx +medpartitioner_CPPFLAGS= $(libmedpartitioner_la_CPPFLAGS) +medpartitioner_LDADD= $(libmedpartitioner_la_LDFLAGS) -lm libmedpartitioner.la +medpartitioner_CXXFLAGS = @CXXTMPDPTHFLAGS@ + if MED_ENABLE_PARMETIS bin_PROGRAMS=medpartitioner_para dist_medpartitioner_para_SOURCES= medpartitioner_para.cxx medpartitioner_para_CPPFLAGS= $(libmedpartitioner_la_CPPFLAGS) medpartitioner_para_LDADD= $(libmedpartitioner_la_LDFLAGS) -lm libmedpartitioner.la medpartitioner_para_CXXFLAGS=@CXXTMPDPTHFLAGS@ -else - bin_PROGRAMS= medpartitioner - dist_medpartitioner_SOURCES= medpartitioner.cxx - medpartitioner_CPPFLAGS= $(libmedpartitioner_la_CPPFLAGS) - medpartitioner_LDADD= $(libmedpartitioner_la_LDFLAGS) -lm libmedpartitioner.la - medpartitioner_CXXFLAGS = @CXXTMPDPTHFLAGS@ endif