1
1
openmpi/opal/mca/sysinfo/darwin/Makefile.am
2010-07-19 19:31:59 +00:00

35 строки
894 B
Makefile

#
# Copyright (c) 2009 Cisco Systems, Inc. All rights reserved.
# $COPYRIGHT$
#
# Additional copyrights may follow
#
# $HEADER$
#
sources = \
sysinfo_darwin.h \
sysinfo_darwin_component.c \
sysinfo_darwin_module.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 OMPI_BUILD_sysinfo_darwin_DSO
component_noinst =
component_install = mca_sysinfo_darwin.la
else
component_noinst = libmca_sysinfo_darwin.la
component_install =
endif
mcacomponentdir = $(pkglibdir)
mcacomponent_LTLIBRARIES = $(component_install)
mca_sysinfo_darwin_la_SOURCES = $(sources)
mca_sysinfo_darwin_la_LDFLAGS = -module -avoid-version
noinst_LTLIBRARIES = $(component_noinst)
libmca_sysinfo_darwin_la_SOURCES =$(sources)
libmca_sysinfo_darwin_la_LDFLAGS = -module -avoid-version