2004-01-14 08:38:51 +00:00
|
|
|
#
|
2004-11-22 01:38:40 +00:00
|
|
|
# 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.
|
2004-11-28 20:09:25 +00:00
|
|
|
# Copyright (c) 2004-2005 High Performance Computing Center Stuttgart,
|
|
|
|
# University of Stuttgart. All rights reserved.
|
2005-03-24 12:43:37 +00:00
|
|
|
# Copyright (c) 2004-2005 The Regents of the University of California.
|
|
|
|
# All rights reserved.
|
2004-11-22 01:38:40 +00:00
|
|
|
# $COPYRIGHT$
|
|
|
|
#
|
|
|
|
# Additional copyrights may follow
|
|
|
|
#
|
2004-01-14 08:38:51 +00:00
|
|
|
# $HEADER$
|
|
|
|
#
|
|
|
|
|
2005-09-07 05:54:53 +00:00
|
|
|
|
2004-01-14 08:38:51 +00:00
|
|
|
|
2004-11-06 15:16:11 +00:00
|
|
|
EXTRA_DIST = $(pkgdata_DATA)
|
2005-03-14 20:57:21 +00:00
|
|
|
pkgdata_DATA = help-orterun.txt
|
2004-11-06 15:16:11 +00:00
|
|
|
|
2005-09-01 10:37:20 +00:00
|
|
|
# This is not quite in the Automake spirit, but we have to do it.
|
|
|
|
# Since the totalview portion of the library must be built with -g, we
|
|
|
|
# must eliminate the CFLAGS that are passed in here by default (which
|
|
|
|
# may already have debugging and/or optimization flags). We use
|
|
|
|
# post-processed forms of the CFLAGS in the library targets down
|
|
|
|
# below.
|
|
|
|
|
|
|
|
CFLAGS = $(CFLAGS_WITHOUT_OPTFLAGS) $(TOTALVIEW_DEBUG_FLAGS)
|
|
|
|
|
2005-07-02 15:06:47 +00:00
|
|
|
libs = \
|
2005-09-30 04:13:26 +00:00
|
|
|
$(top_builddir)/orte/liborte.la
|
2004-03-26 04:28:42 +00:00
|
|
|
|
2005-03-14 20:57:21 +00:00
|
|
|
bin_PROGRAMS = orterun
|
2004-08-07 20:07:25 +00:00
|
|
|
|
2005-03-14 20:57:21 +00:00
|
|
|
orterun_SOURCES = \
|
2005-08-31 16:15:59 +00:00
|
|
|
main.c \
|
2005-08-30 17:29:43 +00:00
|
|
|
orterun.c \
|
2005-08-31 16:21:58 +00:00
|
|
|
orterun.h \
|
2005-08-31 11:01:28 +00:00
|
|
|
totalview.c \
|
|
|
|
totalview.h
|
2005-03-14 20:57:21 +00:00
|
|
|
|
|
|
|
orterun_LDADD = $(libs)
|
|
|
|
orterun_DEPENDENCIES = $(libs)
|
2005-03-18 03:43:59 +00:00
|
|
|
|
|
|
|
install-exec-hook:
|
|
|
|
(cd $(DESTDIR)$(bindir); rm -f mpirun; ln -s orterun mpirun)
|
|
|
|
(cd $(DESTDIR)$(bindir); rm -f mpiexec; ln -s orterun mpiexec)
|
|
|
|
|
|
|
|
uninstall-local:
|
|
|
|
rm -f $(DESTDIR)$(bindir)/mpirun \
|
|
|
|
$(DESTDIR)$(bindir)/mpiexec
|