dect
/
asterisk
Archived
13
0
Fork 0
Commit Graph

97 Commits

Author SHA1 Message Date
russell 8cb5683206 pointer signedness warnings
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@37302 f38db490-d61c-443f-a65b-d21fe96a405b
2006-07-07 16:20:28 +00:00
kpfleming e319f5334e make the build output less noisy (optional, can be controlled by the 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-07-06 23:18:45 +00:00
russell 9b1d7f9fa8 - 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: http://svn.digium.com/svn/asterisk/trunk@35503 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-22 15:38:13 +00:00
russell ddb0e59eb0 - 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: http://svn.digium.com/svn/asterisk/trunk@35501 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-22 15:08:08 +00:00
russell 0bb78235cb - 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: http://svn.digium.com/svn/asterisk/trunk@35479 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-22 14:09:18 +00:00
russell b70a7c6a7c 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: http://svn.digium.com/svn/asterisk/trunk@35415 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-22 11:27:03 +00:00
kpfleming e456018965 minor fix
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@33869 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-13 15:11:29 +00:00
russell f352569f79 don't use ast_copy_string when building for an external tool
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@33423 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-10 04:41:34 +00:00
russell c299dc314b don't redefine PATH_MAX
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@33422 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-10 04:38:04 +00:00
russell 44ee84a182 convert a few more uses of AST_CONFIG_MAX_PATH to use PATH_MAX
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@33421 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-10 04:34:48 +00:00
kpfleming cbd3156f72 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: http://svn.digium.com/svn/asterisk/trunk@32860 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-07 19:05:35 +00:00
kpfleming 73c525e6e2 simplify autoconfig include mechanism (make tholo happy he can use lint again :-)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@32846 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-07 18:54:56 +00:00
kpfleming bb0b421ea8 use module names, not file names, in menuselect
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-06-05 20:46:27 +00:00
file 2290704127 Be gone foul Makefile usage! er I mean use the correct variable... UTILS 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-30 16:23:34 +00:00
kpfleming 2671db4051 don't force the compiler name
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@30012 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-24 18:18:14 +00:00
russell e9b1b115e3 fix the build of func_realtime and aelparse with MTX_PROFILE enabled
(issue #7187, #7188, casper)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@28895 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-20 00:41:36 +00:00
russell 4a2c61fdc8 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: http://svn.digium.com/svn/asterisk/trunk@28796 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-19 19:46:10 +00:00
russell 52c9e41ded 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: http://svn.digium.com/svn/asterisk/trunk@28791 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-19 19:19:27 +00:00
tilghman df142b8142 Don't try to build aelparse if pbx_ael is disabled in menuselect (otherwise the build breaks)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@25654 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-08 16:47:49 +00:00
kpfleming 7dade312ab remove incorrect Makefile rule that was causing aelparse to be rebuilt unnecessarily
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@25566 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-08 14:43:49 +00:00
kpfleming dff3da58c2 don't let make use implicit rules for bison/flex output files
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@25565 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-08 14:34:32 +00:00
russell ea05e09317 instead of just building local object files for ast_expr2.o and ast_expr2f.o,
actually link to them as well


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@24213 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-02 17:17:19 +00:00
russell f2062e9c84 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: http://svn.digium.com/svn/asterisk/trunk@24115 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-02 03:03:27 +00:00
rizzo 8eb09360b1 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: http://svn.digium.com/svn/asterisk/trunk@24020 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-01 20:44:26 +00:00
russell 6decaec170 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: http://svn.digium.com/svn/asterisk/trunk@23984 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-01 19:23:43 +00:00
kpfleming 7313590690 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: http://svn.digium.com/svn/asterisk/trunk@23582 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-30 11:40:06 +00:00
kpfleming c228e657ce and now with the correct filenames
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-29 15:31:45 +00:00
kpfleming c197a96d0f add the other two files that should have been on this target... oops
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@23378 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-29 15:15:21 +00:00
kpfleming 4e767760c8 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: http://svn.digium.com/svn/asterisk/trunk@23354 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-29 14:48:32 +00:00
rizzo d87a3b0d91 uncomment some functions in the flex code that were actually
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-27 00:05:05 +00:00
kpfleming 6baa8fbab8 Merge Steve Murphy's (murf) complete re-implementation of AEL, which is now no longer considered experimental :-)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@22273 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-24 17:41:27 +00:00
kpfleming 29f496ef12 Thanks to the fine work of Russell Bryant and Dancho Lazarov, we now have autoconf and menuselect tools for Asterisk!
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@22267 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-24 17:11:45 +00:00
rizzo 08c77ea86d 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: http://svn.digium.com/svn/asterisk/trunk@19544 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-12 20:40:46 +00:00
oej 7a3d9bbdd0 Update to code documentation and developer guidelines.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@16161 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-29 17:09:33 +00:00
kpfleming eed38bf1f8 remove file for testing
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@9994 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-14 19:37:19 +00:00
kpfleming 8f9a21a235 test pre-commit script
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@9993 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-14 19:28:07 +00:00
kpfleming e217105bfc ensure that dependencies are rebuilt after 'make update' so that builds 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-12 16:52:42 +00:00
mogorman 4ef13bdcda Allows for user to uninstall asterisk binaries
bug 6177


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@9052 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-01 18:39:41 +00:00
russell b902e3122f 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: http://svn.digium.com/svn/asterisk/trunk@8618 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-25 05:37:29 +00:00
russell a1447ba856 remove redundant CFLAGS for BSD which are already set in the main Makefile (issue #6250)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8101 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-16 17:51:35 +00:00
russell d0bde5055e 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: http://svn.digium.com/svn/asterisk/trunk@7431 f38db490-d61c-443f-a65b-d21fe96a405b
2005-12-11 06:17:36 +00:00
kpfleming 24c1e3c222 git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7221 f38db490-d61c-443f-a65b-d21fe96a405b 2005-11-29 18:24:39 +00:00
kpfleming 6c54a7cf87 git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7220 f38db490-d61c-443f-a65b-d21fe96a405b 2005-11-29 18:09:49 +00:00
kpfleming 4d4023555b issue #4678
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6936 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-01 21:53:30 +00:00
markster 2f31af92de Fix build of CVS head on Solaris (bug #5527)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6895 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-30 07:24:27 +00:00
kpfleming 2581bee947 fix compiler warnings
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6872 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-28 16:19:04 +00:00
russell a7e7f480c3 fix build on older versions of mac osx, thanks twisted!
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6814 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-18 03:24:41 +00:00
russell a8680bf79f make ouput a little bit more informative
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6802 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-16 23:01:14 +00:00
kpfleming f89c44df03 more license/copyright header updates (thanks Ian!)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6618 f38db490-d61c-443f-a65b-d21fe96a405b
2005-09-15 15:44:26 +00:00
kpfleming 95fe2b8fd4 update MANY more files with proper copyright/license info (thanks Ian!)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6596 f38db490-d61c-443f-a65b-d21fe96a405b
2005-09-14 20:46:50 +00:00