aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/kbdcontrol/Makefile
Commit message (Collapse)AuthorAgeFilesLines
* kbdcontrol: Support building as a bootstrap tool on old and non-FreeBSDJessica Clarke2023-08-221-0/+5
| | | | | | | | | | | | | | | | | Systems that predate 971bac5ace7a ("kbd: consolidate kb interfaces (phase one)") cannot build kbdcontrol since kbdelays and kbrates moved to sys/kbio.h. Moreover, on non-FreeBSD, it requires all kinds of ioctls and sysctls that are highly FreeBSD-specific to build, but we use it as a bootstrap tool to generate the keymaps used by some kernels (LINT ones in particular). Thus, when bootstrapping kbdcontrol, disable everything that's not needed for that singular use, and use the in-tree kbio.h to get the definitions of the necessary structures. This allows KBDMUX_DFLT_KEYMAP, UKBD_DFLT_KEYMAP and ATKBD_DFLT_KEYMAP to be enabled when building on non-FreeBSD, and thus LINT kernels. Reviewed by: imp Differential Revision: https://reviews.freebsd.org/D41541
* Remove $FreeBSD$: one-line sh patternWarner Losh2023-08-161-1/+0
| | | | Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
* kbdcontrol: enable pre-Unicode dead key table compatibilityStefan Eßer2023-02-141-0/+3
| | | | | | | | | | | | | | | | | | | | | | The definition of pre-Unicode keymap ioctls will be made optional and dependent on COMPAT_FREEBSD13 in a follow-up commit to 14-CURRENT. While we generally provide ABI compatibility for older binaries on a new kernel, but not functionally extended userland programs on an old kernel, it has been specifically requested to preserve ABI compatibility for the kbdcontrol program for both these cases. Passing the kernel configuration option COMPAT_FREEBSD13 to the build of kbdcontrol will make ioctls visible to the build that are normally hidden, but required to implement compatibility with kernels that only support 8 bit characters in dead key maps. This commit is not to be merged to any previous FreeBSD version and it shall be reverted as soon as this type of ABI compatibility is no longer deemed necessary (probably before 14-STABLE is branched). This commit is a part of review D38465 and split off to allow it to be reverted using the commit ID.
* pkgbase: Create a FreeBSD-console-tools packageEmmanuel Vadot2023-02-081-0/+1
| | | | | | | | | | | | | | | And put in it: - kbdcontrol - vidcontrol - moused - kbdmap Those aren't useful in a jail or for a modern desktop. While here, split the devd.conf part into some new files. Reviewed by: bapt Sponsored by: Beckhoff Automation GmbH & Co. KG Differential Revision: https://reviews.freebsd.org/D38321
* Stop linking to libl by specifying we do not need yywrapBaptiste Daroussin2019-09-101-2/+0
| | | | | | | MFC after: 3 days Notes: svn path=/head/; revision=352123
* Convert usr.sbin to LIBADDBaptiste Daroussin2014-11-251-2/+1
| | | | | | | Reduce overlinking Notes: svn path=/head/; revision=275054
* style.Makefile(5)David E. O'Brien2003-04-041-2/+1
| | | | Notes: svn path=/head/; revision=113091
* WARNS?=4 cleanup.Alfred Perlstein2002-07-111-0/+2
| | | | Notes: svn path=/head/; revision=99816
* Perform a major cleanup of the usr.sbin Makefiles.David E. O'Brien2001-07-201-2/+4
| | | | | | | | These are not perfectly in agreement with each other style-wise, but they are orders of orders of magnitude more consistent style-wise than before. Notes: svn path=/head/; revision=80029
* - Backout botched attempt to introduce MANSECT feature.Ruslan Ermilov2001-03-261-2/+1
| | | | | | | - MAN[1-9] -> MAN. Notes: svn path=/head/; revision=74816
* The GCC 2.96 snapshots have slightly different rules for finding includeDavid E. O'Brien2000-12-011-0/+1
| | | | | | | | | | files. Mostly -I${.CURDIR} was needed -- especially for YACC generated files as the new cpp does not look in the ultimate source file (ie, the .y file)'s directory as told by the "#line" directive. Some were misspellings of "-I${.CURDIR}" as "-I.". Notes: svn path=/head/; revision=69453
* Link kbdmap.5 to keymap.5Nik Clayton2000-10-291-0/+1
| | | | | | | PR: docs/19995 docs/20298 Notes: svn path=/head/; revision=67889
* Fixed breakage of installation of kbdcontrol.1 in previous commit.Bruce Evans2000-09-141-2/+4
| | | | | | | Fixed style bugs. Notes: svn path=/head/; revision=65827
* Add kbdmap.5 to build.David Malone2000-09-131-0/+2
| | | | | | | | | | | Refer to kbdmap(5) from a few man pages. Remove it from TODO list. Add missing FreeBSD tags. PR: 19260 Notes: svn path=/head/; revision=65807
* Add dependencies on libraries to DPADD. Someday this should be doneBruce Evans1994-08-281-0/+1
| | | | | | | | | automagically. -lfoo has to be right to work, but ${LIBFO0} is too easy to forget or misspell; nothing checks it and it should be different for shared libraries. Notes: svn path=/head/; revision=2375
* Add -ll to link flags to link with the lex library.Jordan K. Hubbard1994-08-261-0/+1
| | | | | | | Submitted by: jkh Notes: svn path=/head/; revision=2288
* Added kbdcontrol util from 1.1.5.1+Søren Schmidt1994-08-171-0/+4
Reviewed by: Submitted by: Notes: svn path=/head/; revision=2088