about summary refs log tree commit diff
path: root/src/bsdiff-4.2/Makefile.old
blob: ce5dd344d403364f11d36ef6869b4ee3fc88673d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
CFLAGS		+=	-O3
.ifdef BZIP2
CFLAGS		+=	-DBZIP2=\"${BZIP2}\"
.endif

PREFIX		?=	/usr/local
INSTALL_PROGRAM	?=	${INSTALL} -c -s -m 555
INSTALL_MAN	?=	${INSTALL} -c -m 444

all:		bsdiff bspatch
bsdiff:		bsdiff.c
bspatch:	bspatch.c

install:
	${INSTALL_PROGRAM} bsdiff bspatch ${PREFIX}/bin
.ifndef WITHOUT_MAN
	${INSTALL_MAN} bsdiff.1 bspatch.1 ${PREFIX}/man/man1
.endif