2004-01-08 21:19:31 +00:00
|
|
|
# -*- makefile -*-
|
2003-12-22 16:29:21 +00:00
|
|
|
#
|
2004-11-22 01:38:40 +00:00
|
|
|
# Copyright (c) 2004-2005 The Trustees of Indiana University.
|
|
|
|
# All rights reserved.
|
|
|
|
# Copyright (c) 2004-2005 The Trustees of the University of Tennessee.
|
|
|
|
# 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-07 15:02:21 +00:00
|
|
|
# $HEADER$
|
|
|
|
#
|
2003-12-22 16:29:21 +00:00
|
|
|
|
|
|
|
include $(top_srcdir)/config/Makefile.options
|
|
|
|
|
2004-01-08 15:49:20 +00:00
|
|
|
noinst_LTLIBRARIES = libthreads.la
|
2003-12-22 16:29:21 +00:00
|
|
|
|
2004-01-08 21:43:53 +00:00
|
|
|
# Source code files
|
|
|
|
|
|
|
|
headers = \
|
2005-07-02 14:08:19 +00:00
|
|
|
condition.h \
|
|
|
|
mutex.h \
|
|
|
|
mutex_unix.h \
|
|
|
|
mutex_windows.h \
|
2005-08-15 15:29:15 +00:00
|
|
|
threads.h
|
2004-01-08 21:43:53 +00:00
|
|
|
|
|
|
|
libthreads_la_SOURCES = \
|
2005-07-02 14:08:19 +00:00
|
|
|
$(headers) \
|
|
|
|
condition.c \
|
|
|
|
mutex.c \
|
|
|
|
thread.c
|
2004-01-08 21:43:53 +00:00
|
|
|
|
|
|
|
# Conditionally install the header files
|
|
|
|
|
|
|
|
if WANT_INSTALL_HEADERS
|
2005-07-02 14:08:19 +00:00
|
|
|
ompidir = $(includedir)/openmpi/opal/threads
|
2004-06-07 15:33:53 +00:00
|
|
|
ompi_HEADERS = $(headers)
|
2004-01-08 21:43:53 +00:00
|
|
|
else
|
2004-06-07 15:33:53 +00:00
|
|
|
ompidir = $(includedir)
|
2004-01-08 21:43:53 +00:00
|
|
|
endif
|