head	1.2;
access;
symbols;
locks; strict;
comment	@# @;


1.2
date	2011.05.09.16.27.39;	author ed;	state dead;
branches;
next	1.1;

1.1
date	2009.09.03.09.33.57;	author ed;	state Exp;
branches;
next	;


desc
@@


1.2
log
@SVN rev 221698 on 2011-05-09 16:27:39Z by ed

Add proper build infrastructure for teken.

I'm not sure whether we should install teken as a library on any stock
FreeBSD installation, but I can imagine people want to tinker around
with it now and then. Create a /sys/teken/libteken, which holds a
Makefile to install a shared library version of the terminal emulator,
complete with a manpage.

Also add Makefiles for the demo/stress applications, to build it against
the shared library.
@
text
@# $FreeBSD: src/sys/teken/Makefile,v 1.1 2009/09/03 09:33:57 ed Exp $

PROG=		teken_demo
SRCS=		teken_demo.c teken.c teken_state.h
CLEANFILES=	teken_state.h teken.log
LDADD=		-lncurses -lutil
NO_MAN=
WARNS?=		6

teken_state.h: gensequences sequences
	awk -f gensequences sequences > ${.TARGET}

.include <bsd.prog.mk>
@


1.1
log
@SVN rev 196775 on 2009-09-03 09:33:57Z by ed

Move libteken out of the syscons directory.

I initially committed libteken to sys/dev/syscons/teken, but now that
I'm working on a console driver myself, I noticed this was not a good
decision. Move it to sys/teken to make it easier for other drivers to
use a terminal emulator.

Also list teken.c in sys/conf/files, instead of listing it in all the
files.arch files separately.
@
text
@d1 1
a1 1
# $FreeBSD$
@

