From fae7333bcab660731e7ff676f8fd6f3a2bf13dc9 Mon Sep 17 00:00:00 2001 From: Jeff Squyres Date: Wed, 7 Jul 2004 12:42:42 +0000 Subject: [PATCH] Ensure that the headers get installed (if selected). This commit was SVN r1565. --- src/include/Makefile.am | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/src/include/Makefile.am b/src/include/Makefile.am index 3ce2f8e0fc..7e8773526d 100644 --- a/src/include/Makefile.am +++ b/src/include/Makefile.am @@ -1,13 +1,21 @@ -# -*- makefile -*- # # $HEADER$ # include $(top_srcdir)/config/Makefile.options -include_HEADERS = \ +headers = \ atomic.h \ constants.h \ ompi.h \ totalview.h \ types.h + +# Conditionally install the header files + +if WANT_INSTALL_HEADERS +ompidir = $(includedir)/openmpi/include +ompi_HEADERS = $(headers) +else +ompidir = $(includedir) +endif