1
1

Merge pull request #879 from igor-ivanov/pr/disable-oshmem-issue

Prevent oshmem related files inside install folder in case --disable-oshmem
Этот коммит содержится в:
Mike Dubman 2015-09-14 12:12:06 +03:00
родитель d5af5d106c 5f13270c47
Коммит 6f82ce3fc8
5 изменённых файлов: 17 добавлений и 10 удалений

Просмотреть файл

@ -1,4 +1,4 @@
# Copyright (c) 2013 Mellanox Technologies, Inc.
# Copyright (c) 2013-2015 Mellanox Technologies, Inc.
# All rights reserved.
# $COPYRIGHT$
#
@ -11,14 +11,10 @@
headers = oshmem_config.h
nodist_headers =
if PROJECT_OSHMEM
# Install these in $(includedir)
include_HEADERS =
# Install these in $(includedir)
mppincludedir = $(includedir)/mpp
mppinclude_HEADERS = mpp/shmem.h \
mpp/shmem.fh
# Always install these in $(pkgincludedir)
pkginclude_HEADERS =
@ -26,6 +22,9 @@ include_HEADERS += shmem.fh \
shmemx.h \
shmem-compat.h
nobase_include_HEADERS = mpp/shmem.h \
mpp/shmem.fh
# These files are always installed in $(includedir), but shouldn't be
# shipped since they are generated by configure from their .in
# counterparts (which AM automatically ships).
@ -36,8 +35,10 @@ include_HEADERS += pshmem.h \
pshmemx.h
endif
nobase_dist_noinst_HEADERS = $(headers)
nobase_nodist_noinst_HEADERS = $(nodist_headers)
oshmemdir=${includedir}/openshmem
nobase_dist_oshmem_HEADERS = $(headers)
nobase_nodist_oshmem_HEADERS = $(nodist_headers)
endif
distclean-local:

Просмотреть файл

@ -9,8 +9,9 @@
# This makefile.am does not stand on its own - it is included from oshmem/Makefile.am
if PROJECT_OSHMEM
dist_oshmemdata_DATA += runtime/help-shmem-runtime.txt
endif
headers += \
runtime/runtime.h \

Просмотреть файл

@ -12,4 +12,6 @@ EXTRA_DIST =
headers += shmem/shmem_api_logger.h \
shmem/shmem_lock.h
if PROJECT_OSHMEM
dist_oshmemdata_DATA += shmem/help-shmem-api.txt
endif

Просмотреть файл

@ -176,5 +176,8 @@ shmem_api_man_pages = \
shmem/man/man3/shmem_clear_cache_inv.3 \
shmem/man/man3/shmem_clear_cache_line_inv.3
if PROJECT_OSHMEM
nodist_man_MANS += $(shmem_api_man_pages)
EXTRA_DIST += $(shmem_api_man_pages:.3=.3in)
endif # PROJECT_OSHMEM

Просмотреть файл

@ -10,11 +10,11 @@
#
# $HEADER$
if PROJECT_OSHMEM
nodist_oshmemdata_DATA = \
shmemcc-wrapper-data.txt \
shmemfort-wrapper-data.txt
if PROJECT_OSHMEM
# Only install / uninstall if we're building oshmem
install-exec-hook:
test -z "$(bindir)" || $(mkdir_p) "$(DESTDIR)$(bindir)"