Changeset View
Changeset View
Standalone View
Standalone View
stand/libsa/Makefile
Show First 20 Lines • Show All 75 Lines • ▼ Show 20 Lines | |||||
# uuid functions from libc | # uuid functions from libc | ||||
.PATH: ${LIBC_SRC}/uuid | .PATH: ${LIBC_SRC}/uuid | ||||
SRCS+= uuid_create_nil.c uuid_equal.c uuid_from_string.c uuid_is_nil.c uuid_to_string.c | SRCS+= uuid_create_nil.c uuid_equal.c uuid_from_string.c uuid_is_nil.c uuid_to_string.c | ||||
# _setjmp/_longjmp | # _setjmp/_longjmp | ||||
.PATH: ${SASRC}/${LIBSA_CPUARCH} | .PATH: ${SASRC}/${LIBSA_CPUARCH} | ||||
SRCS+= _setjmp.S | SRCS+= _setjmp.S | ||||
# decompression functionality from libzstd | |||||
.PATH: ${SRCTOP}/sys/contrib/zstd/lib | |||||
CFLAGS+= -I${SRCTOP}/sys/contrib/zstd/lib | |||||
.PATH: ${SRCTOP}/sys/contrib/zstd/lib/common | |||||
CFLAGS+= -I${SRCTOP}/sys/contrib/zstd/lib/common | |||||
.PATH: ${SRCTOP}/sys/contrib/zstd/lib/compress | |||||
CFLAGS+= -I${SRCTOP}/sys/contrib/zstd/lib/compress | |||||
.PATH: ${SRCTOP}/sys/contrib/zstd/lib/decompress | |||||
CFLAGS+= -I${SRCTOP}/sys/contrib/zstd/lib/decompress | |||||
.for file in zstd_common.c fse_decompress.c entropy_common.c error_private.c \ | |||||
xxhash.c zstd_compress.c fse_compress.c huf_compress.c \ | |||||
zstd_double_fast.c zstd_fast.c zstd_lazy.c zstd_ldm.c zstd_opt.c \ | |||||
zstd_decompress.c huf_decompress.c | |||||
SRCS+= _${file} | |||||
CLEANFILES+= _${file} | |||||
_${file}: ${file} | |||||
sed -e 's|<stddef.h>|"stand.h"|' \ | |||||
-e 's|<string.h>|"stand.h"|' \ | |||||
-e 's|<stdio.h>|"stand.h"|' \ | |||||
-e 's|<stdlib.h>|"stand.h"|' \ | |||||
-e 's|<stdint.h>|"stand.h"|' \ | |||||
${.ALLSRC} > ${.TARGET} | |||||
.endfor | |||||
# decompression functionality from libbz2 | # decompression functionality from libbz2 | ||||
# NOTE: to actually test this functionality after libbz2 upgrade compile | # NOTE: to actually test this functionality after libbz2 upgrade compile | ||||
# loader(8) with LOADER_BZIP2_SUPPORT defined | # loader(8) with LOADER_BZIP2_SUPPORT defined | ||||
.PATH: ${SRCTOP}/contrib/bzip2 | .PATH: ${SRCTOP}/contrib/bzip2 | ||||
CFLAGS+= -DBZ_NO_STDIO -DBZ_NO_COMPRESS | CFLAGS+= -DBZ_NO_STDIO -DBZ_NO_COMPRESS | ||||
SRCS+=bzlib.c crctable.c decompress.c huffman.c randtable.c | SRCS+=bzlib.c crctable.c decompress.c huffman.c randtable.c | ||||
▲ Show 20 Lines • Show All 63 Lines • Show Last 20 Lines |