DESTDIR
authorSam Leffler <sam@ucbvax.Berkeley.EDU>
Fri, 22 Oct 1982 06:36:50 +0000 (22:36 -0800)
committerSam Leffler <sam@ucbvax.Berkeley.EDU>
Fri, 22 Oct 1982 06:36:50 +0000 (22:36 -0800)
SCCS-vsn: old/htable/Makefile 4.2
SCCS-vsn: old/implog/Makefile 4.2
SCCS-vsn: usr.bin/netstat/Makefile 4.3

usr/src/old/htable/Makefile
usr/src/old/implog/Makefile
usr/src/usr.bin/netstat/Makefile

index aa092e1..4b5e452 100644 (file)
@@ -1,6 +1,7 @@
-# @(#)Makefile 4.1 %G%
+# @(#)Makefile 4.2 %G%
 OPTIONS=-DLOCALNET=46
 CFLAGS=        -O
 OPTIONS=-DLOCALNET=46
 CFLAGS=        -O
+DESTDIR=
 ALL=   htable
 
 all:   htable
 ALL=   htable
 
 all:   htable
@@ -27,4 +28,4 @@ clean:
        rm -f ${ALL} *.o *.s y.tab.h errs
 
 install:
        rm -f ${ALL} *.o *.s y.tab.h errs
 
 install:
-       install htable /etc
+       install htable ${DESTDIR}/etc
index b3b1212..56fa894 100644 (file)
@@ -1,5 +1,6 @@
-# @(#)Makefile 4.1 %G%
+# @(#)Makefile 4.2 %G%
 ALL=   implog implogd
 ALL=   implog implogd
+DESTDIR=
 CFLAGS=-O
 
 all:   ${ALL}
 CFLAGS=-O
 
 all:   ${ALL}
@@ -19,5 +20,5 @@ clean:
        rm -f ${ALL} *.o *.s errs core a.out t.?
 
 install: ${ALL}
        rm -f ${ALL} *.o *.s errs core a.out t.?
 
 install: ${ALL}
-       install implog /usr/ucb
-       install implogd /etc
+       install implog ${DESTDIR}/usr/ucb
+       install implogd ${DESTDIR}/etc
index 73c03f6..7db9979 100644 (file)
@@ -1,7 +1,7 @@
-# @(#)Makefile 4.2 %G%
+# @(#)Makefile 4.3 %G%
 OBJS=  host.o inet.o if.o main.o mbuf.o route.o
 CFLAGS=-O
 OBJS=  host.o inet.o if.o main.o mbuf.o route.o
 CFLAGS=-O
-DESTDIR=/usr/ucb
+DESTDIR=
 
 .c.o:
        ${CC} -S ${CFLAGS} $*.c
 
 .c.o:
        ${CC} -S ${CFLAGS} $*.c
@@ -12,7 +12,7 @@ netstat: ${OBJS}
        ${CC} ${OBJS} -o netstat
 
 install: netstat
        ${CC} ${OBJS} -o netstat
 
 install: netstat
-       install -s netstat ${DESTDIR}
+       install -s netstat ${DESTDIR}/usr/ucb
 
 clean:
        rm -f *.o core a.out errs
 
 clean:
        rm -f *.o core a.out errs