File: Makefile.ompi-rules

package info (click to toggle)
openmpi 3.1.3-11
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 118,572 kB
  • sloc: ansic: 628,972; f90: 17,993; makefile: 13,761; sh: 7,051; java: 6,360; perl: 3,215; cpp: 2,225; python: 1,350; lex: 988; fortran: 52; tcl: 12
file content (68 lines) | stat: -rw-r--r-- 1,950 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
# -*- makefile -*-
# Copyright (c) 2008-2015 Cisco Systems, Inc.  All rights reserved.
# Copyright (c) 2008      Sun Microsystems, Inc.  All rights reserved.
# $COPYRIGHT$
#
# Additional copyrights may follow
#
# $HEADER$
#

TRIM_OPTIONS=
if ! MAN_PAGE_BUILD_MPI_CXX_BINDINGS
    TRIM_OPTIONS += --nocxx
endif
if ! MAN_PAGE_BUILD_MPIFH_BINDINGS
    TRIM_OPTIONS += --nofortran
endif
if ! MAN_PAGE_BUILD_USEMPIF08_BINDINGS
    TRIM_OPTIONS += --nof08
endif

.1in.1:
	$(OMPI_V_GEN) $(top_srcdir)/ompi/mpi/man/make_manpage.pl \
	  --package-name='@PACKAGE_NAME@' \
	  --package-version='@PACKAGE_VERSION@' \
	  --ompi-date='@OMPI_RELEASE_DATE@' \
	  --opal-date='@OPAL_RELEASE_DATE@' \
	  --orte-date='@ORTE_RELEASE_DATE@' \
	  --input=$< \
	  --output=$@

.3in.3:
	$(OMPI_V_GEN) $(top_srcdir)/ompi/mpi/man/make_manpage.pl \
	  --package-name='@PACKAGE_NAME@' \
	  --package-version='@PACKAGE_VERSION@' \
	  --ompi-date='@OMPI_RELEASE_DATE@' \
	  --opal-date='@OPAL_RELEASE_DATE@' \
	  --orte-date='@ORTE_RELEASE_DATE@' \
	  $(TRIM_OPTIONS) \
	  --input=$< \
	  --output=$@

.7in.7:
	$(OMPI_V_GEN) $(top_srcdir)/ompi/mpi/man/make_manpage.pl \
	  --package-name='@PACKAGE_NAME@' \
	  --package-version='@PACKAGE_VERSION@' \
	  --ompi-date='@OMPI_RELEASE_DATE@' \
	  --opal-date='@OPAL_RELEASE_DATE@' \
	  --orte-date='@ORTE_RELEASE_DATE@' \
	  --input=$< \
	  --output=$@

# A little verbosity magic; "make" will show the terse output.  "make
# V=1" will show the actual commands used (just like the other
# Automake-generated compilation/linker rules).
#V=0

OMPI_V_LN_S = $(ompi__v_LN_S_$V)
ompi__v_LN_S_ = $(ompi__v_LN_S_$AM_DEFAULT_VERBOSITY)
ompi__v_LN_S_0 = @echo "  LN_S    " `basename $@`;

OMPI_V_MKDIR = $(ompi__v_MKDIR_$V)
ompi__v_MKDIR_ = $(ompi__v_MKDIR_$AM_DEFAULT_VERBOSITY)
ompi__v_MKDIR_0 = @echo "  MKDIR   " $@;

OMPI_V_GEN = $(ompi__v_GEN_$V)
ompi__v_GEN_ = $(ompi__v_GEN_$AM_DEFAULT_VERBOSITY)
ompi__v_GEN_0 = @echo "  GENERATE" $@;