forked from FFTW/fftw3
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile.am
30 lines (26 loc) · 966 Bytes
/
Makefile.am
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
AM_CPPFLAGS = -I $(top_srcdir)
bin_SCRIPTS = fftw-wisdom-to-conf
bin_PROGRAMS = fftw@PREC_SUFFIX@-wisdom
BUILT_SOURCES = fftw-wisdom-to-conf fftw@[email protected]
EXTRA_DIST = fftw-wisdom-to-conf.in
dist_man_MANS = fftw-wisdom-to-conf.1 fftw@[email protected]
EXTRA_MANS = fftw_wisdom.1.in
fftw@[email protected]: fftw_wisdom.1
rm -f $@
cp fftw_wisdom.1 $@
if THREADS
fftw@PREC_SUFFIX@_wisdom_CFLAGS = $(PTHREAD_CFLAGS)
if !COMBINED_THREADS
LIBFFTWTHREADS = $(top_builddir)/threads/libfftw3@PREC_SUFFIX@_threads.la
endif
else
if OPENMP
fftw@PREC_SUFFIX@_wisdom_CFLAGS = $(OPENMP_CFLAGS)
LIBFFTWTHREADS = $(top_builddir)/threads/libfftw3@PREC_SUFFIX@_omp.la
endif
endif
fftw@PREC_SUFFIX@_wisdom_SOURCES = fftw-wisdom.c
fftw@PREC_SUFFIX@_wisdom_LDADD = $(top_builddir)/tests/bench-bench.o \
$(top_builddir)/tests/bench-fftw-bench.o $(LIBFFTWTHREADS) \
$(top_builddir)/libfftw3@[email protected] \
$(top_builddir)/libbench2/libbench2.a $(THREADLIBS)