Commit Graph

95 Commits

Author SHA1 Message Date
Russell Bryant 48ae9f0d4f - convert the 'uninstall' target to use separate targets to process each
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 15:38:13 +00:00
Russell Bryant 55e8a60363 - specify that 'depend' is a .PHONY target
- 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 15:08:08 +00:00
Russell Bryant 9db0520ff9 - specify that 'all' is a .PHONY target
- 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-22 14:09:18 +00:00
Russell Bryant c399a06450 add the 'clean', 'clean-depend', and 'dist-clean' targets as .PHONY targets
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-22 11:27:03 +00:00
Kevin P. Fleming 241cd6163a minor fix
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@33869 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-13 15:11:29 +00:00
Russell Bryant 171992e505 don't use ast_copy_string when building for an external tool
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@33423 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-10 04:41:34 +00:00
Russell Bryant 89672b86d0 don't redefine PATH_MAX
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@33422 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-10 04:38:04 +00:00
Russell Bryant 0e140be311 convert a few more uses of AST_CONFIG_MAX_PATH to use PATH_MAX
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@33421 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-10 04:34:48 +00:00
Kevin P. Fleming 274ce731e2 move autoconfig.h to the include/asterisk directory so it will get installed
install asterisk.h include the system's default include directory


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32860 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-07 19:05:35 +00:00
Kevin P. Fleming 472c1ca282 simplify autoconfig include mechanism (make tholo happy he can use lint again :-)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32846 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-07 18:54:56 +00:00
Kevin P. Fleming e856010714 use module names, not file names, in menuselect
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-06-05 20:46:27 +00:00
Joshua Colp 3872b97683 Be gone foul Makefile usage! er I mean use the correct variable... UTILS 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-30 16:23:34 +00:00
Kevin P. Fleming 0661a76fc7 don't force the compiler name
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@30012 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-24 18:18:14 +00:00
Russell Bryant 3d022d073a fix the build of func_realtime and aelparse with MTX_PROFILE enabled
(issue #7187, #7188, casper)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@28895 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-20 00:41:36 +00:00
Russell Bryant 4a8ed5c136 we have to build local copies of aelflex.o, aelbison.o, and pbx_ael.o as well
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-19 19:46:10 +00:00
Russell Bryant c91382a0a0 Merged revisions 28790 via svnmerge from
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: https://origsvn.digium.com/svn/asterisk/trunk@28791 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-19 19:19:27 +00:00
Tilghman Lesher 9d07a0ffc6 Don't try to build aelparse if pbx_ael is disabled in menuselect (otherwise the build breaks)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@25654 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-08 16:47:49 +00:00
Kevin P. Fleming b4b36d6b83 remove incorrect Makefile rule that was causing aelparse to be rebuilt unnecessarily
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@25566 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-08 14:43:49 +00:00
Kevin P. Fleming a4e7ae1537 don't let make use implicit rules for bison/flex output files
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@25565 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-08 14:34:32 +00:00
Russell Bryant 7c46ef67ad instead of just building local object files for ast_expr2.o and ast_expr2f.o,
actually link to them as well


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@24213 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-02 17:17:19 +00:00
Russell Bryant 34e0ae0e6a The build of aelparse was still broken in some cases, so instead of having to
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: https://origsvn.digium.com/svn/asterisk/trunk@24115 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-02 03:03:27 +00:00
Luigi Rizzo e635b463fc add missing functions - see the comment in the file explaining
in detail why this is needed and that hopefully this is a
temporary workaround.



git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@24020 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-01 20:44:26 +00:00
Russell Bryant d2e78c7b35 make sure non-inlined versions of ast_copy_string and _ast_calloc are available
in the cases where they are needed (issue #7054)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@23984 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-01 19:23:43 +00:00
Kevin P. Fleming 7343d311f1 simplify CFLAGS handling for subdirectories
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-30 11:40:06 +00:00
Kevin P. Fleming 3878a2a9fb and now with the correct filenames
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-29 15:31:45 +00:00
Kevin P. Fleming 24f241bc72 add the other two files that should have been on this target... oops
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@23378 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-29 15:15:21 +00:00
Kevin P. Fleming 54d6194340 fix up dependencies for aelparse so that bison/flex will not be run to 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-29 14:48:32 +00:00
Luigi Rizzo d19f767c3c uncomment some functions in the flex code that were actually
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-27 00:05:05 +00:00
Kevin P. Fleming 5f58cc8770 Merge Steve Murphy's (murf) complete re-implementation of AEL, which is now no longer considered experimental :-)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@22273 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-24 17:41:27 +00:00
Kevin P. Fleming 574e14cbea Thanks to the fine work of Russell Bryant and Dancho Lazarov, we now have autoconf and menuselect tools for Asterisk!
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@22267 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-24 17:11:45 +00:00
Luigi Rizzo 2876a25505 add 'show threads' and 'show profile' commands.
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: https://origsvn.digium.com/svn/asterisk/trunk@19544 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-12 20:40:46 +00:00
Olle Johansson 13bcb6ed7d Update to code documentation and developer guidelines.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@16161 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-29 17:09:33 +00:00
Kevin P. Fleming e6fb895741 remove file for testing
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@9994 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-14 19:37:19 +00:00
Kevin P. Fleming e9a9823e94 test pre-commit script
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@9993 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-14 19:28:07 +00:00
Kevin P. Fleming e7c198453d ensure that dependencies are rebuilt after 'make update' so that builds 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-12 16:52:42 +00:00
Matt O'Gorman 7d03c33e0a Allows for user to uninstall asterisk binaries
bug 6177


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@9052 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-01 18:39:41 +00:00
Russell Bryant 3d93e85ade don't leak almost 200 bytes for each new channel and store the active
channel list using the linked list macros (issue #6330)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8618 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-25 05:37:29 +00:00
Russell Bryant 4a7cec937d remove redundant CFLAGS for BSD which are already set in the main Makefile (issue #6250)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8101 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-16 17:51:35 +00:00
Russell Bryant fcbe928353 Merged revisions 7404,7406,7425,7427,7429-7430 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r7404 | tilghman | 2005-12-08 18:32:08 -0500 (Thu, 08 Dec 2005) | 2 lines

Documenting two keywords that were previously missing

........
r7406 | tilghman | 2005-12-08 18:45:36 -0500 (Thu, 08 Dec 2005) | 2 lines

Bug 5960

........
r7425 | bweschke | 2005-12-10 13:10:50 -0500 (Sat, 10 Dec 2005) | 4 lines

 Bug #5877
 Make sure the digit string from E&M wink DNIS collection is properly null terminated as it grows.


........
r7427 | tilghman | 2005-12-10 20:15:15 -0500 (Sat, 10 Dec 2005) | 2 lines

Bug 5967

........
r7429 | tilghman | 2005-12-10 20:26:51 -0500 (Sat, 10 Dec 2005) | 2 lines

Bug 5965 - major bug in AST_LIST_REMOVE

........
r7430 | russell | 2005-12-11 01:08:56 -0500 (Sun, 11 Dec 2005) | 2 lines

silence a couple of compiler warnings about pointer signedness

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7431 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-12-11 06:17:36 +00:00
Kevin P. Fleming 2c65582b66 remove extraneous svn:executable properties
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7221 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-29 18:24:39 +00:00
Kevin P. Fleming c14588af86 remove remaining .cvsignore files
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7220 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-29 18:09:49 +00:00
Kevin P. Fleming 7ffb604a2f issue #4678
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6936 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-01 21:53:30 +00:00
Mark Spencer 06320f5790 Fix build of CVS head on Solaris (bug #5527)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6895 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-30 07:24:27 +00:00
Kevin P. Fleming 59584f5744 fix compiler warnings
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6872 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-28 16:19:04 +00:00
Russell Bryant 463ad17f5d fix build on older versions of mac osx, thanks twisted!
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6814 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-18 03:24:41 +00:00
Russell Bryant 858e90fe57 make ouput a little bit more informative
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6802 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-16 23:01:14 +00:00
Kevin P. Fleming b8f23573fa more license/copyright header updates (thanks Ian!)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6618 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-15 15:44:26 +00:00
Kevin P. Fleming 5da915dcfd update MANY more files with proper copyright/license info (thanks Ian!)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6596 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-14 20:46:50 +00:00
Russell Bryant 99b3d9206d delete streamplayer with 'make clean'
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6594 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-14 18:47:54 +00:00
Kevin P. Fleming 72437b1dba more BSD portability fixes (issue #5155)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6578 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-14 01:10:20 +00:00