summaryrefslogtreecommitdiffstats
path: root/usr.sbin/pcvt/kbdio/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/pcvt/kbdio/Makefile')
-rw-r--r--usr.sbin/pcvt/kbdio/Makefile38
1 files changed, 38 insertions, 0 deletions
diff --git a/usr.sbin/pcvt/kbdio/Makefile b/usr.sbin/pcvt/kbdio/Makefile
new file mode 100644
index 0000000..147e6ad
--- /dev/null
+++ b/usr.sbin/pcvt/kbdio/Makefile
@@ -0,0 +1,38 @@
+
+.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
+
+#YACC= bison
+#YFLAGS+= -yd # Bison only
+
+YFLAGS+= -v # verbose
+LFLAGS+= -I
+LDADD= -lm -ly -ll
+
+NOMAN=
+NOSHARED= no shared linkage
+
+CFLAGS+= -I ${.CURDIR}/obj -I ${.CURDIR} #-g
+
+CLEANFILES+= y.tab.h
+CLEANFILES+= y.output # comment file from bison
+
+install:
+ @echo "kbdio is not installed automatically ...."
+
+.include <bsd.prog.mk>
+
+lex.o: y.tab.h lex.l
+
+.endif
OpenPOWER on IntegriCloud