# -*- makefile -*- # # $Id: Makefile.am,v 1.17 2001/01/10 14:18:48 jsquyres Exp $ # # This file is part of the LAM/MPI software package from the # University of Notre Dame. # # See the LICENSE file in the top-level directory for Copyright notices. # AUTOMAKE_OPTIONS = foreign dist-tarZ no-dependencies if WANT_IMPI_BUILD impi_lib = impi/liblamimpi.la else impi_lib = endif SUBDIRS = include args boot etc freq kreq impi mpi nreq pmpi rpi rreq trillium tstdio # Note that mpi/liblamextra.la gets built into both liblam.la and # libmpi.la. This extra library contains a few routines that are used # in both libraries, and avoids a dependency from liblam -> libmpi # (dependencies the other way are ok). lib_LTLIBRARIES = liblam.la libmpi.la liblam_la_SOURCES = liblam_la_LIBADD = \ args/liblamargs.la \ boot/liblamboot.la \ etc/liblametc.la \ freq/liblamfreq.la \ kreq/liblamkreq.la \ mpi/liblamextra.la \ nreq/liblamnreq.la \ rreq/liblamrreq.la \ trillium/liblamtrillium.la \ tstdio/liblamtstdio.la # We need the RPI and MPI symbols to be in the same library, because # the RPI stuff calls the underlying progress engine, which is # [currently] in the share/mpi directory. libmpi_la_SOURCES = libmpi_la_LIBADD = \ mpi/libmpi.la \ mpi/liblamextra.la \ rpi/liblamrpi.la $(impi_lib) # Without a C program of some sort, automake won't include the rule to # define the LINK expression. This is promised to be fixed in # automake 1.5. When this happens, we can ditch both this section of # this file as well as the file automake_bogosity.c. noinst_PROGRAMS = automake_bogosity automake_bogosity_SOURCES = automake_bogosity.c include $(top_srcdir)/Makefile.depend