|
@@ -1,3 +1,4 @@
|
|
|
+# Kamailio build system
|
|
|
|
|
|
#
|
|
|
# makefile defs (CC, LD,a.s.o)
|
|
@@ -9,75 +10,6 @@
|
|
|
# exclude_modules, skip_modules, include_modules
|
|
|
# extra_defs
|
|
|
#
|
|
|
-# History:
|
|
|
-# --------
|
|
|
-# created by andrei
|
|
|
-# 2003-02-24 added LOCALBASE, fixed doc_dir for freebsd - patch provided
|
|
|
-# by Maxim Sobolev <[email protected]>
|
|
|
-# 2003-02-25 added -DDISABLE_NAGLE (andrei)
|
|
|
-# 2003-03-02 added -DDIGEST_DOMAIN (janakj)
|
|
|
-# 2003-03-10 added -xcode=pic32 for module compilation w/ sun cc
|
|
|
-# (too many symbols for pic13) (andrei)
|
|
|
-# 2003-04-16 added CC_EXTRA_OPTS, s/march/mcpu, added CPU (cpu to optimize
|
|
|
-# for, used only with gcc-3.x) (andrei)
|
|
|
-# 2003-05-23 check if this makefile was already included (andrei)
|
|
|
-# removed -DDIGEST_DOMAIN (andrei)
|
|
|
-# 2003-05-30 added extra_defs (andrei)
|
|
|
-# 2003-06-06 moved compiler detection before DEFS (andrei)
|
|
|
-# 2003-06-10 removed -m32 for gcc 3.x/sparc64 -- it will use
|
|
|
-# arch. default: -m32 on solaris, -m64 on *bsd (andrei)
|
|
|
-# 2003-09-25 added -pthread into LIBS when compiling on FreeBSD/alpha
|
|
|
-# and other FreeBSD arches for which no fast locking assembly
|
|
|
-# code exists (sobomax)
|
|
|
-# 2003-11-08 mips1 support introduced (andrei)
|
|
|
-# 2003-11-24 openbsd 3.4 (elf) fixes (andrei)
|
|
|
-# 2004-07-27 darwin (mac os x) port (andrei)
|
|
|
-# 2004-09-12 mips2 & cobalt support introduced (andrei)
|
|
|
-# 2004-09-28 x86_64 support introduced (andrei)
|
|
|
-# 2004-12-14 gcc-3.4 special case added (andrei)
|
|
|
-# 2004-12-15 HAVE_ALLOCA_H added (andrei)
|
|
|
-# 2004-12-19 amd64 transformed in x86_64 (andrei)
|
|
|
-# 2005-04-27 alpha support added (andrei)
|
|
|
-# 2005-06-01 use $(LOCALBASE) instead of /usr/{local,pkg} (andrei)
|
|
|
-# 2005-06-26 numeric OSREL & HAVE_KQUEUE added to the *BSD (andrei)
|
|
|
-# 2005-07-04 HAVE_DEVPOLL added to solaris (andrei)
|
|
|
-# 2005-07-06 gcc 4.0 optimizations support (andrei)
|
|
|
-# 2005-07-25 better solaris arch detection (andrei)
|
|
|
-# 2005-09-12 -mallign-double removed (too many problems) (andrei)
|
|
|
-# 2005-10-02 distcc get gcc version hack (andrei)
|
|
|
-# 2006-03-30 64 bit mode compile by default on sparc64 (-m64), added
|
|
|
-# CC_GCC_LIKE_ASM and SPARC64_MODE (andrei)
|
|
|
-# sparc <= v8 support (andrei)
|
|
|
-# 2006-03-31 armv6 & mips64 support added
|
|
|
-# mips and arm set to NOSMP by default (andrei)
|
|
|
-# 2006-07-10 added -DPROFILING (hscholz)
|
|
|
-# 2007-02-09 added TLS_HOOKS and CORE_TLS support, obsoleted TLS=1
|
|
|
-# added TLS_EXTRA_LIBS (andrei)
|
|
|
-# 2007-03-16 added LIB building options: LIB_LDFLAGS, LIB_SONAME, LIB_RPATH,
|
|
|
-# INSTALL_LIB, libraries install paths (andrei)
|
|
|
-# 2007-05-14 futex support if linux 2.5.70+ and
|
|
|
-# use_futex=yes (default) (andrei)
|
|
|
-# 2007-05-26 changed darwin module link flags (instead of -bundle_loader ser
|
|
|
-# -flat_namespace -undefined suppress) (andrei)
|
|
|
-# 2007-07-07 use isainfo -n to detect cpu type on solaris (andrei)
|
|
|
-# 2007-07-07 added HAVE_SCHED_SETSCHEDULER for linux (andrei)
|
|
|
-# 2007-07-18 added DNS_WATCHDOG_SUPPORT (Miklos)
|
|
|
-# 2007-07-30 added USE_DNS_CACHE_STATS and USE_DST_BLACKLIST_STATS (Gergo)
|
|
|
-# 2008-06-26 support for make cfg / config.mak and hack to load
|
|
|
-# automatically config.mak when included from a module, lib
|
|
|
-# a.s.o (not from the main Makefile) (andrei)
|
|
|
-# 2009-03-10 replaced DEFS with C_DEFS and INCLUDES with C_INCLUDES (DEFS
|
|
|
-# and INCLUDES are now used only for "temporary" defines/includes
|
|
|
-# inside modules or libs) (andrei)
|
|
|
-# 2009-09-29 for gcc 4.2+ use -fno-strict-overflow (andrei)
|
|
|
-# 2009-09-30 find the target architecture from the compiler and not
|
|
|
-# from the host (andrei)
|
|
|
-# 2009-10-01 use -fsigned-char for gcc on ppc, ppc64, arm and arm6
|
|
|
-# (on those archs char is unsigned by default) (andrei)
|
|
|
-# 2010-03-10 added CC_MKDEP_OPTS, which contains to the list of options
|
|
|
-# needed to generate dependencies on-the-fly while compiling
|
|
|
-# or is empty if the compiler doesn't support it (andrei)
|
|
|
-
|
|
|
|
|
|
# default silent, unless Q= 0|no|off|verbose|noisy
|
|
|
quiet?=$(if $(filter 0 no off verbose noisy,$(Q)),verbose,silent)
|