dect
/
asterisk
Archived
13
0
Fork 0
Commit Graph

23 Commits

Author SHA1 Message Date
rizzo a1bcb3dd4e as discussed some time ago on the -dev list, create embedde object
with a .eo suffix even if they are coming from .cc sources.
This simplifies the handling in the build scripts.



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89387 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-17 17:27:26 +00:00
rizzo 3957f706bb put back default optimization to -O6 (previously changed by mistake)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89334 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-16 20:15:21 +00:00
rizzo 883346d64a Start untangling header inclusion in a way that does not affect
build times - tested, there is no measureable difference before and
after this commit.

In this change:

use asterisk/compat.h to include a small set of system headers:
inttypes.h, unistd.h, stddef.h, stddint.h, sys/types.h, stdarg.h,
stdlib.h, alloca.h, stdio.h

Where available, the inclusion is conditional on HAVE_FOO_H as determined
by autoconf.

Normally, source files should not include any of the above system headers,
and instead use either "asterisk.h" or "asterisk/compat.h" which does it
better. 

For the time being I have left alone second-level directories
(main/db1-ast, etc.).



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89333 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-16 20:04:58 +00:00
kpfleming a67b783299 use a variable name that actually indicates what it is for
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@88584 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-05 17:00:07 +00:00
rizzo 6e1338853c Put extra compiler flags into a variable so they are not repeated
too many times.
On passing, add some comments and fix indentation a bit.

On passing, i suspect that the following pattern is wrong

	%.eoo: %.o

but in case it will be fixed in a later commit.



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@88553 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-05 16:41:39 +00:00
russell 0ed805dce6 Merged revisions 84957 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r84957 | russell | 2007-10-07 22:28:34 -0500 (Sun, 07 Oct 2007) | 6 lines

Enable file dependency tracking for _all_ builds, and not just for builds with
dev-mode enabled.  I have seen enough problems caused by this that I don't think
it's worth keeping.  I want to continue to encourage anybody that is interested
to continue to run Asterisk from svn.  Furthermore, I do not want their systems
to break when we change a structure definition in a header file.  :)

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@84958 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-08 03:29:38 +00:00
qwell d8dcdb0740 Merged revisions 84291 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r84291 | qwell | 2007-10-01 16:52:45 -0500 (Mon, 01 Oct 2007) | 6 lines

Add dist-clean support for subdirs.

Change h323 to only remove the Makefile on a dist-clean, rather than a clean.

This fixes a bug I found with trying to run make after a make clean

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@84300 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-01 21:54:41 +00:00
kpfleming ac1f0d5427 give embedded modules a helping hand by backing up and restoring their global variables when they are loaded and unloaded
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@56092 f38db490-d61c-443f-a65b-d21fe96a405b
2007-02-22 02:36:00 +00:00
russell b11c258ff3 Merged revisions 50994 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r50994 | russell | 2007-01-15 17:49:48 -0600 (Mon, 15 Jan 2007) | 2 lines

Filter out a few CFLAGS that are not valid CXXFLAGS.

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@50995 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-15 23:51:04 +00:00
kpfleming a5d83fb31d Merged revisions 50867 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r50867 | kpfleming | 2007-01-15 09:03:06 -0600 (Mon, 15 Jan 2007) | 2 lines

use the ACX_PTHREAD macro from the Autoconf macro archive for setting up compiler pthreads support... should improve portability to platforms with unusual pthreads requirements

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@50869 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-15 15:08:45 +00:00
kpfleming 43352cadc9 Merged revisions 49282 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r49282 | kpfleming | 2007-01-02 21:21:25 -0600 (Tue, 02 Jan 2007) | 2 lines

various Makefile improvements to get chan_vpb (and any other C++ modules) to build properly

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@49283 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-03 03:28:12 +00:00
kpfleming 7fdeb17c60 Merged revisions 48525 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r48525 | kpfleming | 2006-12-16 15:14:34 -0600 (Sat, 16 Dec 2006) | 2 lines

simplify dependency tracking system, using the compiler's built-in method for generating them, and only doing dependency tracking if developer mode is enabled via the configure script

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@48527 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-16 21:24:52 +00:00
kpfleming a8442c9b22 Merged revisions 44055 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r44055 | kpfleming | 2006-09-29 17:47:40 -0500 (Fri, 29 Sep 2006) | 2 lines

fix a few build system bugs, and convert Makefiles to be compatible with GNU make 3.80

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@44056 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-29 22:48:43 +00:00
kpfleming 170dae49be Merged revisions 43996-43997,44008,44011-44012 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r43996 | kpfleming | 2006-09-29 11:47:05 -0500 (Fri, 29 Sep 2006) | 2 lines

another cross-compile fix

........
r43997 | kpfleming | 2006-09-29 11:52:27 -0500 (Fri, 29 Sep 2006) | 2 lines

support --without-curl in configure script

........
r44008 | kpfleming | 2006-09-29 13:25:49 -0500 (Fri, 29 Sep 2006) | 2 lines

don't abuse CFLAGS and LDFLAGS for build of Asterisk components, because they are also then used for non-Asterisk components (like menuselect); use our own variables instead

........
r44011 | kpfleming | 2006-09-29 13:40:17 -0500 (Fri, 29 Sep 2006) | 2 lines

missed one conversion to ASTCFLAGS

........
r44012 | kpfleming | 2006-09-29 13:49:07 -0500 (Fri, 29 Sep 2006) | 2 lines

yet another place where we were not using the correct CFLAGS by default

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@44013 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-29 18:54:21 +00:00
kpfleming 0439aaa76a more makefile tweaks to keep targets from being run when they don't need to be
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@42505 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-09 03:27:21 +00:00
kpfleming ac3db825c1 oops... no pattern rules for bison/flex
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@40724 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-21 02:26:51 +00:00
kpfleming 8b0c007ad9 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: http://svn.digium.com/svn/asterisk/trunk@40722 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-21 02:11:39 +00:00
rizzo 04512adb49 use a couple of variables to remove duplicate definitions
of the various rules for the NOISY/!NOISY cases.

Approved by: kevin



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@37744 f38db490-d61c-443f-a65b-d21fe96a405b
2006-07-16 22:24:39 +00:00
rizzo 792bd16a38 typo LDFAGS -> LDFLLAGS
detected by: noisy build on FreeBSD



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@37719 f38db490-d61c-443f-a65b-d21fe96a405b
2006-07-16 13:01:48 +00:00
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 6fd4ad8a66 add missing file
ignore .oo files from C++ modules


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@37274 f38db490-d61c-443f-a65b-d21fe96a405b
2006-07-06 23:20:14 +00:00
kpfleming 84cc5e8bd0 move rules file to prepare for generic rules file
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@37222 f38db490-d61c-443f-a65b-d21fe96a405b
2006-07-06 21:04:28 +00:00
kpfleming a6fce734b8 commit missing file
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@35854 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-24 23:26:19 +00:00