Enable shared libraries.

This commit is contained in:
matt 1998-10-31 09:22:29 +00:00
parent ce394ac326
commit 6707a40ca5
1 changed files with 2 additions and 28 deletions

View File

@ -1,29 +1,3 @@
# $NetBSD: Makefile,v 1.9 1997/10/22 16:03:51 lukem Exp $
# from: @(#)Makefile 5.6 (Berkeley) 5/22/91
# $NetBSD: Makefile,v 1.10 1998/10/31 09:22:29 matt Exp $
CPPFLAGS+= -DLIBC_SCCS -I${.CURDIR}/..
OBJS= crt0.o gcrt0.o scrt0.o
CLEANFILES+= core a.out
all: ${OBJS}
crt0.o: crt0.c
${COMPILE.c} -DCRT0 -UDYNAMIC ${.ALLSRC}
${LD} -x -r ${.TARGET}
mv a.out ${.TARGET}
gcrt0.o: crt0.c
${COMPILE.c} -DMCRT0 ${.ALLSRC} -o ${.TARGET}
${LD} -x -r ${.TARGET}
mv a.out ${.TARGET}
scrt0.o: crt0.c
${COMPILE.c} -DSCRT0 ${.ALLSRC} -o ${.TARGET}
${LD} -x -r ${.TARGET}
mv a.out ${.TARGET}
install:
${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m 444 ${OBJS} \
${DESTDIR}/usr/lib
.include <bsd.prog.mk>
.include "${.CURDIR}/../Makefile.csu.aout"