40a2bfa238
This merges the branch containing the revamped build system based around converting autogen from a bash script to a Perl program. Jeff has provided emails explaining the features contained in the change. Please note that configure requirements on components HAVE CHANGED. For example. a configure.params file is no longer required in each component directory. See Jeff's emails for an explanation. This commit was SVN r23764.
61 строка
2.1 KiB
Makefile
61 строка
2.1 KiB
Makefile
#
|
|
# Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana
|
|
# University Research and Technology
|
|
# Corporation. All rights reserved.
|
|
# Copyright (c) 2004-2005 The University of Tennessee and The University
|
|
# of Tennessee Research Foundation. All rights
|
|
# reserved.
|
|
# Copyright (c) 2004-2005 High Performance Computing Center Stuttgart,
|
|
# University of Stuttgart. All rights reserved.
|
|
# Copyright (c) 2004-2005 The Regents of the University of California.
|
|
# All rights reserved.
|
|
# Copyright (c) 2010 Cisco Systems, Inc. All rights reserved.
|
|
# $COPYRIGHT$
|
|
#
|
|
# Additional copyrights may follow
|
|
#
|
|
# $HEADER$
|
|
#
|
|
|
|
# Use the top-level Makefile.options
|
|
|
|
AM_CPPFLAGS = -I$(top_ompi_builddir)/include
|
|
AM_OBJCFLAGS = $(plm_xgrid_OBJCFLAGS)
|
|
|
|
# Automake and Libtool don't completely speak Objective C. Since the
|
|
# only Objective C we'll be using is GCC on Mac OS X, we can pretend
|
|
# to be C instead of ObjC for libtool and it works well enough. If CC
|
|
# and OBJC aren't the same, Libtool doesn't automatically infer that
|
|
# we're using C and Automake doesn't add the --tag, so we need to
|
|
# explicitly pass the --tag=CC flag to libtool.
|
|
AM_LIBTOOLFLAGS = --tag=CC
|
|
|
|
xgrid_sources = \
|
|
src/plm_xgrid.h \
|
|
src/plm_xgrid_component.m \
|
|
src/plm_xgrid_module.m \
|
|
src/plm_xgrid_client.h \
|
|
src/plm_xgrid_client.m
|
|
|
|
# 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_plm_xgrid_DSO
|
|
component_noinst =
|
|
component_install = mca_plm_xgrid.la
|
|
else
|
|
component_noinst = libmca_plm_xgrid.la
|
|
component_install =
|
|
endif
|
|
|
|
mcacomponentdir = $(pkglibdir)
|
|
mcacomponent_LTLIBRARIES = $(component_install)
|
|
mca_plm_xgrid_la_SOURCES = $(xgrid_sources)
|
|
mca_plm_xgrid_la_LDFLAGS = -module -avoid-version $(plm_xgrid_LDFLAGS)
|
|
|
|
noinst_LTLIBRARIES = $(component_noinst)
|
|
libmca_plm_xgrid_la_SOURCES = $(xgrid_sources)
|
|
libmca_plm_xgrid_la_LIBADD =
|
|
libmca_plm_xgrid_la_LDFLAGS = -module -avoid-version $(plm_xgrid_LDFLAGS)
|