freebsd-dev/usr.sbin/pkg_install/create/Makefile
Jordan K. Hubbard 50f56e483a Add MD5 checksums to packing list for all files during pkg_create and use
later at pkg_delete time to verify that you're deleting what you added.
This, of course, does NOT cover the case where a file you still need
hasn't changed!  That's a tougher problem to solve, and this provides
only the minimal amount of safety belt.  MD5 checksums are stored in comment
fields, so packages produced with these tools are backwards compatible with
the older ones.
1996-07-30 10:48:20 +00:00

19 lines
378 B
Makefile

PROG= pkg_create
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 -lmd
DPADD+= ${LIBFTPIO} ${LIBMD}
SRCS= main.c perform.c pl.c
.include <bsd.prog.mk>