make machine-independent by generatibg syswrite.s on the fly;
[unix-history] / usr / src / sbin / restore / Makefile
index 22f7285..414aa0e 100644 (file)
@@ -1,11 +1,14 @@
-# Copyright (c) 1982 Regents of the University of California
 #
 #
-#      @(#)Makefile    4.10    (Berkeley)      %G%
+# Copyright (c) 1983 Regents of the University of California.
+# All rights reserved.  The Berkeley software License Agreement
+# specifies the terms and conditions for redistribution.
+#
+#      @(#)Makefile    5.3 (Berkeley) %G%
 #
 DESTDIR=
 CFLAGS= -O
 #
 DESTDIR=
 CFLAGS= -O
-FILES= main.c restore.c dirs.c symtab.c tape.c utilities.c
-OBJS=  main.o restore.o dirs.o symtab.o utilities.o
+FILES= main.c interactive.c restore.c dirs.c symtab.c tape.c utilities.c
+OBJS=  main.o interactive.o restore.o dirs.o symtab.o utilities.o
 
 all: restore rrestore
 
 
 all: restore rrestore
 
@@ -24,8 +27,8 @@ dumprmt.o: ../dump/dumprmt.c
        cc ${CFLAGS} -c ../dump/dumprmt.c
 
 install: rrestore restore
        cc ${CFLAGS} -c ../dump/dumprmt.c
 
 install: rrestore restore
-       install restore ${DESTDIR}/etc/restore
-       install -m 4755 rrestore ${DESTDIR}/etc/rrestore
+       install -s restore ${DESTDIR}/etc/restore
+       install -s -m 4755 rrestore ${DESTDIR}/etc/rrestore
 
 clean:
        rm -f restore rrestore *.o errs a.out core
 
 clean:
        rm -f restore rrestore *.o errs a.out core
@@ -34,6 +37,6 @@ lint:
        lint ${FILES}
 
 print:
        lint ${FILES}
 
 print:
-       @pr /usr/include/dumprestor.h restore.h ${FILES}
+       @pr /usr/include/protocols/dumprestore.h restore.h ${FILES}
 
 ${OBJS}: restore.h
 
 ${OBJS}: restore.h