2004-08-30 14:44:30 +04:00
|
|
|
#
|
2004-11-22 04:38:40 +03:00
|
|
|
# Copyright (c) 2004-2005 The Trustees of Indiana University.
|
|
|
|
# All rights reserved.
|
|
|
|
# Copyright (c) 2004-2005 The Trustees of the University of Tennessee.
|
|
|
|
# All rights reserved.
|
2004-11-28 23:09:25 +03:00
|
|
|
# Copyright (c) 2004-2005 High Performance Computing Center Stuttgart,
|
|
|
|
# University of Stuttgart. All rights reserved.
|
2004-11-22 04:38:40 +03:00
|
|
|
# $COPYRIGHT$
|
|
|
|
#
|
|
|
|
# Additional copyrights may follow
|
|
|
|
#
|
2004-08-30 14:44:30 +04:00
|
|
|
# $HEADER$
|
|
|
|
#
|
|
|
|
|
|
|
|
include $(top_srcdir)/config/Makefile.options
|
|
|
|
|
2004-11-18 03:55:03 +03:00
|
|
|
EXTRA_DIST = \
|
|
|
|
openmpi-default-hostfile \
|
|
|
|
openmpi-mca-params.conf
|
2004-08-31 13:49:56 +04:00
|
|
|
|
2004-11-18 06:53:42 +03:00
|
|
|
sysconf_DATA =
|
|
|
|
|
2004-11-18 03:55:03 +03:00
|
|
|
# Steal a little trickery from a generated Makefile to only install
|
|
|
|
# lam-bhost.def if one does not already exist at the target.
|
|
|
|
|
|
|
|
install-data-local:
|
|
|
|
@ p="openmpi-mca-params.conf openmpi-default-hostfile"; \
|
|
|
|
for file in $$p; do \
|
|
|
|
if test -f $(DESTDIR)$(sysconfdir)/$$file; then \
|
|
|
|
echo "******************************* WARNING ************************************"; \
|
|
|
|
echo "*** Not installing new $$file over existing file in:"; \
|
|
|
|
echo "*** $(DESTDIR)$(sysconfdir)/$$file"; \
|
|
|
|
echo "******************************* WARNING ************************************"; \
|
|
|
|
else \
|
|
|
|
if test -f "$$file"; then d=; else d="$(srcdir)/"; fi; \
|
|
|
|
f="`echo $$file | sed -e 's|^.*/||'`"; \
|
|
|
|
echo " $(INSTALL_DATA) $$d$$file $(DESTDIR)$(sysconfdir)/$$f"; \
|
|
|
|
$(INSTALL_DATA) $$d$$file $(DESTDIR)$(sysconfdir)/$$f; \
|
|
|
|
fi; \
|
|
|
|
done
|