1
1
openmpi/ompi/mpiext/affinity/c/Makefile.am
Jeff Squyres 173c046617 build: add Automake-like silent/verbose macros for "ln -s ..." operations
Also, since I put some of the macros for these silent/verbose rules up
in the top-level Makefile.man-page-rules file, I renamed it to
Makefile.ompi-rules.

I've had this sitting around for a while; now seems like as good a
time as any to commit it.

This commit was SVN r31271.
2014-03-28 18:24:32 +00:00

51 строка
1.5 KiB
Makefile

#
# Copyright (c) 2004-2009 The Trustees of Indiana University and Indiana
# University Research and Technology
# Corporation. All rights reserved.
# Copyright (c) 2010-2014 Cisco Systems, Inc. All rights reserved.
# $COPYRIGHT$
#
# Additional copyrights may follow
#
# $HEADER$
#
# This file builds the C bindings for MPI extensions. It must be
# present in all MPI extensions.
# Example program
example: example.c
mpicc example.c -o example -g
CLEANFILES = example
# We must set these #defines so that the inner OMPI MPI prototype
# header files do the Right Thing.
AM_CPPFLAGS = -DOMPI_PROFILE_LAYER=0 -DOMPI_COMPILING_FORTRAN_WRAPPERS=1
include $(top_srcdir)/Makefile.ompi-rules
# Convenience libtool library that will be slurped up into libmpi.la.
noinst_LTLIBRARIES = libmpiext_affinity_c.la
# This is where the top-level header file (that is included in
# <mpi-ext.h>) must be installed.
ompidir = $(ompiincludedir)/ompi/mpiext/affinity/c
# This is the header file that is installed.
ompi_HEADERS = mpiext_affinity_c.h
# Sources for the convenience libtool library. Other than the one
# header file, all source files in the extension have no file naming
# conventions.
libmpiext_affinity_c_la_SOURCES = \
$(ompi_HEADERS) \
mpiext_affinity_str.c
libmpiext_affinity_c_la_LDFLAGS = -module -avoid-version
# Man page installation
nodist_man_MANS = OMPI_Affinity_str.3
# Man page sources
EXTRA_DIST = $(nodist_man_MANS:.3=.3in) example.c