# # Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana # University Research and Technology # Corporation. All rights reserved. # Copyright (c) 2004-2005 The University of Tennessee and The University # of Tennessee Research Foundation. All rights # reserved. # Copyright (c) 2004-2005 High Performance Computing Center Stuttgart, # University of Stuttgart. All rights reserved. # Copyright (c) 2004-2005 The Regents of the University of California. # All rights reserved. # $COPYRIGHT$ # # Additional copyrights may follow # # $HEADER$ # # Use the top-level Makefile.options # Make the output library in this directory, and name it either # mca__.la (for DSO builds) or libmca__.la # (for static builds). if OMPI_BUILD_ptl_sm_DSO component_noinst = component_install = mca_ptl_sm.la else component_noinst = libmca_ptl_sm.la component_install = endif EXTRA_DIST = sm_SOURCES = \ ptl_sm.c \ ptl_sm.h \ ptl_sm_address.h \ ptl_sm_component.c \ ptl_sm_frag.h \ ptl_sm_frag.c \ ptl_sm_peer.h \ ptl_sm_recvfrag.h \ ptl_sm_recvfrag.c \ ptl_sm_send.c \ ptl_sm_sendreq.c \ ptl_sm_sendreq.h \ ptl_sm_sendfrag.c \ ptl_sm_sendfrag.h # See ompi/mca/common/sm/Makefile.am for an explanation of # libmca_common_sm.la. mcacomponentdir = $(libdir)/openmpi mcacomponent_LTLIBRARIES = $(component_install) mca_ptl_sm_la_SOURCES = $(sm_SOURCES) mca_ptl_sm_la_DEPENDENCIES = librecompile.la mca_ptl_sm_la_LIBADD = librecompile.la \ $(top_ompi_builddir)/ompi/mca/common/sm/libmca_common_sm.la \ $(top_ompi_builddir)/ompi/libmpi.la \ $(top_ompi_builddir)/orte/liborte.la \ $(top_ompi_builddir)/opal/libopal.la mca_ptl_sm_la_LDFLAGS = -module -avoid-version noinst_LTLIBRARIES = $(component_noinst) librecompile.la libmca_ptl_sm_la_SOURCES = $(sm_SOURCES) libmca_ptl_sm_la_DEPENDENCIES = librecompile.la libmca_ptl_sm_la_LDFLAGS = -module -avoid-version libmca_ptl_sm_la_LIBADD = librecompile.la nodist_librecompile_la_SOURCES = ptl_sm_send_alternate.c librecompile_la_CPPFLAGS = -DSM_COMMON_BASE_ADDR # # The "send alternate" file is really the same as the "send" file, but # compiled with a different #define # ptl_sm_send_alternate.c: if test ! -f $@; then \ ln -sf $(srcdir)/ptl_sm_send.c ptl_sm_send_alternate.c; \ fi