summaryrefslogtreecommitdiff
path: root/Makefile
AgeCommit message (Collapse)Author
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
2007-02-26Merged revisions 2232 via svnmerge from file
https://origsvn.digium.com/svn/zaptel/branches/1.2 ........ r2232 | file | 2007-02-26 13:18:13 -0500 (Mon, 26 Feb 2007) | 2 lines Just in case... set hotplug firmware loading option to no if on a 2.4 kernel. (issue #9140 reported by velter) ........ git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@2233 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-02-26Move menuselect build options inclusion to before it is initially used ↵file
otherwise the needed variables may not be present at time of use. (issue #9145 reported by jmls) git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@2230 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-02-24ugh... random character lost during editingkpfleming
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@2219 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-02-24yet another extra line snuck in therekpfleming
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@2218 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-02-24syntax errors are bad... mmmkay?kpfleming
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@2217 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-02-23partial update to support all the stuff that went into Zaptel 1.2 ↵kpfleming
recently... this definitely still broken for 2.4 kernels, and maybe for 2.6 as well :-) includes: Makefile split and reorganize TE120P driver TC400B driver HPEC support (not yet complete) git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@2215 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-02-20Fix the check that ran the install for xpp/utils. Also, add a target to buildrussell
them, and clean the directory in the clean target. (issue #8894, tzafrir) git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@2180 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-02-12Add hotplug-uninstall target to main Makefile and make the firmware Makefile ↵file
keep a record of the installed firmware in the hotplug directory. This means that as long as you have the latest version of firmware installed your checkout will never install it again, and all new checkouts will not either. This might also help those building packages for distros. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@2158 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-02-09Drop the need for header files by using non-versioned binary files.file
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@2136 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-02-09Fix 'make clean' on kernel 2.4: datamods is only made on 2.6.tzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@2135 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-02-08Build xpp/ for kernel >= 2.6.8, not >=2.6.9.tzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@2130 5390a7c7-147a-4af0-8ec9-7488f05a26cb