aboutsummaryrefslogtreecommitdiffstats
path: root/utils
AgeCommit message (Collapse)AuthorFilesLines
2006-09-15Many Solaris fixes - this moves some of the stuff from utils.c to strcompat.cqwell1-3/+5
Every OS uses strcompat now - this was done on purpose. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@42982 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-09more makefile tweaks to keep targets from being run when they don't need to bekpfleming1-1/+3
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@42505 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-29suppress compiler warningrussell1-1/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@41271 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-28My apologies, I missed the compiler warning in a previous commit for the ↵murf1-1/+1
ael_main.c; I've fixed this. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@41230 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-26GNU make already knows how to quietly ignore non-existent files in 'include' ↵kpfleming1-3/+1
directives git-svn-id: http://svn.digium.com/svn/asterisk/trunk@41209 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-25Changes to fix all problems reported in 7804 are included here.murf2-5/+24
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@41150 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-22Another compile time warning bites the dustfile1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@40820 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-21build muted by default, since there is no Makefile target for it anymorekpfleming1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@40770 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-21merge new_loader_completion branch, including (at least):kpfleming3-16/+710
- 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-11added a -q for quiet, option to aelparsemurf1-19/+30
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@39543 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-09This commit adds the enhancemnt per bug 7606, addingmurf1-33/+266
the -w option to aelparse. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@39431 f38db490-d61c-443f-a65b-d21fe96a405b
2006-07-15use LDFLAGS and LIBS properly, and allow dependencies to provide LDFLAGS if ↵kpfleming1-7/+6
needed (although none do today) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@37653 f38db490-d61c-443f-a65b-d21fe96a405b
2006-07-07pointer signedness warningsrussell1-3/+3
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@37302 f38db490-d61c-443f-a65b-d21fe96a405b
2006-07-06make the build output less noisy (optional, can be controlled by the ↵kpfleming1-34/+21
NOISY_BUILD variable in the top-level Makefile) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@37273 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-22- convert the 'uninstall' target to use separate targets to process eachrussell1-1/+1
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: http://svn.digium.com/svn/asterisk/trunk@35503 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-22- specify that 'depend' is a .PHONY targetrussell1-1/+1
- use separate targets instead of a for loop for doing 'make depend' for each sub directory git-svn-id: http://svn.digium.com/svn/asterisk/trunk@35501 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-22- specify that 'all' is a .PHONY targetrussell1-2/+2
- 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: http://svn.digium.com/svn/asterisk/trunk@35479 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-22add the 'clean', 'clean-depend', and 'dist-clean' targets as .PHONY targetsrussell1-0/+2
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: http://svn.digium.com/svn/asterisk/trunk@35415 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-13minor fixkpfleming1-2/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@33869 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-10don't use ast_copy_string when building for an external toolrussell1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@33423 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-10don't redefine PATH_MAXrussell1-2/+0
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@33422 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-10convert a few more uses of AST_CONFIG_MAX_PATH to use PATH_MAXrussell1-3/+3
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@33421 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-07move autoconfig.h to the include/asterisk directory so it will get installedkpfleming3-3/+3
install asterisk.h include the system's default include directory git-svn-id: http://svn.digium.com/svn/asterisk/trunk@32860 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-07simplify autoconfig include mechanism (make tholo happy he can use lint ↵kpfleming3-0/+7
again :-) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@32846 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-05use module names, not file names, in menuselectkpfleming1-1/+1
work around XML parsing bug in menuselect for default sounds package git-svn-id: http://svn.digium.com/svn/asterisk/trunk@32407 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-30Be gone foul Makefile usage! er I mean use the correct variable... UTILS ↵file1-2/+2
instead of TARGET. (issue #7239 reported by casper) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@30805 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-24don't force the compiler namekpfleming1-3/+3
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@30012 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-20fix the build of func_realtime and aelparse with MTX_PROFILE enabledrussell1-3/+8
(issue #7187, #7188, casper) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@28895 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-19we have to build local copies of aelflex.o, aelbison.o, and pbx_ael.o as wellrussell1-5/+11
to make sure aelparse doesn't use versions of these objects compiled with astmm support (issue #7122) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@28796 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-19Merged revisions 28790 via svnmerge from russell1-2/+2
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r28790 | russell | 2006-05-19 15:18:41 -0400 (Fri, 19 May 2006) | 3 lines fix the build of smsq with -Werror. I learned something new about format strings from this patch! (issue #7141, Mithraen) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@28791 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-08Don't try to build aelparse if pbx_ael is disabled in menuselect (otherwise ↵tilghman1-0/+4
the build breaks) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@25654 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-08remove incorrect Makefile rule that was causing aelparse to be rebuilt ↵kpfleming1-2/+0
unnecessarily git-svn-id: http://svn.digium.com/svn/asterisk/trunk@25566 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-08don't let make use implicit rules for bison/flex output fileskpfleming1-1/+7
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@25565 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-02instead of just building local object files for ast_expr2.o and ast_expr2f.o,russell1-1/+1
actually link to them as well git-svn-id: http://svn.digium.com/svn/asterisk/trunk@24213 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-02The build of aelparse was still broken in some cases, so instead of having to russell1-48/+0
keep figuring out workarounds for build issues on various platforms, just go ahead and remove what started all of this. Two instances of ast_calloc have been changed to calloc in pbx/ael/ael.y. ast_copy_string isn't actually needed here because the only place it is used is in ast_expr2f.c. However, the utils Makefile already builds its own ast_expr2f.o with -DSTANDALONE, which makes it use strncpy instead of ast_copy_string. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@24115 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-01add missing functions - see the comment in the file explainingrizzo1-0/+39
in detail why this is needed and that hopefully this is a temporary workaround. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@24020 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-01make sure non-inlined versions of ast_copy_string and _ast_calloc are availablerussell1-12/+10
in the cases where they are needed (issue #7054) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@23984 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-30simplify CFLAGS handling for subdirectorieskpfleming1-6/+6
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: http://svn.digium.com/svn/asterisk/trunk@23582 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-29and now with the correct filenameskpfleming1-1/+1
add basic support for checking for C compiler attribute support git-svn-id: http://svn.digium.com/svn/asterisk/trunk@23380 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-29add the other two files that should have been on this target... oopskpfleming1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@23378 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-29fix up dependencies for aelparse so that bison/flex will not be run to ↵kpfleming1-3/+5
rebuild source files (that should _only_ be done manually) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@23354 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-27uncomment some functions in the flex code that were actuallyrizzo2-9/+7
used in the bison code - detected by making aelparse compile again. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@22702 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-24Merge Steve Murphy's (murf) complete re-implementation of AEL, which is now ↵kpfleming3-0/+372
no longer considered experimental :-) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@22273 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-24Thanks to the fine work of Russell Bryant and Dancho Lazarov, we now have ↵kpfleming1-15/+19
autoconf and menuselect tools for Asterisk! git-svn-id: http://svn.digium.com/svn/asterisk/trunk@22267 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-12add 'show threads' and 'show profile' commands.rizzo1-0/+19
These are momstly debugging tools for developers, a bit documented in the header files (utils.h), although more documentation is definitely necessary. The performance impact is close to zero(*) so there is no need to compile it conditionally. (*) not completely true - thread destruction still needs to search a list _but_ this can be easily optimized if we end up with hundreds of active threads (in which case, though, the problem is clearly elsewhere). git-svn-id: http://svn.digium.com/svn/asterisk/trunk@19544 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-29Update to code documentation and developer guidelines.oej1-2/+11
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@16161 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-14remove file for testingkpfleming1-1/+0
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@9994 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-14test pre-commit scriptkpfleming1-0/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@9993 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-12ensure that dependencies are rebuilt after 'make update' so that builds ↵kpfleming1-2/+5
don't break when files are removed/renamed git-svn-id: http://svn.digium.com/svn/asterisk/trunk@9691 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-01Allows for user to uninstall asterisk binariesmogorman1-0/+3
bug 6177 git-svn-id: http://svn.digium.com/svn/asterisk/trunk@9052 f38db490-d61c-443f-a65b-d21fe96a405b