dect
/
asterisk
Archived
13
0
Fork 0
Commit Graph

469 Commits

Author SHA1 Message Date
qwell 80cb3f85ab Add Makefile alias target 'pdf' which does the same thing as asterisk.pdf.
Issue 11452, reported by blitzrage.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@90929 f38db490-d61c-443f-a65b-d21fe96a405b
2007-12-04 18:15:17 +00:00
russell e09e950389 make sure we check to see if the configure script has been executed on a new checkout or after a distclean
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89590 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-26 17:25:08 +00:00
rizzo e87c861cca initial makefile changes to build loadable modules under cygwin
(not complete yet - still need to sort out dependecies on res_*)



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89443 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-20 07:42:38 +00:00
rizzo ba23cef4c0 will i ever get precedences for windows right ?
in the meantime, use a variable to ease enabling/disabling print subdirectories.



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89390 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-17 19:27:51 +00:00
rizzo 49ec17e59f reformulate dependencies in a more correct way
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89389 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-17 19:00:07 +00:00
rizzo aaec5b990e wrong variable, wrong order -> broken build.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89381 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-17 14:44:03 +00:00
rizzo c1f095dd97 support cygwin targets
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89376 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-17 11:57:52 +00:00
rizzo ed06295d0c these linker flags apply to both cygwin and mingw32
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89369 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-17 10:12:43 +00:00
rizzo 9894ab1869 linker flags for mingw32
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89358 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-17 04:19:02 +00:00
tilghman 60b38751b2 Merged revisions 89302 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r89302 | tilghman | 2007-11-15 12:37:38 -0600 (Thu, 15 Nov 2007) | 2 lines

Start Asterisk in Debian at a more reasonable time (since zaptel is at level 20)

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89304 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-15 18:49:31 +00:00
qwell f13c4e97f3 oops, somebody left out the directory here...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89203 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-13 00:19:50 +00:00
rizzo 4362bb4033 remove enter/exit comments when handling subdirectory.
If we really want them we can remove the --no-print-directory



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89084 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-07 13:12:28 +00:00
rizzo b80a2e18e5 match changes in menuselect's Makefile
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89082 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-07 11:15:42 +00:00
rizzo 4048d8e9e6 don't export variables that can be retrieved from makeopts in child subdirs
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@88898 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-06 07:26:25 +00:00
rizzo 6ba6ba6e24 Move AUDIO_LIBS outside the top level Makefile. This too is used only
in one place.



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@88770 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-05 21:36:11 +00:00
rizzo 9ed4fe37f7 Move the last instance of AST_LIBS to the only place it is used,
namely main/Makefile .

I am unclear where decisions on the build environment (CFLAGS,
LDFLAGS, LIBS and so on) should be made - right now they are
split here and there.

As a first step in cleaning up this situation, i am trying to at
least collect all instances of each variable in one place.



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@88767 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-05 21:27:04 +00:00
rizzo e9521cd0c9 Cleanup the installation of samples, avoiding repetitions.
I am preserving the behaviour on *.adsi files,
i.e. overwrite anything there without making a backup.
However I am not sure that this is the intended behaviour.



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@88675 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-05 19:22:56 +00:00
rizzo 32e50d89aa simplify (hopefully) the printing of $(MAKE) in aligned output.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@88652 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-05 18:00:24 +00:00
rizzo 7f0f1e85e8 print messages when entering/leaving a directory so we know where we are
(sometimes it is obvious, sometimes it is not).



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@88615 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-05 17:44:10 +00:00
tilghman 4229c71296 Merged revisions 87852 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r87852 | tilghman | 2007-10-31 13:03:53 -0500 (Wed, 31 Oct 2007) | 2 lines

Create samples for ALL of the available options in asterisk.conf

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@87854 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-31 18:09:52 +00:00
kpfleming 8bdcddc624 Merged revisions 87460 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r87460 | kpfleming | 2007-10-29 17:04:29 -0500 (Mon, 29 Oct 2007) | 2 lines

don't put '-pipe' into ASTCFLAGS if '-save-temps' is already there (used when debugging preprocessor issues) because the compiler will whine about each compile command

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@87462 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-29 22:05:17 +00:00
qwell b56389eb19 Merged revisions 86405 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

