2015-02-18 07:43:32 +03:00
|
|
|
#
|
|
|
|
# Copyright (c) 2015 Cisco Systems, Inc. All rights reserved.
|
2016-10-12 04:53:08 +03:00
|
|
|
# Copyright (c) 2016 Research Organization for Information Science
|
|
|
|
# and Technology (RIST). All rights reserved.
|
2017-08-23 00:28:23 +03:00
|
|
|
# Copyright (c) 2017 IBM Corporation. All rights reserved.
|
2015-02-18 07:43:32 +03:00
|
|
|
# $COPYRIGHT$
|
|
|
|
#
|
|
|
|
# Additional copyrights may follow
|
|
|
|
#
|
|
|
|
# $HEADER$
|
|
|
|
#
|
|
|
|
|
|
|
|
sources = \
|
|
|
|
reachable_netlink.h \
|
|
|
|
reachable_netlink_component.c \
|
|
|
|
reachable_netlink_module.c \
|
|
|
|
libnl3_utils.h \
|
|
|
|
libnl_utils.h \
|
|
|
|
reachable_netlink_utils_common.c
|
|
|
|
|
|
|
|
# Make the output library in this directory, and name it either
|
|
|
|
# mca_<type>_<name>.la (for DSO builds) or libmca_<type>_<name>.la
|
|
|
|
# (for static builds).
|
|
|
|
|
|
|
|
if MCA_BUILD_opal_reachable_netlink_DSO
|
|
|
|
component_noinst =
|
|
|
|
component_install = mca_reachable_netlink.la
|
|
|
|
else
|
|
|
|
component_noinst = libmca_reachable_netlink.la
|
|
|
|
component_install =
|
|
|
|
endif
|
|
|
|
|
|
|
|
AM_CPPFLAGS = \
|
2016-10-12 04:53:08 +03:00
|
|
|
$(opal_reachable_netlink_CPPFLAGS) \
|
|
|
|
-DOPAL_HAVE_LIBNL3=$(OPAL_HAVE_LIBNL3)
|
2015-02-18 07:43:32 +03:00
|
|
|
|
|
|
|
mcacomponentdir = $(opallibdir)
|
|
|
|
mcacomponent_LTLIBRARIES = $(component_install)
|
|
|
|
mca_reachable_netlink_la_SOURCES = $(sources)
|
|
|
|
mca_reachable_netlink_la_LDFLAGS = -module -avoid-version
|
2017-08-23 00:28:23 +03:00
|
|
|
mca_reachable_netlink_la_LIBADD = $(top_builddir)/opal/lib@OPAL_LIB_PREFIX@open-pal.la \
|
|
|
|
$(opal_reachable_netlink_LIBS)
|
2015-02-18 07:43:32 +03:00
|
|
|
|
|
|
|
noinst_LTLIBRARIES = $(component_noinst)
|
|
|
|
libmca_reachable_netlink_la_SOURCES =$(sources)
|
|
|
|
libmca_reachable_netlink_la_LDFLAGS = -module -avoid-version
|
2016-10-12 04:53:08 +03:00
|
|
|
libmca_reachable_netlink_la_LIBADD = $(opal_reachable_netlink_LIBS)
|