Kevin P. Fleming
d12f54f90b
GNU make already knows how to quietly ignore non-existent files in 'include' directives
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41209 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-08-26 23:58:47 +00:00
Kevin P. Fleming
0a27d8bfe5
merge new_loader_completion branch, including (at least):
...
- 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-08-21 02:11:39 +00:00
Kevin P. Fleming
000ba592b2
more Makefile cleanup and consistency stuff
...
don't reuse LIBS variable from top-level Makefile (oops)
build Asterisk binary after subdirs (preparing for embedded modules)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@37661 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-07-15 19:59:35 +00:00
Kevin P. Fleming
748431f7b6
move rules file to prepare for generic rules file
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@37222 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-07-06 21:04:28 +00:00
Kevin P. Fleming
98a465fc09
move FreeTDS version check into configure script
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@36255 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-29 07:50:01 +00:00
Kevin P. Fleming
a579371f43
use new (separate) dependencies file from menuselect
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35895 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-25 08:50:14 +00:00
Kevin P. Fleming
e61d3d91f3
The Eurostar Commit! (it's amazing how much work you can get done on a 150 minute train ride from Paris to London <G>)
...
support the new location for zaptel.h and tonezone.h
use the dependency information output by menuselect to build Makefile rules for each module for header files and libraries
combine the common rules into a top-level Makefile.rules file
remove all (now) unnecessary stuff from subdir Makefiles
change translator API so that the newpvt() callback returns an int instead of a pointer (it no longer allocates memory)
alphabetize --with-<foo> options in configure script
enhance Net-SNMP support in configure script to provide a --with-netsnmp option
fix support for --with-pq so that if pg-config is not found when --with-pq is specified, an error will be generated
add 'optional package' usage to modules now that menuselect can output it
allow res_snmp to build by default, since the new loader changes coming soon will solve the function naming problem (and users can disable it via menuselect anyway)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35832 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-24 19:43:31 +00:00
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
Russell Bryant
9f2a6516cf
don't blow up in the sub Makefiles if menuselect.makeopts is not present. This
...
is valid in some cases, such as "make clean".
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@34738 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-19 00:14:16 +00:00
Russell Bryant
b6147a21b9
remove "depend" from the "all" targets in sub Makefiles. The main Makefile
...
already calls "make depend" for each of the subdirectories
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@34497 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-16 16:54:00 +00:00
Russell Bryant
503f99e2e8
remove the need to have to re-run make after a default menuselect.makeopts
...
file is generated. This allows a fresh checkout of asterisk to be built
and installed with the standard "./configure && make && make install".
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32798 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-07 16:03:31 +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
Russell Bryant
1fcc86d905
Add support for logging CDR recrods to a radius server (issue #6639 , phsultan)
...
- with contributions from miconda, jcollie, and sb
- branch maintained by oej
Thanks everyone!
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@29094 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-20 22:30:05 +00:00
Kevin P. Fleming
d7aead737d
Merged revisions 23673 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r23673 | kpfleming | 2006-04-30 09:27:56 -0500 (Sun, 30 Apr 2006) | 2 lines
allow top-level OPTIMIZE setting to affect builds in these subdirectories too
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@23674 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-30 14:28:25 +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
Mark Spencer
746c984500
Fix CDR builds when includes are in freetds directory off include
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@22232 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-24 03:40:12 +00:00
Luigi Rizzo
408a6e25e4
remove duplicate CFLAGS and SOLINK definitions that are
...
already in the top level Makefile
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@14351 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-23 13:39:36 +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
Kevin P. Fleming
764b5d8686
use auto-build for cdr modules
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@9565 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-11 17:24:44 +00:00
Tilghman Lesher
8774e4a7d8
Merged revisions 9233 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r9233 | tilghman | 2006-02-08 16:34:38 -0600 (Wed, 08 Feb 2006) | 2 lines
Leave it to RH/CentOS to put the freetds headers in a completely nonstandard location.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@9238 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-08 23:10:39 +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
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
Mark Spencer
3fbcf6e3d0
fix bsd compile issue (bug #5731 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7094 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-14 00:45:07 +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
a4c3f0ae61
Merge TDS cdr fixes (bug #5517 , with slight mods)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6892 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-29 18:49:25 +00:00
Kevin P. Fleming
a90915e4e9
fix cdr_pgsql build on Debian testing (issue #5064 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6453 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-08-30 15:59:25 +00:00
Kevin P. Fleming
9519f6c5f4
clean up, use make functions instead of subshells, remove unused stuff
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6449 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-08-30 02:54:02 +00:00
Kevin P. Fleming
0e9d920a60
move tools used during build into build_tools subdirectory
...
clean up Makefile headers
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5942 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-20 17:26:08 +00:00
Mark Spencer
a0a2592025
Fix cross compiling (bug #3868 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5278 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-03-27 22:39:17 +00:00
Mark Spencer
122d0d8de6
Add custom CDR (bug #3595 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5253 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-03-24 21:57:42 +00:00
Mark Spencer
82db278716
More Asterisk sparc patches (courtesy Belgarath)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3693 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-08-31 16:33:00 +00:00
Mark Spencer
d189993f15
Add Manager CDR (off by default) (bug #2127 ) courtesy cybershield
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3509 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-07-25 14:56:34 +00:00
Mark Spencer
a1531e0ae3
Ad MSSQL CDR support (bug #1859 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3497 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-07-23 17:34:57 +00:00
Mark Spencer
91a7960ad5
Add SQLite CDR support (bug #1986 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3390 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-07-08 08:29:26 +00:00
Mark Spencer
9286f2c6d3
More BSD compile fixes (bugs #1754 and #1756 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3121 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-05-31 19:40:23 +00:00
Mark Spencer
1499f1e480
Create individual sip reload command (bug #880 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2062 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-01-23 15:43:31 +00:00
Mark Spencer
f6d7d4d020
Remove /usr/include from path??
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1952 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-01-11 19:17:02 +00:00
Malcolm Davenport
452b07a6c2
Silly cdr_pgsql.so error
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1901 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-01-08 00:06:35 +00:00
Malcolm Davenport
73f26fd3b9
Fix for cdr_pgsql for Debian per Bug #609
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1899 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-01-07 23:48:22 +00:00
Jeremy McNamara
58c1a92bc4
check another possible location for unix-odbc install. Bug #727
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1885 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-12-28 20:13:29 +00:00
Mark Spencer
e8a355e872
Rename cdr_unixodbc to cdr_odbc
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1834 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-12-06 23:19:22 +00:00
Mark Spencer
3526997670
Merge BK's unix ODBC driver
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1809 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-12-02 00:21:53 +00:00
Jeremy McNamara
840e27bd41
This is for postgres, not mysql now. (it was buggin me)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1683 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-11-01 11:26:28 +00:00
Mark Spencer
4ce283ff18
Make it build and run on MacOS X
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1673 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-10-26 18:50:49 +00:00
Mark Spencer
b5bcecce5d
Add DESTDIR support (bug #200 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1664 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-10-25 17:27:53 +00:00
Mark Spencer
8cd100de39
Add PGSQL support
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1594 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-10-01 15:03:30 +00:00
Mark Spencer
9eb75e0e3e
Remove MySQL support from default Asterisk in accordance with new MySQL library licensing
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1550 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-09-26 22:03:10 +00:00