1
1
openmpi/include/Makefile.am
Jeff Squyres 251f68b94f Re-separate out the always-installable headers from the
LAM-development headers.

This commit was SVN r925.
2004-03-18 21:35:28 +00:00

26 строки
713 B
Makefile

# -*- makefile -*-
#
# $HEADER$
#
include $(top_srcdir)/config/Makefile.options
include_HEADERS = \
lam_config.h \
lam_config_bottom.h \
mpi.h \
mpif.h
# Add a hook to run *after* the file lam_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 LAM_MPI_PACKAGE_* in order to make <mpi.h> safe to
# include with other files.
install-data-hook:
sed -e 's/define PACKAGE/define LAM_MPI_PACKAGE/' \
$(DESTDIR)$(includedir)/lam_config.h \
> $(DESTDIR)$(includedir)/lam_config.h.install
mv $(DESTDIR)$(includedir)/lam_config.h.install \
$(DESTDIR)$(includedir)/lam_config.h