cd9a2f5c28
really want them) from /usr/src. This is the final version of the patches, incorporating the feedback I've received from -current.
19 lines
360 B
Makefile
19 lines
360 B
Makefile
PROG= pkg_add
|
|
|
|
CFLAGS+= ${DEBUG} -I${.CURDIR}/../lib
|
|
|
|
.if exists(${.OBJDIR}/../lib)
|
|
LDADD+= -L${.OBJDIR}/../lib -linstall
|
|
DPADD+= ${.OBJDIR}/../lib/libinstall.a
|
|
.else
|
|
LDADD+= -L${.CURDIR}/../lib -linstall
|
|
DPADD+= ${.CURDIR}/../lib/libinstall.a
|
|
.endif
|
|
|
|
LDADD+= -lftpio
|
|
DPADD+= ${LIBFTPIO}
|
|
|
|
SRCS= main.c perform.c futil.c extract.c
|
|
|
|
.include <bsd.prog.mk>
|