mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2025-01-10 00:13:04 +01:00
18c0eeddf7
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 ;)
16 lines
295 B
Makefile
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>
|