summaryrefslogtreecommitdiff
path: root/usr.sbin/pkg_install/add/Makefile
blob: 5331c789bd255a58448aba4948d74d32c4942df5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#	$OpenBSD: Makefile,v 1.3 1996/08/26 07:00:30 deraadt Exp $
PROG= pkg_add

CFLAGS+=	${DEBUG} -I${.CURDIR}/../lib

.include <bsd.obj.mk>

.if exists(${.CURDIR}/../lib/${__objdir})
LDADD+=		-L${.CURDIR}/../lib/${__objdir} -linstall
DPADD+=		${.CURDIR}/../lib/${__objdir}/libinstall.a
.else
LDADD+=		-L${.CURDIR}/../lib -linstall
DPADD+=		${.CURDIR}/../lib/libinstall.a
.endif


SRCS= main.c perform.c futil.c extract.c

.include <bsd.prog.mk>