Skip to content

Commit 7af5238

Browse files
committed
f08: misc Makefile fixes
1 parent 551d342 commit 7af5238

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

ompi/mpi/fortran/use-mpi-f08-desc/Makefile.am

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
# -*- makefile -*-
22
#
33
# Copyright (c) 2006-2012 Cisco Systems, Inc. All rights reserved.
4+
# Copyright (c) 2015 Research Organization for Information Science
5+
# and Technology (RIST). All rights reserved.
46
#
57
# $COPYRIGHT$
68
#
@@ -60,7 +62,15 @@ mpi-f08-types.lo: mpi-f08-types.f90
6062
mpi-f08-interfaces.lo: mpi-f08-interfaces.F90 mpi-f08-types.lo
6163
OMPI_Fortran_binding.lo: OMPI_Fortran_binding.f90 mpi-f08-types.lo
6264

63-
$(mpi_api_files): mpi-f08.lo
65+
66+
#
67+
# Automake doesn't do Fortran dependency analysis, so must list them
68+
# manually here. Bummer!
69+
#
70+
71+
mpi_api_lo_files = $(mpi_api_files:.f90=.lo)
72+
73+
$(mpi_api_lo_files): mpi-f08.lo
6474

6575
mpi-f08.lo: mpi-f08-types.lo
6676
mpi-f08.lo: OMPI_Fortran_binding.lo

ompi/mpi/fortran/use-mpi-f08/Makefile.am

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,6 @@ mpi_api_files = \
105105
bcast_f08.F90 \
106106
bsend_f08.F90 \
107107
bsend_init_f08.F90 \
108-
buffer_detach.c \
109108
buffer_attach_f08.F90 \
110109
buffer_detach_f08.F90 \
111110
cancel_f08.F90 \
@@ -806,6 +805,7 @@ libmpi_usempif08_la_SOURCES = \
806805
mpi-f08.F90 \
807806
mpi-f-interfaces-bind.h pmpi-f-interfaces-bind.h \
808807
attr-fn-f08-callback-interfaces.h \
808+
buffer_detach.c \
809809
conversion-fn-null-f08-interface.h \
810810
constants.h \
811811
constants.c

0 commit comments

Comments
 (0)