summaryrefslogtreecommitdiff
path: root/usr.bin/rsync/Makefile
blob: 3c60f18e07f8ed75ae3bd0efa98f46ada12cf980 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#	$OpenBSD: Makefile,v 1.13 2021/10/29 08:00:59 claudio Exp $

PROG=	openrsync
SRCS=	blocks.c client.c copy.c downloader.c fargs.c flist.c hash.c ids.c \
	io.c log.c main.c misc.c mkpath.c mktemp.c receiver.c rmatch.c \
	rules.c sender.c server.c session.c socket.c symlinks.c uploader.c
LDADD+= -lcrypto -lm -lutil
DPADD+= ${LIBCRYPTO} ${LIBM} ${LIBUTIL}
MAN=	openrsync.1

CFLAGS+= -Wall -Wextra
CFLAGS+= -Wstrict-prototypes -Wmissing-prototypes
CFLAGS+= -Wmissing-declarations
CFLAGS+= -Wshadow


openrsync.1: rsync.1
	ln -sf ${.CURDIR}/rsync.1 openrsync.1

CLEANFILES+=	openrsync.1

.include <bsd.prog.mk>