summaryrefslogtreecommitdiff
path: root/usr.sbin/pkg_install/create/Makefile
blob: 39a9ccdad47f7f6a6f4e2a9e5ab097f50359d914 (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:31 deraadt Exp $
PROG= pkg_create

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 pl.c

.include <bsd.prog.mk>