1#
2# Copyright (c) 2004-2007 The Trustees of Indiana University and Indiana
3#                         University Research and Technology
4#                         Corporation.  All rights reserved.
5# Copyright (c) 2004-2005 The University of Tennessee and The University
6#                         of Tennessee Research Foundation.  All rights
7#                         reserved.
8# Copyright (c) 2004-2005 High Performance Computing Center Stuttgart,
9#                         University of Stuttgart.  All rights reserved.
10# Copyright (c) 2004-2005 The Regents of the University of California.
11#                         All rights reserved.
12# Copyright (c) 2008      Sun Microsystems, Inc.  All rights reserved.
13# Copyright (c) 2008-2014 Cisco Systems, Inc.  All rights reserved.
14# $COPYRIGHT$
15#
16# Additional copyrights may follow
17#
18# $HEADER$
19#
20
21include $(top_srcdir)/Makefile.ompi-rules
22
23# main library setup
24noinst_LTLIBRARIES = libmca_crs.la
25libmca_crs_la_SOURCES =
26
27# local files
28headers = crs.h
29libmca_crs_la_SOURCES += $(headers)
30
31# Manual pages
32nodist_man_MANS = opal_crs.7
33EXTRA_DIST = $(nodist_man_MANS:.7=.7in)
34
35# Ensure that the man pages are rebuilt if the opal_config.h file
36# changes; a "good enough" way to know if configure was run again (and
37# therefore the release date or version may have changed)
38$(nodist_man_MANS): $(top_builddir)/opal/include/opal_config.h
39
40# Conditionally install the header files
41if WANT_INSTALL_HEADERS
42opaldir = $(opalincludedir)/$(subdir)
43nobase_opal_HEADERS = $(headers)
44endif
45
46include base/Makefile.am
47
48distclean-local:
49	rm -f base/static-components.h
50	rm -f $(nodist_man_MANS)
51