1## 2## Copyright (C) by Argonne National Laboratory 3## See COPYRIGHT in top-level directory 4## 5 6include $(top_srcdir)/src/mpi/attr/Makefile.mk 7include $(top_srcdir)/src/mpi/coll/Makefile.mk 8include $(top_srcdir)/src/mpi/comm/Makefile.mk 9include $(top_srcdir)/src/mpi/datatype/Makefile.mk 10include $(top_srcdir)/src/mpi/debugger/Makefile.mk 11include $(top_srcdir)/src/mpi/errhan/Makefile.mk 12include $(top_srcdir)/src/mpi/group/Makefile.mk 13include $(top_srcdir)/src/mpi/info/Makefile.mk 14include $(top_srcdir)/src/mpi/init/Makefile.mk 15include $(top_srcdir)/src/mpi/misc/Makefile.mk 16include $(top_srcdir)/src/mpi/pt2pt/Makefile.mk 17include $(top_srcdir)/src/mpi/request/Makefile.mk 18include $(top_srcdir)/src/mpi/rma/Makefile.mk 19include $(top_srcdir)/src/mpi/spawn/Makefile.mk 20include $(top_srcdir)/src/mpi/timer/Makefile.mk 21include $(top_srcdir)/src/mpi/topo/Makefile.mk 22 23if BUILD_ROMIO 24SUBDIRS += src/mpi/romio 25DIST_SUBDIRS += src/mpi/romio 26MANDOC_SUBDIRS += src/mpi/romio 27HTMLDOC_SUBDIRS += src/mpi/romio 28mpi_convenience_libs += src/mpi/romio/libromio.la 29 30# libpromio contains the PMPI symbols (unlike libpmpi, which contains MPI 31# symbols) and should be added to libmpi as well 32if BUILD_PROFILING_LIB 33pmpi_convenience_libs += src/mpi/romio/libpromio.la 34endif BUILD_PROFILING_LIB 35 36# This was previously a hard copy (not a symlink) performed by config.status 37# (specified via AC_CONFIG_COMMANDS). Ideally we would eliminate this "copy" 38# altogether and just set -Iromio_include_dir, but MPE2's build system uses 39# $(top_builddir)/bin/mpicc that can't handle more than one include dir. 40# 41# Using a symlink allows us to avoid trying to capture the full dependency chain 42# of MPICH/mpio.h --> ROMIO/mpio.h --> ROMIO/mpio.h.in --> ROMIO/config.status --> ...MORE_AUTOTOOLS... 43BUILT_SOURCES += $(top_builddir)/src/include/mpio.h 44$(top_builddir)/src/include/mpio.h: $(top_builddir)/src/mpi/romio/include/mpio.h 45 if test ! -h $(top_builddir)/src/include/mpio.h ; then \ 46 rm -f $(top_builddir)/src/include/mpio.h ; \ 47 ( cd $(top_builddir)/src/include && \ 48 $(LN_S) ../mpi/romio/include/mpio.h ) ; \ 49 fi 50 51DISTCLEANFILES += $(top_builddir)/src/include/mpio.h 52 53endif BUILD_ROMIO 54 55# dir is present but currently intentionally unbuilt 56#include $(top_srcdir)/src/mpi/io/Makefile.mk 57