5 MANDIR?= ${PREFIX}/man/man
7 UNAME!= /usr/bin/uname -s
10 SRCS= attrstack.c config.c detailer.c diff.c fattr.c fixups.c fnmatch.c \
11 globtree.c idcache.c keyword.c lister.c main.c misc.c mux.c parse.y \
12 pathcomp.c proto.c status.c stream.c threads.c token.l updater.c \
13 rcsfile.c rcsparse.c lex.rcs.c rsyncfile.c
15 CFLAGS+= -I. -I${.CURDIR} -g -pthread -DHAVE_FFLAGS -DNDEBUG
18 # A bit of tweaking is needed to get this Makefile working
19 # with the bsd.prog.mk of all the *BSD OSes...
20 .if (${UNAME} == "NetBSD")
24 .elif (${UNAME} == "OpenBSD")
25 # I bet there's a better way to do this with the OpenBSD mk
26 # framework but well, this works and I got bored.
29 CLEANFILES+= parse.c parse.h y.tab.h
38 cp ${.ALLSRC} ${.TARGET}
42 DPADD= ${LIBCRYPTO} ${LIBZ}
45 .include <bsd.prog.mk>