Changeset View
Changeset View
Standalone View
Standalone View
lib/libstand/Makefile
Show First 20 Lines • Show All 103 Lines • ▼ Show 20 Lines | sed "s|bzlib_private\.h|libstand_bzlib_private.h|" \ | ||||
${.ALLSRC} > ${.TARGET} | ${.ALLSRC} > ${.TARGET} | ||||
.endfor | .endfor | ||||
CLEANFILES+= libstand_bzlib_private.h | CLEANFILES+= libstand_bzlib_private.h | ||||
libstand_bzlib_private.h: bzlib_private.h | libstand_bzlib_private.h: bzlib_private.h | ||||
sed -e 's|<stdlib.h>|"stand.h"|' \ | sed -e 's|<stdlib.h>|"stand.h"|' \ | ||||
${.ALLSRC} > ${.TARGET} | ${.ALLSRC} > ${.TARGET} | ||||
# decompression functionality from libzstd | |||||
# NOTE: to actually test this functionality after libbz2 upgrade compile | |||||
# loader(8) with LOADER_ZSTD_SUPPORT defined | |||||
.PATH: ${LIBSTAND_SRC}/../../contrib/zstd/lib/common | |||||
.PATH: ${LIBSTAND_SRC}/../../contrib/zstd/lib/decompress | |||||
imp: ${SRCTOP}/ instead of ${LIBSTAND_SRC}/../../ works better and fits with changes I've made to… | |||||
CFLAGS+=-D_BOOTSTRAP | |||||
CFLAGS+=-I${LIBSTAND_SRC}/../../contrib/zstd/lib -I${LIBSTAND_SRC}/../../contrib/zstd/lib/common | |||||
impUnsubmitted Not Done Inline Actionsditto imp: ditto | |||||
SRCS+= entropy_common.c error_private.c fse_decompress.c xxhash.c zstd_common.c huf_decompress.c zstd_decompress.c | |||||
# decompression functionality from zlib | # decompression functionality from zlib | ||||
.PATH: ${LIBSTAND_SRC}/../../contrib/zlib | .PATH: ${LIBSTAND_SRC}/../../contrib/zlib | ||||
CFLAGS+=-DHAVE_MEMCPY -I${LIBSTAND_SRC}/../../contrib/zlib | CFLAGS+=-DHAVE_MEMCPY -I${LIBSTAND_SRC}/../../contrib/zlib | ||||
SRCS+= adler32.c crc32.c libstand_zutil.h libstand_gzguts.h | SRCS+= adler32.c crc32.c libstand_zutil.h libstand_gzguts.h | ||||
.for file in infback.c inffast.c inflate.c inftrees.c zutil.c | .for file in infback.c inffast.c inflate.c inftrees.c zutil.c | ||||
SRCS+= _${file} | SRCS+= _${file} | ||||
CLEANFILES+= _${file} | CLEANFILES+= _${file} | ||||
▲ Show 20 Lines • Show All 44 Lines • Show Last 20 Lines |
${SRCTOP}/ instead of ${LIBSTAND_SRC}/../../ works better and fits with changes I've made to this file.