mirror of
https://github.com/opnsense/src.git
synced 2026-04-07 02:15:51 -04:00
which is more efficient. Note that for now we do not create a separate library for libdivsufsort because it's not used anywhere else. Obtained from: Chromium MFC after: 2 months
18 lines
545 B
Makefile
18 lines
545 B
Makefile
# $FreeBSD$
|
|
|
|
PROG= bsdiff
|
|
|
|
# libdivsufsort configured with:
|
|
# cmake -DCMAKE_BUILD_TYPE="Release" -DBUILD_DIVSUFSORT64=ON
|
|
.PATH: ${.CURDIR}/../../../contrib/libdivsufsort/lib
|
|
CFLAGS+= -DHAVE_CONFIG_H=1 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
|
|
CFLAGS+= -D_LARGE_FILES -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS
|
|
CFLAGS+= -D__STDC_LIMIT_MACROS -DBUILD_DIVSUFSORT64
|
|
CFLAGS+= -I${.CURDIR}/../../../contrib/libdivsufsort/include -I${.CURDIR}
|
|
SRCS= divsufsort.c sssort.c trsort.c utils.c
|
|
|
|
SRCS+= bsdiff.c
|
|
|
|
LIBADD= bz2
|
|
|
|
.include <bsd.prog.mk>
|