35 строки
833 B
Makefile
35 строки
833 B
Makefile
![]() |
#
|
||
|
# Copyright (c) 2014 Intel, Inc. All rights reserved
|
||
|
# $COPYRIGHT$
|
||
|
#
|
||
|
# Additional copyrights may follow
|
||
|
#
|
||
|
# $HEADER$
|
||
|
#
|
||
|
|
||
|
sources = \
|
||
|
rtc_hwloc.c \
|
||
|
rtc_hwloc.h \
|
||
|
rtc_hwloc_component.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_orte_rtc_hwloc_DSO
|
||
|
component_noinst =
|
||
|
component_install = mca_rtc_hwloc.la
|
||
|
else
|
||
|
component_noinst = libmca_rtc_hwloc.la
|
||
|
component_install =
|
||
|
endif
|
||
|
|
||
|
mcacomponentdir = $(ompilibdir)
|
||
|
mcacomponent_LTLIBRARIES = $(component_install)
|
||
|
mca_rtc_hwloc_la_SOURCES = $(sources)
|
||
|
mca_rtc_hwloc_la_LDFLAGS = -module -avoid-version
|
||
|
|
||
|
noinst_LTLIBRARIES = $(component_noinst)
|
||
|
libmca_rtc_hwloc_la_SOURCES =$(sources)
|
||
|
libmca_rtc_hwloc_la_LDFLAGS = -module -avoid-version
|