freebsd-nq/sys/teken/libteken/Makefile
Ed Schouten ecc16c8d3a 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.
2011-05-09 16:27:39 +00:00

40 lines
875 B
Makefile

# $FreeBSD$
LIB= teken
SHLIB_MAJOR= 0
CFLAGS+=-I.
WARNS?= 6
SRCDIR= ${.CURDIR}/..
.PATH: ${SRCDIR}
SRCS= teken.c teken_state.h
INCS= teken.h
CLEANFILES=teken_state.h
MAN= teken.3
MLINKS= teken.3 teken_256to8.3 \
teken.3 teken_get_curattr.3 \
teken.3 teken_get_cursor.3 \
teken.3 teken_get_defattr.3 \
teken.3 teken_get_defattr_cons25.3 \
teken.3 teken_get_sequence.3 \
teken.3 teken_get_winsize.3 \
teken.3 teken_init.3 \
teken.3 teken_input.3 \
teken.3 teken_set_8bit.3 \
teken.3 teken_set_cons25.3 \
teken.3 teken_set_curattr.3 \
teken.3 teken_set_cursor.3 \
teken.3 teken_set_defattr.3 \
teken.3 teken_set_winsize.3
teken_state.h: ${SRCDIR}/gensequences ${SRCDIR}/sequences
awk -f ${SRCDIR}/gensequences ${SRCDIR}/sequences > ${.TARGET}
VERSION_DEF= ${.CURDIR}/../../../lib/libc/Versions.def
SYMBOL_MAPS= ${.CURDIR}/Symbol.map
.include <bsd.lib.mk>