1##
2## Copyright (C) by Argonne National Laboratory
3##     See COPYRIGHT in top-level directory
4##
5
6# util comes first, sets some variables that may be used by each process
7# manager's Makefile.mk
8include $(top_srcdir)/src/pm/util/Makefile.mk
9
10include $(top_srcdir)/src/pm/gforker/Makefile.mk
11include $(top_srcdir)/src/pm/remshell/Makefile.mk
12
13## a note about DIST_SUBDIRS:
14## We conditionally add DIST_SUBDIRS entries because we conditionally configure
15## these subdirectories.  See the automake manual's "Unconfigured
16## Subdirectories" section, which lists this rule: "Any directory listed in
17## DIST_SUBDIRS and SUBDIRS must be configured."
18##
19## The implication for "make dist" and friends is that we should only "make
20## dist" in a tree that has been configured to enable to directories that we
21## want to distribute.  Because of this, we will probably need to continue using
22## the release.pl script because various SUBDIRS are incompatible with each
23## other.
24
25# has its own full automake setup, not Makefile.mk
26if BUILD_PM_HYDRA
27SUBDIRS += src/pm/hydra
28DIST_SUBDIRS += src/pm/hydra
29MANDOC_SUBDIRS += src/pm/hydra
30endif BUILD_PM_HYDRA
31
32# has its own full automake setup, not Makefile.mk
33if BUILD_PM_HYDRA2
34SUBDIRS += src/pm/hydra2
35DIST_SUBDIRS += src/pm/hydra2
36MANDOC_SUBDIRS += src/pm/hydra2
37endif BUILD_PM_HYDRA2
38