include $(top_srcdir)/common.mk

noinst_LTLIBRARIES = libspml_et_mpi_module.la
libspml_et_mpi_module_la_SOURCES = et_mpi_module.f90

et_mpi_module.lo :\
	$(top_builddir)/libsrc/lumatrix/libspml_lumatrix.la \
	$(top_builddir)/libsrc/ae_module/libspml_ae_module.la \
	$(top_builddir)/libsrc/at_module/libspml_at_module.la

$(top_builddir)/libsrc/lumatrix/libspml_lumatrix.la:
	@if test -z "$(IS_PARENT_BUILD)"; then \
	    $(MAKE) -C $(@D) $(@F); \
	fi

