1
1
openmpi/oshmem/shmem/c/profile/Makefile.am
Brian Barrett 8b778903d8 Fix longstanding issue with our multi-project support. Rather than using
pkg{data,lib,includedir}, use our own ompi{data,lib,includedir}, which is
always set to {datadir,libdir,includedir}/openmpi.  This will keep us from
having help files in prefix/share/open-rte when building without Open MPI,
but in prefix/share/openmpi when building with Open MPI.

This commit was SVN r30140.
2014-01-07 22:11:15 +00:00

94 строки
1.8 KiB
Makefile

#
# Copyright (c) 2013 Mellanox Technologies, Inc.
# All rights reserved
# $COPYRIGHT$
#
# Additional copyrights may follow
#
# $HEADER$
#
#
# OSHMEM_PROFILING flag is enabled when we want our shmem_* symbols
# to be replaced by pshmem_*. In other words, this flag decides
# whether "profile/defines.h" is included or not. "profile/defines.h"
# replaces all shmem_* symbols with pshmem_* symbols. In this directory
# we definately need it to be 1.
#
AM_CPPFLAGS = -DOSHMEM_PROFILING=1
noinst_LTLIBRARIES = liboshmem_c_pshmem.la
headers = defines.h
OSHMEM_API_SOURCES = \
shmem_init.c \
shmem_free.c \
shmem_alloc.c \
shmem_realloc.c \
shmem_align.c \
shmem_query.c \
shmem_p.c \
shmem_put.c \
shmem_g.c \
shmem_get.c \
shmem_broadcast.c \
shmem_collect.c \
shmem_ptr.c \
shmem_pe_accessible.c \
shmem_addr_accessible.c \
shmem_barrier.c \
shmem_fence.c \
shmem_quiet.c \
shmem_wait.c \
shmem_iget.c \
shmem_iput.c \
shmem_udcflush.c \
shmem_udcflush_line.c \
shmem_set_cache_inv.c \
shmem_set_cache_line_inv.c \
shmem_clear_cache_inv.c \
shmem_clear_cache_line_inv.c \
shmem_reduce.c \
shmem_swap.c \
shmem_cswap.c \
shmem_fadd.c \
shmem_finc.c \
shmem_add.c \
shmem_inc.c \
shmem_clear_lock.c \
shmem_set_lock.c \
shmem_test_lock.c
nodist_liboshmem_c_pshmem_la_SOURCES = \
$(OSHMEM_API_SOURCES)
#
# Sym link in the sources from the real MPI directory
#
$(nodist_liboshmem_c_pshmem_la_SOURCES):
if test ! -r $@ ; then \
pname=`echo $@ | cut -b '1-'` ; \
$(LN_S) $(top_srcdir)/oshmem/shmem/c/$$pname $@ ; \
fi
if WANT_INSTALL_HEADERS
oshmemdir = $(ompiincludedir)/$(subdir)
oshmem_HEADERS = $(headers)
endif
# These files were created by targets above
MAINTAINERCLEANFILES = $(nodist_liboshmem_c_pshmem_la_SOURCES)
# Don't want these targets in here
tags-recursive:
tags:
TAGS:
GTAGS:
ID: