2005-05-09 20:28:05 +04:00
|
|
|
#
|
2005-11-05 22:57:48 +03:00
|
|
|
# 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.
|
2005-05-09 20:28:05 +04:00
|
|
|
# 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$
|
|
|
|
#
|
|
|
|
# Additional copyrights may follow
|
|
|
|
#
|
|
|
|
# $HEADER$
|
|
|
|
#
|
|
|
|
|
2008-02-28 04:57:57 +03:00
|
|
|
# Use the top-level Makefile.options
|
|
|
|
|
2005-07-09 22:52:53 +04:00
|
|
|
AM_CPPFLAGS = -I$(top_ompi_builddir)/include
|
2008-02-28 04:57:57 +03:00
|
|
|
AM_OBJCFLAGS = $(plm_xgrid_OBJCFLAGS)
|
2005-05-09 20:28:05 +04:00
|
|
|
|
2006-10-11 00:14:26 +04:00
|
|
|
# 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
|
2007-09-30 07:40:25 +04:00
|
|
|
# explicitly pass the --tag=CC flag to libtool.
|
|
|
|
AM_LIBTOOLFLAGS = --tag=CC
|
2006-10-11 00:14:26 +04:00
|
|
|
|
2005-05-09 20:28:05 +04:00
|
|
|
xgrid_sources = \
|
2008-02-28 04:57:57 +03:00
|
|
|
src/plm_xgrid.h \
|
|
|
|
src/plm_xgrid_component.m \
|
|
|
|
src/plm_xgrid_module.m \
|
|
|
|
src/plm_xgrid_client.h \
|
|
|
|
src/plm_xgrid_client.m
|
2005-05-09 20:28:05 +04:00
|
|
|
|
|
|
|
# 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).
|
|
|
|
|
2008-02-28 04:57:57 +03:00
|
|
|
if OMPI_BUILD_plm_xgrid_DSO
|
2005-05-09 20:28:05 +04:00
|
|
|
component_noinst =
|
2008-02-28 04:57:57 +03:00
|
|
|
component_install = mca_plm_xgrid.la
|
2005-05-09 20:28:05 +04:00
|
|
|
else
|
2008-02-28 04:57:57 +03:00
|
|
|
component_noinst = libmca_plm_xgrid.la
|
2005-05-09 20:28:05 +04:00
|
|
|
component_install =
|
|
|
|
endif
|
|
|
|
|
2007-04-12 15:19:42 +04:00
|
|
|
mcacomponentdir = $(pkglibdir)
|
2005-05-09 20:28:05 +04:00
|
|
|
mcacomponent_LTLIBRARIES = $(component_install)
|
2008-02-28 04:57:57 +03:00
|
|
|
mca_plm_xgrid_la_SOURCES = $(xgrid_sources)
|
|
|
|
mca_plm_xgrid_la_LDFLAGS = -module -avoid-version $(plm_xgrid_LDFLAGS)
|
2005-05-09 20:28:05 +04:00
|
|
|
|
|
|
|
noinst_LTLIBRARIES = $(component_noinst)
|
2008-02-28 04:57:57 +03:00
|
|
|
libmca_plm_xgrid_la_SOURCES = $(xgrid_sources)
|
|
|
|
libmca_plm_xgrid_la_LIBADD =
|
|
|
|
libmca_plm_xgrid_la_LDFLAGS = -module -avoid-version $(plm_xgrid_LDFLAGS)
|