diff options
| author | Bruce Evans <bde@FreeBSD.org> | 1995-10-22 18:36:47 +0000 |
|---|---|---|
| committer | Bruce Evans <bde@FreeBSD.org> | 1995-10-22 18:36:47 +0000 |
| commit | ccbc94648a10321efdfd3022faf21378748edd55 (patch) | |
| tree | 3004313c01b2cf3e50d7e190b43c9a65507fc058 | |
| parent | 178d6c8706774b2d8ea8e6eed5fd2b070b55fa80 (diff) | |
Notes
| -rw-r--r-- | lib/csu/i386/Makefile | 21 |
1 files changed, 14 insertions, 7 deletions
diff --git a/lib/csu/i386/Makefile b/lib/csu/i386/Makefile index 09a6dea66a57..71ce35da0346 100644 --- a/lib/csu/i386/Makefile +++ b/lib/csu/i386/Makefile @@ -1,8 +1,8 @@ # from: @(#)Makefile 5.6 (Berkeley) 5/22/91 -# $Id: Makefile,v 1.19 1995/10/18 04:19:00 davidg Exp $ +# $Id: Makefile,v 1.20 1995/10/20 20:05:15 phk Exp $ CFLAGS+= -DLIBC_SCCS -fno-omit-frame-pointer -OBJS= scrt0.o crt0.o gcrt0.o c++rt0.o +OBJS= crt0.o c++rt0.o gcrt0.o scrt0.o sgcrt0.o CLEANFILES+= a.out MAN3+= dlopen.3 MLINKS+= dlopen.3 dlsym.3 \ @@ -11,11 +11,6 @@ MLINKS+= dlopen.3 dlsym.3 \ all: ${OBJS} -scrt0.o: crt0.c - ${CC} ${CFLAGS} -c -DCRT0 ${.CURDIR}/crt0.c -o ${.TARGET} - ${LD} -x -r ${.TARGET} - mv a.out ${.TARGET} - crt0.o: crt0.c ${CC} ${CFLAGS} -c -DCRT0 -DDYNAMIC ${.CURDIR}/crt0.c -o ${.TARGET} ${LD} -x -r ${.TARGET} @@ -35,6 +30,18 @@ gcrt0.o: crt0.o ${LD} -x -r ${.TARGET} mv a.out ${.TARGET} +# dependencies fudged as for gcrt0.o +scrt0.o: crt0.o + ${CC} ${CFLAGS} -c -DCRT0 ${.CURDIR}/crt0.c -o ${.TARGET} + ${LD} -x -r ${.TARGET} + mv a.out ${.TARGET} + +# dependencies fudged as for gcrt0.o +sgcrt0.o: scrt0.o + ${CC} ${CFLAGS} -c -DMCRT0 ${.CURDIR}/crt0.c -o ${.TARGET} + ${LD} -x -r ${.TARGET} + mv a.out ${.TARGET} + beforeinstall: cmp -s ${.CURDIR}/dlfcn.h ${DESTDIR}/usr/include/dlfcn.h || \ ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 \ |
