summaryrefslogtreecommitdiff
path: root/usr.bin/cvs/Makefile
blob: bf5a0cf28fed498bed33b5dce42978df57dbdf5d (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
#	$OpenBSD: Makefile,v 1.22 2006/05/27 03:30:30 joris Exp $

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

SRCS=	cvs.c commit.c checkout.c buf.c cmd.c date.y diff.c diff3.c \
	diff_internals.c entries.c fatal.c file.c log.c repository.c \
	rcs.c rcsnum.c rcstime.c root.c status.c worklist.c util.c \
	update.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>