aboutsummaryrefslogtreecommitdiffstats
path: root/apps/Makefile
AgeCommit message (Collapse)AuthorFilesLines
2008-07-03remove this, it has been moved to the main Makefilekpfleming1-5/+0
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@127895 f38db490-d61c-443f-a65b-d21fe96a405b
2007-12-17In http://lists.digium.com/pipermail/asterisk-dev/2007-December/031145.html,kpfleming1-2/+8
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: http://svn.digium.com/svn/asterisk/branches/1.4@93180 f38db490-d61c-443f-a65b-d21fe96a405b
2007-03-27Fix app_directory when ODBC_STORAGE is being used. The Makefile did notrussell1-0/+3
properly ensure that this information got copied from what was selected for app_voicemail. (issue #9224) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@59273 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-26GNU make already knows how to quietly ignore non-existent files in 'include' ↵kpfleming1-4/+1
directives git-svn-id: http://svn.digium.com/svn/asterisk/trunk@41209 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-21merge new_loader_completion branch, including (at least):kpfleming1-9/+12
- 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: http://svn.digium.com/svn/asterisk/trunk@40722 f38db490-d61c-443f-a65b-d21fe96a405b
2006-07-15more Makefile cleanup and consistency stuffkpfleming1-3/+5
don't reuse LIBS variable from top-level Makefile (oops) build Asterisk binary after subdirs (preparing for embedded modules) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@37661 f38db490-d61c-443f-a65b-d21fe96a405b
2006-07-12fix some more app_voicemail breakagerussell1-3/+3
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@37492 f38db490-d61c-443f-a65b-d21fe96a405b
2006-07-07actually do proper searching for c-client and output the results so ↵kpfleming1-1/+9
app_voicemail can be built against it git-svn-id: http://svn.digium.com/svn/asterisk/trunk@37278 f38db490-d61c-443f-a65b-d21fe96a405b
2006-07-06move rules file to prepare for generic rules filekpfleming1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@37222 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-25use new (separate) dependencies file from menuselectkpfleming1-0/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@35895 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-24The Eurostar Commit! (it's amazing how much work you can get done on a 150 ↵kpfleming1-42/+3
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: http://svn.digium.com/svn/asterisk/trunk@35832 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-24search for Zaptel and libtonezone separately in the configure scriptkpfleming1-1/+4
various other minor fixes git-svn-id: http://svn.digium.com/svn/asterisk/trunk@35812 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-23remove various commands that remove old modules since they have been there arussell1-3/+0
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: http://svn.digium.com/svn/asterisk/trunk@35605 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-22- convert the 'uninstall' target to use separate targets to process eachrussell1-1/+1
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: http://svn.digium.com/svn/asterisk/trunk@35503 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-22- specify that 'depend' is a .PHONY targetrussell1-1/+1
- use separate targets instead of a for loop for doing 'make depend' for each sub directory git-svn-id: http://svn.digium.com/svn/asterisk/trunk@35501 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-22- specify that 'all' is a .PHONY targetrussell1-1/+1
- 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: http://svn.digium.com/svn/asterisk/trunk@35479 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-22add the 'clean', 'clean-depend', and 'dist-clean' targets as .PHONY targetsrussell1-0/+2
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: http://svn.digium.com/svn/asterisk/trunk@35415 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-19don't blow up in the sub Makefiles if menuselect.makeopts is not present. Thisrussell1-1/+3
is valid in some cases, such as "make clean". git-svn-id: http://svn.digium.com/svn/asterisk/trunk@34738 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-16add support for setting the CFLAGS for voicemail storage options in menuselectrussell1-9/+2
Thanks to kpfleming for the Makefile magic :) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@34492 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-07remove the need to have to re-run make after a default menuselect.makeoptsrussell1-0/+2
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: http://svn.digium.com/svn/asterisk/trunk@32798 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-05use module names, not file names, in menuselectkpfleming1-1/+3
work around XML parsing bug in menuselect for default sounds package git-svn-id: http://svn.digium.com/svn/asterisk/trunk@32407 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-13Move WITH_SMDI from the Makefiles to be handled by menuselect. It will now berussell1-4/+0
defined in buildopts.h. Also, remove a few more stray spaces in the gcc commands. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@27130 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-30fix up the app_rpt.o target. oops! (Thanks to Denis Smirnov on the -dev list)russell1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@23672 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-29revert the last change to this Makefile which removed the rules to buildrussell1-0/+6
app_apt. These rules *are* needed beacause this module uses libtonezone, so it needs this information from autoconf in case it is located in a non-standard location. Also, without it, app_rpt.so would not be linked with libtonezone at all. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@23422 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-29remove now useless rule for app_rpt (bug 7059)rizzo1-6/+0
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@23402 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-24Thanks to the fine work of Russell Bryant and Dancho Lazarov, we now have ↵kpfleming1-33/+9
autoconf and menuselect tools for Asterisk! git-svn-id: http://svn.digium.com/svn/asterisk/trunk@22267 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-08remove traces of "look", something that does not exist in the treerussell1-5/+1
(issue #6904) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@18492 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-23Move conditional compilation for CURL from apps/ to funcs/tilghman1-11/+0
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@10961 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-12ensure that dependencies are rebuilt after 'make update' so that builds ↵kpfleming1-2/+5
don't break when files are removed/renamed git-svn-id: http://svn.digium.com/svn/asterisk/trunk@9691 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-11use auto-build for apps, simplify variable settingkpfleming1-40/+27
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@9564 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-10Add smdi support for asterisk (see doc/smdi.txt for config info) (#5945)mattf1-0/+5
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@9423 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-09remove some Makefile targets for things that don't exist in the treerussell1-9/+0
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@9261 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-02remove obsolete stuffkpfleming1-6/+0
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@9124 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-01Allows for user to uninstall asterisk binariesmogorman1-0/+2
bug 6177 git-svn-id: http://svn.digium.com/svn/asterisk/trunk@9052 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-21oops, don't build app_sql_postgres by default ...russell1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8409 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-21clean up formatting to conform to coding guidelines and fix some typos ↵russell1-2/+2
(issue #6260) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8407 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-16remove redundant CFLAGS for BSD which are already set in the main Makefile ↵russell1-4/+0
(issue #6250) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8101 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-12Bug 6213 - Morse code apptilghman1-1/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7998 f38db490-d61c-443f-a65b-d21fe96a405b
2005-12-23Bug 5759 - Remove unused datetime code (current DateTime app is in ↵tilghman1-0/+1
app_sayunixtime) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7616 f38db490-d61c-443f-a65b-d21fe96a405b
2005-12-15Properly move these functions over to the funcs directory (since they no ↵tilghman1-2/+1
longer contain apps) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7496 f38db490-d61c-443f-a65b-d21fe96a405b
2005-12-15Make sure the functions CUT and SORT are built.tilghman1-1/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7494 f38db490-d61c-443f-a65b-d21fe96a405b
2005-12-07re-add app_setcallerid since it was not actually marked deprecated in 1.2russell1-6/+6
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7380 f38db490-d61c-443f-a65b-d21fe96a405b
2005-12-07This is the first round of removing applications that were marked as deprecatedrussell1-19/+14
in the 1.2 release. They are being removed from the trunk and will not be in the next major release. The following is a list of the applications that are being removed in this commit: Curl, Cut, Sort, DBPut, DBGet, ENUMLookup, Eval GetGroupCount, SetGroup, CheckGroup, GetGroupMatchCount MD5, MD5Check, Math, SetCIDName, SetCIDNum, SetRDNIS, SetCallerID TXTCIDName, AbsoluteTimeout, DigitTimeout, ResponseTimeout, SetAccount SetLanguage, SetVar (renamed to Set) These changes also include moving the "group show channels" cli command from app_groupcount.c to cli.c. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7379 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-29git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7221 ↵kpfleming1-0/+0
f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-21don't hardcode poll.o for Darwinrussell1-1/+1
fix incorrect portion of patch from yesterday's Solaris fixes git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7168 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-21issue #5775russell1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7164 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-11issue #5673kpfleming1-2/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7062 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-08issue #2720kpfleming1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7034 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-08issue #5634 and a little ChangeLog cleanupkpfleming1-1/+3
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7003 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-01issue #4678kpfleming1-7/+13
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6936 f38db490-d61c-443f-a65b-d21fe96a405b