Make the "distribute" target build the "des" distribution. Make des'ed

init and ed, by pointing to real sources.
This commit is contained in:
phk 1994-11-14 20:45:35 +00:00
parent 48765f90e3
commit 277a5cfc85
11 changed files with 66 additions and 13 deletions

View File

@ -1,7 +1,10 @@
# $Id: Makefile,v 1.4 1994/09/07 07:16:37 pst Exp $
# $Id: Makefile,v 1.5 1994/09/07 07:47:03 pst Exp $
# XXX usr.bin out until Geoff's master plan is done
SUBDIR= lib
# lib must be first, or it will not work. This is because we reference
# the lib's in the directory where they are built from the binaries we
# want to build.
SUBDIR= lib usr.bin sbin bin
.include <bsd.subdir.mk>

View File

@ -1,3 +1,3 @@
# $Id$
# $Id: Makefile.inc,v 1.1 1994/08/07 19:04:10 wollman Exp $
BINDIR= /usr/bin
DISTRIBUTION=des

6
secure/bin/Makefile Normal file
View File

@ -0,0 +1,6 @@
# From: @(#)Makefile 8.1 (Berkeley) 5/31/93
# $Id: Makefile,v 1.2 1994/09/18 21:25:26 wollman Exp $
SUBDIR= ed
.include <bsd.subdir.mk>

5
secure/bin/Makefile.inc Normal file
View File

@ -0,0 +1,5 @@
# @(#)Makefile.inc 8.1 (Berkeley) 5/31/93
BINDIR?= /bin
NOSHARED?= YES
.include "${.CURDIR}/../../Makefile.inc"

13
secure/bin/ed/Makefile Normal file
View File

@ -0,0 +1,13 @@
# $Id: Makefile,v 1.9 1994/10/29 10:13:34 phk Exp $
PROG= ed
SRCS= buf.c cbc.c glbl.c io.c main.c re.c sub.c undo.c
.PATH: ${.CURDIR}/../../../bin/ed
LINKS= ${BINDIR}/ed ${BINDIR}/red
NOMAN= true
CFLAGS+=-DDES
LDADD+= -L../../lib/libdescrypt -ldescrypt
DPADD+= ../../lib/libcrypt/libdescrypt.a
.include <bsd.prog.mk>

View File

@ -1,5 +1,6 @@
# $Id: Makefile.inc,v 1.1 1994/08/08 17:42:36 csgr Exp $
# $Id: Makefile.inc,v 1.2 1994/08/12 21:02:25 csgr Exp $
.if exists(${.CURDIR}/../../../lib/Makefile.inc)
.include "${.CURDIR}/../../../lib/Makefile.inc"
.endif
.include "${.CURDIR}/../../Makefile.inc"
#.if exists(${.CURDIR}/../../../lib/Makefile.inc)
#.include "${.CURDIR}/../../../lib/Makefile.inc"
#.endif

6
secure/sbin/Makefile Normal file
View File

@ -0,0 +1,6 @@
# $Id: Makefile,v 1.1 1994/09/07 07:16:49 pst Exp $
SUBDIR= init
.include <bsd.subdir.mk>

6
secure/sbin/Makefile.inc Normal file
View File

@ -0,0 +1,6 @@
# $Id: Makefile.inc,v 1.1 1994/09/07 07:16:50 pst Exp $
BINDIR= /sbin
NOSHARED?= YES
.include "${.CURDIR}/../../Makefile.inc"

12
secure/sbin/init/Makefile Normal file
View File

@ -0,0 +1,12 @@
# @(#)Makefile 8.1 (Berkeley) 7/19/93
PROG= init
NOMAN= true
DPADD= ../../lib/libcrypt/libdescrypt.a ${LIBUTIL}
LDADD= -L../../lib/libcrypt -lutil -ldescrypt
.PATH: ${.CURDIR}/../../../sbin/init
BINMODE=500
INSTALLFLAGS=-fschg
CFLAGS+=-DDEBUGSHELL -DSECURE
.include <bsd.prog.mk>

View File

@ -1,3 +1,4 @@
# $Id$
# $Id: Makefile.inc,v 1.1 1994/09/07 07:16:50 pst Exp $
BINDIR= /usr/bin
.include "${.CURDIR}/../../Makefile.inc"

View File

@ -1,10 +1,10 @@
# @(#)Makefile 8.1 (Berkeley) 6/6/93
# $Id: Makefile,v 1.3 1994/09/12 17:27:55 ache Exp $
# $Id: Makefile,v 1.4 1994/09/30 06:04:40 pst Exp $
PROG= bdes
SRCS= bdes.c
LDADD+= -lcipher
DPADD+= ${LIBCIPHER}
LDADD+= -L../../lib/libcipher -lcipher
DPADD+= ../../lib/libcipher/libcipher.a
.include <bsd.prog.mk>