1.include "../../Makefile.inc1"
2.include "../Makefile.gld"
3
4PROG_CXX=	ld.gold
5SRCS=		main.cc ${GOLD_COMMON}
6CFLAGS+=	-I${.CURDIR}/../../block2/libgold
7LDADD=		${STD_LDADD}
8NOMAN=
9
10# link-time optimization requires dlopen() which means ld cannot be built
11# statically and also support -plugin, not even for cross-tools.
12.if !defined(REALLY_NOSHARED)
13.undef NOSHARED
14.endif
15
16.include <bsd.prog.mk>
17