1993-11-16 07:20:35 +00:00
|
|
|
# $Id: Makefile,v 1.6 1993/11/09 21:23:07 paul Exp $
|
1993-11-03 23:41:59 +00:00
|
|
|
#
|
1993-06-29 09:58:20 +00:00
|
|
|
|
|
|
|
PROG= ld
|
1993-11-03 23:41:59 +00:00
|
|
|
SRCS= ld.c symbol.c lib.c shlib.c warnings.c etc.c rrs.c xbits.c md.c
|
1993-11-09 20:39:26 +00:00
|
|
|
CFLAGS += -static -I$(.CURDIR) -I$(.CURDIR)/$(MACHINE)
|
1993-11-03 23:41:59 +00:00
|
|
|
|
|
|
|
LDADD+= -lgnumalloc
|
|
|
|
DPADD+= /usr/lib/libgnumalloc.a
|
1993-11-16 07:20:35 +00:00
|
|
|
LDFLAGS+= -Xlinker -Bstatic
|
1993-11-03 23:41:59 +00:00
|
|
|
|
1993-11-09 21:23:07 +00:00
|
|
|
SUBDIR= ldconfig ldd
|
|
|
|
.if !defined(NOPIC)
|
|
|
|
SUBDIR+= rtld
|
|
|
|
.endif
|
1993-11-03 23:41:59 +00:00
|
|
|
|
|
|
|
.PATH: $(.CURDIR)/$(MACHINE)
|
1993-06-29 09:58:20 +00:00
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|