summaryrefslogtreecommitdiffstats
path: root/usr.sbin/pcvt/kcon/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/pcvt/kcon/Makefile')
-rw-r--r--usr.sbin/pcvt/kcon/Makefile26
1 files changed, 26 insertions, 0 deletions
diff --git a/usr.sbin/pcvt/kcon/Makefile b/usr.sbin/pcvt/kcon/Makefile
new file mode 100644
index 0000000..31c5acc
--- /dev/null
+++ b/usr.sbin/pcvt/kcon/Makefile
@@ -0,0 +1,26 @@
+
+.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 = kcon
+DEVICE = /dev/ttyv0
+CFLAGS += -I${.CURDIR}/../keycap -DKEYB_DEVICE=\"${DEVICE}\"
+
+# the -Lfoo could be omitted if libkeycap.a were installed before
+# making those programs here
+
+LDADD = -L${.CURDIR}/../keycap -L${.CURDIR}/../keycap/obj -lkeycap
+
+.include <bsd.prog.mk>
+
+$(PROG): $(INCDIR)/pcvt_ioctl.h
+
+.endif
OpenPOWER on IntegriCloud