mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-18 10:35:55 +00:00
e523391c57
new a_midmag format needed for dynamic binaries. -z produces normal ZMAGIC. (this gets our kernel built) -Z produces netbsd ZMAGIC. (currently default)
20 lines
389 B
Makefile
20 lines
389 B
Makefile
# $Id: Makefile,v 1.6 1993/11/09 21:23:07 paul Exp $
|
|
#
|
|
|
|
PROG= ld
|
|
SRCS= ld.c symbol.c lib.c shlib.c warnings.c etc.c rrs.c xbits.c md.c
|
|
CFLAGS += -static -I$(.CURDIR) -I$(.CURDIR)/$(MACHINE)
|
|
|
|
LDADD+= -lgnumalloc
|
|
DPADD+= /usr/lib/libgnumalloc.a
|
|
LDFLAGS+= -Xlinker -Bstatic
|
|
|
|
SUBDIR= ldconfig ldd
|
|
.if !defined(NOPIC)
|
|
SUBDIR+= rtld
|
|
.endif
|
|
|
|
.PATH: $(.CURDIR)/$(MACHINE)
|
|
|
|
.include <bsd.prog.mk>
|