aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
AgeCommit message (Collapse)AuthorFilesLines
2010-05-25Merged revisions 265320,265467 via svnmerge from twilson1-0/+1
https://origsvn.digium.com/svn/asterisk/trunk ........ r265320 | twilson | 2010-05-24 14:06:40 -0500 (Mon, 24 May 2010) | 14 lines Add the FullyBooted AMI event It is possible to connect to the manager interface before all Asterisk modules are loaded. To ensure that an application does not send AMI actions that might require a module that has not yet loaded, the application can listen for the FullyBooted manager event. It will be sent upon connection if all modules have been loaded, or as soon as loading is complete. The event: Event: FullyBooted Privilege: system,all Status: Fully Booted Review: https://reviewboard.asterisk.org/r/639/ ........ r265467 | twilson | 2010-05-24 17:21:58 -0500 (Mon, 24 May 2010) | 1 line Merge the rest of the FullyBooted patch ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@265570 f38db490-d61c-443f-a65b-d21fe96a405b
2010-05-03Should have removed /usr/lib/ part. Thanks Qwell.pabelanger1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@260662 f38db490-d61c-443f-a65b-d21fe96a405b
2010-05-03non-root make install PREFIX=/tmp fails.pabelanger1-1/+1
Prepend libdir when executing mkpkgconfig allowing non-root installs to work. (closes issue #17268) Reported by: pabelanger Patches: issue17268.patch uploaded by pabelanger (license 224) Tested by: pabelanger git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@260661 f38db490-d61c-443f-a65b-d21fe96a405b
2010-04-28Remove usage of `id` since it isn't useful and was causing breakge.qwell1-4/+1
Solaris `id` doesn't support the -u argument. Instead of figuring out how to fix this to work on Solaris, I decided to check why it was necessary and where else it was used. It was only used in one place, and it hasn't been needed for a very long time (I question whether it was ever needed). git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@259748 f38db490-d61c-443f-a65b-d21fe96a405b
2010-03-25Update Asterisk 1.4 to use menuselect trunk.russell1-6/+38
Review: https://reviewboard.asterisk.org/r/590/ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@254639 f38db490-d61c-443f-a65b-d21fe96a405b
2010-03-20Resolve a number of FreeBSD build issues.russell1-2/+2
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@253631 f38db490-d61c-443f-a65b-d21fe96a405b
2010-03-15Typotilghman1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@252366 f38db490-d61c-443f-a65b-d21fe96a405b
2010-03-15Launch Asterisk on Mac OS X with launchd.tilghman1-0/+2
Reviewboard: https://reviewboard.asterisk.org/r/551/ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@252361 f38db490-d61c-443f-a65b-d21fe96a405b
2010-02-18Tweak argument handling for wget in the sounds Makefile.russell1-0/+1
1) Fix the check to see if we are using wget to not be full of fail. The configure script populates this variable with the absolute path to wget if it is found, so it didn't work. 2) Allow some extra arguments to be passed in for wget. This is just a simple change to allow our Bamboo build script to tell wget to be quiet and not fill up our logs with download status output. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@247422 f38db490-d61c-443f-a65b-d21fe96a405b
2010-02-15Make the menuselect instructions correct by allowing 'make menuselect' to ↵tilghman1-0/+2
actually solve dependency problems. (Previously, it would fail out again with the same message about running 'make menuselect', which was NOT at all helpful.) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@246709 f38db490-d61c-443f-a65b-d21fe96a405b
2010-01-20fixes parsing error in Makefile.dvossel1-5/+5
Some echo lines were missing "; . Thanks to jparker for pointing out the problem. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@241626 f38db490-d61c-443f-a65b-d21fe96a405b
2010-01-19Allow parallel make (-j) to work properly.qwell1-2/+2
1.4 changes are quite different from the others. (issue #16489) Reported by: Chainsaw Tested by: qwell git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@241228 f38db490-d61c-443f-a65b-d21fe96a405b
2010-01-18updated transmit_silence option documentation in asterisk.confdvossel1-1/+5
This patch updates the transmit_silence option to better document why the option exists, and what it affects. Thanks to russell for providing the verbage for this update. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@240891 f38db490-d61c-443f-a65b-d21fe96a405b
2010-01-15Fix a spelling error in the asterisk.conf sample.russell1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@240547 f38db490-d61c-443f-a65b-d21fe96a405b
2010-01-13add silence gen to wait appsdvossel1-1/+1
asterisk.conf's 'transmit_silence' option existed before this patch, but was limited to only generating silence while recording and sending DTMF. Now enabling the transmit_silence option generates silence during wait times as well. To achieve this, ast_safe_sleep has been modified to generate silence anytime no other generators are present and transmit_silence is enabled. Wait apps not using ast_safe_sleep now generate silence when transmit_silence is enabled as well. (closes issue 0016524) Reported by: kobaz (closes issue 0016523) Reported by: kobaz Tested by: dvossel Review: https://reviewboard.asterisk.org/r/456/ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@239718 f38db490-d61c-443f-a65b-d21fe96a405b
2009-12-10Fix unselecting of menuselect options via GLOBAL_MAKEOPTS and USER_MAKEOPTS.qwell1-4/+5
(closes issue #16296) Reported by: abelbeck Patches: issue16296-20091210.diff uploaded by qwell (license 4) (abelbeck described a fix, which I expanded upon) Tested by: abelbeck, qwell, lmadsen git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@234255 f38db490-d61c-443f-a65b-d21fe96a405b
2009-10-23Don't force menuselect.makeopts to be rebuilt on every build.kpfleming1-3/+26
For some reason the menuselect.makeopts file was listed as PHONY in the Makefile, resulting in 'make' needing to rebuild it for every build. This then resulted in the embedded module rules being rebuilt on every build, which can be slow and is unnecessary. This patch fixes the problem by properly allowing 'make' to know when the menuselect.makeopts file needs to be rebuilt (defining the proper dependencies). git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@225581 f38db490-d61c-443f-a65b-d21fe96a405b
2009-09-24Resolve parallel build warnings.seanbright1-2/+2
Reported by Klaus Darilion on the asterisk-dev mailing list. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@220213 f38db490-d61c-443f-a65b-d21fe96a405b
2009-09-24Remove the remaining bashisms in the Makefile/mkpkgconfigseanbright1-1/+3
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@220099 f38db490-d61c-443f-a65b-d21fe96a405b
2009-08-25Use the default runlevels for Debian derivatives, instead of making up our own.tilghman1-1/+1
(closes issue #14730) Reported by: pkempgen git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@213899 f38db490-d61c-443f-a65b-d21fe96a405b
2009-08-04Eliminate spurious compiler warnings from system headers on *BSD platforms.kpfleming1-1/+1
Ensure that system headers located in /usr/local/include are actually treated as system headers by the compiler, and not as local headers which are subject to warnings from the -Wundef compiler option and others. (closes issue #15606) Reported by: mvanbaak git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@210237 f38db490-d61c-443f-a65b-d21fe96a405b
2009-07-21Ensure that user-provided CFLAGS and LDFLAGS are honored.kpfleming1-29/+35
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: http://svn.digium.com/svn/asterisk/branches/1.4@207647 f38db490-d61c-443f-a65b-d21fe96a405b
2009-06-11Backport fix for parallel build warnings from trunk r199781.seanbright1-5/+5
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@200185 f38db490-d61c-443f-a65b-d21fe96a405b
2009-05-29Fix 'make config' target for Slackware.seanbright1-1/+1
There was a missing semi-colon after the echo statement in the Makefile that was causing problems for some users. Fix suggested by reporter. (closes issue #15225) Reported by: pdavis git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@197998 f38db490-d61c-443f-a65b-d21fe96a405b
2009-05-27Use bash explicitly when calling build_tools/mkpkgconfig from the Makefile.seanbright1-1/+1
Since we use bashisms in build_tools/mkpkgconfig, we should call on bash explicitly when running from the Makefile, otherwise we get errors during a 'make install.' (closes issue #15209) Reported by: seandarcy git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@197264 f38db490-d61c-443f-a65b-d21fe96a405b
2008-11-29update dev-mode compiler flags to match the ones used by default on Ubuntu ↵kpfleming1-1/+8
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 git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@159808 f38db490-d61c-443f-a65b-d21fe96a405b
2008-11-15when an individual directory dist-clean is run, run clean in that directory ↵kpfleming1-3/+5
first, and when running top-level dist-clean, do not run subdirectory clean operations twice git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@157163 f38db490-d61c-443f-a65b-d21fe96a405b
2008-10-14on Ubuntu (at least), recent versions of ld in binutils delete all debugging ↵kpfleming1-1/+1
symbols when -x is supplied; since the reasons why -x is being passed are lost in the mists of time, remove it so debugging will work properly git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@148736 f38db490-d61c-443f-a65b-d21fe96a405b
2008-09-27improve header inclusion process in a few small ways:kpfleming1-2/+0
- it is no longer necessary to forcibly include asterisk/autoconfig.h; every module already includes asterisk.h as its first header (even before system headers), which serves the same purpose - astmm.h is now included by asterisk.h when needed, instead of being forced by the Makefile; this means external modules will build properly against installed headers with MALLOC_DEBUG enabled - simplify the usage of some of these headers in the AEL-related stuff in the utils directory git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@144924 f38db490-d61c-443f-a65b-d21fe96a405b
2008-09-08Remove RPM package targets from Makefile (and all associated parts).qwell1-17/+0
This has never worked in 1.4, and we decided that it makes no sense to be done here. There are many distros out there that already have "proper" spec files that can be (re)used. Closes issue #13113 Closes issue #10950 Closes issue #10952 git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@141741 f38db490-d61c-443f-a65b-d21fe96a405b
2008-08-26sounds/Makefile installs sounds using the "new" language directory ↵twilson1-2/+2
structure, but languageprefix needs to be set = yes for sounds in subdirectories (digits/1, etc.) to play as the correct language. Fix the generation of asterisk.conf to include languageprefix=yes git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@140050 f38db490-d61c-443f-a65b-d21fe96a405b
2008-08-07remove config.cache during distclean, in case the user is using autoconf cachingkpfleming1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@136404 f38db490-d61c-443f-a65b-d21fe96a405b
2008-08-06Remove the use of --no-print-directory when compiling subdirectories.russell1-2/+2
This allows vim :make functionality to work properly when errors have occurred in the build. Without printing the directories, vim did not know how to find the file that the error occurred in. If the extra bit of build noise annoys anyone, just let me know, and I'll make this optional. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@136168 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-30use the proper method for building version.hkpfleming1-2/+4
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@134352 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-11forcibly remove the modules that are changing nameskpfleming1-1/+3
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@130317 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-11a whole pile of Zaptel/DAHDI compatibility work, with lots more to come... ↵kpfleming1-0/+1
this tree is not yet ready for users to be easily upgrading or switching, but it needs to be :-) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@130298 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-03a couple of small Solaris-related fixeskpfleming1-1/+1
(closes issue #11885) Reported by: snuffy, asgaroth git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@127892 f38db490-d61c-443f-a65b-d21fe96a405b
2008-05-05Reverse order, such that user configs override default selectionstilghman1-3/+3
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@115312 f38db490-d61c-443f-a65b-d21fe96a405b
2008-04-18ensure directories are created before we try to install stuff into themrussell1-2/+4
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@114278 f38db490-d61c-443f-a65b-d21fe96a405b
2008-04-18SUBDIRS_INSTALL is already listed as a subtarget for bininstallrussell1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@114275 f38db490-d61c-443f-a65b-d21fe96a405b
2008-04-17Fix the bininstall target to install from subdirs, as well.russell1-1/+1
(closes issue AST-8, patch from bmd at switchvox) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@114204 f38db490-d61c-443f-a65b-d21fe96a405b
2008-03-25Add an option (transmit_silence) which transmits silence during both ↵file1-0/+1
Record() and DTMF generation. The reason this is an option is that in order to transmit silence we have to setup a translation path. This may not be needed/wanted in all cases. (closes issue #10058) Reported by: tracinet git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@110628 f38db490-d61c-443f-a65b-d21fe96a405b
2008-03-19People report bugs about Asterisk crashing with DO_CRASH enabled was getting ↵qwell1-1/+4
a little silly... Now we only show certain cflags when you run configure with --enable-dev-mode (corresponding menuselect change to follow) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@109973 f38db490-d61c-443f-a65b-d21fe96a405b
2008-02-26Add badshell to .PHONY target (thanks Kevin)qwell1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@104141 f38db490-d61c-443f-a65b-d21fe96a405b
2008-02-26Since all shells aren't as awesome as bash, we have to fail if somebody ↵qwell1-1/+8
tries to use a literal "~" in DESTDIR. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@104139 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-29Use GNU make magic instead of shell magic to escape spaces in the working ↵russell1-1/+3
directory. (related to issue #11834) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@100922 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-29Fix building Asterisk when the working path has spaces in it.russell1-1/+1
(closes issue #11834) Reported by: spendergrass Patched by: me git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@100882 f38db490-d61c-443f-a65b-d21fe96a405b
2007-12-26List include/asterisk/version.h as a .PHONY target because we want the commandsrussell1-1/+1
listed for this target to be executed regardless of whether the file exists or not. This fixes having the version not up to date when running from svn. (closes issue #11619, reported by plack, fixed by me) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@94789 f38db490-d61c-443f-a65b-d21fe96a405b
2007-12-17In http://lists.digium.com/pipermail/asterisk-dev/2007-December/031145.html,kpfleming1-6/+22
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-11-15Start Asterisk in Debian at a more reasonable time (since zaptel is at level 20)tilghman1-2/+2
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@89302 f38db490-d61c-443f-a65b-d21fe96a405b