Changeset View
Changeset View
Standalone View
Standalone View
stand/libsa/Makefile
Show First 20 Lines • Show All 91 Lines • ▼ Show 20 Lines | |||||
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}/sys/contrib/zlib | .PATH: ${SRCTOP}/sys/contrib/zlib | ||||
CFLAGS+=-DHAVE_MEMCPY -I${SRCTOP}/sys/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 | ||||
# lz4 decompression functionality | |||||
.PATH: ${SRCTOP}/sys/cddl/contrib/opensolaris/common/lz4 | |||||
SRCS+= lz4.c | |||||
CFLAGS.lz4.c+= -I${SRCTOP}/sys/cddl/contrib/opensolaris/common/lz4 | |||||
# 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 | ||||
OTHER_INC=stdarg.h errno.h stdint.h | OTHER_INC=stdarg.h errno.h stdint.h | ||||
beforedepend: | beforedepend: | ||||
▲ Show 20 Lines • Show All 60 Lines • Show Last 20 Lines |