summaryrefslogtreecommitdiff
path: root/utils/Makefile
AgeCommit message (Collapse)Author
2007-09-11This solves an unreported solaris compile problem (missing -lnsl -lsocket).Steve Murphy
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@82268 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-09-11fixing up the pthread stuff for hashtest2Steve Murphy
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@82256 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-09-11Include string compatibility file in hashtest2.Joshua Colp
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@82235 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-09-10Committing my test for astobj2, hashtest2.c, along with makefile changes in ↵Steve Murphy
utils. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@82140 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-08-20(closes issue #10496)Joshua Colp
Reported by: caio1982 Fix building on OSX. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@79989 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-08-19Add strcompat dependency for check_expr (needed for platforms that don't ↵Tilghman Lesher
have strndup) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@79980 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-08-15This commit closes bug 7605, and half-closes 7638. The AEL code has been ↵Steve Murphy
redistributed/repartitioned to allow code re-use both inside and outside of Asterisk. This commit introduces the utils/conf2ael program, and an external config-file reader, for both normal config files, and for extensions.conf (context, exten, prio); It provides an API for programs outside of asterisk to use to play with the dialplan and config files. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@79595 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-06-05Merged revisions 67526 via svnmerge from Steve Murphy
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r67526 | murf | 2007-06-05 15:30:18 -0600 (Tue, 05 Jun 2007) | 1 line this fixes bug 9883, wherein macros were not allowing the includes construct. fixed and tested, looks OK. Now includes can serve as an adjunct to catch. ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@67529 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-22Merged revisions 59145 via svnmerge from Steve Murphy
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r59145 | murf | 2007-03-22 08:40:53 -0600 (Thu, 22 Mar 2007) | 1 line The stuff in utils was compiling with -O6 even if DONT_OPTIMIZE is set in menuconfig. Added the include to fix that ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@59146 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-24Merged revisions 52052 via svnmerge from Steve Murphy
https://origsvn.digium.com/svn/asterisk/branches/1.4 ................ r52052 | murf | 2007-01-24 11:26:22 -0700 (Wed, 24 Jan 2007) | 9 lines Merged revisions 52002 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r52002 | murf | 2007-01-24 10:43:50 -0700 (Wed, 24 Jan 2007) | 1 line updated check_expr via 8322 (refactoring of expression checking impl); elfring contributed a nice code reorg, I contributed some time to get it working again, better messages ........ ................ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@52053 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-16Merged revisions 48525 via svnmerge from Kevin P. Fleming
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r48525 | kpfleming | 2006-12-16 15:14:34 -0600 (Sat, 16 Dec 2006) | 2 lines simplify dependency tracking system, using the compiler's built-in method for generating them, and only doing dependency tracking if developer mode is enabled via the configure script ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48527 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-28Merged revisions 46377 via svnmerge from Joshua Colp
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r46377 | file | 2006-10-28 12:37:44 -0400 (Sat, 28 Oct 2006) | 2 lines Don't build muted on OpenBSD, it is not supported. ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@46378 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-05Merged revisions 44436 via svnmerge from Kevin P. Fleming
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r44436 | kpfleming | 2006-10-04 20:42:06 -0500 (Wed, 04 Oct 2006) | 2 lines this change was correct, the old version is no longer needed ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44437 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-04correct libraries for astman, at least so i think...Luigi Rizzo
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44410 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-29Merged revisions 44055 via svnmerge from Kevin P. Fleming
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r44055 | kpfleming | 2006-09-29 17:47:40 -0500 (Fri, 29 Sep 2006) | 2 lines fix a few build system bugs, and convert Makefiles to be compatible with GNU make 3.80 ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44056 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-29Merged revisions 43996-43997,44008,44011-44012 via svnmerge from Kevin P. Fleming
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r43996 | kpfleming | 2006-09-29 11:47:05 -0500 (Fri, 29 Sep 2006) | 2 lines another cross-compile fix ........ r43997 | kpfleming | 2006-09-29 11:52:27 -0500 (Fri, 29 Sep 2006) | 2 lines support --without-curl in configure script ........ r44008 | kpfleming | 2006-09-29 13:25:49 -0500 (Fri, 29 Sep 2006) | 2 lines don't abuse CFLAGS and LDFLAGS for build of Asterisk components, because they are also then used for non-Asterisk components (like menuselect); use our own variables instead ........ r44011 | kpfleming | 2006-09-29 13:40:17 -0500 (Fri, 29 Sep 2006) | 2 lines missed one conversion to ASTCFLAGS ........ r44012 | kpfleming | 2006-09-29 13:49:07 -0500 (Fri, 29 Sep 2006) | 2 lines yet another place where we were not using the correct CFLAGS by default ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44013 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-19be a little more consistent with our variable usageJason Parker
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43257 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-18Change the includes to work on FreeBSDJason Parker
Linux has sys/soundcard.h, which does a #include <linux/soundcard.h> git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43240 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-15Many Solaris fixes - this moves some of the stuff from utils.c to strcompat.cJason Parker
Every OS uses strcompat now - this was done on purpose. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42982 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-09more makefile tweaks to keep targets from being run when they don't need to beKevin P. Fleming
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42505 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-08-26GNU make already knows how to quietly ignore non-existent files in 'include' ↵Kevin P. Fleming
directives git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41209 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-08-25Changes to fix all problems reported in 7804 are included here.Steve Murphy
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41150 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-08-21build muted by default, since there is no Makefile target for it anymoreKevin P. Fleming
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40770 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-08-21merge new_loader_completion branch, including (at least):Kevin P. Fleming
- 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: https://origsvn.digium.com/svn/asterisk/trunk@40722 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-07-15use LDFLAGS and LIBS properly, and allow dependencies to provide LDFLAGS if ↵Kevin P. Fleming
needed (although none do today) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@37653 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-07-06make the build output less noisy (optional, can be controlled by the ↵Kevin P. Fleming
NOISY_BUILD variable in the top-level Makefile) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@37273 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-22- convert the 'uninstall' target to use separate targets to process eachRussell Bryant
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: https://origsvn.digium.com/svn/asterisk/trunk@35503 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-22- specify that 'depend' is a .PHONY targetRussell Bryant
- use separate targets instead of a for loop for doing 'make depend' for each sub directory git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35501 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-22- specify that 'all' is a .PHONY targetRussell Bryant
- 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: https://origsvn.digium.com/svn/asterisk/trunk@35479 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-22add the 'clean', 'clean-depend', and 'dist-clean' targets as .PHONY targetsRussell Bryant
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: https://origsvn.digium.com/svn/asterisk/trunk@35415 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-13minor fixKevin P. Fleming
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@33869 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-10don't use ast_copy_string when building for an external toolRussell Bryant
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@33423 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-05use module names, not file names, in menuselectKevin P. Fleming
work around XML parsing bug in menuselect for default sounds package git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32407 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-30Be gone foul Makefile usage! er I mean use the correct variable... UTILS ↵Joshua Colp
instead of TARGET. (issue #7239 reported by casper) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@30805 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-24don't force the compiler nameKevin P. Fleming
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@30012 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-19we have to build local copies of aelflex.o, aelbison.o, and pbx_ael.o as wellRussell Bryant
to make sure aelparse doesn't use versions of these objects compiled with astmm support (issue #7122) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@28796 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-08Don't try to build aelparse if pbx_ael is disabled in menuselect (otherwise ↵Tilghman Lesher
the build breaks) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@25654 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-08remove incorrect Makefile rule that was causing aelparse to be rebuilt ↵Kevin P. Fleming
unnecessarily git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@25566 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-08don't let make use implicit rules for bison/flex output filesKevin P. Fleming
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@25565 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-02instead of just building local object files for ast_expr2.o and ast_expr2f.o,Russell Bryant
actually link to them as well git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@24213 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-30simplify CFLAGS handling for subdirectoriesKevin P. Fleming
don't put paths into the include search path when they are not needed don't auto-rebuild the AEL bison/flex output based on make dependencies (the generated files are already checked in, and the timestamps generated by a checkout will usually cause them to be overwritten) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@23582 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-29and now with the correct filenamesKevin P. Fleming
add basic support for checking for C compiler attribute support git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@23380 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-29add the other two files that should have been on this target... oopsKevin P. Fleming
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@23378 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-29fix up dependencies for aelparse so that bison/flex will not be run to ↵Kevin P. Fleming
rebuild source files (that should _only_ be done manually) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@23354 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-27uncomment some functions in the flex code that were actuallyLuigi Rizzo
used in the bison code - detected by making aelparse compile again. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@22702 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-24Merge Steve Murphy's (murf) complete re-implementation of AEL, which is now ↵Kevin P. Fleming
no longer considered experimental :-) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@22273 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-24Thanks to the fine work of Russell Bryant and Dancho Lazarov, we now have ↵Kevin P. Fleming
autoconf and menuselect tools for Asterisk! git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@22267 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-12ensure that dependencies are rebuilt after 'make update' so that builds ↵Kevin P. Fleming
don't break when files are removed/renamed git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@9691 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-01Allows for user to uninstall asterisk binariesMatt O'Gorman
bug 6177 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@9052 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-16remove redundant CFLAGS for BSD which are already set in the main Makefile ↵Russell Bryant
(issue #6250) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8101 65c4cc65-6c06-0410-ace0-fbb531ad65f3