386BSD 0.1 development
[unix-history] / usr / src / sbin / shutdown / Makefile
index bf467e8..95391ed 100644 (file)
@@ -1,47 +1,9 @@
-#
-# Copyright (c) 1988 Regents of the University of California.
-# All rights reserved.
-#
-# Redistribution and use in source and binary forms are permitted
-# provided that the above copyright notice and this paragraph are
-# duplicated in all such forms and that any documentation, advertising
-# materials, and other materials related to such redistribution and
-# use acknowledge that the software was developed by the University
-# of California, Berkeley.  The name of the University may not be
-# used to endorse or promote products derived from this software
-# without specific prior written permission.  THIS SOFTWARE IS PROVIDED
-# ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING,
-# WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND
-# FITNESS FOR A PARTICULAR PURPOSE.
-#
-# @(#)Makefile 5.1 (Berkeley) %G%
-#
+#      @(#)Makefile    5.3 (Berkeley) 5/11/90
 
 
-CFLAGS=        -O
-LIBC=  /lib/libc.a
-SRCS=  shutdown.c
-MAN=   shutdown.0
+PROG=  shutdown
+MAN8=  shutdown.0
+BINOWN=        root
+BINGRP=        operator
+BINMODE=4550
 
 
-all: shutdown
-
-shutdown: ${SRCS} ${LIBC}
-       ${CC} -o $@ ${CFLAGS} $@.c
-
-clean:
-       rm -f ${OBJS} core shutdown
-
-cleandir: clean
-       rm -f ${MAN} tags .depend
-
-depend: ${SRCS}
-       mkdep -p ${CFLAGS} ${SRCS}
-
-install: ${MAN}
-       install -s -o root -g operator -m 4750 shutdown ${DESTDIR}/etc/shutdown
-       install -c -o bin -g bin -m 444 shutdown.0 ${DESTDIR}/usr/man/cat8/shutdown.0
-
-lint: ${SRCS}
-       lint ${CFLAGS} ${SRCS}
-
-tags: ${SRCS}
-       ctags ${SRCS}
+.include <bsd.prog.mk>