diff options
author | ru <ru@FreeBSD.org> | 2001-09-24 15:38:38 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2001-09-24 15:38:38 +0000 |
commit | a6b2db14f696e8960f27acd3ff55e62f8d79a85a (patch) | |
tree | 7c3869dd5c20421b06a2194002bf038994a9d81d /usr.sbin/mtree | |
parent | 41efc0e62e2c54f94eeb2d5aee5b93ea35e0de6a (diff) | |
download | FreeBSD-src-a6b2db14f696e8960f27acd3ff55e62f8d79a85a.zip FreeBSD-src-a6b2db14f696e8960f27acd3ff55e62f8d79a85a.tar.gz |
Only compile with strtofflags.c from libc if bootstrapping.
Diffstat (limited to 'usr.sbin/mtree')
-rw-r--r-- | usr.sbin/mtree/Makefile | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/usr.sbin/mtree/Makefile b/usr.sbin/mtree/Makefile index 903c80a..5b5e03d 100644 --- a/usr.sbin/mtree/Makefile +++ b/usr.sbin/mtree/Makefile @@ -1,14 +1,16 @@ # From: @(#)Makefile 8.1 (Berkeley) 6/6/93 # $FreeBSD$ -.PATH: ${.CURDIR}/../../usr.bin/cksum ${.CURDIR}/../../lib/libc/gen +.PATH: ${.CURDIR}/../../usr.bin/cksum PROG= mtree MAN= mtree.8 -SRCS= compare.c crc.c create.c excludes.c misc.c mtree.c spec.c verify.c \ - strtofflags.c +SRCS= compare.c crc.c create.c excludes.c misc.c mtree.c spec.c verify.c -.if !defined(BOOTSTRAPPING) +.if defined(BOOTSTRAPPING) +.PATH: ${.CURDIR}/../../lib/libc/gen +SRCS+= strtofflags.c +.else CFLAGS+= -DMD5 -DSHA1 -DRMD160 DPADD= ${LIBMD} LDADD= -lmd |