HardenedBSD/usr.sbin/mtree/Makefile
Josef Karthauser 18c0eeddf7 Historically file flags (schg, uschg, etc) have been converted from
string to u_long and back using two functions, flags_to_string and
string_to_flags, which co-existed with 'ls'.  As time has progressed
more and more other tools have used these private functions to
manipulate the file flags.

Recently I moved these functions from /usr/src/bin/ls to libutil,
but after some discussion with bde it's been decided that they
really ought to go in libc.

There are two already existing libc functions for manipulating file
modes:  setmode and getmode.  In keeping with these flags_to_string
has been renamed getflags and string_to_flags to setflags.

The manual page could probably be improved upon ;)
2000-01-27 21:17:01 +00:00

16 lines
295 B
Makefile

# From: @(#)Makefile 8.1 (Berkeley) 6/6/93
# $FreeBSD$
PROG= mtree
SRCS= compare.c crc.c create.c misc.c mtree.c spec.c verify.c
MAN8= mtree.8
.PATH: ${.CURDIR}/../../usr.bin/cksum
.if !defined(WORLD)
DPADD+= ${LIBMD}
LDADD+= -lmd
CFLAGS+= -DMD5 -DSHA1 -DRMD160
.endif
.include <bsd.prog.mk>