summaryrefslogtreecommitdiff
path: root/Makefile
AgeCommit message (Collapse)Author
2007-12-19There is an architectural issue with the way menuselect works in zaptel. Ifrussell
the menuselect.makeopts file gets automatically created when running make, then the Makefile does not get the contents of that file included. The bug exposed itself where libnewt was not found, but we tried to build it anyway. This hack prevents that from happening, but the larger issue needs to be addressed. It can be fixed once the actual building of the modules and userspace tools are done by sub Makefiles ... (closes issue #11199) Reported by: dimas Patches: newt_select_makefile.diff uploaded by tzafrir (license 46) git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3528 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-12-19add ability to provide parameters to echo cancelers on a per-channel basis, ↵kpfleming
and remove the three versions of the 'Mark' echo canceler (later replaced by KB1 and then by MG2) git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3524 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-12-16Make sure the asciidoc menu is deep enough.tzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3495 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-12-14(merging dtmf-twister branch plus a few fixes)kpfleming
move DTMF/MF generation into tonezone.c (libtonezone) so that it can happen at runtime instead of compile time; this allows for DTMF/MF to be different on a zone-by-zone basis without requiring a recompile of Zaptel set DTMF 'twist' for Brazil (zone 'br') to 2dB git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3490 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-12-11* uninstall-modules: put in build_tools, and remove language suffix.tzafrir
* Close bug #11511. * Some other cleanups of uninstall-modules. Merged revisions 3420,3424 via svnmerge from http://svn.digium.com/svn/zaptel/branches/1.2 git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3425 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-12-10Don't build wctdm24xxp/ in 2.4:tzafrir
wctdm24xxp/base.c needs <linux/workqueue.h> . git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3399 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-12-10* Add a list of userspace subdirectories (just like for kernel).tzafrir
* Make it saner to enable/disable them. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3396 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-12-08Moving wcte12xp driver into a subdirectory and adding support for the Digium ↵mspiceland
TE121 and TE122 cards. These cards support the Digium VPMADT032 module. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3356 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-12-07The previous cleanup wasn't quite working when there were multiple oldsruffell
modules in the modules.dep folder. Moved the cleanup to external script for the time being. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3351 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-12-04Fix the case of: make zttool.o zttooltzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3293 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-12-04fix a bunch of silly bugs and do some code cleanupkpfleming
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3290 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-12-04add a new Zaptel scanning tool, primarily for use by the Asterisk GUI, ↵kpfleming
called 'ztscan'. this tool outputs an Asterisk-style configuration file containing one context for each Zaptel span with all the details that can be learned about that span. to enable this tool, the ZT_SPANSTAT ioctl gained a number of new elements to report information about the spans: - linecompat (available signaling modes for digital spans) - spantype (T1, E1 or J1 for digital spans) - location (PCI/PCI-Express location) - manufacturer - devicetype Along the way I also found that the digital span drivers always set T1-style signaling bits in 'linecompat' even for E1 spans, and that the ZT_SPANCONFIG ioctl did not properly check these bits when configuring E1 spans. The result of this is that it was possible to configure T1-only coding/framing (AMI/B8Zs, D4/ESF) on E1 spans (but not the reverse); this has been corrected and any attempt to use T1-only coding/framing on E1 spans will now result in an error from ztcfg. Also did some minor simplification of the Makefile rules that build the userspace tools. (the basics of ztscan were written by Brandon Kruse then reworked and fleshed out by me) git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3278 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-12-01Delete the old kernel modules before installing the new ones. sruffell
Prevents conflicts in case the location of the driver changes when upgrading from an older version of the driver. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3271 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-11-11tor2ee doesn't build. Remove it. Closes #10278.tzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3226 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-11-07Don't try to generate bindir and mandir if there are no binaries to tzafrir
install (this causes an invalid install command). git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3220 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-10-27Detect SELinux support (for install target) in autoconf.tzafrir
Can be manually overriden in configure or make. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3195 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-10-26Remove obsolete drivers (replaced by wcusb).tzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3185 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-09-20Remove DESTDIR from CONFIG_FILE, since we don't want DESTDIR passed in as ↵qwell
part of the -DZAPTEL_CONFIG. Closes issue #10764, pointed out by cabal95 git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3067 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-09-15s/INSTALL_PREFIX/DESTDIR/ in firmware/Makefile .tzafrir
The install target now won't fail in DESTDIR install, but will probably do nothing. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3029 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-09-08* Let autoconf figure out the switches for asciidoc.tzafrir
* Remove some leftover set -x from previous debug... git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@2999 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-09-08Allow overriding the asciidoc command. This allows using asciidoc < 7.tzafrir
Merged revisions 2997 via svnmerge from https://origsvn.digium.com/svn/zaptel/branches/1.2 git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@2998 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-08-31CONFIG_FILE already has DESTDIR prepend to it.qwell
It is not needed here. Issue 10619, patch by djflux git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@2988 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-08-28Make sure the target name is not the same as the directory name. Thanks ↵mattf
Josh :-) git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@2971 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-08-27Merged revisions 2962 via svnmerge from qwell
https://origsvn.digium.com/svn/zaptel/branches/1.2 ........ r2962 | qwell | 2007-08-27 16:38:48 -0500 (Mon, 27 Aug 2007) | 3 lines Make sure we build the static version of libtonezone (and as a side-effect, all of the programs) with -fPIC ........ git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@2963 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-08-27Enact the init.d script when not installing to a DESTDIR.tzafrir
Merged revisions 2960 via svnmerge from http://svn.digium.com/svn/zaptel/branches/1.2 git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@2961 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-08-27* Skip cleaning modules if KSRC is not defined: it is optional if you tzafrir
build userspace alone ("make programs"). * Pass HOTPLUG_FIRMWARE explicitly to kernel 2.6 makefile. This is to help eventually remove .EXPORT_ALL_VARIABLES from Makefile. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@2958 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-08-26What is -O4 anyway?tzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@2957 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-08-26Allow 'make clean' to work without a valid KSRC (for those building justtzafrir
'programs'). git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@2956 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-08-25Do install the hdlc network interface script.tzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@2952 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-08-22Reverse logic which checks for existing zaptel.confqwell
Issue 10527, reported by arcivanov. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@2934 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-08-21Add some 2.4 Makefile trickery for wctdm24xxpmattf
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@2922 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-08-18* Fix Makefile typo in 'install-progrms:' (Thanks, Mark Purcell).tzafrir
* Rename the generated xpp/README.html to xpp/README.Astribank.html to provide a unique basename among docs (helps debian packaging). git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@2905 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-08-17* programs and install-programs are now for all of userspace.tzafrir
Added the target 'utils' for what 'programs' used to be. * tonezone.h is installed with install-libs, not install-include . * Document this. * Document some other variations on 'make' and 'make install'. * Improve documentation of /proc/zaptel . * Ignoring some more utilities. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@2874 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-08-17Get LDFLAGS and CFLAGS from autoconf. Make sure that they gettzafrir
everywhere. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@2870 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-08-17Build menuselect with the HOSTCC.tzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@2869 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-08-16* Add a rule for generating xpp/README.html (not used by default).tzafrir
* Ignore it, and clean it and README.html . Merged revisions 2850 via svnmerge from https://origsvn.digium.com/svn/zaptel/branches/1.2 git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@2855 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-08-16Break install target, as in 1.2:tzafrir
* Provide separate programs and libs targets , and provide separate install-programs, install-libs , install-includes and install-modules. * DESTDIR should work. INSTALL_PREFIX was removed, as it was ambigious. Use the vaiable 'prefix' to override /usr . * Print a message at the end of the install target. * Convert shell logic in targets to make logic. * Still not sure install-libs and install-includes are really needed. * Use includedir, mandir and libdir (but not sbindir) from configure. * Install Man pages and utils according to those selected by the user. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@2849 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-08-15Make sure that the URL is REALLY up to datemattf
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@2845 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-08-15Make sure we use the new ftp.digium.commattf
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@2842 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-08-15* Allow setting the echo canceller from the Makefile or the environmenttzafrir
(needed for overriding the default EC in Debian m-a builds) * Allow specifiying extra modules in the make command line: MODULES_EXTRA and SUBDIRS_EXTRA Merged revisions 2838 via svnmerge from https://origsvn.digium.com/svn/zaptel/branches/1.2 git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@2839 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-08-06Use host compiler to build gendigitsqwell
Issue 10255, initial patch by mirabilos, modified by me to work with 1.4. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@2824 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-07-22Revert initd config file installation to the greeddy one of beforetzafrir
zaptel 1.2.19/1.4.4 - install on both /etc/default/zaptel and /etc/sysconfig/zaptel . Closes 0010257 . (From branches/1.2 r2771) git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@2772 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-07-20Merged revisions 2761 via svnmerge from mattf
https://origsvn.digium.com/svn/zaptel/branches/1.2 ........ r2761 | mattf | 2007-07-20 11:19:47 -0500 (Fri, 20 Jul 2007) | 1 line New product support, new echo canceler and new boards ........ git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@2762 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-07-13* config target: Replace shell scriptary with makefile logic.tzafrir
* config target: Add a helpful text for the Zaptel installer. (From branches/1.2 r2729) git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@2734 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-07-08* README fixes.tzafrir
* Add makefile target to generate README.html from README with asciidoc. Note: At least for now the ability to generate a nice extra HTML copy of the text README is an extra feature. But the README file is meant to be primarily read as a text file and will still be readable as such till further notice. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@2706 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-06-08Make the checkstack target basically work for kernel 2.6.tzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@2597 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-05-17Fix problem with chan_misdn not being built in Asterisk, due to missing ↵qwell
suppserv. Update to new tarballs from misdn.org and allow versioning in Makefile. Issue 9064. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@2527 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-03-23fix builds for 2.4 kernelskpfleming
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@2336 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-03-07Don't die when there is no udev rules dir (on an installtion with tzafrir
INSTALL_PREFIX explicitly set). r2290 | tzafrir | 2007-03-07 21:14:30 +0200 (Wed, 07 Mar 2007) | 3 lines git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@2292 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-03-02Don't "fail" a modprobe of ztdummy just because zaptel.conf is bad.tzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@2271 5390a7c7-147a-4af0-8ec9-7488f05a26cb