1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54
|
# Copyright (c) 2013-2015 Mellanox Technologies, Inc.
# All rights reserved.
# Copyright (c) 2016 Research Organization for Information Science
# and Technology (RIST). All rights reserved.
# $COPYRIGHT$
#
# Additional copyrights may follow
#
# $HEADER$
#
headers = oshmem_config.h
nodist_headers =
if PROJECT_OSHMEM
# Install these in $(includedir)
include_HEADERS =
# Always install these in $(pkgincludedir)
pkginclude_HEADERS =
include_HEADERS += shmem.fh \
shmemx.h \
shmem-compat.h
# Create symlinks for the (now deprecated) files in $(includedir)/mpp directory
install-exec-hook:
test -z "$(includedir)" || $(MKDIR_P) "$(DESTDIR)$(includedir)/mpp"
(cd $(DESTDIR)$(includedir)/mpp; rm -f shmem.h; $(LN_S) ../shmem.h shmem.h)
(cd $(DESTDIR)$(includedir)/mpp; rm -f shmem.fh; $(LN_S) ../shmem.fh shmem.fh)
uninstall-local:
rm -f $(DESTDIR)/$(includedir)/mpp/shmem.h \
$(DESTDIR)/$(includedir)/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).
nodist_include_HEADERS = shmem.h
if OSHMEM_PROFILING
include_HEADERS += pshmem.h \
pshmemx.h
endif
oshmemdir=${includedir}/openshmem
nobase_dist_oshmem_HEADERS = $(headers)
nobase_nodist_oshmem_HEADERS = $(nodist_headers)
endif
distclean-local:
include oshmem/Makefile.am
|