1 3b0f3d61 2020-01-22 neels .PATH:${.CURDIR}/../lib
3 3b0f3d61 2020-01-22 neels .include "../diff-version.mk"
8 3b0f3d61 2020-01-22 neels diff_atomize_text.c \
9 3b0f3d61 2020-01-22 neels diff_main.c \
10 3b0f3d61 2020-01-22 neels diff_myers.c \
11 3b0f3d61 2020-01-22 neels diff_patience.c \
12 3b0f3d61 2020-01-22 neels diff_output.c \
13 3b0f3d61 2020-01-22 neels diff_output_plain.c \
14 3b0f3d61 2020-01-22 neels diff_output_unidiff.c \
15 b7ba71f0 2020-10-07 stsp diff_output_edscript.c \
17 3b0f3d61 2020-01-22 neels MAN = ${PROG}.1
19 3b0f3d61 2020-01-22 neels CPPFLAGS = -I${.CURDIR}/../include -I${.CURDIR}/../lib
20 c6eecea3 2020-07-26 stsp #CPPFLAGS += -DDIFF_NO_MMAP
22 3b0f3d61 2020-01-22 neels .if defined(PROFILE)
23 41f13ea5 2020-10-21 stsp CFLAGS = -O0 -pg -g
24 41f13ea5 2020-10-21 stsp LDFLAGS = -pg -lc_p -lutil_p -lz_p -static
26 41f13ea5 2020-10-21 stsp LDFLAGS = -lutil -lz
29 3b0f3d61 2020-01-22 neels .if ${DIFF_RELEASE} != "Yes"
30 3b0f3d61 2020-01-22 neels NOMAN = Yes
33 3b0f3d61 2020-01-22 neels realinstall:
34 3b0f3d61 2020-01-22 neels ${INSTALL} ${INSTALL_COPY} -o ${BINOWN} -g ${BINGRP} \
35 3b0f3d61 2020-01-22 neels -m ${BINMODE} ${PROG} ${BINDIR}/${PROG}
38 3b0f3d61 2020-01-22 neels mkdir ../diff-${DIFF_VERSION}/diff
39 3b0f3d61 2020-01-22 neels cp ${SRCS} ${MAN} ../diff-${DIFF_VERSION}/diff
41 3b0f3d61 2020-01-22 neels .include <bsd.prog.mk>