Skip to content

Commit 031d5a1

Browse files
committed
test: Update Makefile.am files to not define distclean target
This commit fixes warnings issued by automake about overriding the builtin distclean target. The fix is to use distclean-local instead. Signed-off-by: Nathan Hjelm <hjelmn@google.com>
1 parent 65ca64f commit 031d5a1

File tree

13 files changed

+13
-13
lines changed

13 files changed

+13
-13
lines changed

test/asm/Makefile.am

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,5 +90,5 @@ maintainer-clean-local:
9090
atomic_math_noinline.c \
9191
atomic_cmpset_noinline.c
9292

93-
distclean:
93+
distclean-local:
9494
rm -rf *.dSYM .deps .libs *.log *.o *.trs $(check_PROGRAMS) Makefile

test/class/Makefile.am

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,5 +97,5 @@ opal_fifo_DEPENDENCIES = $(opal_fifo_LDADD)
9797
clean-local:
9898
rm -f opal_bitmap_test_out.txt opal_hash_table_test_out.txt opal_proc_table_test_out.txt
9999

100-
distclean:
100+
distclean-local:
101101
rm -rf *.dSYM .deps .libs *.log *.txt *.o *.trs $(check_PROGRAMS) Makefile

test/datatype/Makefile.am

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,5 +108,5 @@ partial_LDADD = \
108108
$(top_builddir)/ompi/lib@OMPI_LIBMPI_NAME@.la \
109109
$(top_builddir)/opal/lib@OPAL_LIB_NAME@.la
110110

111-
distclean:
111+
distclean-local:
112112
rm -rf *.dSYM .deps .libs *.log *.o *.trs $(check_PROGRAMS) Makefile

test/event/Makefile.am

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,5 +44,5 @@ event_test_LDADD = \
4444
$(top_builddir)/opal/lib@OPAL_LIB_NAME@.la
4545
event_test_DEPENDENCIES = $(event_test_LDADD)
4646

47-
distclean:
47+
distclean-local:
4848
rm -rf *.dSYM .deps .libs *.log *.o *.trs $(check_PROGRAMS) Makefile

test/memchecker/Makefile.am

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,5 +60,5 @@ non_blocking_recv_test_LDADD = \
6060
$(top_builddir)/ompi/lib@OPAL_LIB_NAME@mpi.la
6161
non_blocking_recv_test_DEPENDENCIES = $(non_blocking_recv_test_LDADD)
6262

63-
distclean:
63+
distclean-local:
6464
rm -rf *.dSYM .deps *.log *.o *.trs $(check_PROGRAMS) Makefile

test/monitoring/Makefile.am

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,5 +45,5 @@ if PROJECT_OMPI
4545
$(top_builddir)/opal/lib@OPAL_LIB_NAME@.la
4646
endif # PROJECT_OMPI
4747

48-
distclean:
48+
distclean-local:
4949
rm -rf *.dSYM .deps .libs *.la *.lo monitoring_test test_pvar_access test_overhead check_monitoring example_reduce_count prof *.log *.o *.trs Makefile

test/mpi/environment/Makefile.am

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,5 +29,5 @@ chello_LDADD = \
2929
chello_DEPENDENCIES = $(chello_LDADD)
3030

3131

32-
distclean:
32+
distclean-local:
3333
rm -rf *.dSYM .deps *.log *.o *.trs $(noinst_PROGRAMS) Makefile

test/mpool/Makefile.am

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,6 @@ mpool_memkind_SOURCES = mpool_memkind.c
1616
LDFLAGS = $(OPAL_PKG_CONFIG_LDFLAGS)
1717
LDADD = $(top_builddir)/opal/lib@OPAL_LIB_NAME@.la
1818

19-
distclean:
19+
distclean-local:
2020
rm -rf *.dSYM .deps .libs *.log *.o *.trs $(check_PROGRAMS) Makefile
2121

test/runtime/Makefile.am

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,5 +56,5 @@ opal_init_finalize_LDADD = \
5656
$(top_builddir)/test/support/libsupport.a
5757
opal_init_finalize_DEPENDENCIES = $(opal_init_finalize_LDADD)
5858

59-
distclean:
59+
distclean-local:
6060
rm -rf *.dSYM .deps *.log *.o *.trs $(check_PROGRAMS) Makefile

test/spc/Makefile.am

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,5 @@ if PROJECT_OMPI
2020
$(top_builddir)/opal/lib@OPAL_LIB_NAME@.la
2121
endif # PROJECT_OMPI
2222

23-
distclean:
23+
distclean-local:
2424
rm -rf *.dSYM .deps .libs *.la *.lo spc_test prof *.log *.o *.trs Makefile

0 commit comments

Comments
 (0)