diff --git a/usr.sbin/mtree/Makefile b/usr.sbin/mtree/Makefile index 903c80a9befa..5b5e03d8b416 100644 --- a/usr.sbin/mtree/Makefile +++ b/usr.sbin/mtree/Makefile @@ -1,17 +1,19 @@ # 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 .endif .include