1# $FreeBSD: head/lib/liblzma/Makefile 207842 2010-05-10 06:59:50Z mm $
| 1# $FreeBSD: head/lib/liblzma/Makefile 207844 2010-05-10 07:47:31Z mm $
|
2 3LIB= lzma 4SHLIB_MAJOR= 0 5LZMADIR= ${.CURDIR}/../../contrib/xz/src/liblzma 6 7.PATH: ${LZMADIR}/../common 8SRCS+= tuklib_physmem.c 9 10.PATH: ${LZMADIR}/api/lzma 11 12MAININCS= ../lzma.h 13MAININCSDIR= ${INCLUDEDIR} 14 15LZMAINCS+= base.h \ 16 bcj.h \ 17 block.h \ 18 check.h \ 19 container.h \ 20 delta.h \ 21 filter.h \
| 2 3LIB= lzma 4SHLIB_MAJOR= 0 5LZMADIR= ${.CURDIR}/../../contrib/xz/src/liblzma 6 7.PATH: ${LZMADIR}/../common 8SRCS+= tuklib_physmem.c 9 10.PATH: ${LZMADIR}/api/lzma 11 12MAININCS= ../lzma.h 13MAININCSDIR= ${INCLUDEDIR} 14 15LZMAINCS+= base.h \ 16 bcj.h \ 17 block.h \ 18 check.h \ 19 container.h \ 20 delta.h \ 21 filter.h \
|
| 22 hardware.h \ 23 index.h \
|
22 index_hash.h \ 23 lzma.h \ 24 stream_flags.h \ 25 subblock.h \ 26 version.h \ 27 vli.h 28 29LZMAINCSDIR= ${INCLUDEDIR}/lzma 30 31INCSGROUPS= MAININCS LZMAINCS 32 33.PATH: ${LZMADIR}/common 34SRCS+= common.c \ 35 block_util.c \ 36 easy_preset.c \ 37 filter_common.c \ 38 hardware_physmem.c \ 39 index.c \ 40 stream_flags_common.c \ 41 vli_size.c \ 42 alone_encoder.c \ 43 block_buffer_encoder.c \ 44 block_encoder.c \ 45 block_header_encoder.c \ 46 easy_buffer_encoder.c \ 47 easy_encoder.c \ 48 easy_encoder_memusage.c \ 49 filter_buffer_encoder.c \ 50 filter_encoder.c \ 51 filter_flags_encoder.c \ 52 index_encoder.c \ 53 stream_buffer_encoder.c \ 54 stream_encoder.c \ 55 stream_flags_encoder.c \ 56 vli_encoder.c \ 57 alone_decoder.c \ 58 auto_decoder.c \ 59 block_buffer_decoder.c \ 60 block_decoder.c \ 61 block_header_decoder.c \ 62 easy_decoder_memusage.c \ 63 filter_buffer_decoder.c \ 64 filter_decoder.c \ 65 filter_flags_decoder.c \ 66 index_decoder.c \ 67 index_hash.c \ 68 stream_buffer_decoder.c \ 69 stream_decoder.c \ 70 stream_flags_decoder.c \ 71 vli_decoder.c 72 73.PATH: ${LZMADIR}/check 74SRCS+= check.c \ 75 crc32_table.c \ 76 crc64_table.c \ 77 sha256.c 78.if defined(MACHINE_ARCH) && ${MACHINE_ARCH} == "i386" 79SRCS+= crc32_x86.S \ 80 crc64_x86.S 81.else 82SRCS+= crc32_fast.c \ 83 crc64_fast.c 84.endif 85 86.PATH: ${LZMADIR}/lz 87SRCS+= lz_encoder.c \ 88 lz_encoder_mf.c \ 89 lz_decoder.c 90 91.PATH: ${LZMADIR}/lzma 92SRCS+= lzma_encoder.c \ 93 lzma_encoder_presets.c \ 94 lzma_encoder_optimum_fast.c \ 95 lzma_encoder_optimum_normal.c \ 96 fastpos_table.c \ 97 lzma_decoder.c \ 98 lzma2_encoder.c \ 99 lzma2_decoder.c 100 101.PATH: ${LZMADIR}/rangecoder 102SRCS+= price_table.c 103 104.PATH: ${LZMADIR}/delta 105SRCS+= delta_common.c \ 106 delta_encoder.c \ 107 delta_decoder.c 108 109.PATH: ${LZMADIR}/simple 110SRCS+= simple_coder.c \ 111 simple_encoder.c \ 112 simple_decoder.c \ 113 x86.c \ 114 powerpc.c \ 115 ia64.c \ 116 arm.c \ 117 armthumb.c \ 118 sparc.c 119 120WARNS?= 3 121 122CFLAGS+= -DHAVE_CONFIG_H \ 123 -I${.CURDIR} \ 124 -I${LZMADIR}/api \ 125 -I${LZMADIR}/common \ 126 -I${LZMADIR}/check \ 127 -I${LZMADIR}/lz \ 128 -I${LZMADIR}/rangecoder \ 129 -I${LZMADIR}/lzma \ 130 -I${LZMADIR}/subblock \ 131 -I${LZMADIR}/delta \ 132 -I${LZMADIR}/simple \ 133 -I${LZMADIR}/../common 134 135.include <bsd.lib.mk>
| 24 index_hash.h \ 25 lzma.h \ 26 stream_flags.h \ 27 subblock.h \ 28 version.h \ 29 vli.h 30 31LZMAINCSDIR= ${INCLUDEDIR}/lzma 32 33INCSGROUPS= MAININCS LZMAINCS 34 35.PATH: ${LZMADIR}/common 36SRCS+= common.c \ 37 block_util.c \ 38 easy_preset.c \ 39 filter_common.c \ 40 hardware_physmem.c \ 41 index.c \ 42 stream_flags_common.c \ 43 vli_size.c \ 44 alone_encoder.c \ 45 block_buffer_encoder.c \ 46 block_encoder.c \ 47 block_header_encoder.c \ 48 easy_buffer_encoder.c \ 49 easy_encoder.c \ 50 easy_encoder_memusage.c \ 51 filter_buffer_encoder.c \ 52 filter_encoder.c \ 53 filter_flags_encoder.c \ 54 index_encoder.c \ 55 stream_buffer_encoder.c \ 56 stream_encoder.c \ 57 stream_flags_encoder.c \ 58 vli_encoder.c \ 59 alone_decoder.c \ 60 auto_decoder.c \ 61 block_buffer_decoder.c \ 62 block_decoder.c \ 63 block_header_decoder.c \ 64 easy_decoder_memusage.c \ 65 filter_buffer_decoder.c \ 66 filter_decoder.c \ 67 filter_flags_decoder.c \ 68 index_decoder.c \ 69 index_hash.c \ 70 stream_buffer_decoder.c \ 71 stream_decoder.c \ 72 stream_flags_decoder.c \ 73 vli_decoder.c 74 75.PATH: ${LZMADIR}/check 76SRCS+= check.c \ 77 crc32_table.c \ 78 crc64_table.c \ 79 sha256.c 80.if defined(MACHINE_ARCH) && ${MACHINE_ARCH} == "i386" 81SRCS+= crc32_x86.S \ 82 crc64_x86.S 83.else 84SRCS+= crc32_fast.c \ 85 crc64_fast.c 86.endif 87 88.PATH: ${LZMADIR}/lz 89SRCS+= lz_encoder.c \ 90 lz_encoder_mf.c \ 91 lz_decoder.c 92 93.PATH: ${LZMADIR}/lzma 94SRCS+= lzma_encoder.c \ 95 lzma_encoder_presets.c \ 96 lzma_encoder_optimum_fast.c \ 97 lzma_encoder_optimum_normal.c \ 98 fastpos_table.c \ 99 lzma_decoder.c \ 100 lzma2_encoder.c \ 101 lzma2_decoder.c 102 103.PATH: ${LZMADIR}/rangecoder 104SRCS+= price_table.c 105 106.PATH: ${LZMADIR}/delta 107SRCS+= delta_common.c \ 108 delta_encoder.c \ 109 delta_decoder.c 110 111.PATH: ${LZMADIR}/simple 112SRCS+= simple_coder.c \ 113 simple_encoder.c \ 114 simple_decoder.c \ 115 x86.c \ 116 powerpc.c \ 117 ia64.c \ 118 arm.c \ 119 armthumb.c \ 120 sparc.c 121 122WARNS?= 3 123 124CFLAGS+= -DHAVE_CONFIG_H \ 125 -I${.CURDIR} \ 126 -I${LZMADIR}/api \ 127 -I${LZMADIR}/common \ 128 -I${LZMADIR}/check \ 129 -I${LZMADIR}/lz \ 130 -I${LZMADIR}/rangecoder \ 131 -I${LZMADIR}/lzma \ 132 -I${LZMADIR}/subblock \ 133 -I${LZMADIR}/delta \ 134 -I${LZMADIR}/simple \ 135 -I${LZMADIR}/../common 136 137.include <bsd.lib.mk>
|