freebsd-skq/gnu/usr.bin/ld/Makefile
Rodney W. Grimes 44ff78b7aa I yelled, I warned and now I am SCREAMING. Add -D__FreeBSD__ to CFLAGS+=
so that you can bootstrap a 1.0.2 system.  Please oh please no one but
no one add any more #ifdef __FreeBSD__ stuff UNTIL 1.1 has SHIPPED!!!
1994-02-14 10:02:13 +00:00

20 lines
400 B
Makefile

# $Id: Makefile,v 1.13 1993/12/04 00:52:54 jkh Exp $
#
PROG= ld
SRCS= ld.c symbol.c lib.c shlib.c warnings.c etc.c rrs.c xbits.c md.c
CFLAGS += -D__FreeBSD__ -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>