Only compile with strtofflags.c from libc if bootstrapping.

This commit is contained in:
Ruslan Ermilov 2001-09-24 15:38:38 +00:00
parent 2d742f7bbc
commit 4c47cadb49
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=83890

View File

@ -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