Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 9 additions & 8 deletions oshmem/include/Makefile.am
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2013 Mellanox Technologies, Inc.
# Copyright (c) 2013-2015 Mellanox Technologies, Inc.
# All rights reserved.
# $COPYRIGHT$
#
Expand All @@ -11,21 +11,20 @@
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 =

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).
Expand All @@ -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:

Expand Down
3 changes: 2 additions & 1 deletion oshmem/runtime/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down
2 changes: 2 additions & 0 deletions oshmem/shmem/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -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
3 changes: 3 additions & 0 deletions oshmem/shmem/man/man3/Makefile.extra
Original file line number Diff line number Diff line change
Expand Up @@ -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

2 changes: 1 addition & 1 deletion oshmem/tools/wrappers/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -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)"
Expand Down