Blob
- Date:
- Message:
- merge new diff implementation from the git.gameoftrees.org diff.git repository This new diff implementation was started by Neels Hofmeyr during the u2k20 hackathon and now replaces diffreg.c code lifted from the OpenBSD base system. The integration of this code into Got was done by me. Got now uses the patience diff algorithm by default. The diff.git repository will remain the primary repository for the diff code, which already compiles and runs on other operating systems such as Linux. Any fixes and improvements for files inherited from the diff.git repository should be written against that repository and synced to got.git afterwards.
- Actions:
- History | Blame | Raw File
1 CPPFLAGS += -DGOT_LIBEXECDIR=${LIBEXECDIR} -DGOT_VERSION=${GOT_VERSION}2 #CFLAGS += -DGOT_PACK_NO_MMAP3 #CFLAGS += -DGOT_NO_OBJ_CACHE4 #CFLAGS += -DGOT_OBJ_CACHE_DEBUG5 #CFLAGS += -DGOT_DIFF_NO_MMAP7 .if "${GOT_RELEASE}" == "Yes"8 PREFIX ?= /usr/local9 BINDIR ?= ${PREFIX}/bin10 LIBEXECDIR ?= ${PREFIX}/libexec11 MANDIR ?= ${PREFIX}/man/man12 .else13 CFLAGS += -Werror -Wall -Wstrict-prototypes -Wunused-variable14 PREFIX ?= ${HOME}15 BINDIR ?= ${PREFIX}/bin16 LIBEXECDIR ?= ${BINDIR}18 BINOWN ?= ${USER}19 .if !defined(BINGRP)20 BINGRP != id -g -n21 .endif23 .if defined(PROFILE)24 CPPFLAGS += -DPROFILE25 DEBUG = -O0 -pg -g -static26 .else27 DEBUG = -O0 -g28 .endif30 .endif