(Closes issue #11029)
........
r86405 | qwell | 2007-10-18 16:58:44 -0500 (Thu, 18 Oct 2007) | 4 lines

Add documentation for options in asterisk.conf

Issue 11029, patch by eserra

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@86408 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-18 22:03:03 +00:00
qwell eb8aa9fea8 Merged revisions 85684 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

(closes issue #10938)
........
r85684 | qwell | 2007-10-15 15:15:51 -0500 (Mon, 15 Oct 2007) | 5 lines

Properly use DESTDIR in 'config' target.
Do not try to run chkconfig or similar if using DESTDIR.

Issue 10938, patch by cabal95.

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@85685 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-15 20:16:48 +00:00
russell b26d058476 Merged revisions 84474 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r84474 | russell | 2007-10-02 15:06:07 -0500 (Tue, 02 Oct 2007) | 5 lines

* Don't build the menuselect-tree for the tarball, as it requires running the
  configure script first
* Change the Makefile to note that menuselect-tree depends on the configure
  script.

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@84475 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-02 20:07:15 +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
tilghman 7a8c90073a Permit custom locations for astdb and the keys directory (though default to the current locations) (Closes issue #10267)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@83726 f38db490-d61c-443f-a65b-d21fe96a405b
2007-09-24 22:06:19 +00:00
qwell ab1df9e704 Merged revisions 81826 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r81826 | qwell | 2007-09-06 17:05:02 -0500 (Thu, 06 Sep 2007) | 1 line

We added COPTS for ASTCFLAGS additions, but not LDOPTS for ASTLDFLAGS.  This adds LDOPTS
........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@81827 f38db490-d61c-443f-a65b-d21fe96a405b
2007-09-06 22:06:17 +00:00
qwell 6203f85f62 Merged revisions 80330 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r80330 | qwell | 2007-08-22 13:53:18 -0500 (Wed, 22 Aug 2007) | 7 lines

Fix a few build issues in Solaris (and likely others).

Use GREP and ID variables from autoconf.

Reported to me in #asterisk-dev
I forgot who reported this - sorry. :(

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@80331 f38db490-d61c-443f-a65b-d21fe96a405b
2007-08-22 18:54:30 +00:00
qwell f7a10e2229 Merged revisions 80304 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r80304 | qwell | 2007-08-22 13:25:34 -0500 (Wed, 22 Aug 2007) | 2 lines

Change a syntax that the GNU make in Solaris dislikes.

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@80305 f38db490-d61c-443f-a65b-d21fe96a405b
2007-08-22 18:25:58 +00:00
russell e6b7d0ae08 Merged revisions 80257 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r80257 | russell | 2007-08-22 11:21:58 -0500 (Wed, 22 Aug 2007) | 4 lines

Honor the contents of the COPTS variable as custom target CFLAGS.  Apparently
this is what openwrt does.  
(reported by Brian Capouch on the asterisk-dev list, patch by me)

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@80258 f38db490-d61c-443f-a65b-d21fe96a405b
2007-08-22 16:22:27 +00:00
murf 75d18809fa Merged revisions 78891 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r78891 | murf | 2007-08-09 17:10:46 -0600 (Thu, 09 Aug 2007) | 1 line

This fixes bug 10416; thanks to mvanbaak for the pretty output
........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@78906 f38db490-d61c-443f-a65b-d21fe96a405b
2007-08-09 23:32:23 +00:00
tilghman dfcfc3f22a Target asterisk.pdf stopped building when the build was moved to the doc directory.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@77602 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-27 23:16:04 +00:00
russell fbb5cadc69 Merged revisions 77410 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r77410 | russell | 2007-07-26 16:23:23 -0500 (Thu, 26 Jul 2007) | 10 lines

AST_DEVMODE was defined in trunk, but not in 1.4.  When Asterisk is compiled
under dev mode, AST_DEVMODE will get defined in buildopts.h.  Change 1.4 to
define it in the same way that trunk does.  Also, revert the change that added
this define in the Makefile

The advantage to doing it this way is that buildopts.h gets installed when
you install Asterisk.  Then, when building any out of tree modules, or
building asterisk-addons, these modules know which options the rest of Asterisk
was built with.

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@77411 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-26 21:24:42 +00:00
mmichelson b99f12a764 Merged revisions 77380 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r77380 | mmichelson | 2007-07-26 15:35:17 -0500 (Thu, 26 Jul 2007) | 7 lines

Fixes to get ast_backtrace working properly. The AST_DEVMODE macro was never defined so the majority of ast_backtrace never
attempted compilation. The makefile now defines AST_DEVMODE if configure was run with --enable-dev-mode. Also, changes were 
made to acccomodate 64 bit systems in ast_backtrace.

Thanks to qwell, kpfleming, and Corydon76 for their roles in allowing me to get this committed


........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@77381 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-26 20:39:46 +00:00
murf 5ca366c96f Merged revisions 74642 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r74642 | murf | 2007-07-11 12:18:42 -0600 (Wed, 11 Jul 2007) | 1 line

This fixes 10172, where the entire man8 dir gets removed during an uninstall of asterisk
........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@74648 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-11 18:21:23 +00:00
russell 3357366474 * Move LaTeX docs into a tex/ subdirectory of the doc/ dir
* Add a Makefile in doc/tex/ for generating PDF and HTML
* Add a README.txt file to doc/tex/ to document which tools are used and what
  web sites to visit for getting them.
* Update build_tools/prep_tarball to put the proper Asterisk version string
  in the automatically generated PDF for release tarballs


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@72982 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-02 22:27:46 +00:00
qwell 5ca2bc3253 Apparently some builds of gcc don't have declaration-after-statement.
This checks for it in configure, and only uses it if it's available.

If it's wrong, somebody please yell at me and tell me why.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@72539 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-28 21:31:00 +00:00
rizzo 4be5924a94 Add -Wdeclaration-after-statement to AST_DEVMODE
to detect declarations in the middle of a block.

Approved by: Russel, Kevin

The fallout will be fixed in separate commits.

I am doing this only on trunk only for the time being, because 1.4
still requires a bit more polishing to give a clean compile
(at least on FreeBSD).



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@72452 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-28 18:34:07 +00:00
russell 6abbfc0dfe Merged revisions 69660 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r69660 | russell | 2007-06-18 10:46:14 -0500 (Mon, 18 Jun 2007) | 2 lines

Tweak paths for BSD systems (issue #10001, stuarth)

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@69662 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-18 15:46:49 +00:00
russell 44b8a8d2e6 Merged revisions 65978 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r65978 | russell | 2007-05-24 14:05:08 -0500 (Thu, 24 May 2007) | 3 lines

Clear CFLAGS before running make for menuselect.
(issue #9784, reported by ovi, patch by me)

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@65982 f38db490-d61c-443f-a65b-d21fe96a405b
2007-05-24 19:06:38 +00:00
qwell 7f8338a27b Better fallback method for autosystemname.
Issue 9713, patch by Juggie with minor mods by me.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@64012 f38db490-d61c-443f-a65b-d21fe96a405b
2007-05-11 21:15:30 +00:00
qwell 13a0a893eb Add autosystemname setting to asterisk.conf
When enabled, it will set the systemname to be the hostname of the system

Issue 9713, patch by Juggie - slightly modified by me, to "failover" to localhost


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@63967 f38db490-d61c-443f-a65b-d21fe96a405b
2007-05-11 19:56:57 +00:00
tilghman a87c65f96c Merged revisions 63905 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r63905 | tilghman | 2007-05-11 11:35:51 -0500 (Fri, 11 May 2007) | 10 lines

Merged revisions 63903 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r63903 | tilghman | 2007-05-11 11:31:03 -0500 (Fri, 11 May 2007) | 2 lines

Issue 9121 - fixups for safe_asterisk script

........

................


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@63906 f38db490-d61c-443f-a65b-d21fe96a405b
2007-05-11 16:37:16 +00:00
russell f78b7d4eda Merged revisions 63535 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r63535 | russell | 2007-05-09 08:24:03 -0500 (Wed, 09 May 2007) | 6 lines

I have seen multiple people post questions trying to figure out what the
message "The configure script must be executed before running 'make'" means.
So, add another like that says to specifically run ./configure.  If this isn't
obvious enough, then they should be using something like AsteriskNOW and not
installing from source.

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@63536 f38db490-d61c-443f-a65b-d21fe96a405b
2007-05-09 13:24:38 +00:00
russell cdedde3335 Merged revisions 59853 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r59853 | russell | 2007-04-03 11:03:35 -0500 (Tue, 03 Apr 2007) | 1 line

Ensure that menuselect gets executed in dependency check mode every time you run make.
........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@59854 f38db490-d61c-443f-a65b-d21fe96a405b
2007-04-03 16:06:03 +00:00
russell 95a2185d0c Merged revisions 59304 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r59304 | russell | 2007-03-29 11:25:41 -0500 (Thu, 29 Mar 2007) | 2 lines

Export the GTK2 library and include information to sub Makefiles.

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@59305 f38db490-d61c-443f-a65b-d21fe96a405b
2007-03-29 16:29:17 +00:00
russell dd1ff847dd Merged revisions 58947 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r58947 | russell | 2007-03-15 18:53:26 -0500 (Thu, 15 Mar 2007) | 3 lines

Add configure script checking for GTK2 and some additional Makefile targets
to support gmenuselect

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@58948 f38db490-d61c-443f-a65b-d21fe96a405b
2007-03-15 23:56:10 +00:00
russell ddf0929ca9 Merged revisions 58937 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r58937 | russell | 2007-03-15 17:51:29 -0500 (Thu, 15 Mar 2007) | 2 lines

Add Asterisk version information to the generated PDF

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@58938 f38db490-d61c-443f-a65b-d21fe96a405b
2007-03-15 22:52:27 +00:00
russell acddd1bef6 Merged revisions 58931 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r58931 | russell | 2007-03-15 17:25:12 -0500 (Thu, 15 Mar 2007) | 13 lines

Merge changes from svn/asterisk/team/russell/LaTeX_docs.

* Convert most of the doc directory into a single LaTeX formatted document
  so that we can generate a PDF, HTML, or other formats from this
  information.
* Add a CLI command to dump the application documentation into LaTeX format
  which will only be include if the configure script is run with 
  --enable-dev-mode.
* The PDF turned out to be close to 1 MB, so it is not included.  However, you
  can simply run "make asterisk.pdf" to generate it yourself.  We may include
  it in release tarballs or have automatically generated ones on the web site,
  but that has yet to be decided.

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@58932 f38db490-d61c-443f-a65b-d21fe96a405b
2007-03-15 22:29:45 +00:00
kpfleming 86baa1f143 add -Wundef to the --enable-dev-mode flags, so that mistyped macro names in #if expressions will be caught
convert various #if expressions to #ifdef for macros that may not be defined (and where the value is not important)
Note: two of these changes are in bison generated files which is going to be inconvenient when they are regenerated


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@55329 f38db490-d61c-443f-a65b-d21fe96a405b
2007-02-18 15:03:42 +00:00