Blob
1 .PATH:${.CURDIR}/../lib3 .include "../diff-version.mk"5 PROG= diff6 SRCS= \7 diff.c \8 diff_atomize_text.c \9 diff_main.c \10 diff_myers.c \11 diff_patience.c \12 diff_output.c \13 diff_output_plain.c \14 diff_output_unidiff.c \15 diff_output_edscript.c \16 ${END}17 MAN = ${PROG}.119 CPPFLAGS = -I${.CURDIR}/../include -I${.CURDIR}/../lib20 #CPPFLAGS += -DDIFF_NO_MMAP22 .if defined(PROFILE)23 CFLAGS = -O0 -pg -g24 LDFLAGS = -pg -lc_p -lutil_p -lz_p -static25 .else26 LDFLAGS = -lutil -lz27 .endif29 .if ${DIFF_RELEASE} != "Yes"30 NOMAN = Yes31 .endif33 realinstall:34 ${INSTALL} ${INSTALL_COPY} -o ${BINOWN} -g ${BINGRP} \35 -m ${BINMODE} ${PROG} ${BINDIR}/${PROG}37 dist:38 mkdir ../diff-${DIFF_VERSION}/diff39 cp ${SRCS} ${MAN} ../diff-${DIFF_VERSION}/diff41 .include <bsd.prog.mk>