summaryrefslogtreecommitdiff
path: root/funcs/Makefile
AgeCommit message (Collapse)Author
2017-12-22Remove as much trailing whitespace as possible.Sean Bright
Change-Id: I873c1c6d00f447269bd841494459efccdd2c19c0
2012-10-14Title updateAndrew Latham
Update title that was left behind many years ago. Used revision 6596 as my guide for what it should be. (issue ASTERISK-20259) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@375007 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-07-21Merged revisions 207647 via svnmerge from Kevin P. Fleming
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r207647 | kpfleming | 2009-07-21 08:04:44 -0500 (Tue, 21 Jul 2009) | 12 lines Ensure that user-provided CFLAGS and LDFLAGS are honored. This commit changes the build system so that user-provided flags (in ASTCFLAGS and ASTLDFLAGS) are supplied to the compiler/linker *after* all flags provided by the build system itself, so that the user can effectively override the build system's flags if desired. In addition, ASTCFLAGS and ASTLDFLAGS can now be provided *either* in the environment before running 'make', or as variable assignments on the 'make' command line. As a result, the use of COPTS and LDOPTS is no longer necessary, so they are no longer documented, but are still supported so as not to break existing build systems that supply them when building Asterisk. ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@207680 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-29we can now build with -Wformat=2, which found a couple of real bugsKevin P. Fleming
because SPRINTF() use non-literal format strings (which cannot be checked), move it into its own module so the rest of func_strings can benefit from format string checking git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@159774 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-12-17Merged revisions 93180 via svnmerge from Kevin P. Fleming
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r93180 | kpfleming | 2007-12-16 22:44:51 -0800 (Sun, 16 Dec 2007) | 23 lines In http://lists.digium.com/pipermail/asterisk-dev/2007-December/031145.html, rizzo brought up some issues related to the way that the metadata required for menuselect and the rest of the build system is extracted from the source files. Since I had a few hours to kill on an airplane today, I decided to improve this situation... so now the system caches the extracted metadata and uses it to build the menuselect 'tree' as much as it can. The result of this is that when a single source file is changed, only the metadata for that file needs to be extracted again, and the rest is used from the cache files. I also reduced the number of forked processes required to do the metadata extraction; it was actually possible to do most of what we needed in the Makefiles themselves without using any shell scripts at all! On my laptop, these changes resulted in an 80% decrease in the time required for the 'menuselect.makeopts' automatic check to occur after editing a single source file. While doing this work I also cleaned up a few minor things in the Makefiles, adding a check for 'awk' to the configure script and changed all remaining places we use 'grep' or 'awk' to use the ones found by the configure script, and changed the 'prep_tarball' script to build the menuselect metadata so that tarballs of Asterisk will include it and won't require the user to wait while it is extracted after unpacking. ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@93184 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-12-10Put into Makefile.moddir_rules the common instructions used toLuigi Rizzo
generate loadable and embedded module lists. Individual Makefiles now are a lot simpler, possibly as simple as this: -include $(ASTTOPDIR)/menuselect.makeopts $(ASTTOPDIR)/menuselect.makedeps MODULE_PREFIX=cdr_ all: _all include $(ASTTOPDIR)/Makefile.moddir_rules and also more flexible because in a single directory we can combine various types of modules (app_, cdr_, func_, ... ) by simply listing them in the MODULE_PREFIX variable. The individual Makefiles can also create list of modules to be excluded by listing them in the variablel MODULE_EXCLUDE (see an example in channels/Makefile). With this change it becomes trivial to integrate a directory with locally created/modified sources into the main build. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@92082 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-12-09normalize subdirs' Makefile by using ASTTOPDIR and not .. to referenceLuigi Rizzo
the top level directory. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@92022 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-08-26GNU make already knows how to quietly ignore non-existent files in 'include' ↵Kevin P. Fleming
directives git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41209 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-08-21merge new_loader_completion branch, including (at least):Kevin P. Fleming
- restructured build tree and makefiles to eliminate recursion problems - support for embedded modules - support for static builds - simpler cross-compilation support - simpler module/loader interface (no exported symbols) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40722 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-07-15Move curl version test to autoconf scriptTilghman Lesher
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@37678 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-07-15more Makefile cleanup and consistency stuffKevin P. Fleming
don't reuse LIBS variable from top-level Makefile (oops) build Asterisk binary after subdirs (preparing for embedded modules) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@37661 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-07-06move rules file to prepare for generic rules fileKevin P. Fleming
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@37222 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-25use new (separate) dependencies file from menuselectKevin P. Fleming
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35895 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-24The Eurostar Commit! (it's amazing how much work you can get done on a 150 ↵Kevin P. Fleming
minute train ride from Paris to London <G>) support the new location for zaptel.h and tonezone.h use the dependency information output by menuselect to build Makefile rules for each module for header files and libraries combine the common rules into a top-level Makefile.rules file remove all (now) unnecessary stuff from subdir Makefiles change translator API so that the newpvt() callback returns an int instead of a pointer (it no longer allocates memory) alphabetize --with-<foo> options in configure script enhance Net-SNMP support in configure script to provide a --with-netsnmp option fix support for --with-pq so that if pg-config is not found when --with-pq is specified, an error will be generated add 'optional package' usage to modules now that menuselect can output it allow res_snmp to build by default, since the new loader changes coming soon will solve the function naming problem (and users can disable it via menuselect anyway) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35832 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-23remove various commands that remove old modules since they have been there aRussell Bryant
sufficient amount of time. Even if they happen to be still present, the main Makefile will spit out a huge warning telling the user that modules not installed by that run of "make install" are present in the modules directory. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35605 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-22- convert the 'uninstall' target to use separate targets to process eachRussell Bryant
subdirectory instead of a for loop - remove the FORCE target from the main Makefile and add the couple places I used it to the .PHONY target. .PHONY does the same thing and is a built-in more efficient way of doing it. - add a bunch more targets to .PHONY ... git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35503 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-22- specify that 'depend' is a .PHONY targetRussell Bryant
- use separate targets instead of a for loop for doing 'make depend' for each sub directory git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35501 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-22- specify that 'all' is a .PHONY targetRussell Bryant
- add a copyright header to the build_tools Makefile - remove 'depend' from the 'all' target in agi/ and utils/ since it is handled by the main Makefile already git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35479 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-22add the 'clean', 'clean-depend', and 'dist-clean' targets as .PHONY targetsRussell Bryant
since they are targets that do not have resulting files and are never listed as prerequisites to real targets. Using .PHONY in this manner improves make performance by never having to check for resulting files. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35415 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-19don't blow up in the sub Makefiles if menuselect.makeopts is not present. ThisRussell Bryant
is valid in some cases, such as "make clean". git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@34738 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-07remove the need to have to re-run make after a default menuselect.makeoptsRussell Bryant
file is generated. This allows a fresh checkout of asterisk to be built and installed with the standard "./configure && make && make install". git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32798 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-05use module names, not file names, in menuselectKevin P. Fleming
work around XML parsing bug in menuselect for default sounds package git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32407 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-24Thanks to the fine work of Russell Bryant and Dancho Lazarov, we now have ↵Kevin P. Fleming
autoconf and menuselect tools for Asterisk! git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@22267 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-01Sun's shell: just different enough to cause problemsTilghman Lesher
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@11505 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-01Bug 6619 - Fix Solaris issue with doubled [[Tilghman Lesher
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@11478 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-23Move conditional compilation for CURL from apps/ to funcs/Tilghman Lesher
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@10961 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-14Fix build issues...Mark Spencer
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@9988 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-12ensure that dependencies are rebuilt after 'make update' so that builds ↵Kevin P. Fleming
don't break when files are removed/renamed git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@9691 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-11use auto-build for apps, simplify variable settingKevin P. Fleming
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@9564 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-11use auto-build for res modules tooKevin P. Fleming
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@9552 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-11prepare to use auto-build rules in other MakefilesKevin P. Fleming
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@9551 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-11remove last vestiges of pbx_functionsKevin P. Fleming
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@9471 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-11build function modules independently (no more pbx_functions.so)Kevin P. Fleming
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@9469 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-03Bug 6322 - Implementation of SHA1 in Asterisk (plus dialplan function to use it)Tilghman Lesher
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@9138 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-01Allows for user to uninstall asterisk binariesMatt O'Gorman
bug 6177 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@9052 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-24Reverting change in revision 8539 - fixed wrong problem. Sorry.Olle Johansson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8548 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-24Issue #6323, FreeBSD compatibility with compilation of func_odbc.c (reported ↵Olle Johansson
by nulbyte) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8539 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-16remove redundant CFLAGS for BSD which are already set in the main Makefile ↵Russell Bryant
(issue #6250) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8101 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-10Fix indentationTilghman Lesher
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7929 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-10committing 5924 with minor white space changes Matt O'Gorman
and adding it to the Makefile for functions. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7921 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-12-23Bug 5327 - new function FILTER and optional argument to CALLERIDTilghman Lesher
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7614 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-12-22don't try to build func_odbc when ODBC headers/libraries are not presentKevin P. Fleming
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7589 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-12-21Bug 5055 - Simple SQL commands from the dialplanTilghman Lesher
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7576 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-29remove extraneous svn:executable propertiesKevin P. Fleming
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7221 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-01issue #4678Kevin P. Fleming
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6936 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-05correct cygwin detection (issue #5328)Kevin P. Fleming
handle parallel make better (issue #5328) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6725 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-08-30clean up, use make functions instead of subshells, remove unused stuffKevin P. Fleming
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6449 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-12add a dialplan function to get and set the music on hold classRussell Bryant
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6115 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-20move tools used during build into build_tools subdirectoryKevin P. Fleming
clean up Makefile headers git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5942 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-09add MATH() dialplan function (bug #4473, with mods)Kevin P. Fleming
deprecate the Math() application git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5895 65c4cc65-6c06-0410-ace0-fbb531ad65f3