------------------------------------------------------------------------ r159808 | kpfleming | 2008-11-29 10:58:29 -0600 (Sat, 29 Nov 2008) | 7 lines update dev-mode compiler flags to match the ones used by default on Ubuntu Intrepid, so all developers will see the same warnings and errors since this branch already had some printf format attributes, enable checking for them and tag functions that didn't have them format attributes in a consistent way ------------------------------------------------------------------------ in addition: move some format attributes from main/utils.c to the header files they belong in, and fix up references to the relevant functions based on new compiler warnings git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@159818 65c4cc65-6c06-0410-ace0-fbb531ad65f3
257 lines
4.9 KiB
Text
257 lines
4.9 KiB
Text
# NOTE: Names of _INCLUDE and _LIB entries in this file must be
|
|
# the exact uppercase equivalents of the names used for
|
|
# dependencies in menuselect for the same package.
|
|
|
|
CC=@PTHREAD_CC@
|
|
HOST_CC=cc
|
|
CXX=@CXX@
|
|
|
|
INSTALL=@INSTALL@
|
|
AWK=@AWK@
|
|
GREP=@GREP@
|
|
AR=@AR@
|
|
RANLIB=@RANLIB@
|
|
FIND=@FIND@
|
|
COMPRESS=@COMPRESS@
|
|
BASENAME=@BASENAME@
|
|
ID=@ID@
|
|
SHELL=@SHELL@
|
|
LN=@LN@
|
|
DOT=@DOT@
|
|
STRIP=@STRIP@
|
|
WGET=@WGET@
|
|
FETCH=@FETCH@
|
|
DOWNLOAD=@DOWNLOAD@
|
|
RUBBER=@RUBBER@
|
|
KPATHSEA=@KPATHSEA@
|
|
XMLSTARLET=@XMLSTARLET@
|
|
MD5=@MD5@
|
|
|
|
BUILD_PLATFORM=@BUILD_PLATFORM@
|
|
BUILD_CPU=@BUILD_CPU@
|
|
BUILD_VENDOR=@BUILD_VENDOR@
|
|
BUILD_OS=@BUILD_OS@
|
|
|
|
HOST_PLATFORM=@HOST_PLATFORM@
|
|
HOST_CPU=@HOST_CPU@
|
|
HOST_VENDOR=@HOST_VENDOR@
|
|
HOST_OS=@HOST_OS@
|
|
|
|
PROC=@HOST_CPU@
|
|
OSARCH=@OSARCH@
|
|
OSREV=@PBX_OSREV@
|
|
|
|
GC_CFLAGS=@GC_CFLAGS@
|
|
GC_LDFLAGS=@GC_LDFLAGS@
|
|
|
|
PTHREAD_CFLAGS=@PTHREAD_CFLAGS@
|
|
PTHREAD_LIBS=@PTHREAD_LIBS@
|
|
|
|
prefix = @prefix@
|
|
exec_prefix = @exec_prefix@
|
|
|
|
bindir = @bindir@
|
|
datarootdir = @datarootdir@
|
|
datadir = @datadir@
|
|
includedir = @includedir@
|
|
infodir = @infodir@
|
|
libdir = @libdir@
|
|
libexecdir = @libexecdir@
|
|
localstatedir = @localstatedir@
|
|
mandir = @mandir@
|
|
sbindir = @sbindir@
|
|
sharedstatedir = @sharedstatedir@
|
|
sysconfdir = @sysconfdir@
|
|
|
|
AST_DEVMODE=@AST_DEVMODE@
|
|
|
|
AST_DECLARATION_AFTER_STATEMENT=@AST_DECLARATION_AFTER_STATEMENT@
|
|
AST_NO_STRICT_OVERFLOW=@AST_NO_STRICT_OVERFLOW@
|
|
AST_SHADOW_WARNINGS=@AST_SHADOW_WARNINGS@
|
|
AST_FORTIFY_SOURCE=@AST_FORTIFY_SOURCE@
|
|
|
|
ALSA_INCLUDE=@ALSA_INCLUDE@
|
|
ALSA_LIB=@ALSA_LIB@
|
|
|
|
CURL_INCLUDE=@CURL_INCLUDE@
|
|
CURL_LIB=@CURL_LIB@
|
|
|
|
CURSES_INCLUDE=@CURSES_INCLUDE@
|
|
CURSES_LIB=@CURSES_LIB@
|
|
CURSES_DIR=@CURSES_DIR@
|
|
|
|
EDITLINE_LIB=@EDITLINE_LIB@
|
|
|
|
FREETDS_INCLUDE=@FREETDS_INCLUDE@
|
|
FREETDS_LIB=@FREETDS_LIB@
|
|
|
|
GMIME_INCLUDE=@GMIME_INCLUDE@
|
|
GMIME_LIB=@GMIME_LIB@
|
|
|
|
HOARD_LIB=@HOARD_LIB@
|
|
|
|
GSM_INTERNAL=@GSM_INTERNAL@
|
|
GSM_INCLUDE=@GSM_INCLUDE@
|
|
GSM_LIB=@GSM_LIB@
|
|
|
|
GTK_INCLUDE=@GTK_INCLUDE@
|
|
GTK_LIB=@GTK_LIB@
|
|
|
|
GTK2_INCLUDE=@GTK2_INCLUDE@
|
|
GTK2_LIB=@GTK2_LIB@
|
|
|
|
ICONV_INCLUDE=@ICONV_INCLUDE@
|
|
ICONV_LIB=@ICONV_LIB@
|
|
|
|
IKSEMEL_INCLUDE=@IKSEMEL_INCLUDE@
|
|
IKSEMEL_LIB=@IKSEMEL_LIB@
|
|
|
|
IMAP_TK_INCLUDE=@IMAP_TK_INCLUDE@
|
|
IMAP_TK_LIB=@IMAP_TK_LIB@
|
|
|
|
IODBC_INCLUDE=@IODBC_INCLUDE@
|
|
IODBC_LIB=@IODBC_LIB@
|
|
|
|
JACK_INCLUDE=@JACK_INCLUDE@
|
|
JACK_LIB=@JACK_LIB@
|
|
|
|
LDAP_INCLUDE=@LDAP_INCLUDE@
|
|
LDAP_LIB=@LDAP_LIB@
|
|
|
|
LUA_INCLUDE=@LUA_INCLUDE@
|
|
LUA_LIB=@LUA_LIB@
|
|
|
|
NBS_INCLUDE=@NBS_INCLUDE@
|
|
NBS_LIB=@NBS_LIB@
|
|
|
|
NCURSES_INCLUDE=@NCURSES_INCLUDE@
|
|
NCURSES_LIB=@NCURSES_LIB@
|
|
NCURSES_DIR=@NCURSES_DIR@
|
|
|
|
NETSNMP_INCLUDE=@NETSNMP_INCLUDE@
|
|
NETSNMP_LIB=@NETSNMP_LIB@
|
|
|
|
NEWT_INCLUDE=@NEWT_INCLUDE@
|
|
NEWT_LIB=@NEWT_LIB@
|
|
|
|
OGG_INCLUDE=@OGG_INCLUDE@
|
|
OGG_LIB=@OGG_LIB@
|
|
|
|
OSPTK_INCLUDE=@OSPTK_INCLUDE@
|
|
OSPTK_LIB=@OSPTK_LIB@
|
|
|
|
# ossaudio can optionally use ffmpeg, x11, sdl and sdl_image.
|
|
# Because sdl_image in turn depends on sdl, we don't duplicate the include
|
|
OSS_INCLUDE=@OSS_INCLUDE@ @FF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|
BKTR_LIB=@BKTR_LIB@
|
|
|
|
TERMCAP_INCLUDE=@TERMCAP_INCLUDE@
|
|
TERMCAP_LIB=@TERMCAP_LIB@
|
|
TERMCAP_DIR=@TERMCAP_DIR@
|
|
|
|
LIBXML2_INCLUDE=@LIBXML2_INCLUDE@
|
|
LIBXML2_LIB=@LIBXML2_LIB@
|
|
|
|
TINFO_INCLUDE=@TINFO_INCLUDE@
|
|
TINFO_LIB=@TINFO_LIB@
|
|
TINFO_DIR=@TINFO_DIR@
|
|
|
|
# if poll is not present, let the makefile know.
|
|
POLL_AVAILABLE=@HAS_POLL@
|
|
TIMERFD_INCLUDE=@TIMERFD_INCLUDE@
|