Makefile (218723) | Makefile (276898) |
---|---|
1# $FreeBSD: head/lib/liblzma/Makefile 218723 2011-02-15 22:03:09Z dim $ | 1# $FreeBSD: head/lib/liblzma/Makefile 276898 2015-01-10 00:11:10Z bapt $ |
2 3LIB= lzma 4LZMADIR= ${.CURDIR}/../../contrib/xz/src/liblzma 5 6.PATH: ${LZMADIR}/../common 7SRCS+= tuklib_physmem.c 8 9.PATH: ${LZMADIR}/api/lzma --- 102 unchanged lines hidden (view full) --- 112 simple_encoder.c \ 113 simple_decoder.c \ 114 x86.c \ 115 powerpc.c \ 116 ia64.c \ 117 arm.c \ 118 armthumb.c \ 119 sparc.c | 2 3LIB= lzma 4LZMADIR= ${.CURDIR}/../../contrib/xz/src/liblzma 5 6.PATH: ${LZMADIR}/../common 7SRCS+= tuklib_physmem.c 8 9.PATH: ${LZMADIR}/api/lzma --- 102 unchanged lines hidden (view full) --- 112 simple_encoder.c \ 113 simple_decoder.c \ 114 x86.c \ 115 powerpc.c \ 116 ia64.c \ 117 arm.c \ 118 armthumb.c \ 119 sparc.c |
120 | 120 121.PATH: ${LZMADIR} 122 123VERSION_MAJOR!= awk '$$1 == "\#define" && $$2 == "LZMA_VERSION_MAJOR" {print $$3 } ' \ 124 ${LZMADIR}/api/lzma/version.h 125VERSION_MINOR!= awk '$$1 == "\#define" && $$2 == "LZMA_VERSION_MINOR" {print $$3 } ' \ 126 ${LZMADIR}/api/lzma/version.h 127VERSION_PATCH!= awk '$$1 == "\#define" && $$2 == "LZMA_VERSION_PATCH" {print $$3 } ' \ 128 ${LZMADIR}/api/lzma/version.h 129 |
121WARNS?= 3 122 123CFLAGS+= -DHAVE_CONFIG_H \ 124 -DTUKLIB_SYMBOL_PREFIX=lzma_ \ 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}/delta \ 133 -I${LZMADIR}/simple \ 134 -I${LZMADIR}/../common 135 136VERSION_DEF= ${.CURDIR}/Versions.def 137SYMBOL_MAPS= ${.CURDIR}/Symbol.map 138CFLAGS+= -DSYMBOL_VERSIONING 139 | 130WARNS?= 3 131 132CFLAGS+= -DHAVE_CONFIG_H \ 133 -DTUKLIB_SYMBOL_PREFIX=lzma_ \ 134 -I${.CURDIR} \ 135 -I${LZMADIR}/api \ 136 -I${LZMADIR}/common \ 137 -I${LZMADIR}/check \ 138 -I${LZMADIR}/lz \ 139 -I${LZMADIR}/rangecoder \ 140 -I${LZMADIR}/lzma \ 141 -I${LZMADIR}/delta \ 142 -I${LZMADIR}/simple \ 143 -I${LZMADIR}/../common 144 145VERSION_DEF= ${.CURDIR}/Versions.def 146SYMBOL_MAPS= ${.CURDIR}/Symbol.map 147CFLAGS+= -DSYMBOL_VERSIONING 148 |
149CLEANFILES+= liblzma.pc 150 151all: liblzma.pc 152liblzma.pc: liblzma.pc.in 153 @sed -e 's,@prefix@,/usr,g ; \ 154 s,@exec_prefix@,/usr,g ; \ 155 s,@libdir@,${LIBDIR},g ; \ 156 s,@includedir@,${INCLUDEDIR},g ; \ 157 s,@PACKAGE_URL@,http://tukaani.org/xz/,g ; \ 158 s,@PACKAGE_VERSION@,${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_PATCH},g ; \ 159 s,@PTHREAD_CFLAGS@,,g ; \ 160 s,@PTHREAD_LIBS@,,g' ${.ALLSRC} > ${.TARGET} 161 162beforeinstall: 163 @${INSTALL} -C -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} \ 164 liblzma.pc ${DESTDIR}${LIBDATADIR}/pkgconfig 165 |
|
140.include <bsd.lib.mk> | 166.include <bsd.lib.mk> |