summaryrefslogtreecommitdiff
path: root/usr.sbin/pkg_install/info/Makefile
blob: 516382a8bc149a3eb76c8c05ad397de1e5d940d5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#	$OpenBSD: Makefile,v 1.3 1996/08/26 07:00:33 deraadt Exp $
PROG= pkg_info
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 show.c

.include <bsd.prog.mk>