aboutsummaryrefslogtreecommitdiff
path: root/bin/rm/Makefile
diff options
context:
space:
mode:
authorJosef Karthauser <joe@FreeBSD.org>2000-02-05 18:42:36 +0000
committerJosef Karthauser <joe@FreeBSD.org>2000-02-05 18:42:36 +0000
commit418d67b0d998883a0a2ea7ff6118592ea09867a7 (patch)
tree031dae41dbe808050d7622c806541302a5056186 /bin/rm/Makefile
parentdfd9528b3005ef25b6e52ef6d2f719ea0976ae53 (diff)
downloadsrc-418d67b0d998883a0a2ea7ff6118592ea09867a7.tar.gz
src-418d67b0d998883a0a2ea7ff6118592ea09867a7.zip
Revert part of the last commit, remove {g|s}etflags from the libc
interface, and statically link them to the programs using them. These functions, upon reflection and discussion, are too generically named for a library interface with such specific functionality. Also the api that they use, whilst ok for private use, isn't good enough for a libc function. Additionally there were complications with the build/install-world process. It depends heavily upon xinstall, which got broken by the change in api, and caused bootstrap problems and general mayhem. There is work in progress to address future problems that may be caused by changes in install-chain tools, and better names for {g|s}etflags can be derived when some future program requires them. For now the code has been left in src/lib/libc/gen (it started off in src/bin/ls). It's important to provide library functions for manipulating file flag strings if we ever want this interface to be adopted outside of the source tree, but now isn't necessarily the right moment with 4.0-release just around the corner. Approved: jkh
Notes
Notes: svn path=/head/; revision=57003
Diffstat (limited to 'bin/rm/Makefile')
-rw-r--r--bin/rm/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/rm/Makefile b/bin/rm/Makefile
index 7058fa06c98d..2bbcdf89effc 100644
--- a/bin/rm/Makefile
+++ b/bin/rm/Makefile
@@ -2,8 +2,10 @@
# $FreeBSD$
PROG= rm
+SRCS= rm.c setflags.c
LINKS= ${BINDIR}/rm ${BINDIR}/unlink
MLINKS= rm.1 unlink.1
+.PATH: ${.CURDIR}/../../lib/libc/gen
.include <bsd.prog.mk>