summaryrefslogtreecommitdiffstats
path: root/usr.sbin/pcvt/ispcvt/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/pcvt/ispcvt/Makefile')
-rw-r--r--usr.sbin/pcvt/ispcvt/Makefile27
1 files changed, 27 insertions, 0 deletions
diff --git a/usr.sbin/pcvt/ispcvt/Makefile b/usr.sbin/pcvt/ispcvt/Makefile
new file mode 100644
index 0000000..1787cc2
--- /dev/null
+++ b/usr.sbin/pcvt/ispcvt/Makefile
@@ -0,0 +1,27 @@
+
+.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 = ispcvt
+MAN8 = ispcvt.${MAN8EXT}
+
+.include <bsd.prog.mk>
+
+# special bindir, this MUST stand after include <bsd.prog.mk>
+BINDIR = /usr/sbin
+
+$(PROG): $(INCDIR)/pcvt_ioctl.h
+
+beforeinstall:
+ @if [ ! -d $(MANDIR)8 ] ; then \
+ echo making $(MANDIR)8; mkdir $(MANDIR)8; fi
+
+.endif
OpenPOWER on IntegriCloud