-
Notifications
You must be signed in to change notification settings - Fork 25
Expand file tree
/
Copy pathMakefile.am
More file actions
69 lines (52 loc) · 1.81 KB
/
Makefile.am
File metadata and controls
69 lines (52 loc) · 1.81 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
## 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 = 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)
# 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
# Install pkg-config file in correct location.
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = pfft.pc
#################################################################
# Documentation
#################################################################
if ENABLE_DOC
.PHONY: FORCE doc manual
doc manual: FORCE
cd doc; $(MAKE) --print-directory $@
FORCE:
endif