1# Makefile for mpi/pmi2 plugin
2
3AUTOMAKE_OPTIONS = foreign
4
5PLUGIN_FLAGS = -module -avoid-version --export-dynamic
6
7AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/src/common
8
9pkglib_LTLIBRARIES = mpi_pmi2.la
10
11mpi_pmi2_la_SOURCES = mpi_pmi2.c \
12	agent.c agent.h \
13	client.c client.h \
14	kvs.c kvs.h \
15	info.c info.h \
16	pmi1.c pmi2.c pmi.h \
17	setup.c setup.h \
18	spawn.c spawn.h \
19	tree.c tree.h \
20	nameserv.c nameserv.h \
21	ring.c ring.h
22
23mpi_pmi2_la_LDFLAGS = $(PLUGIN_FLAGS)
24
25mpi_pmi2_la_LIBADD = \
26	$(top_builddir)/src/slurmd/common/libslurmd_reverse_tree_math.la
27
28force:
29
30$(mpi_pmi2_la_LIBADD) : force
31	@cd `dirname $@` && $(MAKE) `basename $@`
32