1
1
openmpi/include/Makefile.am
Jeff Squyres e9ed717748 First cut at copyrights: IU, UTK, and some OSU. LANL and HLRS still
pending.

This commit was SVN r3655.
2004-11-22 01:38:40 +00:00

36 строки
1.1 KiB
Makefile

#
# 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.
# $COPYRIGHT$
#
# Additional copyrights may follow
#
# $HEADER$
#
include $(top_srcdir)/config/Makefile.options
include_HEADERS = \
ompi_config.h \
ompi_config_bottom.h \
ompi_stdint.h \
mpi.h \
mpif.h
# Add a hook to run *after* the file ompi_config.h has been installed
# out to the target location. It changes the pesky PACKAGE_* macros
# that autoconf automatically generates (and there is no way of
# turning off) into OMPI_MPI_PACKAGE_* in order to make <mpi.h> safe to
# include with other files.
install-data-hook:
sed -e 's/define PACKAGE/define OMPI_MPI_PACKAGE/' \
$(DESTDIR)$(includedir)/ompi_config.h \
> $(DESTDIR)$(includedir)/ompi_config.h.install
cp $(DESTDIR)$(includedir)/ompi_config.h.install \
$(DESTDIR)$(includedir)/ompi_config.h
rm -f $(DESTDIR)$(includedir)/ompi_config.h.install
chmod 0644 $(DESTDIR)$(includedir)/ompi_config.h