2004-01-07 21:39:46 +00:00
|
|
|
# -*- makefile -*-
|
|
|
|
#
|
|
|
|
# $HEADER$
|
|
|
|
#
|
|
|
|
|
|
|
|
include $(top_srcdir)/config/Makefile.options
|
|
|
|
|
2004-01-08 13:39:38 +00:00
|
|
|
# If the user selected --disable-profiling, then we don't traverse
|
|
|
|
# into the profile directory.
|
2004-01-07 21:39:46 +00:00
|
|
|
|
2004-01-08 13:39:38 +00:00
|
|
|
if COMPILE_PROFILING_SEPARATELY
|
2004-01-09 17:44:07 +00:00
|
|
|
profile_dir = profile
|
|
|
|
profile_lib = profile/libmpi_f77_profile.la
|
2004-01-08 13:39:38 +00:00
|
|
|
else
|
2004-01-09 17:44:07 +00:00
|
|
|
profile_dir =
|
|
|
|
profile_lib =
|
2004-01-08 13:39:38 +00:00
|
|
|
endif
|
|
|
|
|
2004-01-09 17:44:07 +00:00
|
|
|
SUBDIRS = $(profile_dir)
|
|
|
|
DIST_SUBDIRS = profile
|
2004-01-07 21:39:46 +00:00
|
|
|
|
2004-01-09 17:44:07 +00:00
|
|
|
noinst_LTLIBRARIES = libmpi_f77.la
|
2004-01-07 21:39:46 +00:00
|
|
|
|
2004-01-09 17:44:07 +00:00
|
|
|
headers = \
|
|
|
|
bindings.h \
|
|
|
|
prototypes.h
|
|
|
|
|
|
|
|
libmpi_f77_la_SOURCES = \
|
|
|
|
comm_get_name_f.c \
|
|
|
|
comm_set_name_f.c \
|
|
|
|
init_f.c \
|
|
|
|
finalize_f.c
|
2004-01-07 21:39:46 +00:00
|
|
|
|
2004-01-08 13:39:38 +00:00
|
|
|
libmpi_f77_la_LIBADD = $(profile_lib)
|
2004-01-09 17:44:07 +00:00
|
|
|
|
|
|
|
# Conditionally install the header files
|
|
|
|
|
|
|
|
if WANT_INSTALL_HEADERS
|
|
|
|
lamdir = $(includedir)/lam/mpi/f77
|
|
|
|
lam_HEADERS = $(headers)
|
|
|
|
else
|
|
|
|
lamdir = $(includedir)
|
|
|
|
endif
|