From 4c47cadb497f8a06742ca3deec183bbd51642f12 Mon Sep 17 00:00:00 2001 From: Ruslan Ermilov Date: Mon, 24 Sep 2001 15:38:38 +0000 Subject: [PATCH] Only compile with strtofflags.c from libc if bootstrapping. --- usr.sbin/mtree/Makefile | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/usr.sbin/mtree/Makefile b/usr.sbin/mtree/Makefile index 903c80a9bef..5b5e03d8b41 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