2004-09-25 23:31:17 +04:00
|
|
|
#
|
2005-11-05 22:57:48 +03:00
|
|
|
# Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana
|
|
|
|
# University Research and Technology
|
|
|
|
# Corporation. All rights reserved.
|
|
|
|
# Copyright (c) 2004-2005 The University of Tennessee and The University
|
|
|
|
# of Tennessee Research Foundation. All rights
|
|
|
|
# reserved.
|
2004-11-28 23:09:25 +03:00
|
|
|
# Copyright (c) 2004-2005 High Performance Computing Center Stuttgart,
|
|
|
|
# University of Stuttgart. All rights reserved.
|
2005-03-24 15:43:37 +03:00
|
|
|
# Copyright (c) 2004-2005 The Regents of the University of California.
|
|
|
|
# All rights reserved.
|
2008-03-22 05:04:05 +03:00
|
|
|
# Copyright (c) 2006-2008 Cisco Systems, Inc. All rights reserved.
|
2004-11-22 04:38:40 +03:00
|
|
|
# $COPYRIGHT$
|
|
|
|
#
|
|
|
|
# Additional copyrights may follow
|
|
|
|
#
|
2004-01-07 18:07:14 +03:00
|
|
|
# $HEADER$
|
2003-11-22 19:36:58 +03:00
|
|
|
#
|
|
|
|
|
2008-06-14 02:52:25 +04:00
|
|
|
|
|
|
|
if OMPI_WANT_SCRIPT_WRAPPER_COMPILERS
|
|
|
|
|
|
|
|
bin_SCRIPTS = ompi_wrapper_script
|
|
|
|
CLEANFILES += $(bin_SCRIPTS)
|
|
|
|
|
|
|
|
install-exec-hook-always:
|
|
|
|
test -z "$(bindir)" || $(mkdir_p) "$(DESTDIR)$(bindir)"
|
|
|
|
(cd $(DESTDIR)$(bindir); rm -f mpicc; $(LN_S) ompi_wrapper_script mpicc)
|
|
|
|
(cd $(DESTDIR)$(bindir); rm -f mpic++; $(LN_S) ompi_wrapper_script mpic++)
|
|
|
|
(cd $(DESTDIR)$(bindir); rm -f mpicxx; $(LN_S) ompi_wrapper_script mpicxx)
|
|
|
|
(cd $(DESTDIR)$(bindir); rm -f mpif77; $(LN_S) ompi_wrapper_script mpif77)
|
|
|
|
(cd $(DESTDIR)$(bindir); rm -f mpif90; $(LN_S) ompi_wrapper_script mpif90)
|
|
|
|
uninstall-local-always:
|
|
|
|
rm -f $(DESTDIR)$(bindir)/mpicc \
|
|
|
|
$(DESTDIR)$(bindir)/mpic++ \
|
|
|
|
$(DESTDIR)$(bindir)/mpicxx \
|
|
|
|
$(DESTDIR)$(bindir)/mpif77 \
|
|
|
|
$(DESTDIR)$(bindir)/mpif90
|
|
|
|
if CASE_SENSITIVE_FS
|
|
|
|
install-exec-hook: install-exec-hook-always
|
|
|
|
(cd $(DESTDIR)$(bindir); rm -f mpiCC; $(LN_S) ompi_wrapper_script mpiCC)
|
|
|
|
uninstall-local: uninstall-local-always
|
|
|
|
rm -f $(DESTDIR)$(bindir)/mpiCC
|
|
|
|
else # CASE_SENSITIVE_FS
|
|
|
|
install-exec-hook: install-exec-hook-always
|
|
|
|
uninstall-local: uninstall-local-always
|
|
|
|
endif # CASE_SENSITIVE_FS
|
|
|
|
|
|
|
|
else # OMPI_WANT_SHELL_WRAPPER_COMPILERS
|
|
|
|
|
2008-03-22 05:04:05 +03:00
|
|
|
if OMPI_INSTALL_BINARIES
|
|
|
|
|
|
|
|
dist_man_MANS = \
|
2006-10-20 18:15:38 +04:00
|
|
|
mpicc.1 \
|
|
|
|
mpic++.1 \
|
|
|
|
mpicxx.1 \
|
|
|
|
mpif77.1 \
|
|
|
|
mpif90.1
|
|
|
|
|
2008-03-22 05:04:05 +03:00
|
|
|
dist_pkgdata_DATA = \
|
|
|
|
mpicc-wrapper-data.txt \
|
2006-01-21 05:05:58 +03:00
|
|
|
mpic++-wrapper-data.txt \
|
|
|
|
mpif77-wrapper-data.txt \
|
|
|
|
mpif90-wrapper-data.txt
|
2003-11-22 19:36:58 +03:00
|
|
|
|
2006-10-19 22:34:17 +04:00
|
|
|
install-exec-hook-always:
|
|
|
|
test -z "$(bindir)" || $(mkdir_p) "$(DESTDIR)$(bindir)"
|
2006-01-21 05:05:58 +03:00
|
|
|
(cd $(DESTDIR)$(bindir); rm -f mpicc$(EXEEXT); $(LN_S) opal_wrapper mpicc)
|
|
|
|
(cd $(DESTDIR)$(bindir); rm -f mpic++$(EXEEXT); $(LN_S) opal_wrapper mpic++)
|
|
|
|
(cd $(DESTDIR)$(bindir); rm -f mpicxx$(EXEEXT); $(LN_S) opal_wrapper mpicxx)
|
|
|
|
(cd $(DESTDIR)$(bindir); rm -f mpif77$(EXEEXT); $(LN_S) opal_wrapper mpif77)
|
|
|
|
(cd $(DESTDIR)$(bindir); rm -f mpif90$(EXEEXT); $(LN_S) opal_wrapper mpif90)
|
2006-09-29 18:34:39 +04:00
|
|
|
|
2006-10-19 22:34:17 +04:00
|
|
|
install-data-hook-always:
|
|
|
|
(cd $(DESTDIR)$(pkgdatadir); rm -f mpicxx-wrapper-data.txt; $(LN_S) mpic++-wrapper-data.txt mpicxx-wrapper-data.txt)
|
2004-08-17 06:34:17 +04:00
|
|
|
|
2006-10-19 22:34:17 +04:00
|
|
|
uninstall-local-always:
|
|
|
|
rm -f $(DESTDIR)$(bindir)/mpicc$(EXEEXT) \
|
2006-01-21 05:05:58 +03:00
|
|
|
$(DESTDIR)$(bindir)/mpic++$(EXEEXT) \
|
|
|
|
$(DESTDIR)$(bindir)/mpicxx$(EXEEXT) \
|
|
|
|
$(DESTDIR)$(bindir)/mpif77$(EXEEXT) \
|
|
|
|
$(DESTDIR)$(bindir)/mpif90$(EXEEXT) \
|
|
|
|
$(DESTDIR)$(pkgdatadir)/mpicxx-wrapper-data.txt
|
2006-01-16 04:48:03 +03:00
|
|
|
|
2006-10-19 22:34:17 +04:00
|
|
|
if CASE_SENSITIVE_FS
|
|
|
|
install-exec-hook: install-exec-hook-always
|
|
|
|
(cd $(DESTDIR)$(bindir); rm -f mpiCC$(EXEEXT); $(LN_S) opal_wrapper mpiCC)
|
|
|
|
|
|
|
|
install-data-hook: install-data-hook-always
|
|
|
|
(cd $(DESTDIR)$(pkgdatadir); rm -f mpiCC-wrapper-data.txt; $(LN_S) mpic++-wrapper-data.txt mpiCC-wrapper-data.txt)
|
|
|
|
(cd $(DESTDIR)$(mandir)/man1; rm -f mpiCC.1; $(LN_S) mpic++.1 mpiCC.1)
|
|
|
|
|
|
|
|
uninstall-local: uninstall-local-always
|
|
|
|
rm -f $(DESTDIR)$(bindir)/mpiCC$(EXEEXT) \
|
|
|
|
$(DESTDIR)$(mandir)/man1/mpiCC.1 \
|
|
|
|
$(DESTDIR)$(pkgdatadir)/mpiCC-wrapper-data.txt
|
|
|
|
|
|
|
|
else # CASE_SENSITIVE_FS
|
|
|
|
install-exec-hook: install-exec-hook-always
|
|
|
|
install-data-hook: install-data-hook-always
|
|
|
|
uninstall-local: uninstall-local-always
|
|
|
|
|
|
|
|
endif # CASE_SENSITIVE_FS
|
|
|
|
|
|
|
|
endif # OMPI_INSTALL_BINARIES
|
|
|
|
|
2008-06-14 02:52:25 +04:00
|
|
|
endif # OMPI_WANT_SHELL_WRAPPER_COMPILERS
|
|
|
|
|
|
|
|
|
|
|
|
########################################################
|
|
|
|
#
|
|
|
|
# Man page generation / handling
|
|
|
|
#
|
|
|
|
########################################################
|
2006-10-20 00:14:40 +04:00
|
|
|
maintainer-clean-local:
|
|
|
|
rm -f mpicc.1 mpic++.1 mpicxx.1 mpif77.1 mpif90.1
|
|
|
|
|
2007-07-02 19:27:39 +04:00
|
|
|
mpicc.1: $(top_srcdir)/opal/tools/wrappers/generic_wrapper.1
|
2006-10-19 22:34:17 +04:00
|
|
|
rm -f mpicc.1
|
2007-07-02 19:27:39 +04:00
|
|
|
sed -e 's/@COMMAND@/mpicc/g' -e 's/@PROJECT@/Open MPI/g' -e 's/@PROJECT_SHORT@/OMPI/g' -e 's/@LANGUAGE@/C/g' < $(top_srcdir)/opal/tools/wrappers/generic_wrapper.1 > mpicc.1
|
2006-10-19 22:34:17 +04:00
|
|
|
|
2007-07-02 19:27:39 +04:00
|
|
|
mpic++.1: $(top_srcdir)/opal/tools/wrappers/generic_wrapper.1
|
2006-10-19 22:34:17 +04:00
|
|
|
rm -f mpic++.1
|
2007-07-02 19:27:39 +04:00
|
|
|
sed -e 's/@COMMAND@/mpic++/g' -e 's/@PROJECT@/Open MPI/g' -e 's/@PROJECT_SHORT@/OMPI/g' -e 's/@LANGUAGE@/C++/g' < $(top_srcdir)/opal/tools/wrappers/generic_wrapper.1 > mpic++.1
|
2006-10-19 22:34:17 +04:00
|
|
|
|
2007-07-02 19:27:39 +04:00
|
|
|
mpicxx.1: $(top_srcdir)/opal/tools/wrappers/generic_wrapper.1
|
2006-10-19 22:34:17 +04:00
|
|
|
rm -f mpicxx.1
|
2007-07-02 19:27:39 +04:00
|
|
|
sed -e 's/@COMMAND@/mpicxx/g' -e 's/@PROJECT@/Open MPI/g' -e 's/@PROJECT_SHORT@/OMPI/g' -e 's/@LANGUAGE@/C++/g' < $(top_srcdir)/opal/tools/wrappers/generic_wrapper.1 > mpicxx.1
|
2006-10-19 22:34:17 +04:00
|
|
|
|
2007-07-02 19:27:39 +04:00
|
|
|
mpif77.1: $(top_srcdir)/opal/tools/wrappers/generic_wrapper.1
|
2006-10-19 22:34:17 +04:00
|
|
|
rm -f mpif77.1
|
2007-07-02 19:27:39 +04:00
|
|
|
sed -e 's/@COMMAND@/mpif77/g' -e 's/@PROJECT@/Open MPI/g' -e 's/@PROJECT_SHORT@/OMPI/g' -e 's/@LANGUAGE@/Fortran 77/g' < $(top_srcdir)/opal/tools/wrappers/generic_wrapper.1 > mpif77.1
|
2006-04-29 06:16:41 +04:00
|
|
|
|
2007-07-02 19:27:39 +04:00
|
|
|
mpif90.1: $(top_srcdir)/opal/tools/wrappers/generic_wrapper.1
|
2006-10-19 22:34:17 +04:00
|
|
|
rm -f mpif90.1
|
2007-07-02 19:27:39 +04:00
|
|
|
sed -e 's/@COMMAND@/mpif90/g' -e 's/@PROJECT@/Open MPI/g' -e 's/@PROJECT_SHORT@/OMPI/g' -e 's/@LANGUAGE@/Fortran 90/g' < $(top_srcdir)/opal/tools/wrappers/generic_wrapper.1 > mpif90.1
|