File tree Expand file tree Collapse file tree 3 files changed +11
-29
lines changed Expand file tree Collapse file tree 3 files changed +11
-29
lines changed Original file line number Diff line number Diff line change 11# Copyright (c) 2013-2015 Mellanox Technologies, Inc.
22# All rights reserved.
3+ # Copyright (c) 2016 Research Organization for Information Science
4+ # and Technology (RIST). All rights reserved.
35# $COPYRIGHT$
46#
57# Additional copyrights may follow
@@ -22,9 +24,16 @@ include_HEADERS += shmem.fh \
2224 shmemx.h \
2325 shmem-compat.h
2426
25- nobase_include_HEADERS = mpp/shmem.h \
26- mpp/shmem.fh
27+ # Create symlinks for the (now deprecated) files in $(includedir)/mpp directory
28+ install-exec-hook :
29+ test -z " $( includedir) " || $(MKDIR_P ) " $( DESTDIR) $( includedir) /mpp"
30+ (cd $( DESTDIR) $( includedir) /mpp; rm -f shmem.h; $( LN_S) ../shmem.h shmem.h)
31+ (cd $( DESTDIR) $( includedir) /mpp; rm -f shmem.fh; $( LN_S) ../shmem.fh shmem.fh)
2732
33+ uninstall-local :
34+ rm -f $(DESTDIR ) /$(includedir ) /mpp/shmem.h \
35+ $(DESTDIR ) /$(includedir ) /mpp/shmem.fh
36+
2837# These files are always installed in $(includedir), but shouldn't be
2938# shipped since they are generated by configure from their .in
3039# counterparts (which AM automatically ships).
Load Diff This file was deleted.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments