diff options
author | ru <ru@FreeBSD.org> | 2004-12-21 15:16:36 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2004-12-21 15:16:36 +0000 |
commit | 9a53664bdb73beb95438951bf841a4f4b05b189b (patch) | |
tree | 06d76021f6de90d2cf9dc1d48e0e353e1f85a9d3 /usr.sbin/sade/Makefile | |
parent | 93f5228cf5818269f9b28ad709ba54a057a38fb8 (diff) | |
download | FreeBSD-src-9a53664bdb73beb95438951bf841a4f4b05b189b.zip FreeBSD-src-9a53664bdb73beb95438951bf841a4f4b05b189b.tar.gz |
Use the source of the termcap database when available.
Diffstat (limited to 'usr.sbin/sade/Makefile')
-rw-r--r-- | usr.sbin/sade/Makefile | 26 |
1 files changed, 16 insertions, 10 deletions
diff --git a/usr.sbin/sade/Makefile b/usr.sbin/sade/Makefile index 7bd2c13..2a75837 100644 --- a/usr.sbin/sade/Makefile +++ b/usr.sbin/sade/Makefile @@ -30,36 +30,42 @@ LDADD= -ldialog -lncurses -lutil -ldisk -lftpio CLEANFILES= makedevs.c rtermcap CLEANFILES+= keymap.tmp keymap.h +.if exists(${.CURDIR}/../../share/termcap/termcap.src) +RTERMCAP= TERMCAP=${.CURDIR}/../../share/termcap/termcap.src ./rtermcap +.else +RTERMCAP= ./rtermcap +.endif + makedevs.c: Makefile rtermcap echo '#include <sys/types.h>' > makedevs.c - ./rtermcap ansi | \ + ${RTERMCAP} ansi | \ file2c 'const char termcap_ansi[] = {' ',0};' \ >> makedevs.c - ./rtermcap cons25w | \ + ${RTERMCAP} cons25w | \ file2c 'const char termcap_cons25w[] = {' ',0};' \ >> makedevs.c - ./rtermcap cons25 | \ + ${RTERMCAP} cons25 | \ file2c 'const char termcap_cons25[] = {' ',0};' \ >> makedevs.c - ./rtermcap cons25-m | \ + ${RTERMCAP} cons25-m | \ file2c 'const char termcap_cons25_m[] = {' ',0};' \ >> makedevs.c - ./rtermcap cons25r | \ + ${RTERMCAP} cons25r | \ file2c 'const char termcap_cons25r[] = {' ',0};' \ >> makedevs.c - ./rtermcap cons25r-m | \ + ${RTERMCAP} cons25r-m | \ file2c 'const char termcap_cons25r_m[] = {' ',0};' \ >> makedevs.c - ./rtermcap cons25l1 | \ + ${RTERMCAP} cons25l1 | \ file2c 'const char termcap_cons25l1[] = {' ',0};' \ >> makedevs.c - ./rtermcap cons25l1-m | \ + ${RTERMCAP} cons25l1-m | \ file2c 'const char termcap_cons25l1_m[] = {' ',0};' \ >> makedevs.c - ./rtermcap vt100 | \ + ${RTERMCAP} vt100 | \ file2c 'const char termcap_vt100[] = {' ',0};' \ >> makedevs.c - ./rtermcap xterm | \ + ${RTERMCAP} xterm | \ file2c 'const char termcap_xterm[] = {' ',0};' \ >> makedevs.c |