Build: Fix OSX build issues.
[asterisk/asterisk.git] / makeopts.in
1 # NOTE: Names of _INCLUDE and _LIB entries in this file must be
2 #       the exact uppercase equivalents of the names used for
3 #       dependencies in menuselect for the same package.
4
5 CC=@PTHREAD_CC@
6 HOST_CC=cc
7 BUILD_CC=cc
8 CXX=@CXX@
9
10 INSTALL=@INSTALL@
11 AWK=@AWK@
12 BISON=@BISON@
13 FLEX=@FLEX@
14 GREP=@GREP@
15 PYTHON=@PYTHON@
16 MAKE=@GNU_MAKE@
17 AR=@AR@
18 RANLIB=@RANLIB@
19 FIND=@FIND@
20 COMPRESS=@COMPRESS@
21 BASENAME=@BASENAME@
22 SHELL=@SHELL@
23 LN=@LN@
24 DOXYGEN=@DOXYGEN@
25 DOT=@DOT@
26 STRIP=@STRIP@
27 WGET=@WGET@
28 FETCH=@FETCH@
29 DOWNLOAD=@DOWNLOAD@
30 DOWNLOAD_TO_STDOUT=@DOWNLOAD_TO_STDOUT@
31 DOWNLOAD_TIMEOUT=@DOWNLOAD_TIMEOUT@
32 AST_DOWNLOAD_CACHE=@AST_DOWNLOAD_CACHE@
33 SOUNDS_CACHE_DIR=$(or @SOUNDS_CACHE_DIR@,${AST_DOWNLOAD_CACHE})
34 EXTERNALS_CACHE_DIR=$(or @EXTERNALS_CACHE_DIR@,${AST_DOWNLOAD_CACHE})
35 RUBBER=@RUBBER@
36 CATDVI=@CATDVI@
37 KPATHSEA=@KPATHSEA@
38 XMLLINT=@XMLLINT@
39 XMLSTARLET=@XMLSTARLET@
40 BASH=@BASH@
41 MD5=@MD5@
42 SHA1SUM=@SHA1SUM@
43 OPENSSL=@OPENSSL@
44 LDCONFIG=@LDCONFIG@
45 GIT=@GIT@
46 ALEMBIC=@ALEMBIC@
47 TAR=@TAR@
48 PATCH=@PATCH@
49 SED=@SED@
50 NM=@NM@
51 CAT=@CAT@
52 CUT=@CUT@
53
54 BUILD_PLATFORM=@BUILD_PLATFORM@
55 BUILD_CPU=@BUILD_CPU@
56 BUILD_VENDOR=@BUILD_VENDOR@
57 BUILD_OS=@BUILD_OS@
58
59 HOST_PLATFORM=@HOST_PLATFORM@
60 HOST_CPU=@HOST_CPU@
61 HOST_VENDOR=@HOST_VENDOR@
62 HOST_OS=@HOST_OS@
63
64 OSARCH=@OSARCH@
65 OSREV=@PBX_OSREV@
66
67 BIND8_CFLAGS=@BIND8_CFLAGS@
68
69 PTHREAD_CFLAGS=@PTHREAD_CFLAGS@
70 PTHREAD_LIBS=@PTHREAD_LIBS@
71
72 CONFIG_CFLAGS=@CONFIG_CFLAGS@
73 CONFIG_LDFLAGS=@CONFIG_LDFLAGS@
74 CONFIG_SIGNED_CHAR=@CONFIG_SIGNED_CHAR@
75
76 GNU_LD=@GNU_LD@
77 WEAKREF=@PBX_WEAKREF@
78 HAVE_DYNAMIC_LIST=@PBX_DYNAMIC_LIST@
79
80 prefix = @prefix@
81 exec_prefix = @exec_prefix@
82
83 datarootdir = @datarootdir@
84 datadir = @datadir@
85 includedir = @includedir@
86 infodir = @infodir@
87 libdir = @libdir@
88 libexecdir = @libexecdir@
89 localstatedir = @localstatedir@
90 mandir = @mandir@
91 sbindir = @sbindir@
92 sharedstatedir = @sharedstatedir@
93 sysconfdir = @sysconfdir@
94
95 ASTSBINDIR = @astsbindir@
96 ASTETCDIR = @astetcdir@
97 ASTHEADERDIR = @astheaderdir@
98 ASTLIBDIR = @astlibdir@
99 ASTMODDIR = @astmoddir@
100 ASTMANDIR = @astmandir@
101 astvarlibdir = @astvarlibdir@
102 ASTVARLIBDIR = @astvarlibdir@
103 ASTDATADIR = @astdatadir@
104 ASTDBDIR = @astdbdir@
105 ASTKEYDIR = @astkeydir@
106 ASTSPOOLDIR = @astspooldir@
107 ASTLOGDIR = @astlogdir@
108 ASTVARRUNDIR = @astvarrundir@
109
110 AST_DEVMODE=@AST_DEVMODE@
111 AST_DEVMODE_STRICT=@AST_DEVMODE_STRICT@
112 DISABLE_XMLDOC=@DISABLE_XMLDOC@
113 NOISY_BUILD=@NOISY_BUILD@
114
115 AST_CODE_COVERAGE=@AST_CODE_COVERAGE@
116
117 AST_ASTERISKSSL=@AST_ASTERISKSSL@
118
119 AST_DECLARATION_AFTER_STATEMENT=@AST_DECLARATION_AFTER_STATEMENT@
120 AST_TRAMPOLINES=@AST_TRAMPOLINES@
121 AST_NO_STRICT_OVERFLOW=@AST_NO_STRICT_OVERFLOW@
122 AST_NO_FORMAT_TRUNCATION=@AST_NO_FORMAT_TRUNCATION@
123 AST_SHADOW_WARNINGS=@AST_SHADOW_WARNINGS@
124 AST_NESTED_FUNCTIONS=@AST_NESTED_FUNCTIONS@
125 AST_CLANG_BLOCKS=@AST_CLANG_BLOCKS@
126 AST_CLANG_BLOCKS_LIBS=@AST_CLANG_BLOCKS_LIBS@
127 C_COMPILER_FAMILY=@AST_C_COMPILER_FAMILY@
128 AST_RPATH=@AST_RPATH@
129 AST_FORTIFY_SOURCE=@AST_FORTIFY_SOURCE@
130 AST_MARCH_NATIVE=@AST_MARCH_NATIVE@
131
132 ALSA_INCLUDE=@ALSA_INCLUDE@
133 ALSA_LIB=@ALSA_LIB@
134
135 BFD_INCLUDE=@BFD_INCLUDE@
136 BFD_LIB=@BFD_LIB@
137
138 BLUETOOTH_INCLUDE=@BLUETOOTH_INCLUDE@
139 BLUETOOTH_LIB=@BLUETOOTH_LIB@
140
141 CODEC2_INCLUDE=@CODEC2_INCLUDE@
142 CODEC2_LIB=@CODEC2_LIB@
143
144 CURL_INCLUDE=@CURL_INCLUDE@
145 CURL_LIB=@CURL_LIB@
146
147 CURSES_INCLUDE=@CURSES_INCLUDE@
148 CURSES_LIB=@CURSES_LIB@
149 CURSES_DIR=@CURSES_DIR@
150
151 EDITLINE_LIB=@EDITLINE_LIB@
152
153 FREETDS_INCLUDE=@FREETDS_INCLUDE@
154 FREETDS_LIB=@FREETDS_LIB@
155
156 GENERIC_ODBC_INCLUDE=@GENERIC_ODBC_INCLUDE@
157 GENERIC_ODBC_LIB=@GENERIC_ODBC_LIB@
158
159 GMIME_INCLUDE=@GMIME_INCLUDE@
160 GMIME_LIB=@GMIME_LIB@
161
162 HOARD_LIB=@HOARD_LIB@
163
164 GSM_INTERNAL=@GSM_INTERNAL@
165 GSM_INCLUDE=@GSM_INCLUDE@
166 GSM_LIB=@GSM_LIB@
167
168 ILBC_INTERNAL=@ILBC_INTERNAL@
169 ILBC_INCLUDE=@ILBC_INCLUDE@
170 ILBC_LIB=@ILBC_LIB@
171
172 GTK2_INCLUDE=@GTK2_INCLUDE@
173 GTK2_LIB=@GTK2_LIB@
174
175 ICAL_INCLUDE=@ICAL_INCLUDE@
176 ICAL_LIB=@ICAL_LIB@
177
178 ICONV_INCLUDE=@ICONV_INCLUDE@
179 ICONV_LIB=@ICONV_LIB@
180
181 IKSEMEL_INCLUDE=@IKSEMEL_INCLUDE@
182 IKSEMEL_LIB=@IKSEMEL_LIB@
183
184 IMAP_TK_INCLUDE=@IMAP_TK_INCLUDE@
185 IMAP_TK_LIB=@IMAP_TK_LIB@
186
187 IODBC_INCLUDE=@IODBC_INCLUDE@
188 IODBC_LIB=@IODBC_LIB@
189
190 JACK_INCLUDE=@JACK_INCLUDE@
191 JACK_LIB=@JACK_LIB@
192
193 JANSSON_INCLUDE=@JANSSON_INCLUDE@
194 JANSSON_LIB=@JANSSON_LIB@
195
196 URIPARSER_INCLUDE=@URIPARSER_INCLUDE@
197 URIPARSER_LIB=@URIPARSER_LIB@
198
199 LDAP_INCLUDE=@LDAP_INCLUDE@
200 LDAP_LIB=@LDAP_LIB@
201
202 LIBEDIT_INTERNAL=@LIBEDIT_INTERNAL@
203 LIBEDIT_INCLUDE=@LIBEDIT_INCLUDE@
204 LIBEDIT_LIB=@LIBEDIT_LIB@
205
206 LUA_INCLUDE=@LUA_INCLUDE@
207 LUA_LIB=@LUA_LIB@
208
209 MYSQLCLIENT_INCLUDE=@MYSQLCLIENT_INCLUDE@
210 MYSQLCLIENT_LIB=@MYSQLCLIENT_LIB@
211
212 NBS_INCLUDE=@NBS_INCLUDE@
213 NBS_LIB=@NBS_LIB@
214
215 NCURSES_INCLUDE=@NCURSES_INCLUDE@
216 NCURSES_LIB=@NCURSES_LIB@
217 NCURSES_DIR=@NCURSES_DIR@
218
219 NEON_INCLUDE=@NEON_INCLUDE@
220 NEON_LIB=@NEON_LIB@
221 NEON29_INCLUDE=@NEON_INCLUDE@
222 NEON29_LIB=@NEON_LIB@
223
224 NETSNMP_INCLUDE=@NETSNMP_INCLUDE@
225 NETSNMP_LIB=@NETSNMP_LIB@
226
227 NEWT_INCLUDE=@NEWT_INCLUDE@
228 NEWT_LIB=@NEWT_LIB@
229
230 OGG_INCLUDE=@OGG_INCLUDE@
231 OGG_LIB=@OGG_LIB@
232
233 OPUS_INCLUDE=@OPUS_INCLUDE@
234 OPUS_LIB=@OPUS_LIB@
235
236 OPUSFILE_INCLUDE=@OPUSFILE_INCLUDE@
237 OPUSFILE_LIB=@OPUSFILE_LIB@
238
239 OSPTK_INCLUDE=@OSPTK_INCLUDE@
240 OSPTK_LIB=@OSPTK_LIB@
241
242 # ossaudio can optionally use ffmpeg, x11, sdl and sdl_image.
243 # Because sdl_image in turn depends on sdl, we don't duplicate the include
244 OSS_INCLUDE=@OSS_INCLUDE@ @FFMPEG_INCLUDE@ @SDL_INCLUDE@ @X11_INCLUDE@
245 OSS_LIB=@OSS_LIB@ @FFMPEG_LIB@ @SDL_LIB@ @SDL_IMAGE_LIB@ @X11_LIB@
246
247 PGSQL_INCLUDE=@PGSQL_INCLUDE@
248 PGSQL_LIB=@PGSQL_LIB@
249
250 PJPROJECT_BUNDLED=@PJPROJECT_BUNDLED@
251 PJPROJECT_INCLUDE=@PJPROJECT_INCLUDE@
252 PJPROJECT_LIB=@PJPROJECT_LIB@
253 PJPROJECT_DIR=@PJPROJECT_DIR@
254
255 POPT_INCLUDE=@POPT_INCLUDE@
256 POPT_LIB=@POPT_LIB@
257
258 PORTAUDIO_INCLUDE=@PORTAUDIO_INCLUDE@
259 PORTAUDIO_LIB=@PORTAUDIO_LIB@
260
261 PRI_INCLUDE=@PRI_INCLUDE@
262 PRI_LIB=@PRI_LIB@
263
264 PYTHONDEV_INCLUDE=@PYTHONDEV_INCLUDE@
265 PYTHONDEV_LIB=@PYTHONDEV_LIB@
266
267 RESAMPLE_INCLUDE=@RESAMPLE_INCLUDE@
268 RESAMPLE_LIB=@RESAMPLE_LIB@
269
270 FFTW3_INCLUDE=@FFTW3_INCLUDE@
271 FFTW3_LIB=@FFTW3_LIB@
272
273 RT_LIB=@RT_LIB@
274
275 SS7_INCLUDE=@SS7_INCLUDE@
276 SS7_LIB=@SS7_LIB@
277
278 HAVE_SYSTEMD=@PBX_SYSTEMD@
279 SYSTEMD_INCLUDE=@SYSTEMD_INCLUDE@
280 SYSTEMD_LIB=@SYSTEMD_LIB@
281
282 OPENR2_INCLUDE=@OPENR2_INCLUDE@
283 OPENR2_LIB=@OPENR2_LIB@
284
285 PWLIB_INCLUDE=@PWLIB_INCLUDE@
286 PWLIB_LIB=@PWLIB_LIB@
287
288 COROSYNC_INCLUDE=@COROSYNC_INCLUDE@
289 COROSYNC_LIB=@COROSYNC_LIB@
290
291 RADIUS_INCLUDE=@RADIUS_INCLUDE@
292 RADIUS_LIB=@RADIUS_LIB@
293
294 FFMPEG_INCLUDE=@FFMPEG_INCLUDE@
295 FFMPEG_LIB=@FFMPEG_LIB@
296
297 X11_INCLUDE=@X11_INCLUDE@
298 X11_LIB=@X11_LIB@
299
300 SDL_INCLUDE=@SDL_INCLUDE@
301 SDL_LIB=@SDL_LIB@
302
303 SDL_IMAGE_INCLUDE=@SDL_IMAGE_INCLUDE@
304 SDL_IMAGE_LIB=@SDL_IMAGE_LIB@
305
306 SPANDSP_INCLUDE=@SPANDSP_INCLUDE@
307 SPANDSP_LIB=@SPANDSP_LIB@
308
309 SPEEX_INCLUDE=@SPEEX_INCLUDE@
310 SPEEX_LIB=@SPEEX_LIB@
311
312 SPEEXDSP_INCLUDE=@SPEEXDSP_INCLUDE@
313 SPEEXDSP_LIB=@SPEEXDSP_LIB@
314
315 SQLITE_INCLUDE=@SQLITE_INCLUDE@
316 SQLITE_LIB=@SQLITE_LIB@
317
318 SQLITE3_INCLUDE=@SQLITE3_INCLUDE@
319 SQLITE3_LIB=@SQLITE3_LIB@
320
321 SRTP_LIB=@SRTP_LIB@
322 SRTP_INCLUDE=@SRTP_INCLUDE@
323
324 OPENSSL_INCLUDE=@OPENSSL_INCLUDE@
325 OPENSSL_LIB=@OPENSSL_LIB@
326
327 CRYPT_INCLUDE=@CRYPT_INCLUDE@
328 CRYPT_LIB=@CRYPT_LIB@
329
330 CRYPTO_INCLUDE=@CRYPTO_INCLUDE@
331 CRYPTO_LIB=@CRYPTO_LIB@
332
333 TONEZONE_INCLUDE=@TONEZONE_INCLUDE@
334 TONEZONE_LIB=@TONEZONE_LIB@
335
336 UNBOUND_INCLUDE=@UNBOUND_INCLUDE@
337 UNBOUND_LIB=@UNBOUND_LIB@
338
339 UNIXODBC_INCLUDE=@UNIXODBC_INCLUDE@
340 UNIXODBC_LIB=@UNIXODBC_LIB@
341
342 UUID_INCLUDE=@UUID_INCLUDE@
343 UUID_LIB=@UUID_LIB@
344
345 VORBIS_INCLUDE=@VORBIS_INCLUDE@
346 VORBIS_LIB=@VORBIS_LIB@
347
348 VPB_INCLUDE=@VPB_INCLUDE@
349 VPB_LIB=@VPB_LIB@
350
351 HAVE_DAHDI=@PBX_DAHDI@
352 DAHDI_INCLUDE=@DAHDI_INCLUDE@
353
354 ZLIB_INCLUDE=@ZLIB_INCLUDE@
355 ZLIB_LIB=@ZLIB_LIB@
356
357 ISDNNET_INCLUDE=@ISDNNET_INCLUDE@
358 ISDNNET_LIB=@ISDNNET_LIB@
359
360 MISDN_INCLUDE=@MISDN_INCLUDE@
361 MISDN_LIB=@MISDN_LIB@
362
363 SUPPSERV_INCLUDE=@SUPPSERV_INCLUDE@
364 SUPPSERV_LIB=@SUPPSERV_LIB@
365
366 CAP_LIB=@CAP_LIB@
367 CAP_INCLUDE=@CAP_INCLUDE@
368
369 BKTR_INCLUDE=@BKTR_INCLUDE@
370 BKTR_LIB=@BKTR_LIB@
371
372 TERMCAP_INCLUDE=@TERMCAP_INCLUDE@
373 TERMCAP_LIB=@TERMCAP_LIB@
374 TERMCAP_DIR=@TERMCAP_DIR@
375
376 LIBXML2_INCLUDE=@LIBXML2_INCLUDE@
377 LIBXML2_LIB=@LIBXML2_LIB@
378
379 LIBXSLT_INCLUDE=@LIBXSLT_INCLUDE@
380 LIBXSLT_LIB=@LIBXSLT_LIB@
381
382 TINFO_INCLUDE=@TINFO_INCLUDE@
383 TINFO_LIB=@TINFO_LIB@
384 TINFO_DIR=@TINFO_DIR@
385
386 # if poll is not present, let the makefile know.
387 POLL_AVAILABLE=@HAS_POLL@
388 TIMERFD_INCLUDE=@TIMERFD_INCLUDE@
389
390 SNDFILE_INCLUDE=@SNDFILE_INCLUDE@
391 SNDFILE_LIB=@SNDFILE_LIB@
392
393 BEANSTALK_INCLUDE=@BEANSTALK_INCLUDE@
394 BEANSTALK_LIB=@BEANSTALK_LIB@