Make "includes" depend upon uuid/uuid.h (as already did

depends, dependall, and all) rather than unconditionally
"building" it.

This avoids a "file exists" error from an update build
(where the objdir already contained the link to the file.)

ok mrg@ :
 "if it works from a clean objdir, please commit it.  we can fix more later.."
This commit is contained in:
kre 2019-03-24 10:39:45 +00:00
parent 925078524d
commit 531e64eefe
1 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.24 2019/03/11 01:40:05 mrg Exp $
# $NetBSD: Makefile,v 1.25 2019/03/24 10:39:45 kre Exp $
.include <bsd.own.mk>
@ -321,8 +321,8 @@ LIBUUID_DIST= ${NETBSDSRCDIR}/external/bsd/libuuid_ul/lib/libuuid_ul
.include "${LIBUUID_DIST}/libuuid_ul-rename.mk"
SRCS+= ${UUID_UL_SRCS}
depend dependall all: uuid/uuid.h
includes uuid/uuid.h:
includes depend dependall all: uuid/uuid.h
uuid/uuid.h:
@-mkdir -p uuid
ln -s ${X11SRCDIR}/external/bsd/libuuid_ul/dist/uuid.h uuid/uuid.h