77dfb966d9
Move our old a.out utils to /usr/libexec/aout. Enable binutils and put the utils in /usr/libexec/elf Enable objformat, a little helper program that calls the right utils based on /etc/objformat and $OBJFORMAT. This will enable the ELF generating tools. Remember that this is only step one, the system is still compiled and run in a.out format ONLY. Problem left to solve: The BSD manpages wins over the GNU equivalents as the are installed last. We need to distinguish between the manpages somehow...
22 lines
460 B
Makefile
22 lines
460 B
Makefile
# $Id: Makefile,v 1.22 1997/06/29 21:36:33 bde Exp $
|
|
#
|
|
|
|
PROG= ld
|
|
BINDIR= /usr/libexec/aout
|
|
SRCS= ld.c symbol.c lib.c shlib.c warnings.c support.c rrs.c xbits.c md.c \
|
|
cplus-dem.c
|
|
CFLAGS+= -I$(.CURDIR) -I$(.CURDIR)/$(MACHINE) \
|
|
-I$(GCCDIR) -DIN_GCC -DDEMANGLE_CPLUSPLUS
|
|
NOSHARED?= yes
|
|
|
|
GCCDIR= ${.CURDIR}/../../../contrib/gcc
|
|
|
|
SUBDIR= ldconfig ldd
|
|
.if !defined(NOPIC)
|
|
SUBDIR+= rtld
|
|
.endif
|
|
|
|
.PATH: $(.CURDIR)/$(MACHINE) $(GCCDIR)
|
|
|
|
.include <bsd.prog.mk>
|