aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
AgeCommit message (Collapse)AuthorFilesLines
2006-12-22Minor fixes for Solaris.qwell1-0/+1
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@48906 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-19Use env -i to start a fresh environment when going to build menuselect. This ↵file1-1/+1
is more portable then using unset. (issue #8543 reported by jtodd) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@48571 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-16simplify dependency tracking system, using the compiler's built-in method ↵kpfleming1-22/+3
for generating them, and only doing dependency tracking if developer mode is enabled via the configure script git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@48525 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-16since we really, really have to have autoconfig.h included before all other ↵kpfleming1-0/+2
headers (especially system headers), the Makefile will now force it to happen (this will fix build problems with files like ast_expr2f.c, where we can't control the inclusion order in the file itself) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@48521 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-01FreeBSD 6.1 does not include wget by default. However, it has fetch which willrussell1-2/+3
work just fine for our purposes of downloading the sounds packages. So, check for both wget and fetch and the configure script and use what was found to download them. If neither one was found, and sound packages are selected that must be downloaded, the install process will print out an informative error message indicating the situation. Also, fix a couple places where "make" was hard coded into some output messages by replacing them with the $(MAKE) variable. (issue #8451, initial patch by pabelanger, with additional modifications by me) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@48190 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-28Export several more variables in top level Makefile. Inspired by issue 8438.qwell1-0/+5
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@48095 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-11Add the target "menuconfig" as an alias for the "menuselect" target. This isrussell1-0/+2
just a favor to users so that if you accidentally type "make menuconfig" instead of "make menuselect", it still works. (inspired by a comment on IRC from wangster calling me an "especially devious asterisk developer" for having it be menuselect instead of menuconfig. :) ) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@47494 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-01Fixes for cross-compilation on mips russell1-0/+1
(issue #8058, ywalther, with some modifications) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@46847 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-24Restore the ability to remove the firmware directory without causing therussell1-1/+3
installation to fail (issue #8111) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@46093 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-20Pass DESTDIR and ASTSBINDIR so that the utilities get installed in the ↵file1-1/+1
proper location (reported on asterisk-dev mailing list) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@45775 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-12Pass off AUDIO_LIBS so muted can link on OSX (issue #8135 reported by ssokol)file1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@44942 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-04put linker flags in ASTLDFLAGS where they belongrizzo1-1/+2
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@44407 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-04ensure that local include files are always usedkpfleming1-2/+2
avoid a duplicate function name (term_init()) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@44322 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-01Fix a problem that cuased AST_DATA_DIR in defaults.h to be empty. The cause isrussell1-1/+3
that since ASTDATADIR is explicitly exported using "export ASTDATADIR" at the top of the Makefile, make no longer considers the variable "undefined", so the Makefile can't use ?= to set ASTDATADIR if not yet set. (issue #8063, reported by akohlsmith, fixed by me) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@44125 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-30fix two recent build problems:rizzo1-1/+2
- with AST_DEVMODE, building codecs/lpc10 fails because of lots of warnings, and the configure step in editline fails as well. Fix this by removing the -Werror in these steps. - on FreeBSD (but probably on other platforms as well), the final link of asterisk fails because AST_LIBS was not exported to the subdirs Makefiles. Add a proper fix in the top-level Makefile (a possible alternative way is to add "export AST_LIBS" near the beginning of the file). With this fix, i believe that some of the platform-specific conditionals in main/Makefile are redundant (because they should be already dealt with in the top level Makefile) but i don't have a platform to check. Merging to head will happen in a moment. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@44080 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-29don't abuse CFLAGS and LDFLAGS for build of Asterisk components, because ↵kpfleming1-10/+37
they are also then used for non-Asterisk components (like menuselect); use our own variables instead git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@44008 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-29a couple more environment settings that can't leak into the menuselect buildkpfleming1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@43993 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-22don't output the 'build complete' message when the target being run is ↵kpfleming1-5/+7
already going to do an installation git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@43524 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-19move this header to include where it belongskpfleming1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@43298 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-19Mergeing in Paul Cadach's chan_h323 changes *holds breath*mattf1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@43281 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-18We have autoconf...let's actually use it.qwell1-7/+0
(note, M4 wasn't used, so...bye) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@43215 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-09more makefile tweaks to keep targets from being run when they don't need to bekpfleming1-6/+10
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@42505 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-29make menuselect configure process be silent when possiblekpfleming1-1/+1
don't use #ifdef inside a macro call... it appears various versions of gcc have bugs related to this git-svn-id: http://svn.digium.com/svn/asterisk/trunk@41284 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-26ensure that cross-compiler info is removed from the enviroment before ↵kpfleming1-1/+1
configuring menuselect ensure that the user's LDFLAGS take precedence when linking the final binary git-svn-id: http://svn.digium.com/svn/asterisk/trunk@41178 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-26remove some unneeded variables now that the menuselect build is isolated fromrussell1-1/+1
the parent project git-svn-id: http://svn.digium.com/svn/asterisk/trunk@41165 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-25we really need BSD make here to understand the -V option.rizzo1-1/+2
Fix and document this. (problem introduced in SVN 40753) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@41147 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-24remove CFLAGS that aren't needed anymorerussell1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@40990 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-24Okay, there are 3 reasons why I'm doing this.qwell1-1/+1
1) Solaris sed doesn't have -r, which means things like \s and \S don't work. 2) GNU sed version 4.1.2 failed on a very simple test echo "Test Test" | sed -r -e 's/\s/x/g' should have returned "TestxxxTest", but did not (however, 4.1.4 did?). 3) The CFLAGS were never set, so that entire line actually did nothing. Now it's useful again. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@40964 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-23merge menuselect_build ... most of the changes happened in menuselectrussell1-8/+3
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@40877 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-22a couple Solaris tweaks, to help build properly.qwell1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@40832 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-21oops... missed onekpfleming1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@40792 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-21another variable to clear out before configuring mxmlkpfleming1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@40791 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-21replace a couple of bare 'make' with $(MAKE)kpfleming1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@40765 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-21ensure that 'make' after 'svn update' that includes a configure script ↵kpfleming1-1/+1
change won't run without making the user run configure first git-svn-id: http://svn.digium.com/svn/asterisk/trunk@40753 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-21document Makefile target changeskpfleming1-2/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@40728 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-21main subdirectory is not dependencies for menuselect inputkpfleming1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@40725 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-21merge new_loader_completion branch, including (at least):kpfleming1-324/+66
- 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-08-20kpfleming didn't break trunk, it was the aliens. (fix it so that the ↵file1-4/+4
Makefile references the new name for the XML tree, menuselect-tree) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@40566 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-14don't include files that cause additional targets to get executed if the targetrussell1-4/+12
called was clean, distclean, or update git-svn-id: http://svn.digium.com/svn/asterisk/trunk@39640 f38db490-d61c-443f-a65b-d21fe96a405b
2006-07-19add menuselect_stub.c to deps listrussell1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@38000 f38db490-d61c-443f-a65b-d21fe96a405b
2006-07-15add comments on what special variables are forkpfleming1-1/+10
put library path into proper variable for *BSD git-svn-id: http://svn.digium.com/svn/asterisk/trunk@37670 f38db490-d61c-443f-a65b-d21fe96a405b
2006-07-15more Makefile cleanup and consistency stuffkpfleming1-14/+14
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-15use LDFLAGS and LIBS properly, and allow dependencies to provide LDFLAGS if ↵kpfleming1-1/+1
needed (although none do today) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@37653 f38db490-d61c-443f-a65b-d21fe96a405b
2006-07-12revert this change for now since it isn't working correctly and there are morerussell1-8/+0
important issues to work on at the moment ... git-svn-id: http://svn.digium.com/svn/asterisk/trunk@37483 f38db490-d61c-443f-a65b-d21fe96a405b
2006-07-12add "update" to the list of targets to ignore various included files for andrussell1-4/+4
check the targets in a little bit different way git-svn-id: http://svn.digium.com/svn/asterisk/trunk@37477 f38db490-d61c-443f-a65b-d21fe96a405b
2006-07-12don't let make run configure or menuselect if the target is eitherrussell1-0/+8
"clean" or "distclean" git-svn-id: http://svn.digium.com/svn/asterisk/trunk@37476 f38db490-d61c-443f-a65b-d21fe96a405b
2006-07-07remove the use of -Wno-pointer-sign. Asterisk now builds without any of theserussell1-3/+0
warnings present on my machine. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@37303 f38db490-d61c-443f-a65b-d21fe96a405b
2006-07-07small cleanupkpfleming1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@37280 f38db490-d61c-443f-a65b-d21fe96a405b
2006-07-07various minor fixeskpfleming1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@37277 f38db490-d61c-443f-a65b-d21fe96a405b
2006-07-06dirty hack of a fix to deal with the fact that chan_vpb changed to chan_vpb.ccrussell1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@37276 f38db490-d61c-443f-a65b-d21fe96a405b