1111# All rights reserved.
1212# Copyright (c) 2006-2015 Cisco Systems, Inc. All rights reserved.
1313# Copyright (c) 2009-2011 Oak Ridge National Labs. All rights reserved.
14- # Copyright (c) 2014-2021 Research Organization for Information Science
14+ # Copyright (c) 2014-2025 Research Organization for Information Science
1515# and Technology (RIST). All rights reserved.
1616# Copyright (c) 2018 FUJITSU LIMITED. All rights reserved.
1717# Copyright (c) 2022 IBM Corporation. All rights reserved.
18+ # Copyright (c) 2025 Jeffrey M. Squyres. All rights reserved.
1819# $COPYRIGHT$
1920#
2021# Additional copyrights may follow
6667
6768include ompi/Makefile.am
6869
69- # This is complicated, but mpif-values.pl generates several
70+ # This is complicated, but mpif-values.py generates several
7071# mpif-*.h files in this directory (during autogen.pl).
7172# Hence, if any of those files change, it's safer to just force the
7273# user to re-autogen.
@@ -75,17 +76,17 @@ include ompi/Makefile.am
7576# @ echo "ERROR: you must re-run autogen.pl (sorry!)"
7677# @ exit 1
7778
78- EXTRA_DIST = $(headers ) mpif-values.pl
79+ EXTRA_DIST = $(headers ) mpif-values.py
7980
8081#
8182# mpif-sizeof.h is generated based on some results from configure tests.
8283#
8384
84- sizeof_pl =$(top_srcdir ) /ompi/mpi/fortran/base/gen-mpi-sizeof.pl
85+ sizeof_py =$(top_srcdir ) /ompi/mpi/fortran/base/gen-mpi-sizeof.py
8586mpif-sizeof.h : $(top_builddir ) /config.status
86- mpif-sizeof.h : $(sizeof_pl )
87+ mpif-sizeof.h : $(sizeof_py )
8788mpif-sizeof.h :
88- $(OMPI_V_GEN ) $(sizeof_pl ) \
89+ $(OMPI_V_GEN ) $(python ) $( sizeof_py ) \
8990 --header=$@ --ierror=mandatory \
9091 --maxrank=$(OMPI_FORTRAN_MAX_ARRAY_RANK ) \
9192 --generate=$(OMPI_FORTRAN_BUILD_SIZEOF ) \
@@ -102,15 +103,18 @@ mpif-sizeof.h:
102103# results from configure tests.
103104#
104105
105- mpif_mangling_pl =$(top_srcdir ) /ompi/mpi/fortran/base/gen-mpi-mangling.pl
106+ mpif_mangling_py =$(top_srcdir ) /ompi/mpi/fortran/base/gen-mpi-mangling.py
106107mpif-c-constants-decl.h : $(top_builddir ) /config.status
107- mpif-c-constants-decl.h : $(mpif_mangling_pl )
108+ mpif-c-constants-decl.h : $(mpif_mangling_py )
108109mpif-c-constants-decl.h :
109- $(OMPI_V_GEN ) $(mpif_mangling_pl ) \
110+ $(OMPI_V_GEN ) $(python ) $( mpif_mangling_py ) \
110111 --caps $(OMPI_FORTRAN_CAPS ) \
111112 --plain $(OMPI_FORTRAN_PLAIN ) \
112113 --single $(OMPI_FORTRAN_SINGLE_UNDERSCORE ) \
113- --double $(OMPI_FORTRAN_DOUBLE_UNDERSCORE )
114+ --double $(OMPI_FORTRAN_DOUBLE_UNDERSCORE ) \
115+ --status-size $(OMPI_FORTRAN_STATUS_SIZE ) \
116+ --align $(OMPI_FORTRAN_COMMON_ALIGNMENT )
117+
114118
115119if WANT_INSTALL_HEADERS
116120ompidir = $(ompiincludedir )
0 commit comments