summaryrefslogtreecommitdiff
path: root/usr.bin/cvs/Makefile
blob: cb863756441870cc92536892de8195dd4034f135 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#	$OpenBSD: Makefile,v 1.43 2008/02/26 21:08:35 deraadt Exp $

PROG=	opencvs
MAN=	cvsintro.7 # cvs.1 cvs.5
CPPFLAGS+=-I${.CURDIR}

SRCS=	cvs.c add.c admin.c annotate.c atomicio.c commit.c config.c \
	checkout.c client.c buf.c cmd.c date.y diff.c diff3.c \
	diff_internals.c edit.c entries.c fatal.c file.c getlog.c history.c \
	log.c logmsg.c modules.c import.c init.c release.c remove.c \
	repository.c rcs.c rcsnum.c remote.c root.c server.c status.c tag.c \
	worklist.c util.c update.c version.c watch.c xmalloc.c

CFLAGS+=-Wall
CFLAGS+=-Wstrict-prototypes -Wmissing-prototypes
CFLAGS+=-Wmissing-declarations
CFLAGS+=-Wshadow -Wpointer-arith -Wcast-qual
CFLAGS+=-Wsign-compare
DEBUG=	-g -ggdb
YFLAGS=

DPADD+=	${LIBZ}
LDADD+=	-lz

INSTALL_STRIP=

.include <bsd.prog.mk>