## Process this file with automake to produce Makefile.in -*- makefile -*- # $Source: bitbucket.org:berkeleylab/gasnet.git/aries-conduit/Makefile.am $ # Description: Makefile for GASNet aries conduit # Copyright 2013, The Regents of the University of California # Terms of use are as specified in license.txt AUTOMAKE_OPTIONS = foreign 1.4 CONDUIT_NAME=aries ## generalized PMI support pmi_srcdir = $(top_srcdir)/other/pmi-spawner # any conduit-specific subdirectories containing Makefile.am's SUBDIRS = contrib # complete list of files in the conduit directory # include all headers, documentation, etc. # and any subdirectories not containing Makefile.am's CONDUIT_FILELIST = \ gasnet_ratomic_fwd.h \ gasnet_ratomic.c \ gasnet_core.c \ gasnet_core.h \ gasnet_core_fwd.h \ gasnet_core_help.h \ gasnet_core_internal.h \ gasnet_extended.c \ gasnet_extended_fwd.h \ gasnet_aries.h \ gasnet_aries.c # list of conduit core and extended .c source files # to be compiled into libgasnet on the compiler command line CONDUIT_SOURCELIST = \ $(srcdir)/gasnet_ratomic.c \ $(srcdir)/gasnet_core.c \ $(srcdir)/gasnet_aries.c \ $(srcdir)/gasnet_extended.c \ $(pmi_srcdir)/gasnet_bootstrap_pmi.c # additional -I or -D directives needed by this specific conduit # other than the standard GASNet includes and flags CONDUIT_EXTRALIBCFLAGS = @GNI_CFLAGS@ @PMI_SPAWNER_CFLAGS@ -DHAVE_PMI_SPAWNER # additional conduit header files to install from external, non-standard directories CONDUIT_EXTRAHEADERS = # headers selected by default rules that should NOT be installed CONDUIT_PRIVATEHEADERS = gasnet_aries.h # additional file dependencies not mentioned elsewhere # that should force libgasnet rebuild on update CONDUIT_EXTRADEPS = $(pmi_srcdir)/*.[ch] # additional object files to be included in libgasnet that need to be compiled # using a special, conduit-specific command. These should also be included as # forced targets in this file, and should probably use LIBINCLUDES/LIBDEFINES CONDUIT_SPECIAL_OBJS = # memory kinds supported by this conduit (space separated) # to be included in libgasnet if support was enabled at configure time CONDUIT_KINDS = # the default job spawn command to be used for "make run-tests" # The following substitutions are performed: # %P = program executable name # %N = requested node count # %A = program arguments # %Q = program arguments w/ an extra level of quotes # %D = the current working directory # %H = hostfile (if any) #CONDUIT_RUNCMD = aprun -N 1 -n %N %P %A CONDUIT_RUNCMD = @TOP_BUILDDIR@/aries-conduit/contrib/gasnetrun_aries -np %N -c 0 %P %A # conduit-specific tests in ../tests directory CONDUIT_TESTS = # -------- Do not modify anything below this line -------- if BUILD_SEQ_LIBS libgasnet_aries_seq_a_SOURCES = libraries_seq = libgasnet-aries-seq.a endif if BUILD_PAR_LIBS libgasnet_aries_par_a_SOURCES = libraries_par = libgasnet-aries-par.a endif if BUILD_PARSYNC_LIBS libgasnet_aries_parsync_a_SOURCES = libraries_parsync = libgasnet-aries-parsync.a endif libraries = $(libraries_seq) $(libraries_par) $(libraries_parsync) include $(top_builddir)/other/Makefile-conduit.mak libgasnet-aries-seq.a: $(libgasnet_dependencies) @$(MAKE) do-libgasnet-seq libgasnet-aries-par.a: $(libgasnet_dependencies) @$(MAKE) do-libgasnet-par libgasnet-aries-parsync.a: $(libgasnet_dependencies) @$(MAKE) do-libgasnet-parsync if USE_ARIES_CONDUIT lib_LIBRARIES = $(libraries) all-local: $(lib_LIBRARIES) $(pkgconfig_files) clean-local: do-clean-local install-data-local: do-install-data-local uninstall-local: do-uninstall-local else $(top_srcdir)/gasnetex.h: do-error endif