# Makefile.in generated by automake 1.16.2 from Makefile.am. # @configure_input@ # Copyright (C) 1994-2020 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ # $Source: bitbucket.org:berkeleylab/gasnet.git/other/ammpi/Makefile.am $ # Description: Makefile for AMMPI/GASNet # Copyright 2004, Dan Bonachea # Terms of use are as specified in license.txt # NOTE: This Makefile is used to tie in with the GASNet build infrastructure # the stand-alone AMMPI product doesn't currently provide an automake framework am__is_gnu_make = { \ if test -z '$(MAKELEVEL)'; then \ false; \ elif test -n '$(MAKE_HOST)'; then \ true; \ elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ true; \ else \ false; \ fi; \ } am__make_running_with_option = \ case $${target_option-} in \ ?) ;; \ *) echo "am__make_running_with_option: internal error: invalid" \ "target option '$${target_option-}' specified" >&2; \ exit 1;; \ esac; \ has_opt=no; \ sane_makeflags=$$MAKEFLAGS; \ if $(am__is_gnu_make); then \ sane_makeflags=$$MFLAGS; \ else \ case $$MAKEFLAGS in \ *\\[\ \ ]*) \ bs=\\; \ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ esac; \ fi; \ skip_next=no; \ strip_trailopt () \ { \ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ }; \ for flg in $$sane_makeflags; do \ test $$skip_next = yes && { skip_next=no; continue; }; \ case $$flg in \ *=*|--*) continue;; \ -*I) strip_trailopt 'I'; skip_next=yes;; \ -*I?*) strip_trailopt 'I';; \ -*O) strip_trailopt 'O'; skip_next=yes;; \ -*O?*) strip_trailopt 'O';; \ -*l) strip_trailopt 'l'; skip_next=yes;; \ -*l?*) strip_trailopt 'l';; \ -[dEDm]) skip_next=yes;; \ -[JT]) skip_next=yes;; \ esac; \ case $$flg in \ *$$target_option*) has_opt=yes; break;; \ esac; \ done; \ test $$has_opt = yes am__make_dryrun = (target_option=n; $(am__make_running_with_option)) am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) pkgdatadir = $(datadir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkglibexecdir = $(libexecdir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ target_triplet = @target@ subdir = other/ammpi ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/other/plpa/config/acinclude.m4 \ $(top_srcdir)/acinclude.m4 $(top_srcdir)/configure.in am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON) mkinstalldirs = $(SHELL) $(top_srcdir)/config-aux/mkinstalldirs CONFIG_HEADER = $(top_builddir)/gasnet_config.h CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; am__vpath_adj = case $$p in \ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ *) f=$$p;; \ esac; am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; am__install_max = 40 am__nobase_strip_setup = \ srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` am__nobase_strip = \ for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" am__nobase_list = $(am__nobase_strip_setup); \ for p in $$list; do echo "$$p $$p"; done | \ sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ if (++n[$$2] == $(am__install_max)) \ { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ END { for (dir in files) print dir, files[dir] }' am__base_list = \ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' am__uninstall_files_from_dir = { \ test -z "$$files" \ || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ $(am__cd) "$$dir" && rm -f $$files; }; \ } am__installdirs = "$(DESTDIR)$(libdir)" LIBRARIES = $(lib_LIBRARIES) ARFLAGS = cru AM_V_AR = $(am__v_AR_@AM_V@) am__v_AR_ = $(am__v_AR_@AM_DEFAULT_V@) am__v_AR_0 = @echo " AR " $@; am__v_AR_1 = libammpi_a_AR = $(AR) $(ARFLAGS) libammpi_a_LIBADD = am_libammpi_a_OBJECTS = ammpi_ep.$(OBJEXT) ammpi_reqrep.$(OBJEXT) \ ammpi_spmd.$(OBJEXT) libammpi_a_OBJECTS = $(am_libammpi_a_OBJECTS) AM_V_P = $(am__v_P_@AM_V@) am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) am__v_P_0 = false am__v_P_1 = : AM_V_GEN = $(am__v_GEN_@AM_V@) am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) am__v_GEN_0 = @echo " GEN " $@; am__v_GEN_1 = AM_V_at = $(am__v_at_@AM_V@) am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) am__v_at_0 = @ am__v_at_1 = DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) depcomp = am__maybe_remake_depfiles = COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) AM_V_CC = $(am__v_CC_@AM_V@) am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@) am__v_CC_0 = @echo " CC " $@; am__v_CC_1 = CCLD = $(CC) LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ AM_V_CCLD = $(am__v_CCLD_@AM_V@) am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@) am__v_CCLD_0 = @echo " CCLD " $@; am__v_CCLD_1 = SOURCES = $(libammpi_a_SOURCES) DIST_SOURCES = $(libammpi_a_SOURCES) am__can_run_installinfo = \ case $$AM_UPDATE_INFO_DIR in \ n|no|NO) false;; \ *) (install-info --version) >/dev/null 2>&1;; \ esac am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) # Read a list of newline-separated strings from the standard input, # and print each of them once, without duplicates. Input order is # *not* preserved. am__uniquify_input = $(AWK) '\ BEGIN { nonempty = 0; } \ { items[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in items) print i; }; } \ ' # Make sure the list of sources is unique. This is necessary because, # e.g., the same source file might be shared among _SOURCES variables # for different programs/libraries. am__define_uniq_tagged_files = \ list='$(am__tagged_files)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | $(am__uniquify_input)` ETAGS = etags CTAGS = ctags am__DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.tests \ $(top_srcdir)/config-aux/mkinstalldirs README DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) VPATH = $(srcdir) ACLOCAL = @ACLOCAL@ ADDR2LINE_PATH = @ADDR2LINE_PATH@ ALLOCA = @ALLOCA@ AMTAR = @AMTAR@ AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ APRUN_PATH = @APRUN_PATH@ AR = @AR@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ BASENAME = @BASENAME@ BOURNE_SHELL = @BOURNE_SHELL@ BUILD_ID = @BUILD_ID@ BUILD_IS_SRC = @BUILD_IS_SRC@ CC = @MPI_CC@ CCDEPMODE = @CCDEPMODE@ CC_FAMILY = @CC_FAMILY@ CC_SUBFAMILY = @CC_SUBFAMILY@ CFLAGS = @DEVWARN_MPI_CFLAGS@ @MPI_CFLAGS@ $(MANUAL_MPICFLAGS) $(apputils_flags) COMPLETE_INTTYPES_H = @COMPLETE_INTTYPES_H@ COMPLETE_STDINT_H = @COMPLETE_STDINT_H@ COMPLETE_SYS_TYPES_H = @COMPLETE_SYS_TYPES_H@ CONDUITS = @CONDUITS@ CONFIGURE_ARGS = @CONFIGURE_ARGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CROSS_COMPILING = @CROSS_COMPILING@ CUDA_UVA_CFLAGS = @CUDA_UVA_CFLAGS@ CUDA_UVA_LDFLAGS = @CUDA_UVA_LDFLAGS@ CUDA_UVA_LIBS = @CUDA_UVA_LIBS@ CUDA_guess_prog = @CUDA_guess_prog@ CXX = @CXX@ CXXCPP = @CXXCPP@ CXXDEPMODE = @CXXDEPMODE@ CXXFLAGS = @CXXFLAGS@ CXX_FAMILY = @CXX_FAMILY@ CXX_SUBFAMILY = @CXX_SUBFAMILY@ CYGPATH_W = @CYGPATH_W@ DBX_PATH = @DBX_PATH@ DEBUGMALLOC = @DEBUGMALLOC@ DEBUGMALLOC_VAL = @DEBUGMALLOC_VAL@ DEBUGMALLOC_VAR = @DEBUGMALLOC_VAR@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DEVWARN_CFLAGS = @DEVWARN_CFLAGS@ DEVWARN_CXXFLAGS = @DEVWARN_CXXFLAGS@ DEVWARN_MPI_CFLAGS = @DEVWARN_MPI_CFLAGS@ DIRNAME = @DIRNAME@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ ENVCMD = @ENVCMD@ EXEEXT = @EXEEXT@ EXESUFFIX = @EXESUFFIX@ FH_CFLAGS = @FH_CFLAGS@ GASNETI_HWLOC_BIND_PATH = @GASNETI_HWLOC_BIND_PATH@ GASNETI_HWLOC_CALC_PATH = @GASNETI_HWLOC_CALC_PATH@ GASNETI_PTR_BITS = @GASNETI_PTR_BITS@ GASNET_EXTRA_DEFINES = @GASNET_EXTRA_DEFINES@ GASNET_IBV_SPAWNER_CONF = @GASNET_IBV_SPAWNER_CONF@ GASNET_INSTALL_CMD = @GASNET_INSTALL_CMD@ GASNET_OFI_SPAWNER_CONF = @GASNET_OFI_SPAWNER_CONF@ GASNET_OPT_CFLAGS = @GASNET_OPT_CFLAGS@ GASNET_OPT_CXXFLAGS = @GASNET_OPT_CXXFLAGS@ GASNET_PERL_BYTESFLAG = @GASNET_PERL_BYTESFLAG@ GASNET_PERL_LANG = @GASNET_PERL_LANG@ GASNET_PLATFORM = @GASNET_PLATFORM@ GASNET_PSHM_CFLAGS = @GASNET_PSHM_CFLAGS@ GASNET_PSHM_ENABLED = @GASNET_PSHM_ENABLED@ GASNET_PSHM_LDFLAGS = @GASNET_PSHM_LDFLAGS@ GASNET_PSHM_LIBS = @GASNET_PSHM_LIBS@ GASNET_THREAD_DEFINES = @GASNET_THREAD_DEFINES@ GASNET_THREAD_LIBS = @GASNET_THREAD_LIBS@ GASNET_UCX_SPAWNER_CONF = @GASNET_UCX_SPAWNER_CONF@ GASNET_UDP_LIBS = @GASNET_UDP_LIBS@ GDB_PATH = @GDB_PATH@ GMAKE = @GMAKE@ GNI_CFLAGS = @GNI_CFLAGS@ GNI_LDFLAGS = @GNI_LDFLAGS@ GNI_LIBS = @GNI_LIBS@ GREP = @GREP@ GSTACK_PATH = @GSTACK_PATH@ HAVE_INTTYPES_H = @HAVE_INTTYPES_H@ HAVE_STDINT_H = @HAVE_STDINT_H@ HAVE_SYS_TYPES_H = @HAVE_SYS_TYPES_H@ HIP_CFLAGS = @HIP_CFLAGS@ HIP_LDFLAGS = @HIP_LDFLAGS@ HIP_LIBS = @HIP_LIBS@ HIP_guess_prog = @HIP_guess_prog@ HWLOC_CFLAGS = @HWLOC_CFLAGS@ HWLOC_LDFLAGS = @HWLOC_LDFLAGS@ HWLOC_LIBS = @HWLOC_LIBS@ HWLOC_guess_prog = @HWLOC_guess_prog@ IBV_CFLAGS = @IBV_CFLAGS@ IBV_LDFLAGS = @IBV_LDFLAGS@ IBV_LIBS = @IBV_LIBS@ IBV_guess_prog = @IBV_guess_prog@ IDB_PATH = @IDB_PATH@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ INTTYPES_DEFINES = @INTTYPES_DEFINES@ KEEPTMP_CFLAGS = @KEEPTMP_CFLAGS@ LDFLAGS = @LDFLAGS@ $(MANUAL_LDFLAGS) LIBGCC = @LIBGCC@ LIBM = @LIBM@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LLDB_PATH = @LLDB_PATH@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ MAKEINFO = @MAKEINFO@ MISC_CFLAGS = @MISC_CFLAGS@ MISC_CPPFLAGS = @MISC_CPPFLAGS@ MISC_CXXFLAGS = @MISC_CXXFLAGS@ MKDIR_P = @MKDIR_P@ MPIRUN_CMD = @MPIRUN_CMD@ MPI_CC = @MPI_CC@ MPI_CC_FAMILY = @MPI_CC_FAMILY@ MPI_CC_SUBFAMILY = @MPI_CC_SUBFAMILY@ MPI_CFLAGS = @MPI_CFLAGS@ MPI_LIBS = @MPI_LIBS@ NM = @NM@ NOASLR_LDFLAGS = @NOASLR_LDFLAGS@ OBJEXT = @OBJEXT@ OFI_CFLAGS = @OFI_CFLAGS@ OFI_LDFLAGS = @OFI_LDFLAGS@ OFI_LIBS = @OFI_LIBS@ OFI_guess_prog = @OFI_guess_prog@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ PERL = @PERL@ PGDBG_PATH = @PGDBG_PATH@ PMIRUN_CMD = @PMIRUN_CMD@ PMI_SPAWNER_CFLAGS = @PMI_SPAWNER_CFLAGS@ PMI_SPAWNER_LDFLAGS = @PMI_SPAWNER_LDFLAGS@ PMI_SPAWNER_LIBS = @PMI_SPAWNER_LIBS@ PSTACK_PATH = @PSTACK_PATH@ PTHREADS = @PTHREADS@ PWD_PROG = @PWD_PROG@ RANLIB = @RANLIB@ READLINK = @READLINK@ SEPARATE_CC = @SEPARATE_CC@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ SIZEOF_CHAR = @SIZEOF_CHAR@ SIZEOF_DOUBLE = @SIZEOF_DOUBLE@ SIZEOF_FLOAT = @SIZEOF_FLOAT@ SIZEOF_FLOAT__COMPLEX = @SIZEOF_FLOAT__COMPLEX@ SIZEOF_INT = @SIZEOF_INT@ SIZEOF_LONG = @SIZEOF_LONG@ SIZEOF_LONG_DOUBLE = @SIZEOF_LONG_DOUBLE@ SIZEOF_LONG_LONG = @SIZEOF_LONG_LONG@ SIZEOF_PTRDIFF_T = @SIZEOF_PTRDIFF_T@ SIZEOF_SHORT = @SIZEOF_SHORT@ SIZEOF_SIZE_T = @SIZEOF_SIZE_T@ SIZEOF_VOID_P = @SIZEOF_VOID_P@ SIZEOF__BOOL = @SIZEOF__BOOL@ SMP_LIBS = @SMP_LIBS@ SRUN_PATH = @SRUN_PATH@ SSH_SPAWNER_LIBS = @SSH_SPAWNER_LIBS@ STRIP = @STRIP@ SYSTEM_NAME = @SYSTEM_NAME@ SYSTEM_TUPLE = @SYSTEM_TUPLE@ TIMECMD = @TIMECMD@ TOOL_PREFIX = @TOOL_PREFIX@ TOP_BUILDDIR = @TOP_BUILDDIR@ TOP_SRCDIR = @TOP_SRCDIR@ UCX_CFLAGS = @UCX_CFLAGS@ UCX_LDFLAGS = @UCX_LDFLAGS@ UCX_LIBS = @UCX_LIBS@ UCX_guess_prog = @UCX_guess_prog@ VERSION = @VERSION@ ZE_CFLAGS = @ZE_CFLAGS@ ZE_LDFLAGS = @ZE_LDFLAGS@ ZE_LIBS = @ZE_LIBS@ ZE_guess_prog = @ZE_guess_prog@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_CC = @ac_ct_CC@ ac_ct_CXX = @ac_ct_CXX@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ builddir = @builddir@ cxxLDFLAGS = @cxxLDFLAGS@ cxxLIBS = @cxxLIBS@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ gasnet_cv__gfp_fullprogname_CC = @gasnet_cv__gfp_fullprogname_CC@ gasnet_cv__gfp_fullprogname_CPP = @gasnet_cv__gfp_fullprogname_CPP@ gasnet_cv__gfp_fullprogname_CXX = @gasnet_cv__gfp_fullprogname_CXX@ gasnet_cv__gfp_fullprogname_CXXCPP = @gasnet_cv__gfp_fullprogname_CXXCPP@ gasnet_cv__gfp_fullprogname_MPIRUN_CMD = @gasnet_cv__gfp_fullprogname_MPIRUN_CMD@ gasnet_cv__gfp_fullprogname_MPI_CC = @gasnet_cv__gfp_fullprogname_MPI_CC@ gasnet_cv__gfp_fullprogname_PMIRUN_CMD = @gasnet_cv__gfp_fullprogname_PMIRUN_CMD@ have_mpcc_r = @have_mpcc_r@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target = @target@ target_alias = @target_alias@ target_cpu = @target_cpu@ target_os = @target_os@ target_vendor = @target_vendor@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ AUTOMAKE_OPTIONS = foreign 1.4 no-dependencies apputils_flags = @BUILDCONFIG_DEBUG_FALSE@BUILDCONFIG_DEFINES = -DAMMPI_NDEBUG=1 @BUILDCONFIG_DEBUG_TRUE@BUILDCONFIG_DEFINES = -DAMMPI_DEBUG=1 @VALGRIND_FALSE@VALGRIND_DEFINES = @VALGRIND_TRUE@VALGRIND_DEFINES = -DUSE_CLEAR_UNUSED_SPACE platform_defines = @GASNET_EXTRA_DEFINES@ $(BUILDCONFIG_DEFINES) $(VALGRIND_DEFINES) @INTTYPES_DEFINES@ -DAMMPI_DISABLE_AMTAGS $(MANUAL_DEFINES) platform_libraries = -L$(top_builddir) -lgasnet_tools-seq @LIBS@ @MPI_LIBS@ amxdir = $(srcdir)/../amx altincdir = $(srcdir)/.. gasnet_tools = -I$(srcdir)/../.. -I../.. -DHAVE_GASNET_TOOLS INCLUDES = -I$(srcdir) -I. -I$(amxdir) -I$(altincdir) $(platform_defines) $(gasnet_tools) compile = $(CC) $(CFLAGS) $(INCLUDES) link = $(CC) $(CFLAGS) $(LDFLAGS) $(INCLUDES) linkend = $(platform_libraries) $(MANUAL_LIBS) @USE_AMMPI_TRUE@BUILT_SOURCES = amx_portable_platform.h @USE_AMMPI_TRUE@lib_LIBRARIES = libammpi.a headers = \ ammpi.h \ ammpi_internal.h \ ammpi_spmd.h allheaders = $(BUILT_SOURCES) $(headers) libammpi_a_SOURCES = \ ammpi_ep.c \ ammpi_reqrep.c \ ammpi_spmd.c libammpi_a_DEPENDENCIES = $(libammpi_a_SOURCES:%.c=%.o) EXTRA_DIST = \ $(headers) \ Makefile.tests \ Makefile.titanium.in \ license.txt # ---------- test programs ------------- # all the test executables testprograms = \ testam \ testbounce \ testbulk \ testlatency \ testlatencyM \ testping \ testreduce \ testgetput \ testreadwrite AMMPI_RUNCMD = '@MPIRUN_CMD@' TEST_NODES = 2 TESTLOG = `pwd`/.test-results TEST_LINE = ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ AMMPI_RUNCMD_EXP = \ TEST_RUN_P=`echo "$$TEST_RUN" | sed 's/ .*$$//'` ; \ TEST_RUN_A=`echo "$$TEST_RUN" | sed 's/^[^ ]* //'` ; \ TEST_RUN_D=`pwd` ; \ TEST_DOIT=`echo $(AMMPI_RUNCMD) | sed 's/%N/$(TEST_NODES)/;s/%M/$(TEST_NODES)/;s@%C@'"$$TEST_RUN"'@;s@%P@'"$$TEST_RUN_P"'@;s@%A@'"$$TEST_RUN_A"'@;s@%D@'"$$TEST_RUN_D"'@;s@%H@'"$${GASNET_NODEFILE:-$$PBS_NODEFILE}"'@;s/%V//'` TEST_RUNCMD = ; $(AMMPI_RUNCMD_EXP) ; \ testname=`basename $$TEST_RUN_P` ; \ faildesc="ammpi/$$testname" ; \ if test -x "$$TEST_RUN_P" ; then \ echo " **** $$testname **** "; \ echo $$TEST_DOIT ; \ ( eval $$TEST_DOIT || echo "ERROR: Test exited with failure code=$$?" 2>&1 ) | tee .test-output ; \ failure=`$(PERL) -ne 'print if (/ERROR/ || /fatal signal/);' .test-output` ; \ if test "$$failure" != "" ; then \ echo " " >> $(TESTLOG) ; \ echo " *-* $$faildesc *-*" >> $(TESTLOG) ; \ echo " " >> $(TESTLOG) ; \ echo "$$failure" >> $(TESTLOG) ; \ fi ; \ rm -f .test-output ; \ echo $(TEST_LINE) ; \ fi TEST_ITERS = 100 TEST_MODE = P TEST_DEPTH = 32 TEST_DUPLEX = H AMMPI_NETWORKDEPTH = $(TEST_DEPTH) @USE_AMMPI_FALSE@clean_local_files = @USE_AMMPI_TRUE@clean_local_files = libammpi.a *.o core .test-results $(BUILT_SOURCES) CLEANFILES = $(clean_local_files) all: $(BUILT_SOURCES) $(MAKE) $(AM_MAKEFLAGS) all-am .SUFFIXES: .SUFFIXES: .c .o .obj $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(srcdir)/Makefile.tests $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ && { if test -f $@; then exit 0; else break; fi; }; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign other/ammpi/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --foreign other/ammpi/Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles);; \ esac; $(srcdir)/Makefile.tests $(am__empty): $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(am__aclocal_m4_deps): install-libLIBRARIES: $(lib_LIBRARIES) @$(NORMAL_INSTALL) @list='$(lib_LIBRARIES)'; test -n "$(libdir)" || list=; \ list2=; for p in $$list; do \ if test -f $$p; then \ list2="$$list2 $$p"; \ else :; fi; \ done; \ test -z "$$list2" || { \ echo " $(MKDIR_P) '$(DESTDIR)$(libdir)'"; \ $(MKDIR_P) "$(DESTDIR)$(libdir)" || exit 1; \ echo " $(INSTALL_DATA) $$list2 '$(DESTDIR)$(libdir)'"; \ $(INSTALL_DATA) $$list2 "$(DESTDIR)$(libdir)" || exit $$?; } @$(POST_INSTALL) @list='$(lib_LIBRARIES)'; test -n "$(libdir)" || list=; \ for p in $$list; do \ if test -f $$p; then \ $(am__strip_dir) \ echo " ( cd '$(DESTDIR)$(libdir)' && $(RANLIB) $$f )"; \ ( cd "$(DESTDIR)$(libdir)" && $(RANLIB) $$f ) || exit $$?; \ else :; fi; \ done uninstall-libLIBRARIES: @$(NORMAL_UNINSTALL) @list='$(lib_LIBRARIES)'; test -n "$(libdir)" || list=; \ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ dir='$(DESTDIR)$(libdir)'; $(am__uninstall_files_from_dir) clean-libLIBRARIES: -test -z "$(lib_LIBRARIES)" || rm -f $(lib_LIBRARIES) libammpi.a: $(libammpi_a_OBJECTS) $(libammpi_a_DEPENDENCIES) $(EXTRA_libammpi_a_DEPENDENCIES) $(AM_V_at)-rm -f libammpi.a $(AM_V_AR)$(libammpi_a_AR) libammpi.a $(libammpi_a_OBJECTS) $(libammpi_a_LIBADD) $(AM_V_at)$(RANLIB) libammpi.a mostlyclean-compile: -rm -f *.$(OBJEXT) distclean-compile: -rm -f *.tab.c .c.o: $(AM_V_CC)$(COMPILE) -c -o $@ $< .c.obj: $(AM_V_CC)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'` ID: $(am__tagged_files) $(am__define_uniq_tagged_files); mkid -fID $$unique tags: tags-am TAGS: tags tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) set x; \ here=`pwd`; \ $(am__define_uniq_tagged_files); \ shift; \ if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ if test $$# -gt 0; then \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ "$$@" $$unique; \ else \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$unique; \ fi; \ fi ctags: ctags-am CTAGS: ctags ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) $(am__define_uniq_tagged_files); \ test -z "$(CTAGS_ARGS)$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && $(am__cd) $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) "$$here" cscopelist: cscopelist-am cscopelist-am: $(am__tagged_files) list='$(am__tagged_files)'; \ case "$(srcdir)" in \ [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ *) sdir=$(subdir)/$(srcdir) ;; \ esac; \ for i in $$list; do \ if test -f "$$i"; then \ echo "$(subdir)/$$i"; \ else \ echo "$$sdir/$$i"; \ fi; \ done >> $(top_builddir)/cscope.files distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags distdir: $(BUILT_SOURCES) $(MAKE) $(AM_MAKEFLAGS) distdir-am distdir-am: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d "$(distdir)/$$file"; then \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ else \ test -f "$(distdir)/$$file" \ || cp -p $$d/$$file "$(distdir)/$$file" \ || exit 1; \ fi; \ done check-am: all-am check: $(BUILT_SOURCES) $(MAKE) $(AM_MAKEFLAGS) check-am all-am: Makefile $(LIBRARIES) installdirs: for dir in "$(DESTDIR)$(libdir)"; do \ test -z "$$dir" || $(MKDIR_P) "$$dir"; \ done install: $(BUILT_SOURCES) $(MAKE) $(AM_MAKEFLAGS) install-am install-exec: install-exec-am install-data: install-data-am uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-am install-strip: if test -z '$(STRIP)'; then \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ install; \ else \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ fi mostlyclean-generic: clean-generic: -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES) clean: clean-am clean-am: clean-generic clean-libLIBRARIES clean-local mostlyclean-am distclean: distclean-am -rm -f Makefile distclean-am: clean-am distclean-compile distclean-generic \ distclean-tags dvi: dvi-am dvi-am: html: html-am html-am: info: info-am info-am: install-data-am: install-dvi: install-dvi-am install-dvi-am: install-exec-am: install-libLIBRARIES install-html: install-html-am install-html-am: install-info: install-info-am install-info-am: install-man: install-pdf: install-pdf-am install-pdf-am: install-ps: install-ps-am install-ps-am: installcheck-am: maintainer-clean: maintainer-clean-am -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-compile mostlyclean-generic pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: uninstall-libLIBRARIES .MAKE: all check install install-am install-strip .PHONY: CTAGS GTAGS TAGS all all-am check check-am clean clean-generic \ clean-libLIBRARIES clean-local cscopelist-am ctags ctags-am \ distclean distclean-compile distclean-generic distclean-tags \ distdir dvi dvi-am html html-am info info-am install \ install-am install-data install-data-am install-dvi \ install-dvi-am install-exec install-exec-am install-html \ install-html-am install-info install-info-am \ install-libLIBRARIES install-man install-pdf install-pdf-am \ install-ps install-ps-am install-strip installcheck \ installcheck-am installdirs maintainer-clean \ maintainer-clean-generic mostlyclean mostlyclean-compile \ mostlyclean-generic pdf pdf-am ps ps-am tags tags-am uninstall \ uninstall-am uninstall-libLIBRARIES .PRECIOUS: Makefile amx_portable_platform.h: $(altincdir)/gasnet_portable_platform.h cp -f $< $@ $(libammpi_a_DEPENDENCIES): $(allheaders) tests: apputils.o $(testprograms) test%.o : $(amxdir)/test%.c $(amxdir)/*.h $(allheaders) $(compile) -DAMMPI -I$(amxdir) -c $< -o $@ apputils.o : $(amxdir)/apputils.c $(amxdir)/apputils.h $(allheaders) $(compile) -DAMMPI -I$(amxdir) -c $(amxdir)/apputils.c -o apputils.o test%: test%.o apputils.o libammpi.a $(link) -o $@ $< apputils.o -L. -lammpi $(linkend) tests-clean: rm -f $(testprograms) run-tests: tests @rm -f $(TESTLOG) ; touch $(TESTLOG) @echo $(TEST_LINE) @echo Running AMMPI tests... @echo If this fails to spawn a job, you may need to re-run with a @echo command like: $(MAKE) run-tests AMMPI_RUNCMD=\"$(AMMPI_RUNCMD)\" @echo $(TEST_LINE) @TEST_RUN="./testping $(TEST_ITERS) $(TEST_MODE)" $(TEST_RUNCMD) @TEST_RUN="./testlatency $(TEST_ITERS) $(TEST_MODE)" $(TEST_RUNCMD) @TEST_RUN="./testlatencyM $(TEST_ITERS) $(TEST_MODE) 64" $(TEST_RUNCMD) @TEST_RUN="./testbulk $(TEST_ITERS) 1048576 $(TEST_MODE) $(TEST_DUPLEX)" $(TEST_RUNCMD) @TEST_RUN="./testam $(TEST_ITERS) $(TEST_MODE)" $(TEST_RUNCMD) @TEST_RUN="./testbounce $(TEST_ITERS) $(TEST_MODE)" $(TEST_RUNCMD) @TEST_RUN="./testreduce " $(TEST_RUNCMD) @TEST_RUN="./testgetput $(TEST_ITERS)" $(TEST_RUNCMD) @TEST_RUN="./testreadwrite $(TEST_ITERS)" $(TEST_RUNCMD) @echo TESTS COMPLETE @cat $(TESTLOG) ; rm -f $(TESTLOG) # make a distribution amxdist: @set -x ; \ VERSION=`grep "#define AMMPI_LIBRARY_VERSION" $(srcdir)/ammpi.h | head -2 | $(PERL) -e '$$/=undef; my @a=split(/\s+/,<>); print "$$a[2].$$a[5]"'` ; \ export VERSION ; \ distdir=ammpi$${VERSION} ; \ echo "+++ Building distribution for AMMPI version $${VERSION} +++" && \ rm -Rf $$distdir.tar.gz $$distdir && \ mkdir $$distdir && \ cp $(srcdir)/Makefile.* $(srcdir)/README* $(srcdir)/*.txt $(srcdir)/*.[ch] $(amxdir)/*.[ch] \ $(altincdir)/portable_inttypes.h $(altincdir)/gasnet_portable_platform.h \ $$distdir && \ cd $$distdir && \ mv gasnet_portable_platform.h amx_portable_platform.h && \ rm -f Makefile.in Makefile.am Makefile.titanium* && \ mv Makefile.standalone Makefile && \ cd .. && \ tar -cvhf $$distdir.tar $$distdir && gzip -9 $$distdir.tar && \ rm -Rf $$distdir && \ echo "+++ $$distdir.tar.gz is ready for distribution +++" %.o: %.c ammpi.h ammpi_spmd.h ammpi_internal.h $(amxdir)/*.h $(top_builddir)/libgasnet_tools-seq.a $(compile) -DAMMPI -o $@ -c $< ammpi_ep.o: $(amxdir)/amx_internal.c $(top_builddir)/libgasnet_tools-seq.a: force @cd $(top_builddir) && $(MAKE) libgasnet_tools-seq.a @GNU_NM_TRUE@@USE_AMMPI_TRUE@check-exports: libammpi.a @GNU_NM_TRUE@@USE_AMMPI_TRUE@ @echo Checking libammpi exports... @GNU_NM_TRUE@@USE_AMMPI_TRUE@ @lib=libammpi.a ; \ @GNU_NM_TRUE@@USE_AMMPI_TRUE@ if test x$(CHECK_EXPORTS) = x0; then \ @GNU_NM_TRUE@@USE_AMMPI_TRUE@ echo Skipped by user request ; \ @GNU_NM_TRUE@@USE_AMMPI_TRUE@ exit 0 ; \ @GNU_NM_TRUE@@USE_AMMPI_TRUE@ fi ; \ @GNU_NM_TRUE@@USE_AMMPI_TRUE@ @NM@ --defined-only $$lib | \ @GNU_NM_TRUE@@USE_AMMPI_TRUE@ @PERL@ -pe 's/ \.refptr\.//' | \ @GNU_NM_TRUE@@USE_AMMPI_TRUE@ grep -v -e ' [\._]*ammpi_' -e ' [\._]*AMMPI_' -e ' [\._]*AM_' \ @GNU_NM_TRUE@@USE_AMMPI_TRUE@ -e ' [\._]*amx_' -e ' [\._]*AMX_' \ @GNU_NM_TRUE@@USE_AMMPI_TRUE@ -e ' [\._]*gasnett_' -e ' [\._]*gasneti_' \ @GNU_NM_TRUE@@USE_AMMPI_TRUE@ -e ' [\._][\._]*debug_' -e 'get_pc_thunk' -e ' smpi_' \ @GNU_NM_TRUE@@USE_AMMPI_TRUE@ -e __FUNCTION__ -e __PRETTY_FUNCTION__ -e debug_info_seg | \ @GNU_NM_TRUE@@USE_AMMPI_TRUE@ @PERL@ -n -e 'print if /^[0-9a-fA-F]+\s+[A-Z]\s+/' > .$$lib.exp; \ @GNU_NM_TRUE@@USE_AMMPI_TRUE@ if test -s .$$lib.exp ; then \ @GNU_NM_TRUE@@USE_AMMPI_TRUE@ cat .$$lib.exp ; \ @GNU_NM_TRUE@@USE_AMMPI_TRUE@ echo FAILED ; \ @GNU_NM_TRUE@@USE_AMMPI_TRUE@ failed=1 ; \ @GNU_NM_TRUE@@USE_AMMPI_TRUE@ else \ @GNU_NM_TRUE@@USE_AMMPI_TRUE@ echo PASSED ; \ @GNU_NM_TRUE@@USE_AMMPI_TRUE@ fi ; \ @GNU_NM_TRUE@@USE_AMMPI_TRUE@ rm -f .$$lib.exp ; \ @GNU_NM_TRUE@@USE_AMMPI_TRUE@ exit $$failed @GNU_NM_FALSE@@USE_AMMPI_TRUE@check-exports: libammpi.a @GNU_NM_FALSE@@USE_AMMPI_TRUE@ @echo check-exports test SKIPPED @USE_AMMPI_TRUE@check: check-exports tests @USE_AMMPI_TRUE@clean-local: @USE_AMMPI_TRUE@ @for f in $(testprograms); do \ @USE_AMMPI_TRUE@ cmd="rm -f '$$f$(EXESUFFIX)'"; echo "$$cmd"; eval "$$cmd" || exit $$? ; \ @USE_AMMPI_TRUE@ done; @USE_AMMPI_FALSE@clean-local: @USE_AMMPI_FALSE@ @: #empty rule force: .PHONY: force tests run-tests # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: