1
1
openmpi/oshmem/shmem/c/Makefile.am
Mike Dubman 644aa6f737 OSHMEM: add missing profiling API for shmem_finalize
fixed by Roman, reviewed by Miked
cmr=v1.8.2:reviewer=ompi-rm1.8

This commit was SVN r31751.
2014-05-14 13:13:30 +00:00

84 строки
1.5 KiB
Makefile

#
# Copyright (c) 2013 Mellanox Technologies, Inc.
# All rights reserved
# Copyright (c) 2014 Cisco Systems, Inc. All rights reserved.
# $COPYRIGHT$
#
# Additional copyrights may follow
#
# $HEADER$
#
if OSHMEM_PROFILING
SUBDIRS = profile
endif
OSHMEM_AUX_SOURCES = \
shmem_lock.c \
globalexit.c
OSHMEM_API_SOURCES = \
shmem_init.c \
shmem_finalize.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
AM_CPPFLAGS = -DOSHMEM_PROFILING=0
noinst_LTLIBRARIES =
if PROJECT_OSHMEM
# Only build if we're building OSHMEM
noinst_LTLIBRARIES += liboshmem_c.la
endif
headers =
# In case when OSHMEM_PROFILING enabled
# We build api from c/profile folder
liboshmem_c_la_SOURCES = $(OSHMEM_AUX_SOURCES)
if ! OSHMEM_PROFILING
liboshmem_c_la_SOURCES += $(OSHMEM_API_SOURCES)
endif
if PROJECT_OSHMEM
if WANT_INSTALL_HEADERS
oshmemdir = $(oshmemincludedir)/$(subdir)
oshmem_HEADERS = $(headers)
endif
endif