1#
2# Copyright (c) 2004-2005 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) 2014      Cisco Systems, Inc.  All rights reserved.
14# Copyright (c) 2014-2018 Intel, Inc.  All rights reserved.
15# Copyright (c) 2016      Research Organization for Information Science
16#                         and Technology (RIST). All rights reserved.
17# $COPYRIGHT$
18#
19# Additional copyrights may follow
20#
21# $HEADER$
22#
23
24# This makefile.am does not stand on its own - it is included from orte/Makefile.am
25
26include $(top_srcdir)/Makefile.ompi-rules
27
28dist_ortedata_DATA += util/hostfile/help-hostfile.txt \
29                     util/dash_host/help-dash-host.txt \
30                     util/help-regex.txt
31
32nodist_man_MANS = util/hostfile/orte_hosts.7
33
34# We are using $(am_dirstamp) instead of creating our own dirstamp since there
35# is src code in util/hostfile directory is created.  The automake process
36# creates the $(am_dirstamp), we found the use of this in the generated Makefile
37# in the util/Makefile
38$(nodist_man_MANS): util/hostfile/$(am__dirstamp) $(top_builddir)/opal/include/opal_config.h
39
40EXTRA_DIST += $(nodist_man_MANS:.7=.7in)
41
42AM_LFLAGS = -Porte_util_hostfile_
43LEX_OUTPUT_ROOT = lex.orte_util_hostfile_
44
45headers += \
46        util/name_fns.h \
47        util/proc_info.h \
48        util/session_dir.h \
49        util/show_help.h \
50        util/error_strings.h \
51        util/context_fns.h \
52        util/parse_options.h \
53        util/pre_condition_transports.h \
54        util/hnp_contact.h \
55        util/hostfile/hostfile.h \
56        util/hostfile/hostfile_lex.h \
57        util/dash_host/dash_host.h \
58        util/comm/comm.h \
59        util/attr.h \
60        util/listener.h \
61        util/compress.h \
62        util/threads.h
63
64lib@ORTE_LIB_PREFIX@open_rte_la_SOURCES += \
65        util/error_strings.c \
66        util/name_fns.c \
67        util/proc_info.c \
68        util/session_dir.c \
69        util/show_help.c \
70        util/context_fns.c \
71        util/parse_options.c \
72        util/pre_condition_transports.c \
73        util/hnp_contact.c \
74        util/hostfile/hostfile_lex.l \
75        util/hostfile/hostfile.c \
76        util/dash_host/dash_host.c \
77        util/comm/comm.c \
78        util/attr.c \
79        util/listener.c \
80        util/compress.c
81
82# Remove the generated man pages
83distclean-local:
84	rm -f $(nodist_man_MANS)
85
86maintainer-clean-local:
87	rm -f util/hostfile/hostfile_lex.c
88