aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
AgeCommit message (Collapse)AuthorFilesLines
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
2007-10-31Create samples for ALL of the available options in asterisk.conftilghman1-0/+14
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@87852 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-29don't put '-pipe' into ASTCFLAGS if '-save-temps' is already there (used ↵kpfleming1-1/+5
when debugging preprocessor issues) because the compiler will whine about each compile command git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@87460 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-18Correct documentation. I removed the wrong line..qwell1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@86406 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-18Add documentation for options in asterisk.confqwell1-0/+9
Issue 11029, patch by eserra git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@86405 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-15Properly use DESTDIR in 'config' target.qwell1-10/+10
Do not try to run chkconfig or similar if using DESTDIR. Issue 10938, patch by cabal95. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@85684 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-02* Don't build the menuselect-tree for the tarball, as it requires running therussell1-1/+1
configure script first * Change the Makefile to note that menuselect-tree depends on the configure script. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@84474 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-01Add dist-clean support for subdirs.qwell1-2/+6
Change h323 to only remove the Makefile on a dist-clean, rather than a clean. This fixes a bug I found with trying to run make after a make clean git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@84291 f38db490-d61c-443f-a65b-d21fe96a405b
2007-09-06We added COPTS for ASTCFLAGS additions, but not LDOPTS for ASTLDFLAGS. This ↵qwell1-1/+2
adds LDOPTS git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@81826 f38db490-d61c-443f-a65b-d21fe96a405b
2007-08-22Fix a few build issues in Solaris (and likely others).qwell1-0/+2
Use GREP and ID variables from autoconf. Reported to me in #asterisk-dev I forgot who reported this - sorry. :( git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@80330 f38db490-d61c-443f-a65b-d21fe96a405b
2007-08-22Change a syntax that the GNU make in Solaris dislikes.qwell1-3/+1
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@80304 f38db490-d61c-443f-a65b-d21fe96a405b
2007-08-22Honor the contents of the COPTS variable as custom target CFLAGS. Apparentlyrussell1-0/+4
this is what openwrt does. (reported by Brian Capouch on the asterisk-dev list, patch by me) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@80257 f38db490-d61c-443f-a65b-d21fe96a405b
2007-08-09This fixes bug 10416; thanks to mvanbaak for the pretty outputmurf1-0/+16
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@78891 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-26AST_DEVMODE was defined in trunk, but not in 1.4. When Asterisk is compiledrussell1-1/+1
under dev mode, AST_DEVMODE will get defined in buildopts.h. Change 1.4 to define it in the same way that trunk does. Also, revert the change that added this define in the Makefile The advantage to doing it this way is that buildopts.h gets installed when you install Asterisk. Then, when building any out of tree modules, or building asterisk-addons, these modules know which options the rest of Asterisk was built with. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@77410 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-26Fixes to get ast_backtrace working properly. The AST_DEVMODE macro was never ↵mmichelson1-1/+1
defined so the majority of ast_backtrace never attempted compilation. The makefile now defines AST_DEVMODE if configure was run with --enable-dev-mode. Also, changes were made to acccomodate 64 bit systems in ast_backtrace. Thanks to qwell, kpfleming, and Corydon76 for their roles in allowing me to get this committed git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@77380 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-11This fixes 10172, where the entire man8 dir gets removed during an uninstall ↵murf1-1/+4
of asterisk git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@74642 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-29Backport fix for GCC versions without support for declaration-after-statement.file1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@72597 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-28Add -Wdeclaration-after-statement to AST_DEVMODE flags to catchrizzo1-1/+1
variable declarations in the middle of a block. Fix the few instances of the above spotted out by the compiler. All of this has been already done or is not applicable in trunk, so the merge of this change will be blocked. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@72462 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-18Tweak paths for BSD systems (issue #10001, stuarth)russell1-1/+2
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@69660 f38db490-d61c-443f-a65b-d21fe96a405b
2007-05-24Clear CFLAGS before running make for menuselect.russell1-2/+2
(issue #9784, reported by ovi, patch by me) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@65978 f38db490-d61c-443f-a65b-d21fe96a405b
2007-05-11Merged revisions 63903 via svnmerge from tilghman1-1/+1
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r63903 | tilghman | 2007-05-11 11:31:03 -0500 (Fri, 11 May 2007) | 2 lines Issue 9121 - fixups for safe_asterisk script ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@63905 f38db490-d61c-443f-a65b-d21fe96a405b
2007-05-09I have seen multiple people post questions trying to figure out what therussell1-1/+2
message "The configure script must be executed before running 'make'" means. So, add another like that says to specifically run ./configure. If this isn't obvious enough, then they should be using something like AsteriskNOW and not installing from source. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@63535 f38db490-d61c-443f-a65b-d21fe96a405b
2007-04-03Ensure that menuselect gets executed in dependency check mode every time you ↵russell1-1/+1
run make. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@59853 f38db490-d61c-443f-a65b-d21fe96a405b
2007-03-29Export the GTK2 library and include information to sub Makefiles.russell1-0/+2
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@59304 f38db490-d61c-443f-a65b-d21fe96a405b
2007-03-16Making these documentation changes in the 1.4 branch upset various people, sorussell1-21/+0
these chanes will only be done in the trunk. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@58955 f38db490-d61c-443f-a65b-d21fe96a405b
2007-03-15Add configure script checking for GTK2 and some additional Makefile targetsrussell1-0/+8
to support gmenuselect git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@58947 f38db490-d61c-443f-a65b-d21fe96a405b