aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
AgeCommit message (Collapse)AuthorFilesLines
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
2007-03-15Add Asterisk version information to the generated PDFrussell1-2/+5
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@58937 f38db490-d61c-443f-a65b-d21fe96a405b
2007-03-15Merge changes from svn/asterisk/team/russell/LaTeX_docs.russell1-0/+18
* Convert most of the doc directory into a single LaTeX formatted document so that we can generate a PDF, HTML, or other formats from this information. * Add a CLI command to dump the application documentation into LaTeX format which will only be include if the configure script is run with --enable-dev-mode. * The PDF turned out to be close to 1 MB, so it is not included. However, you can simply run "make asterisk.pdf" to generate it yourself. We may include it in release tarballs or have automatically generated ones on the web site, but that has yet to be decided. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@58931 f38db490-d61c-443f-a65b-d21fe96a405b
2007-02-02Add systemname to asterisk.conf generation per recent discussions about it. ↵file1-0/+1
(issue #8968 reported by blitzrage) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@53114 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-18Ensure that the locations given to the Asterisk configure script for ncurses,russell1-0/+4
curses, termcap, or tinfo are further passed along to the editline configure script. This fixes some cross-compilation environments. (issue #8637, reported by ovi, patch by me) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@51262 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-13when building the sample greetings for maibox 1234@default during 'make ↵kpfleming1-10/+3
samples', build a greeting for each language and file format the user selected to install with menuselect (reported by Brian Capouch on asterisk-dev) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@50754 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-10Merged revisions 50227 via svnmerge from russell1-1/+1
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r50227 | russell | 2007-01-09 21:16:45 -0500 (Tue, 09 Jan 2007) | 6 lines Make the number that represents the major version number a single digit instead of 2. Using two digits makes it an octal number when put into version.h, which breaks the compilation of any out of tree module that checks the version for any version after 1.2.7 (reported by Matteo Brancaleoni on the asterisk-dev mailing list, who gave credit to vihai for pointing it out) ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@50228 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-03various Makefile improvements to get chan_vpb (and any other C++ modules) to ↵kpfleming1-2/+2
build properly git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@49282 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-01use a simpler (and portable) method to ensure that menuselect is built as a ↵kpfleming1-1/+1
host binary git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@49099 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-01revert this change until a better solution can be found... 'env -i' was not ↵kpfleming1-1/+1
being used properly, but even when changed to do so, this process fails during cross-compilation because the menuselect build still sees 'CC' as set to the cross-compiler git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@49098 f38db490-d61c-443f-a65b-d21fe96a405b
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