Add support for transparent handling of decompressing read, useful

for gzip'd kernels and miniroot images.
This commit is contained in:
thorpej 1997-02-04 19:28:50 +00:00
parent 4ffaf6dd1c
commit e876a86309
1 changed files with 9 additions and 3 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.buildboot,v 1.1 1997/02/04 03:51:38 thorpej Exp $
# $NetBSD: Makefile.buildboot,v 1.2 1997/02/04 19:28:50 thorpej Exp $
S= ${.CURDIR}/../../../..
@ -29,15 +29,21 @@ KERN_AS= library
.include "${S}/lib/libkern/Makefile.inc"
LIBKERN= ${KERNLIB}
### find out what to use for libz
Z_AS= library
.include "${S}/lib/libz/Makefile.inc"
LIBZ= ${ZLIB}
### find out what to use for libsa
SA_AS= library
SAMISCMAKEFLAGS= SA_USE_CREAD=yes
.include "${S}/lib/libsa/Makefile.inc"
LIBSA= ${SALIB}
${PROGAOUT}: ${OBJS} ${LIBSA} ${LIBKERN}
${PROGAOUT}: ${OBJS} ${LIBSA} ${LIBZ} ${LIBKERN}
sh ${.CURDIR}/../common/newvers.sh ${.CURDIR}/version ${NEWVERSWHAT}
${COMPILE.c} vers.c
${LD} -N -T ${RELOC} -e begin -o ${PROGAOUT} \
${OBJS} vers.o ${LIBSA} ${LIBKERN}
${OBJS} vers.o ${LIBSA} ${LIBZ} ${LIBKERN}
@size ${PROGAOUT}
@echo ${PROGAOUT} total size should not exceed 1044480 bytes