46 строки
1.4 KiB
Makefile
46 строки
1.4 KiB
Makefile
|
#
|
||
|
# Copyright (c) 2004-2005 The Trustees of Indiana University.
|
||
|
# All rights reserved.
|
||
|
# Copyright (c) 2004-2005 The Trustees of the University of Tennessee.
|
||
|
# 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
|
||
|
|
||
|
include $(top_ompi_srcdir)/config/Makefile.options
|
||
|
|
||
|
sources = \
|
||
|
paffinity_linux.h \
|
||
|
paffinity_linux_component.c \
|
||
|
paffinity_linux_module.c
|
||
|
|
||
|
# Make the output library in this directory, and name it either
|
||
|
# mca_<type>_<name>.la (for DSO builds) or libmca_<type>_<name>.la
|
||
|
# (for static builds).
|
||
|
|
||
|
if OMPI_BUILD_paffinity_linux_DSO
|
||
|
component_noinst =
|
||
|
component_install = mca_paffinity_linux.la
|
||
|
else
|
||
|
component_noinst = libmca_paffinity_linux.la
|
||
|
component_install =
|
||
|
endif
|
||
|
|
||
|
mcacomponentdir = $(libdir)/openmpi
|
||
|
mcacomponent_LTLIBRARIES = $(component_install)
|
||
|
mca_paffinity_linux_la_SOURCES = $(sources)
|
||
|
mca_paffinity_linux_la_LDFLAGS = -module -avoid-version
|
||
|
|
||
|
noinst_LTLIBRARIES = $(component_noinst)
|
||
|
libmca_paffinity_linux_la_SOURCES =$(sources)
|
||
|
libmca_paffinity_linux_la_LDFLAGS = -module -avoid-version
|