2011-08-26 00:08:17 +04: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.
|
2015-06-24 06:59:57 +03:00
|
|
|
# Copyright (c) 2004-2005 High Performance Computing Center Stuttgart,
|
2011-08-26 00:08:17 +04:00
|
|
|
# University of Stuttgart. All rights reserved.
|
|
|
|
# Copyright (c) 2004-2005 The Regents of the University of California.
|
|
|
|
# All rights reserved.
|
2013-07-18 01:55:24 +04:00
|
|
|
# Copyright (c) 2008 University of Houston. All rights reserved.
|
2011-08-26 00:08:17 +04:00
|
|
|
# $COPYRIGHT$
|
2015-06-24 06:59:57 +03:00
|
|
|
#
|
2011-08-26 00:08:17 +04:00
|
|
|
# Additional copyrights may follow
|
2015-06-24 06:59:57 +03:00
|
|
|
#
|
2011-08-26 00:08:17 +04:00
|
|
|
# $HEADER$
|
|
|
|
#
|
|
|
|
|
|
|
|
# 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).
|
|
|
|
|
2013-07-18 01:55:24 +04:00
|
|
|
if MCA_BUILD_ompi_sharedfp_lockedfile_DSO
|
2011-08-26 00:08:17 +04:00
|
|
|
component_noinst =
|
2013-07-18 01:55:24 +04:00
|
|
|
component_install = mca_sharedfp_lockedfile.la
|
2011-08-26 00:08:17 +04:00
|
|
|
else
|
2013-07-18 01:55:24 +04:00
|
|
|
component_noinst = libmca_sharedfp_lockedfile.la
|
2011-08-26 00:08:17 +04:00
|
|
|
component_install =
|
|
|
|
endif
|
|
|
|
|
2014-01-08 02:11:15 +04:00
|
|
|
mcacomponentdir = $(ompilibdir)
|
2011-08-26 00:08:17 +04:00
|
|
|
mcacomponent_LTLIBRARIES = $(component_install)
|
2013-07-18 01:55:24 +04:00
|
|
|
mca_sharedfp_lockedfile_la_SOURCES = $(sources)
|
|
|
|
mca_sharedfp_lockedfile_la_LDFLAGS = -module -avoid-version
|
2011-08-26 00:08:17 +04:00
|
|
|
|
|
|
|
noinst_LTLIBRARIES = $(component_noinst)
|
2013-07-18 01:55:24 +04:00
|
|
|
libmca_sharedfp_lockedfile_la_SOURCES = $(sources)
|
|
|
|
libmca_sharedfp_lockedfile_la_LDFLAGS = -module -avoid-version
|
2011-08-26 00:08:17 +04:00
|
|
|
|
|
|
|
# Source files
|
|
|
|
|
2013-07-18 01:55:24 +04:00
|
|
|
#IMPORTANT: Update here when adding new source code files to the library
|
2011-08-26 00:08:17 +04:00
|
|
|
sources = \
|
2013-07-18 01:55:24 +04:00
|
|
|
sharedfp_lockedfile.h \
|
|
|
|
sharedfp_lockedfile.c \
|
|
|
|
sharedfp_lockedfile_component.c \
|
|
|
|
sharedfp_lockedfile_seek.c \
|
|
|
|
sharedfp_lockedfile_get_position.c \
|
|
|
|
sharedfp_lockedfile_request_position.c \
|
|
|
|
sharedfp_lockedfile_write.c \
|
|
|
|
sharedfp_lockedfile_iwrite.c \
|
|
|
|
sharedfp_lockedfile_read.c \
|
|
|
|
sharedfp_lockedfile_iread.c \
|
|
|
|
sharedfp_lockedfile_file_open.c
|