Archived
14
0
Fork 0
Commit graph

45 commits

Author SHA1 Message Date
kpfleming
661a4f572c use LDFLAGS and LIBS properly, and allow dependencies to provide LDFLAGS if needed (although none do today)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@37653 f38db490-d61c-443f-a65b-d21fe96a405b
2006-07-15 16:40:05 +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
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
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
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
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
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
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
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
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
russell
3a59e18f4e delete streamplayer with 'make clean'
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6594 f38db490-d61c-443f-a65b-d21fe96a405b
2005-09-14 18:47:54 +00:00
kpfleming
475a3fdb24 clean up, use make functions instead of subshells, remove unused stuff
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6449 f38db490-d61c-443f-a65b-d21fe96a405b
2005-08-30 02:54:02 +00:00
kpfleming
558f8be1b8 don't make expression evaluator allocate a memory buffer for each result
to
be returned; use the buffers already present in the PBX for this purpose
update testexpr2/check_expr to allocate buffers for expression
evaluation


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6440 f38db490-d61c-443f-a65b-d21fe96a405b
2005-08-29 22:03:37 +00:00
kpfleming
304aac9d8f support new format for musiconhold.conf (issue #4908)
support non-SLINEAR moh streams (issue #4908)
add external app to feed TCP stream into Asterisk for moh (issue #4908)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6353 f38db490-d61c-443f-a65b-d21fe96a405b
2005-08-22 19:29:29 +00:00
kpfleming
15d8d818f1 enhance check_expr to check for parsing errors in dialplans (bug #4556)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5959 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-21 20:16:51 +00:00
kpfleming
e4c73c5b8d move tools used during build into build_tools subdirectory
clean up Makefile headers


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5942 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-20 17:26:08 +00:00
kpfleming
75a3ea0735 add check_expr to 'make clean' and CVS ignore list
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5890 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-09 21:12:03 +00:00
mattf
b771b1c28b Fix 'make clean' bug in for app (Bug 4230)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5619 f38db490-d61c-443f-a65b-d21fe96a405b
2005-05-10 18:52:09 +00:00
markster
820210ba24 Fix to makefile (bug #4215)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5611 f38db490-d61c-443f-a65b-d21fe96a405b
2005-05-09 14:20:11 +00:00
markster
72fc19e07f Fix cross compiling (bug #3868)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5278 f38db490-d61c-443f-a65b-d21fe96a405b
2005-03-27 22:39:17 +00:00
markster
57710533e7 Add support for Solaris/x86 (bug #3064)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5199 f38db490-d61c-443f-a65b-d21fe96a405b
2005-03-17 23:12:15 +00:00
markster
799f7460d9 Add stereoize (bug #3142), faster than soxmix
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4859 f38db490-d61c-443f-a65b-d21fe96a405b
2005-01-21 03:56:22 +00:00
markster
7c11bf6377 Fix silly error in makefile (bug #3081)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4475 f38db490-d61c-443f-a65b-d21fe96a405b
2004-12-18 13:38:15 +00:00
markster
4834419aa8 DISA fix, makefile fix (bug #3049)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4461 f38db490-d61c-443f-a65b-d21fe96a405b
2004-12-15 20:29:31 +00:00
markster
13d6d51696 Fix it so TARGET always has at least one thing in it (bug #3049)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4456 f38db490-d61c-443f-a65b-d21fe96a405b
2004-12-15 16:09:30 +00:00
markster
6e1a5b03df Fix minor makefile issues (bug #3036)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4444 f38db490-d61c-443f-a65b-d21fe96a405b
2004-12-13 21:45:03 +00:00
markster
780ddd6c32 Merge sms stuff and move to "utils" subdir (bug #2973)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4429 f38db490-d61c-443f-a65b-d21fe96a405b
2004-12-11 22:36:27 +00:00
Renamed from astman/Makefile (Browse further)