File tree Expand file tree Collapse file tree 5 files changed +16
-10
lines changed Expand file tree Collapse file tree 5 files changed +16
-10
lines changed Original file line number Diff line number Diff line change 1- # Copyright (c) 2013 Mellanox Technologies, Inc.
1+ # Copyright (c) 2013-2015 Mellanox Technologies, Inc.
22# All rights reserved.
33# $COPYRIGHT$
44#
1111headers = oshmem_config.h
1212nodist_headers =
1313
14+ if PROJECT_OSHMEM
1415# Install these in $(includedir)
1516include_HEADERS =
1617
17- # Install these in $(includedir)
18- mppincludedir = $(includedir ) /mpp
19- mppinclude_HEADERS = mpp/shmem.h \
20- mpp/shmem.fh
21-
2218# Always install these in $(pkgincludedir)
2319pkginclude_HEADERS =
2420
2521include_HEADERS += shmem.fh \
2622 shmemx.h \
2723 shmem-compat.h
2824
25+ nobase_include_HEADERS = mpp/shmem.h \
26+ mpp/shmem.fh
27+
2928# These files are always installed in $(includedir), but shouldn't be
3029# shipped since they are generated by configure from their .in
3130# counterparts (which AM automatically ships).
@@ -36,8 +35,10 @@ include_HEADERS += pshmem.h \
3635 pshmemx.h
3736endif
3837
39- nobase_dist_noinst_HEADERS = $(headers )
40- nobase_nodist_noinst_HEADERS = $(nodist_headers )
38+ oshmemdir =${includedir}/openshmem
39+ nobase_dist_oshmem_HEADERS = $(headers )
40+ nobase_nodist_oshmem_HEADERS = $(nodist_headers )
41+ endif
4142
4243distclean-local :
4344
Original file line number Diff line number Diff line change 99
1010# This makefile.am does not stand on its own - it is included from oshmem/Makefile.am
1111
12+ if PROJECT_OSHMEM
1213dist_oshmemdata_DATA += runtime/help-shmem-runtime.txt
13-
14+ endif
1415
1516headers += \
1617 runtime/runtime.h \
Original file line number Diff line number Diff line change @@ -12,4 +12,6 @@ EXTRA_DIST =
1212headers += shmem/shmem_api_logger.h \
1313 shmem/shmem_lock.h
1414
15+ if PROJECT_OSHMEM
1516dist_oshmemdata_DATA += shmem/help-shmem-api.txt
17+ endif
Original file line number Diff line number Diff line change @@ -176,5 +176,7 @@ shmem_api_man_pages = \
176176 shmem/man/man3/shmem_clear_cache_inv.3 \
177177 shmem/man/man3/shmem_clear_cache_line_inv.3
178178
179+ if PROJECT_OSHMEM
179180nodist_man_MANS += $(shmem_api_man_pages )
180181EXTRA_DIST += $(shmem_api_man_pages:.3=.3in )
182+ endif # PROJECT_OSHMEM
Original file line number Diff line number Diff line change 1010#
1111# $HEADER$
1212
13+ if PROJECT_OSHMEM
1314nodist_oshmemdata_DATA = \
1415 shmemcc-wrapper-data.txt \
1516 shmemfort-wrapper-data.txt
1617
17- if PROJECT_OSHMEM
1818# Only install / uninstall if we're building oshmem
1919install-exec-hook :
2020 test -z " $( bindir) " || $(mkdir_p ) " $( DESTDIR) $( bindir) "
You can’t perform that action at this time.
0 commit comments