13d86e100b
Continue the reorganization of the configure system. Move files from the main config directory to their appropriate level-specific config directories. Modify the configure system to correctly handle compiler detection, test, and setup so that all things pertaining to opal and orte are done at the lower level, with the ompi configure system only looking at mpi-specific options. Ensure the wrapper compilers for orte and ompi only get built when appropriate. Add support for c++ to the orte wrapper compilers, both script and non-script versions. This commit was SVN r22138.
77 строки
2.6 KiB
Makefile
77 строки
2.6 KiB
Makefile
#
|
|
# 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-2009 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 (c) 2008 Cisco Systems, Inc. All rights reserved.
|
|
# $COPYRIGHT$
|
|
#
|
|
# Additional copyrights may follow
|
|
#
|
|
# $HEADER$
|
|
#
|
|
|
|
|
|
# OMPI Get the dirs where ompi_config.h and ompi_config_bottom.h live.
|
|
# Also specify where we can find this package's config.h because some
|
|
# of the header files in this directory get included elsewhere in OMPI.
|
|
# #@%@#$...
|
|
AM_CPPFLAGS = \
|
|
-I$(top_srcdir)/opal/event/compat
|
|
|
|
# OMPI: No need to build the sample or test
|
|
#SUBDIRS = . sample test
|
|
SUBDIRS = compat
|
|
|
|
EXTRA_DIST = event.h event-internal.h evsignal.h event.3 \
|
|
kqueue.c epoll_sub.c epoll.c select.c poll.c signal.c \
|
|
devpoll.c evport.c log.h\
|
|
WIN32-Code/config.h WIN32-Code/misc.c \
|
|
WIN32-Code/misc.h WIN32-Code/win32.c \
|
|
WIN32-Code/tree.h CMakeLists.txt \
|
|
WIN32-Code/CMakeLists.txt
|
|
|
|
# OMPI: This causes problems
|
|
junk = \
|
|
sample/Makefile.am sample/Makefile.in sample/event-test.c \
|
|
sample/signal-test.c sample/time-test.c \
|
|
test/Makefile.am test/Makefile.in test/bench.c test/regress.c \
|
|
test/test-eof.c test/test-weof.c test/test-time.c \
|
|
test/test-init.c test/test.sh \
|
|
compat/sys/queue.h compat/sys/tree.h compat/sys/_time.h \
|
|
WIN32-Code WIN32-Code/config.h WIN32-Code/misc.c \
|
|
WIN32-Code/win32.c WIN32-Code/misc.h \
|
|
WIN32-Prj/event_test/event_test.dsp \
|
|
WIN32-Prj/event_test/test.txt WIN32-Prj/libevent.dsp \
|
|
WIN32-Prj/libevent.dsw WIN32-Prj/signal_test/signal_test.dsp \
|
|
WIN32-Prj/time_test WIN32-Prj/time_test/time_test.dsp
|
|
|
|
# OMPI: Changed to noinst and libevent.la
|
|
noinst_LTLIBRARIES = libevent.la
|
|
|
|
# OMPI: Automake sillyness so that we can have variable sources
|
|
objects = $(OPAL_LIBEVENT_SOURCES:.c=.lo)
|
|
|
|
# OMPI: Changed to libevent_la_*
|
|
headers = event.h event_rename.h evutil.h min_heap.h
|
|
|
|
libevent_la_SOURCES = event.c log.c evutil.c $(headers)
|
|
libevent_la_LIBADD = $(objects)
|
|
libevent_la_DEPENDENCIES = $(objects)
|
|
|
|
if WANT_INSTALL_HEADERS
|
|
ompidir = $(includedir)/openmpi/opal/event
|
|
ompi_HEADERS = $(headers)
|
|
else
|
|
ompidir = $(includedir)
|
|
endif
|
|
|
|
verify: libevent.la
|
|
cd $(srcdir)/test && make verify
|