freebsd-dev/usr.sbin/pkg_install/add/Makefile
Jordan K. Hubbard 3a5e372a3d 1. Add proper dependencies to the library in my Makefiles. This was pointed
out by Bruce.
2. Add a "feature" to pkg_create (OK, OK, it's a miserable hack!) to get
   it to dump its internal packing list out so that the `fake-pkg' rule in
   bsd.port.mk can generate a more meaningful packing list.
1995-04-22 00:03:18 +00:00

17 lines
334 B
Makefile

PROG= pkg_add
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 futil.c extract.c
.include <bsd.prog.mk>