-
Notifications
You must be signed in to change notification settings - Fork 7
/
config.mk.in
140 lines (127 loc) · 3.52 KB
/
config.mk.in
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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
#
# Copyright (c) 2013 Stefan Seefeld
# All rights reserved.
#
# This file is part of OpenVSIP. It is made available under the
# license contained in the accompanying LICENSE.BSD file.
#
# Common variables used throughout the build system
host:=@host@
build_os:=@build_os@
### Installation ###
PACKAGE_TARNAME := @PACKAGE_TARNAME@
INSTALL := @INSTALL@
INSTALL_DATA := @INSTALL_DATA@
INSTALL_SCRIPT := @INSTALL_SCRIPT@
INSTALL_PROGRAM := @INSTALL_PROGRAM@
distname:= $(PACKAGE_TARNAME)
distfiles:= $(wildcard $(srcdir)/*)
variant := @variant@
# Order matters for the various directory variables, as autoconf makes some
# of the variables depend on the values of others.
prefix := @prefix@
exec_prefix := @exec_prefix@
datarootdir := @datarootdir@
datadir := @datadir@
includedir := @includedir@
libdir := @libdir@
sbindir := @sbindir@
bindir := @bindir@
docdir := @docdir@
htmldir := @htmldir@
pdfdir := @pdfdir@
# The directory for putting build-variant-specific executables.
variant_bindir := $(bindir)
# The directory for putting data that is specific to this package.
# This is not a standard variable name.
pkgdatadir := $(datadir)/$(PACKAGE_TARNAME)
cygwin_mount :=@cygwin_mount@
### Compilation ###
# Are we using the intel-win toolchain ?
INTEL_WIN := @INTEL_WIN@
# Are we using the ti-cl6x toolchain ?
TI_CL6X := @TI_CL6X@
# The path to the archiver.
AR := @AR@
# The path to the C compiler.
CC := @CC@
# The path to the C++ compiler.
CXX := @CXX@
# The dependency generator.
CCDEP := @CCDEP@
# The dependency generator.
CXXDEP := @CXXDEP@
# The DSO linker.
LDSHARED:= @LDSHARED@
# The strip executable.
ifeq ($(findstring darwin, $(build_os)),)
STRIP:= @STRIP@ --strip-unneeded
else
STRIP:= @STRIP@ -x
endif
# Preprocessor flags.
CPPFLAGS := @CPPFLAGS@ @MPI_CPPFLAGS@
# C compilation flags.
CFLAGS := @CFLAGS@
# C compilation flags for library files.
CFLAGS_LIB := @CFLAGS@ @CFLAGS_LIB@
# C++ compilation flags.
CXXFLAGS := @CXXFLAGS@
# C++ compilation flags for library files.
CXXFLAGS_LIB := @CXXFLAGS@ @CXXFLAGS_LIB@
# The extension for executable programs.
EXEEXT := @EXEEXT@
# Linker flags.
LDFLAGS := @LDFLAGS@
# Libraries to link to.
LIBS := @LIBS@
# Libraries to link to for parallel API.
MPI_LIBS := @MPI_LIBS@
# The extension for object files.
OBJEXT := @OBJEXT@
# The extension for archives.
LIBEXT := @LIBEXT@
# The QMTest command to use for testing.
QMTEST := @QMTEST@
# OVXX library name
OVXXLIB := @OVXXLIB@
enable_shared_libs := @enable_shared_libs@
enable_cvsip_bindings := @enable_cvsip_bindings@
enable_python_bindings := @enable_python_bindings@
### Third-party package availability ###
have_opencl := @OVXX_HAVE_OPENCL@
have_cuda := @OVXX_HAVE_CUDA@
have_mkl_vml := @OVXX_HAVE_MKL_VML@
have_ipp := @OVXX_HAVE_IPP@
have_sal := @OVXX_HAVE_SAL@
have_blas := @OVXX_HAVE_BLAS@
have_lapack := @OVXX_HAVE_LAPACK@
have_mpi := @OVXX_HAVE_MPI@
have_cvsip := @OVXX_HAVE_CVSIP@
have_huge_page_pool := @OVXX_HAVE_HUGE_PAGE_POOL@
sal_fft := @OVXX_SAL_FFT@
ipp_fft := @OVXX_IPP_FFT@
fftw := @OVXX_FFTW@
cvsip_fft := @OVXX_CVSIP_FFT@
cuda_fft := @OVXX_CUDA_FFT@
have_png := @OVXX_HAVE_PNG@
enable_threading := @OVXX_ENABLE_THREADING@
BOOST_CPPFLAGS := @BOOST_CPPFLAGS@
BOOST_LDFLAGS := @BOOST_LDFLAGS@
BOOST_LIBS := @BOOST_LIBS@
PYTHON_CPPFLAGS := @PYTHON_CPPFLAGS@
PYTHON_LIBS := @PYTHON_LIBS@
PYTHON := @PYTHON@
PYTHON_EXT := @PYTHON_EXT@
ifdef have_mpi
enable_parallel := 1
endif
ifdef variant
acconfig := config-$(variant).hpp
variant_def := -DOVXX_VARIANT=$(variant)
pkgconfig := ovxx-$(variant).pc
else
acconfig := config.hpp
variant_def :=
pkgconfig := ovxx.pc
endif