freebsd-dev/usr.sbin/pcvt/kbdio/Makefile
Bruce Evans de1d4a81ee Added y.tab.h to SRCS. This should have been used to get dependencies
on y.tab.h generated.  It will soon be used to tell bsd.dep.mk that
y.tab.h itself needs to be generated.
1998-05-05 13:16:35 +00:00

37 lines
630 B
Makefile

.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
SRCS= kbdio.y lex.l y.tab.h
#YACC= bison
#YFLAGS+= -yd # Bison only
YFLAGS+= -v # verbose
LFLAGS+= -I
DPADD= ${LIBM} ${LIBY} ${LIBL}
LDADD= -lm -ly -ll
NOMAN=
CFLAGS+= -I${.OBJDIR} -I${.CURDIR} #-g
CLEANFILES+= y.output # comment file from bison
install:
@${ECHO} "kbdio is not installed automatically ...."
.include <bsd.prog.mk>
.endif