|
6 | 6 | # Copyright (c) 2015 Research Organization for Information Science |
7 | 7 | # and Technology (RIST). All rights reserved. |
8 | 8 | # Copyright (c) 2016 IBM Corporation. All rights reserved. |
| 9 | +# Copyright (c) 2016 Cisco Systems, Inc. All rights reserved. |
9 | 10 | # $COPYRIGHT$ |
10 | 11 | # |
11 | 12 | # Additional copyrights may follow |
|
18 | 19 | if PROJECT_OMPI |
19 | 20 | noinst_PROGRAMS = monitoring_test |
20 | 21 | monitoring_test_SOURCES = monitoring_test.c |
21 | | - monitoring_test_LDFLAGS = $(WRAPPER_EXTRA_LDFLAGS) |
22 | | - monitoring_test_LDADD = $(top_builddir)/ompi/lib@ [email protected] $(top_builddir)/opal/libopen-pal.la |
| 22 | + monitoring_test_LDFLAGS = $(OMPI_PKG_CONFIG_LDFLAGS) |
| 23 | + monitoring_test_LDADD = \ |
| 24 | + $(top_builddir)/ompi/lib@ [email protected] \ |
| 25 | + $(top_builddir)/opal/lib@ [email protected] |
23 | 26 |
|
24 | 27 | if MCA_BUILD_ompi_pml_monitoring_DSO |
25 | | - lib_LTLIBRARIES = monitoring_prof.la |
26 | | - monitoring_prof_la_SOURCES = monitoring_prof.c |
27 | | - monitoring_prof_la_LDFLAGS=-module -avoid-version -shared $(WRAPPER_EXTRA_LDFLAGS) |
28 | | - monitoring_prof_la_LIBADD = $(top_builddir)/ompi/lib@ [email protected] $(top_builddir)/opal/libopen-pal.la |
29 | | -endif |
| 28 | + lib_LTLIBRARIES = ompi_monitoring_prof.la |
| 29 | + ompi_monitoring_prof_la_SOURCES = monitoring_prof.c |
| 30 | + ompi_monitoring_prof_la_LDFLAGS= \ |
| 31 | + -module -avoid-version -shared $(WRAPPER_EXTRA_LDFLAGS) |
| 32 | + ompi_monitoring_prof_la_LIBADD = \ |
| 33 | + $(top_builddir)/ompi/lib@ [email protected] \ |
| 34 | + $(top_builddir)/opal/lib@ [email protected] |
| 35 | +endif # MCA_BUILD_ompi_pml_monitoring_DSO |
30 | 36 |
|
31 | | -endif |
32 | | - |
33 | | -distclean: |
34 | | - rm -rf *.dSYM .deps .libs *.la *.lo monitoring_test *.log *.o *.trs Makefile |
| 37 | +endif # PROJECT_OMPI |
0 commit comments