History log of /freebsd-current/usr.sbin/kbdcontrol/Makefile
Revision Date Author Comments
# 968a3db7 22-Aug-2023 Jessica Clarke <jrtc27@FreeBSD.org>

kbdcontrol: Support building as a bootstrap tool on old and non-FreeBSD

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


# d0b2dbfa 16-Aug-2023 Warner Losh <imp@FreeBSD.org>

Remove $FreeBSD$: one-line sh pattern

Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/


# c2bb6602 14-Feb-2023 Stefan Eßer <se@FreeBSD.org>

kbdcontrol: enable pre-Unicode dead key table compatibility

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.


# cab549c7 01-Feb-2023 Emmanuel Vadot <manu@FreeBSD.org>

pkgbase: Create a FreeBSD-console-tools package

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


# bcba42d1 10-Sep-2019 Baptiste Daroussin <bapt@FreeBSD.org>

Stop linking to libl by specifying we do not need yywrap

MFC after: 3 days


# c6db8143 25-Nov-2014 Baptiste Daroussin <bapt@FreeBSD.org>

Convert usr.sbin to LIBADD
Reduce overlinking


# a7d5f7eb 19-Oct-2010 Jamie Gritton <jamie@FreeBSD.org>

A new jail(8) with a configuration file, to replace the work currently done
by /etc/rc.d/jail.


# fe0506d7 09-Mar-2010 Marcel Moolenaar <marcel@FreeBSD.org>

Create the altix project branch. The altix project will add support
for the SGI Altix 350 to FreeBSD/ia64. The hardware used for porting
is a two-module system, consisting of a base compute module and a
CPU expansion module. SGI's NUMAFlex architecture can be an excellent
platform to test CPU affinity and NUMA-aware features in FreeBSD.


# d7f03759 19-Oct-2008 Ulf Lilleengen <lulf@FreeBSD.org>

- Import the HEAD csup code which is the basis for the cvsmode work.


# 052238b1 04-Apr-2003 David E. O'Brien <obrien@FreeBSD.org>

style.Makefile(5)


# 4f5d9133 11-Jul-2002 Alfred Perlstein <alfred@FreeBSD.org>

WARNS?=4 cleanup.


# 90e655ea 20-Jul-2001 David E. O'Brien <obrien@FreeBSD.org>

Perform a major cleanup of the usr.sbin Makefiles.
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.


# 345e52e7 26-Mar-2001 Ruslan Ermilov <ru@FreeBSD.org>

- Backout botched attempt to introduce MANSECT feature.
- MAN[1-9] -> MAN.


# 2c5569d6 01-Dec-2000 David E. O'Brien <obrien@FreeBSD.org>

The GCC 2.96 snapshots have slightly different rules for finding include
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.".


# 5aeeaeba 29-Oct-2000 Nik Clayton <nik@FreeBSD.org>

Link kbdmap.5 to keymap.5

PR: docs/19995 docs/20298


# d760d770 13-Sep-2000 Bruce Evans <bde@FreeBSD.org>

Fixed breakage of installation of kbdcontrol.1 in previous commit.

Fixed style bugs.


# ef01ff64 13-Sep-2000 David Malone <dwmalone@FreeBSD.org>

Add kbdmap.5 to build.
Refer to kbdmap(5) from a few man pages.
Remove it from TODO list.
Add missing FreeBSD tags.

PR: 19260


# 2577a8ac 28-Aug-1994 Bruce Evans <bde@FreeBSD.org>

Add dependencies on libraries to DPADD. Someday this should be done
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.


# 4871b210 25-Aug-1994 Jordan K. Hubbard <jkh@FreeBSD.org>

Add -ll to link flags to link with the lex library.
Submitted by: jkh


# 08bddad1 17-Aug-1994 Søren Schmidt <sos@FreeBSD.org>

Added kbdcontrol util from 1.1.5.1+

Reviewed by:
Submitted by: