2006-01-16 01:48:03 +00:00
|
|
|
#
|
|
|
|
# Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana
|
|
|
|
# University Research and Technology
|
|
|
|
# Corporation. All rights reserved.
|
2006-08-23 00:29:35 +00:00
|
|
|
# Copyright (c) 2004-2006 The University of Tennessee and The University
|
2006-01-16 01:48:03 +00:00
|
|
|
# of Tennessee Research Foundation. All rights
|
|
|
|
# reserved.
|
|
|
|
# Copyright (c) 2004-2005 High Performance Computing Center Stuttgart,
|
|
|
|
# University of Stuttgart. All rights reserved.
|
|
|
|
# Copyright (c) 2004-2005 The Regents of the University of California.
|
|
|
|
# All rights reserved.
|
2006-09-25 14:11:21 +00:00
|
|
|
# Copyright (c) 2006 Cisco Systems, Inc. All rights reserved.
|
2006-01-16 01:48:03 +00:00
|
|
|
# $COPYRIGHT$
|
|
|
|
#
|
|
|
|
# Additional copyrights may follow
|
|
|
|
#
|
|
|
|
# $HEADER$
|
|
|
|
#
|
|
|
|
|
2006-10-19 18:34:17 +00:00
|
|
|
DEFS="-DEXEEXT=\"$(EXEEXT)\""
|
|
|
|
|
2006-10-20 14:15:38 +00:00
|
|
|
EXTRA_DIST = \
|
|
|
|
opal_wrapper.1 \
|
|
|
|
opalcc.1 \
|
|
|
|
opalc++.1
|
|
|
|
|
2006-10-19 18:34:17 +00:00
|
|
|
if OMPI_INSTALL_BINARIES
|
|
|
|
|
|
|
|
# install even if we don't want the headers / opalcc, as we need it
|
|
|
|
# for the MPI layer
|
2006-04-29 02:16:41 +00:00
|
|
|
opal_wrapper_SOURCES = \
|
|
|
|
opal_wrapper.c
|
|
|
|
|
2006-12-05 18:27:24 +00:00
|
|
|
opal_wrapper_LDADD = $(top_builddir)/opal/libopen-pal.la
|
|
|
|
opal_wrapper_DEPENDENCIES = $(top_builddir)/opal/libopen-pal.la
|
2006-04-29 02:16:41 +00:00
|
|
|
|
2006-10-19 18:34:17 +00:00
|
|
|
bin_PROGRAMS = opal_wrapper
|
2006-08-23 00:29:35 +00:00
|
|
|
|
2007-01-17 03:11:42 +00:00
|
|
|
dist_pkgdata_DATA = \
|
|
|
|
help-opal-wrapper.txt
|
|
|
|
|
2006-10-19 18:34:17 +00:00
|
|
|
endif # OMPI_INSTALL_BINARIES
|
2006-09-25 14:11:21 +00:00
|
|
|
|
2006-10-19 18:34:17 +00:00
|
|
|
if WANT_INSTALL_HEADERS
|
2006-04-29 02:16:41 +00:00
|
|
|
|
2006-01-16 01:48:03 +00:00
|
|
|
nodist_pkgdata_DATA = \
|
|
|
|
opalcc-wrapper-data.txt \
|
|
|
|
opalc++-wrapper-data.txt
|
|
|
|
|
2006-10-19 18:34:17 +00:00
|
|
|
# Whether or not --enable-binaries was given to configure (useful for
|
|
|
|
# multi-lib installations). If this was not given, we do not build /
|
|
|
|
# install the applications / man pages
|
|
|
|
|
|
|
|
if OMPI_INSTALL_BINARIES
|
|
|
|
|
2006-09-25 14:11:21 +00:00
|
|
|
# List all man pages that will be installed
|
|
|
|
|
2006-10-19 18:34:17 +00:00
|
|
|
man_MANS = \
|
|
|
|
opalcc.1 \
|
|
|
|
opalc++.1
|
2006-09-25 14:11:21 +00:00
|
|
|
|
2006-01-16 01:48:03 +00:00
|
|
|
install-exec-hook:
|
2006-10-03 17:01:54 +00:00
|
|
|
(cd $(DESTDIR)$(bindir); rm -f opalcc$(EXEEXT); $(LN_S) opal_wrapper opalcc)
|
2006-01-16 01:48:03 +00:00
|
|
|
(cd $(DESTDIR)$(bindir); rm -f opalc++$(EXEEXT); $(LN_S) opal_wrapper opalc++)
|
|
|
|
|
|
|
|
uninstall-local:
|
|
|
|
rm -f $(DESTDIR)$(bindir)/opalcc$(EXEEXT) \
|
2006-10-19 18:34:17 +00:00
|
|
|
$(DESTDIR)$(bindir)/opalc++$(EXEEXT)
|
2006-09-29 14:34:39 +00:00
|
|
|
|
2006-10-19 18:34:17 +00:00
|
|
|
endif # OPAL_INSTALL_BINARIES
|
2006-01-16 01:48:03 +00:00
|
|
|
|
2006-10-19 18:34:17 +00:00
|
|
|
endif # WANT_INSTALL_HEADERS
|
2006-04-29 02:16:41 +00:00
|
|
|
|
2006-10-19 20:14:40 +00:00
|
|
|
maintainer-clean-local:
|
|
|
|
rm -f opalcc.1 opalc++.1
|
|
|
|
|
2006-10-19 18:34:17 +00:00
|
|
|
opalcc.1: opal_wrapper.1
|
|
|
|
rm -f opalcc.1
|
|
|
|
sed -e 's/@COMMAND@/opalcc/g' -e 's/@PROJECT@/Open PAL/g' -e 's/@PROJECT_SHORT@/OPAL/g' -e 's/@LANGUAGE@/C/g' < $(top_srcdir)/opal/tools/wrappers/opal_wrapper.1 > opalcc.1
|
2006-04-29 02:16:41 +00:00
|
|
|
|
2006-10-19 18:34:17 +00:00
|
|
|
opalc++.1: opal_wrapper.1
|
|
|
|
rm -f opalc++.1
|
|
|
|
sed -e 's/@COMMAND@/opalc++/g' -e 's/@PROJECT@/Open PAL/g' -e 's/@PROJECT_SHORT@/OPAL/g' -e 's/@LANGUAGE@/C++/g' < $(top_srcdir)/opal/tools/wrappers/opal_wrapper.1 > opalc++.1
|