# # 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$ # # 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__.la (for DSO builds) or libmca__.la # (for static builds). if OMPI_BUILD_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)