oshmem: Do not install headers in case oshmem is off
Этот коммит содержится в:
родитель
b79cffc73b
Коммит
7d2221d957
@ -1,4 +1,4 @@
|
|||||||
# Copyright (c) 2013 Mellanox Technologies, Inc.
|
# Copyright (c) 2013-2015 Mellanox Technologies, Inc.
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
# $COPYRIGHT$
|
# $COPYRIGHT$
|
||||||
#
|
#
|
||||||
@ -11,14 +11,10 @@
|
|||||||
headers = oshmem_config.h
|
headers = oshmem_config.h
|
||||||
nodist_headers =
|
nodist_headers =
|
||||||
|
|
||||||
|
if PROJECT_OSHMEM
|
||||||
# Install these in $(includedir)
|
# Install these in $(includedir)
|
||||||
include_HEADERS =
|
include_HEADERS =
|
||||||
|
|
||||||
# Install these in $(includedir)
|
|
||||||
mppincludedir = $(includedir)/mpp
|
|
||||||
mppinclude_HEADERS = mpp/shmem.h \
|
|
||||||
mpp/shmem.fh
|
|
||||||
|
|
||||||
# Always install these in $(pkgincludedir)
|
# Always install these in $(pkgincludedir)
|
||||||
pkginclude_HEADERS =
|
pkginclude_HEADERS =
|
||||||
|
|
||||||
@ -26,6 +22,9 @@ include_HEADERS += shmem.fh \
|
|||||||
shmemx.h \
|
shmemx.h \
|
||||||
shmem-compat.h
|
shmem-compat.h
|
||||||
|
|
||||||
|
nobase_include_HEADERS = mpp/shmem.h \
|
||||||
|
mpp/shmem.fh
|
||||||
|
|
||||||
# These files are always installed in $(includedir), but shouldn't be
|
# These files are always installed in $(includedir), but shouldn't be
|
||||||
# shipped since they are generated by configure from their .in
|
# shipped since they are generated by configure from their .in
|
||||||
# counterparts (which AM automatically ships).
|
# counterparts (which AM automatically ships).
|
||||||
@ -36,8 +35,10 @@ include_HEADERS += pshmem.h \
|
|||||||
pshmemx.h
|
pshmemx.h
|
||||||
endif
|
endif
|
||||||
|
|
||||||
nobase_dist_noinst_HEADERS = $(headers)
|
oshmemdir=${includedir}/openshmem
|
||||||
nobase_nodist_noinst_HEADERS = $(nodist_headers)
|
nobase_dist_oshmem_HEADERS = $(headers)
|
||||||
|
nobase_nodist_oshmem_HEADERS = $(nodist_headers)
|
||||||
|
endif
|
||||||
|
|
||||||
distclean-local:
|
distclean-local:
|
||||||
|
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user