PROG= pkg_delete

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

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

SRCS= main.c perform.c

.include <bsd.prog.mk>

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

LDADD+=		-lftp
DPADD+=		${LIBFTP}

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

SRCS= main.c perform.c

.include <bsd.prog.mk>

Add depend on libftp since this is now in lib.
Add depend on libftp since this is now in lib.
