Add -DSMALL versions of ftp and sh for install disks.
This commit is contained in:
parent
fd7119d6e6
commit
85527948f6
18
distrib/utils/x_ftp/Makefile
Normal file
18
distrib/utils/x_ftp/Makefile
Normal file
@ -0,0 +1,18 @@
|
||||
# $NetBSD: Makefile,v 1.1 1997/11/17 01:35:57 cjs Exp $
|
||||
# Build a smaller ftp (i.e. for boot media)
|
||||
|
||||
PROG= ftp
|
||||
NOMAN=
|
||||
|
||||
SRCDIR= ${.CURDIR}/../../../usr.bin/ftp
|
||||
|
||||
SRCS= cmds.c cmdtab.c complete.c domacro.c fetch.c ftp.c main.c ruserpass.c \
|
||||
util.c
|
||||
|
||||
CPPFLAGS+= -DSMALL -I${SRCDIR}
|
||||
|
||||
all: ${PROG}
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
||||
.PATH: ${SRCDIR}
|
22
distrib/utils/x_sh/Makefile
Normal file
22
distrib/utils/x_sh/Makefile
Normal file
@ -0,0 +1,22 @@
|
||||
# $NetBSD: Makefile,v 1.1 1997/11/17 01:36:00 cjs Exp $
|
||||
# Build a smaller sh (e.g. for boot media)
|
||||
|
||||
# This can't be used, since crunchgen does not run this makefile
|
||||
# from this directory.
|
||||
#.CURDIR := ${.CURDIR}/../../../bin/sh
|
||||
|
||||
# XXX Yes, this is really ugly.
|
||||
.if !defined(BSDSRCDIR) || empty(BSDSRCDIR)
|
||||
FOO!="***** error: BSDSRCDIR must be defined."
|
||||
breakthingsnow
|
||||
.endif
|
||||
.CURDIR := ${BSDSRCDIR}/bin/sh
|
||||
|
||||
NOMAN=1
|
||||
|
||||
CPPFLAGS+= -I${.CURDIR}
|
||||
CFLAGS+= -DSMALL
|
||||
|
||||
.PATH: ${.CURDIR} ${.CURDIR}/bltin ${.CURDIR}/../../usr.bin/printf
|
||||
|
||||
.include "${.CURDIR}/Makefile"
|
Loading…
x
Reference in New Issue
Block a user