blob: 13703fd5bc9a0abb18ae76a98eca2fd0e87ed852 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
# $FreeBSD$
PROG= xz
LINKS= ${BINDIR}/xz ${BINDIR}/unxz
LINKS+= ${BINDIR}/xz ${BINDIR}/lzma
LINKS+= ${BINDIR}/xz ${BINDIR}/unlzma
LINKS+= ${BINDIR}/xz ${BINDIR}/xzcat
LINKS+= ${BINDIR}/xz ${BINDIR}/lzcat
MLINKS= xz.1 unxz.1 xz.1 lzma.1 xz.1 unlzma.1 xz.1 xzcat.1 xz.1 lzcat.1
XZDIR= ${.CURDIR}/../../contrib/xz/src
LZMALIBDIR= ${.CURDIR}/../../lib/liblzma
.PATH: ${XZDIR}/xz
SRCS= args.c \
coder.c \
file_io.c \
hardware.c \
list.c \
main.c \
message.c \
options.c \
signals.c \
suffix.c \
util.c
.PATH: ${XZDIR}/common
SRCS+= tuklib_open_stdxxx.c \
tuklib_progname.c \
tuklib_exit.c \
tuklib_cpucores.c \
tuklib_mbstr_width.c \
tuklib_mbstr_fw.c
WARNS?= 3
CFLAGS+= -DHAVE_CONFIG_H \
-I${LZMALIBDIR} \
-I${XZDIR}/common
DPADD= ${LIBLZMA}
LDADD= -llzma
.include <bsd.prog.mk>
|