mirror of
https://github.com/opnsense/src.git
synced 2026-02-18 10:08:41 -05:00
Prefer ${SRCTOP}/foo over ${.CURDIR}/../../foo and ${SRCTOP}/usr.bin/foo
over ${.CURDIR}/../foo for paths in Makefiles.
Differential Revision: https://reviews.freebsd.org/D9932
Sponsored by: Netflix
Silence on: arch@ (twice)
18 lines
525 B
Makefile
18 lines
525 B
Makefile
# $FreeBSD$
|
|
|
|
PROG= bsdiff
|
|
|
|
# libdivsufsort configured with:
|
|
# cmake -DCMAKE_BUILD_TYPE="Release" -DBUILD_DIVSUFSORT64=ON
|
|
.PATH: ${SRCTOP}/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${SRCTOP}/contrib/libdivsufsort/include -I${.CURDIR}
|
|
SRCS= divsufsort.c sssort.c trsort.c utils.c
|
|
|
|
SRCS+= bsdiff.c
|
|
|
|
LIBADD= bz2
|
|
|
|
.include <bsd.prog.mk>
|