aboutsummaryrefslogtreecommitdiffstats
path: root/formats/Makefile
AgeCommit message (Collapse)AuthorFilesLines
2007-12-17fix some copy-and-paste leftoverskpfleming1-2/+2
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@93183 f38db490-d61c-443f-a65b-d21fe96a405b
2007-12-17In http://lists.digium.com/pipermail/asterisk-dev/2007-December/031145.html,kpfleming1-2/+8
rizzo brought up some issues related to the way that the metadata required for menuselect and the rest of the build system is extracted from the source files. Since I had a few hours to kill on an airplane today, I decided to improve this situation... so now the system caches the extracted metadata and uses it to build the menuselect 'tree' as much as it can. The result of this is that when a single source file is changed, only the metadata for that file needs to be extracted again, and the rest is used from the cache files. I also reduced the number of forked processes required to do the metadata extraction; it was actually possible to do most of what we needed in the Makefiles themselves without using any shell scripts at all! On my laptop, these changes resulted in an 80% decrease in the time required for the 'menuselect.makeopts' automatic check to occur after editing a single source file. While doing this work I also cleaned up a few minor things in the Makefiles, adding a check for 'awk' to the configure script and changed all remaining places we use 'grep' or 'awk' to use the ones found by the configure script, and changed the 'prep_tarball' script to build the menuselect metadata so that tarballs of Asterisk will include it and won't require the user to wait while it is extracted after unpacking. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@93180 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-26GNU make already knows how to quietly ignore non-existent files in 'include' ↵kpfleming1-4/+1
directives git-svn-id: http://svn.digium.com/svn/asterisk/trunk@41209 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-21merge new_loader_completion branch, including (at least):kpfleming1-2/+7
- 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-07-15more Makefile cleanup and consistency stuffkpfleming1-1/+4
don't reuse LIBS variable from top-level Makefile (oops) build Asterisk binary after subdirs (preparing for embedded modules) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@37661 f38db490-d61c-443f-a65b-d21fe96a405b
2006-07-06move rules file to prepare for generic rules filekpfleming1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@37222 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-25use new (separate) dependencies file from menuselectkpfleming1-0/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@35895 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-24The Eurostar Commit! (it's amazing how much work you can get done on a 150 ↵kpfleming1-37/+2
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: http://svn.digium.com/svn/asterisk/trunk@35832 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-22- convert the 'uninstall' target to use separate targets to process eachrussell1-1/+1
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- specify that 'depend' is a .PHONY targetrussell1-1/+1
- 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- specify that 'all' is a .PHONY targetrussell1-1/+1
- 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-22add the 'clean', 'clean-depend', and 'dist-clean' targets as .PHONY targetsrussell1-0/+2
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-19don't blow up in the sub Makefiles if menuselect.makeopts is not present. Thisrussell1-1/+3
is valid in some cases, such as "make clean". git-svn-id: http://svn.digium.com/svn/asterisk/trunk@34738 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-16remove "depend" from the "all" targets in sub Makefiles. The main Makefilerussell1-1/+1
already calls "make depend" for each of the subdirectories git-svn-id: http://svn.digium.com/svn/asterisk/trunk@34497 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-07remove the need to have to re-run make after a default menuselect.makeoptsrussell1-0/+2
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: http://svn.digium.com/svn/asterisk/trunk@32798 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-05use module names, not file names, in menuselectkpfleming1-1/+3
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-04-24Thanks to the fine work of Russell Bryant and Dancho Lazarov, we now have ↵kpfleming1-22/+6
autoconf and menuselect tools for Asterisk! git-svn-id: http://svn.digium.com/svn/asterisk/trunk@22267 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-06remove traces of previously merged filesrizzo1-6/+0
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@17865 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-04ogg_vorbis now compiles so put it back in.rizzo1-2/+0
On passing, remove an unnecessary initializazion in format_sln.c git-svn-id: http://svn.digium.com/svn/asterisk/trunk@17285 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-04temporarily disconnect ogg_vorbis from the build while i update itrizzo1-1/+6
(should be a matter of a couple of hours). git-svn-id: http://svn.digium.com/svn/asterisk/trunk@17265 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-04Largely simplify format handlers (for file copy etc.)rizzo1-0/+5
collecting common functions in a single place and removing them from the individual handlers. The full description is on mantis, http://bugs.digium.com/view.php?id=6375 and only the ogg_vorbis handler needs to be converted to the new structure. As a result of this change, format_au.c and format_pcm_alaw.c should go away (in a separate commit) as their functionality (trivial) has been merged in another file. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@17243 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-12ensure that dependencies are rebuilt after 'make update' so that builds ↵kpfleming1-2/+5
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-11use auto-build for pbx moduleskpfleming1-1/+1
correct install variable for format modules git-svn-id: http://svn.digium.com/svn/asterisk/trunk@9568 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-11use auto-build for formatskpfleming1-17/+9
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@9567 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-01Allows for user to uninstall asterisk binariesmogorman1-0/+2
bug 6177 git-svn-id: http://svn.digium.com/svn/asterisk/trunk@9052 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-16remove redundant CFLAGS for BSD which are already set in the main Makefile ↵russell1-4/+0
(issue #6250) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8101 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-07Add support for H.264 with SIP and recordingmarkster1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7855 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-29git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7221 ↵kpfleming1-0/+0
f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-01issue #4678kpfleming1-4/+8
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6936 f38db490-d61c-443f-a65b-d21fe96a405b
2005-08-30clean up, use make functions instead of subshells, remove unused stuffkpfleming1-3/+10
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6449 f38db490-d61c-443f-a65b-d21fe96a405b
2005-07-20add OGG/Vorbis file format support (bug #4296)kpfleming1-0/+8
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6173 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-20move tools used during build into build_tools subdirectorykpfleming1-3/+3
clean up Makefile headers git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5942 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-03add support for Sun Microsystems AU audio format (bug #4428 with minor mods)kpfleming1-1/+1
remove hardcoded format list from app_record help text git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5837 f38db490-d61c-443f-a65b-d21fe96a405b
2004-12-29Mildly resurect G.723.1 file formatmarkster1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4583 f38db490-d61c-443f-a65b-d21fe96a405b
2004-09-05Add Anthony's format_sln (bug #2381)markster1-1/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3726 f38db490-d61c-443f-a65b-d21fe96a405b
2004-04-22Fix iLBC with valgrind, add iLBC format from bkw_markster1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@2740 f38db490-d61c-443f-a65b-d21fe96a405b
2004-02-27Add G.726, revise Changelogmarkster1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@2260 f38db490-d61c-443f-a65b-d21fe96a405b
2003-11-04Remove really broke MP3 stuff in favor of G.726 in the near futuremarkster1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1689 f38db490-d61c-443f-a65b-d21fe96a405b
2003-10-26Make it build and run on MacOS Xmarkster1-2/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1673 f38db490-d61c-443f-a65b-d21fe96a405b
2003-10-25Add DESTDIR support (bug #200)markster1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1664 f38db490-d61c-443f-a65b-d21fe96a405b
2003-08-19depend stuffmarkster1-0/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1375 f38db490-d61c-443f-a65b-d21fe96a405b
2003-06-29Add H.263 video supportmarkster1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1131 f38db490-d61c-443f-a65b-d21fe96a405b
2003-06-28Totally redo file formatsmarkster1-2/+7
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1130 f38db490-d61c-443f-a65b-d21fe96a405b
2003-05-06dep fix, pbx fixmarkster1-2/+9
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@962 f38db490-d61c-443f-a65b-d21fe96a405b
2003-04-27More BSD enhancementsmarkster1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@916 f38db490-d61c-443f-a65b-d21fe96a405b
2003-03-21Add Mahmut's Alaw patchmarkster1-1/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@672 f38db490-d61c-443f-a65b-d21fe96a405b
2003-02-04Version 0.3.0 from FTPmarkster1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@599 f38db490-d61c-443f-a65b-d21fe96a405b
2001-05-26Version 0.1.9 from FTPmarkster1-1/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@325 f38db490-d61c-443f-a65b-d21fe96a405b
2001-04-27Version 0.1.8 from FTPmarkster1-4/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@303 f38db490-d61c-443f-a65b-d21fe96a405b
2001-03-22Version 0.1.7 from FTPmarkster1-1/+4
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@251 f38db490-d61c-443f-a65b-d21fe96a405b