summaryrefslogtreecommitdiffstats
path: root/usr.sbin/pcvt/kcon/Makefile
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1995-02-12 01:51:34 +0000
committerjkh <jkh@FreeBSD.org>1995-02-12 01:51:34 +0000
commit5eb65213a574dd16c1f697335c6dd9176d773147 (patch)
treedbfd53befc2653a70e51f4475696fb08b0d75f36 /usr.sbin/pcvt/kcon/Makefile
parente9a95dfcb41ee6dfc6984f3c4aec8c1398fd3f82 (diff)
downloadFreeBSD-src-5eb65213a574dd16c1f697335c6dd9176d773147.zip
FreeBSD-src-5eb65213a574dd16c1f697335c6dd9176d773147.tar.gz
Updated this to be more FreeBSD-like; there was a lot of bipartisan cruft
in here that just made it a heck of a lot more confusing to maintain. Somebody like Joerg can reality-check this at some point, when they have more time. For now, it works.
Diffstat (limited to 'usr.sbin/pcvt/kcon/Makefile')
-rw-r--r--usr.sbin/pcvt/kcon/Makefile22
1 files changed, 3 insertions, 19 deletions
diff --git a/usr.sbin/pcvt/kcon/Makefile b/usr.sbin/pcvt/kcon/Makefile
index 31c5acc..4826870 100644
--- a/usr.sbin/pcvt/kcon/Makefile
+++ b/usr.sbin/pcvt/kcon/Makefile
@@ -1,18 +1,6 @@
-
-.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}\"
+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
@@ -20,7 +8,3 @@ CFLAGS += -I${.CURDIR}/../keycap -DKEYB_DEVICE=\"${DEVICE}\"
LDADD = -L${.CURDIR}/../keycap -L${.CURDIR}/../keycap/obj -lkeycap
.include <bsd.prog.mk>
-
-$(PROG): $(INCDIR)/pcvt_ioctl.h
-
-.endif
OpenPOWER on IntegriCloud