From 0c0fba5509344e5f00bc394e54ec41bcbdc3acb0 Mon Sep 17 00:00:00 2001 From: cgd Date: Fri, 21 May 1993 15:02:34 +0000 Subject: [PATCH] clean up a bit, and add install target --- usr.sbin/sup/source/Makefile | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/usr.sbin/sup/source/Makefile b/usr.sbin/sup/source/Makefile index 3134ff48b701..49faac3de3b0 100644 --- a/usr.sbin/sup/source/Makefile +++ b/usr.sbin/sup/source/Makefile @@ -41,6 +41,11 @@ NON_MACH_DEFINES = -UMACH #DEFS = -UCMUCS -UCMU ${${SITE}_DEFINES} DEFS = -UCMUCS -UCMU ${NETBSD_DEFINES} +#INSTALLATION PARAMETERS +NETBSD_BINDIR = /usr/local/sbin +NETBSD_MAN1 = /usr/local/man/man1 +NETBSD_MAN8 = /usr/local/man/man8 + CFLAGS = ${DEFS} -O -I. # unlicensed non-crypting version @@ -56,6 +61,8 @@ EXTRA = atoo.o errmsg.o expand.o ffilecopy.o filecopy.o nxtarg.o \ PROGRAMS = sup supscan supfilesrv +MAN1 = sup.1 +MAN8 = supservers.8 NETBSD_LIBS = -lcrypt CMUCS_LIBS = -lsys @@ -85,6 +92,10 @@ libextra.a: ${EXTRA} clean: rm -f ${PROGRAMS} libextra.a *.o core a.out +install: ${PROGRAMS} + install -cs -m 555 -o bin -g bin ${PROGRAMS} ${NETBSD_BINDIR} + install -c -m 444 -o bin -g bin ${MAN1} ${NETBSD_MAN1} + install -c -m 444 -o bin -g bin ${MAN8} ${NETBSD_MAN8} scan.o: sup.h scm.o: sup.h