## Process this file with automake to create Makefile.in # Makefile for PFFT. LIBTOOL_DEPS = @LIBTOOL_DEPS@ libtool: $(LIBTOOL_DEPS) $(SHELL) ./config.status --recheck # Let aclocal find the add-on macros. ACLOCAL_AMFLAGS = -I m4 # pass location of FFTW to make distcheck AM_DISTCHECK_CONFIGURE_FLAGS = \ "CPPFLAGS=@CPPFLAGS@" \ "LDFLAGS=@LDFLAGS@" # Traverse these subdirectories, the current one first (for config.h). SUBDIRS = fftw3 kernel gcell util api . if ENABLE_TESTS SUBDIRS += tests endif if ENABLE_DOC SUBDIRS += doc endif EXTRA_DIST = bootstrap.sh CONVENTIONS pfft.pc.in # Libraries that are built and installed. # set library name according to precision if ENABLE_LIBRARY_INSTALL lib_LTLIBRARIES = lib@PFFT_PREFIX@pfft@PREC_SUFFIX@@OPENMP_SUFFIX@.la else noinst_LTLIBRARIES = lib@PFFT_PREFIX@pfft@PREC_SUFFIX@@OPENMP_SUFFIX@.la endif # Libtool convenience libraries. lib@PFFT_PREFIX@pfft@PREC_SUFFIX@@OPENMP_SUFFIX@_la_SOURCES = lib@PFFT_PREFIX@pfft@PREC_SUFFIX@@OPENMP_SUFFIX@_la_LIBADD = \ kernel/libkernel.la \ util/libutil.la \ api/libapi.la \ gcell/libgcell.la lib@PFFT_PREFIX@pfft@PREC_SUFFIX@@OPENMP_SUFFIX@_la_LDFLAGS = -no-undefined -version-info @SHARED_VERSION_INFO@ lib@PFFT_PREFIX@pfft@PREC_SUFFIX@@OPENMP_SUFFIX@_la_CFLAGS = $(OPENMP_CFLAGS) -I $(top_srcdir)/mpi -I $(top_srcdir)/api # Get Fortran compile rules that include preprocessing. include $(top_srcdir)/build-aux/fortran-rules.am pfft1@PREC_SUFFIX@@OPENMP_SUFFIX@.pc: pfft.pc cp -f pfft.pc pfft1@PREC_SUFFIX@@OPENMP_SUFFIX@.pc DISTCHECK_CONFIGURE_FLAGS=--disable-shared --disable-doc --enable-mpi --enable-fortran ################################################################# # Documentation ################################################################# if ENABLE_DOC .PHONY: FORCE doc manual doc manual: FORCE cd doc; $(MAKE) --print-directory $@ FORCE: endif