1995-02-05 13:49:25 +00:00
|
|
|
.if !exists(${.CURDIR}/../Makefile.inc)
|
|
|
|
error:
|
|
|
|
@echo
|
|
|
|
@echo " You MUST link/copy"
|
|
|
|
@echo
|
|
|
|
@echo " ../Makefile.inc.NetBSD or ../Makefile.inc.FreeBSD"
|
|
|
|
@echo
|
|
|
|
@echo " to ../Makefile.inc before you can proceed !"
|
|
|
|
@echo
|
|
|
|
.else
|
|
|
|
|
|
|
|
PROG= kbdio
|
1995-09-28 18:23:44 +00:00
|
|
|
SRCS= kbdio.c lex.c
|
1995-02-05 13:49:25 +00:00
|
|
|
|
|
|
|
#YACC= bison
|
|
|
|
#YFLAGS+= -yd # Bison only
|
|
|
|
|
|
|
|
YFLAGS+= -v # verbose
|
1995-09-28 18:23:44 +00:00
|
|
|
|
1995-02-05 13:49:25 +00:00
|
|
|
LFLAGS+= -I
|
1995-09-28 18:23:44 +00:00
|
|
|
|
|
|
|
DPADD= ${LIBM} ${LIBY} ${LIBL}
|
1995-02-05 13:49:25 +00:00
|
|
|
LDADD= -lm -ly -ll
|
|
|
|
|
|
|
|
NOMAN=
|
|
|
|
NOSHARED= no shared linkage
|
|
|
|
|
1995-09-28 18:23:44 +00:00
|
|
|
CFLAGS+= -I${.CURDIR}/obj -I${.CURDIR} #-g
|
1995-02-05 13:49:25 +00:00
|
|
|
|
1995-09-28 18:23:44 +00:00
|
|
|
CLEANFILES+= kbdio.c lex.c lex.yy.c y.tab.[ch]
|
1995-02-05 13:49:25 +00:00
|
|
|
CLEANFILES+= y.output # comment file from bison
|
|
|
|
|
|
|
|
install:
|
1995-05-07 05:56:00 +00:00
|
|
|
@${ECHO} "kbdio is not installed automatically ...."
|
1995-02-05 13:49:25 +00:00
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|
|
|
|
|
|
|
|
.endif
|