SCCS munges %M%
[unix-history] / usr / src / libexec / getty / Makefile
index 2b1870d..f44103f 100644 (file)
@@ -1,13 +1,10 @@
-#      @(#)Makefile    5.8 (Berkeley) %G%
+#      @(#)Makefile    5.11 (Berkeley) %G%
 
 PROG=  getty
 
 PROG=  getty
-SRCS=  main.c init.c subr.c gettytab.c get_date.c
+SRCS=  main.c init.c subr.c gettytab.c get_date.c ttydefaults.c
+DPADD= ${LIBUTIL}
 LDADD= -lutil
 MAN5=  gettytab.0 ttys.0
 MAN8=  getty.0
 
 LDADD= -lutil
 MAN5=  gettytab.0 ttys.0
 MAN8=  getty.0
 
-beforeinstall:
-       install -c -o ${BINOWN} -g ${BINGRP} -m 444 ${.CURDIR}/gettytab \
-           ${DESTDIR}/etc/gettytab
-
 .include <bsd.prog.mk>
 .include <bsd.prog.mk>