summaryrefslogtreecommitdiffstats
path: root/usr.bin
diff options
context:
space:
mode:
authorjoe <joe@FreeBSD.org>1999-12-30 13:15:15 +0000
committerjoe <joe@FreeBSD.org>1999-12-30 13:15:15 +0000
commita381d987c4ccc84e5a25ceeda4dc1ad1504f0e30 (patch)
treec36d6123b983b634dcb5b19f22a1a864c426e7ce /usr.bin
parent409da0761a7725ce385f895c634d9f169c7a6e4d (diff)
downloadFreeBSD-src-a381d987c4ccc84e5a25ceeda4dc1ad1504f0e30.zip
FreeBSD-src-a381d987c4ccc84e5a25ceeda4dc1ad1504f0e30.tar.gz
Moved flags_to_string and string_to_flags into libutil. It's used in
many places nowadays.
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/chflags/Makefile5
-rw-r--r--usr.bin/find/Makefile4
-rw-r--r--usr.bin/xinstall/Makefile5
3 files changed, 8 insertions, 6 deletions
diff --git a/usr.bin/chflags/Makefile b/usr.bin/chflags/Makefile
index d05ff81..d96c99c 100644
--- a/usr.bin/chflags/Makefile
+++ b/usr.bin/chflags/Makefile
@@ -1,10 +1,11 @@
# @(#)Makefile 8.1 (Berkeley) 6/6/93
+# $FreeBSD$
NOSHARED?=yes
PROG= chflags
CFLAGS+=-Wall
-SRCS= chflags.c stat_flags.c
-.PATH: ${.CURDIR}/../../bin/ls
+SRCS= chflags.c
+LDADD= -lutil
.include <bsd.prog.mk>
diff --git a/usr.bin/find/Makefile b/usr.bin/find/Makefile
index 1770ffa..04b781f 100644
--- a/usr.bin/find/Makefile
+++ b/usr.bin/find/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PROG= find
-SRCS= find.c function.c ls.c main.c misc.c operator.c option.c stat_flags.c
-.PATH: ${.CURDIR}/../../bin/ls
+SRCS= find.c function.c ls.c main.c misc.c operator.c option.c
+LDADD= -lutil
.include <bsd.prog.mk>
diff --git a/usr.bin/xinstall/Makefile b/usr.bin/xinstall/Makefile
index d21abef..eeb6c19 100644
--- a/usr.bin/xinstall/Makefile
+++ b/usr.bin/xinstall/Makefile
@@ -1,9 +1,10 @@
# @(#)Makefile 8.1 (Berkeley) 6/6/93
+# $FreeBSD$
PROG= xinstall
-SRCS= stat_flags.c xinstall.c
+SRCS= xinstall.c
MAN1= install.1
-.PATH: ${.CURDIR}/../../bin/ls
+LDADD= -lutil
install: maninstall
${INSTALL} ${COPY} ${STRIP} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
OpenPOWER on IntegriCloud