config root man

Current Path : /usr/src/gnu/usr.bin/sdiff/

FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64
Upload File :
Current File : //usr/src/gnu/usr.bin/sdiff/Makefile

# $FreeBSD: release/9.1.0/gnu/usr.bin/sdiff/Makefile 204227 2010-02-22 22:32:24Z delphij $

DIFFSRC=${.CURDIR}/../../../contrib/diff/src
.PATH:  ${DIFFSRC} \
	${.CURDIR}/../../../contrib/diff/lib \
	${.CURDIR}/../../../contrib/diff/man

PROG=		sdiff
SRCS=           sdiff.c version-etc.c \
		error.c xmalloc.c c-stack.c basename.c strtoumax.c \
		exitfail.c

# Important for ctype macros!
CFLAGS+=-funsigned-char

CFLAGS+=-I${.CURDIR}/../../../contrib/diff
CFLAGS+=-I${.CURDIR}/../../../contrib/diff/src
CFLAGS+=-I${.CURDIR}/../../../contrib/diff/lib
CFLAGS+=-DHAVE_CONFIG_H
CFLAGS+=-DDEFAULT_DIFF_PROGRAM=\"/usr/bin/diff\"

.for f in sdiff.c
${f}: ${DIFFSRC}/${f} ${.CURDIR}/${f}.diff
	patch -s -o ${.TARGET} < ${.CURDIR}/${f}.diff ${DIFFSRC}/${f}
CLEANFILES+= ${f}
.endfor

.include <bsd.prog.mk>

Man Man