Changeset View
Changeset View
Standalone View
Standalone View
stand/libsa/Makefile
Show First 20 Lines • Show All 93 Lines • ▼ Show 20 Lines | |||||
# 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 | ||||
# decompression functionality from zlib | # decompression functionality from zlib | ||||
.PATH: ${SRCTOP}/contrib/zlib | .PATH: ${SRCTOP}/sys/contrib/zlib | ||||
CFLAGS+=-DHAVE_MEMCPY -I${SRCTOP}/contrib/zlib | CFLAGS+=-DHAVE_MEMCPY -I${SRCTOP}/sys/contrib/zlib | ||||
SRCS+= adler32.c crc32.c | SRCS+= adler32.c crc32.c | ||||
SRCS+= infback.c inffast.c inflate.c inftrees.c zutil.c | SRCS+= infback.c inffast.c inflate.c inftrees.c zutil.c | ||||
# Create a subset of includes that are safe, as well as adjusting those that aren't | # Create a subset of includes that are safe, as well as adjusting those that aren't | ||||
# The lists may drive people nuts, but they are explicitly opt-in | # The lists may drive people nuts, but they are explicitly opt-in | ||||
FAKE_DIRS=xlocale arpa | FAKE_DIRS=xlocale arpa | ||||
SAFE_INCS=a.out.h assert.h elf.h limits.h nlist.h setjmp.h stddef.h stdbool.h string.h strings.h time.h unistd.h uuid.h | SAFE_INCS=a.out.h assert.h elf.h limits.h nlist.h setjmp.h stddef.h stdbool.h string.h strings.h time.h unistd.h uuid.h | ||||
STAND_H_INC=ctype.h fcntl.h signal.h stdio.h stdlib.h | STAND_H_INC=ctype.h fcntl.h signal.h stdio.h stdlib.h | ||||
▲ Show 20 Lines • Show All 66 Lines • Show Last 20 Lines |