c372459ab7
The bootstrap-tools are supposed to be host tools, which in most cases, use host headers and libraries. As such, directly including the src tree's headers for libmd here causes the need to link libmd in since it will be built with the new symbols (which /usr/lib/libmd.so) won't have unless it is new enough. During the target build in buildworld the target headers are staged into WORLDTMP and used via --sysroot, allowing the target xinstall to be built with the new/target libmd. The .PATH here was also not doing anything since xinstall does not use libmd source files. Sponsored by: EMC / Isilon Storage Division MFC after: 2 weeks
16 lines
286 B
Makefile
16 lines
286 B
Makefile
# @(#)Makefile 8.1 (Berkeley) 6/6/93
|
|
# $FreeBSD$
|
|
|
|
PROG= xinstall
|
|
PROGNAME= install
|
|
SRCS= xinstall.c getid.c
|
|
MAN= install.1
|
|
|
|
.PATH: ${.CURDIR}/../../contrib/mtree
|
|
CFLAGS+= -I${.CURDIR}/../../contrib/mtree
|
|
CFLAGS+= -I${.CURDIR}/../../lib/libnetbsd
|
|
|
|
LIBADD= md
|
|
|
|
.include <bsd.prog.mk>
|