2004-01-16 00:35:44 +00:00
|
|
|
#
|
2005-11-05 19:57:48 +00: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.
|
2004-11-28 20:09:25 +00:00
|
|
|
# Copyright (c) 2004-2005 High Performance Computing Center Stuttgart,
|
|
|
|
# University of Stuttgart. All rights reserved.
|
2005-03-24 12:43:37 +00:00
|
|
|
# Copyright (c) 2004-2005 The Regents of the University of California.
|
|
|
|
# All rights reserved.
|
2004-11-22 01:38:40 +00:00
|
|
|
# $COPYRIGHT$
|
|
|
|
#
|
|
|
|
# Additional copyrights may follow
|
|
|
|
#
|
2004-01-16 00:35:44 +00:00
|
|
|
# $HEADER$
|
|
|
|
#
|
|
|
|
|
2005-05-06 21:50:30 +00:00
|
|
|
sources =
|
|
|
|
include src/Makefile.extra
|
|
|
|
|
2006-09-25 23:51:13 +00:00
|
|
|
if MCA_io_romio_SHOULD_BUILD
|
|
|
|
# Need to set both SUBDIRS and DIST_SUBDIRS due to oddities with AM
|
2005-08-27 15:17:25 +00:00
|
|
|
SUBDIRS = romio
|
2006-09-25 23:51:13 +00:00
|
|
|
DIST_SUBDIRS = romio
|
|
|
|
endif
|
2004-01-16 00:35:44 +00:00
|
|
|
|
2004-07-01 16:25:44 +00: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).
|
2004-01-16 00:35:44 +00:00
|
|
|
|
2004-07-01 16:25:44 +00:00
|
|
|
if OMPI_BUILD_io_romio_DSO
|
2005-05-07 10:19:28 +00:00
|
|
|
lib =
|
|
|
|
lib_sources =
|
|
|
|
component = mca_io_romio.la
|
|
|
|
component_sources = $(sources)
|
2004-01-16 00:35:44 +00:00
|
|
|
else
|
2005-05-07 10:19:28 +00:00
|
|
|
lib = libmca_io_romio.la
|
|
|
|
lib_sources = $(sources)
|
|
|
|
component =
|
|
|
|
component_sources =
|
2004-01-16 00:35:44 +00:00
|
|
|
endif
|
|
|
|
|
2005-08-27 15:17:25 +00:00
|
|
|
libs = romio/libromio_dist.la
|
2004-09-14 10:55:10 +00:00
|
|
|
|
2007-04-12 11:19:42 +00:00
|
|
|
mcacomponentdir = $(pkglibdir)
|
2005-05-07 10:19:28 +00:00
|
|
|
mcacomponent_LTLIBRARIES = $(component)
|
|
|
|
mca_io_romio_la_SOURCES = $(component_sources)
|
2007-12-15 13:32:02 +00:00
|
|
|
mca_io_romio_la_LIBADD = $(libs)
|
2004-09-23 10:59:38 +00:00
|
|
|
mca_io_romio_la_DEPENDENCIES = $(libs)
|
2004-01-16 00:35:44 +00:00
|
|
|
mca_io_romio_la_LDFLAGS = -module -avoid-version
|
|
|
|
|
2005-05-07 10:19:28 +00:00
|
|
|
noinst_LTLIBRARIES = $(lib)
|
|
|
|
libmca_io_romio_la_SOURCES = $(lib_sources)
|
2004-09-14 11:46:31 +00:00
|
|
|
libmca_io_romio_la_LIBADD = $(libs)
|
2004-09-23 10:59:38 +00:00
|
|
|
libmca_io_romio_la_DEPENDENCIES = $(libs)
|
2004-09-14 11:46:31 +00:00
|
|
|
libmca_io_romio_la_LDFLAGS = -module -avoid-version
|