de1d4a81ee
on y.tab.h generated. It will soon be used to tell bsd.dep.mk that y.tab.h itself needs to be generated.
37 lines
630 B
Makefile
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
|