diff options
author | ru <ru@FreeBSD.org> | 2003-06-30 19:11:20 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2003-06-30 19:11:20 +0000 |
commit | 41e21bba17b7d758bd165de783aaf0f8bc4613e8 (patch) | |
tree | b3e6966e6295a93db93ac69b6d9b70a4c562427f /gnu/lib | |
parent | c068a33b943a97cc48b34f2b81a3c9009ea95603 (diff) | |
download | FreeBSD-src-41e21bba17b7d758bd165de783aaf0f8bc4613e8.zip FreeBSD-src-41e21bba17b7d758bd165de783aaf0f8bc4613e8.tar.gz |
Catch up with bsd.lib.mk,v 1.143.
Diffstat (limited to 'gnu/lib')
-rw-r--r-- | gnu/lib/libg2c/Makefile | 6 | ||||
-rw-r--r-- | gnu/lib/libgcc/Makefile | 13 |
2 files changed, 0 insertions, 19 deletions
diff --git a/gnu/lib/libg2c/Makefile b/gnu/lib/libg2c/Makefile index b6a4799..380d999 100644 --- a/gnu/lib/libg2c/Makefile +++ b/gnu/lib/libg2c/Makefile @@ -98,22 +98,16 @@ Version${x}.c: ${SRCDIR}/lib${x}77/Version.c ${E77OBJS}: f2cext.c ${CC} ${CFLAGS} -c -DL${.PREFIX} -o ${.TARGET} ${.ALLSRC:M*.c} - @${LD} -o ${.TARGET}.tmp -x -r ${.TARGET} - @mv ${.TARGET}.tmp ${.TARGET} .if !defined(NOPIC) ${E77OBJS:.o=.So}: f2cext.c ${CC} ${PICFLAG} -DPIC ${CFLAGS} -c -DL${.PREFIX} -o ${.TARGET} \ ${.ALLSRC:M*.c} - @${LD} -o ${.TARGET}.tmp -x -r ${.TARGET} - @mv ${.TARGET}.tmp ${.TARGET} .endif .if !defined(NOPROFILE) ${E77OBJS:.o=.po}: f2cext.c ${CC} -p ${CFLAGS} -c -DL${.PREFIX} -o ${.TARGET} ${.ALLSRC:M*.c} - @${LD} -o ${.TARGET}.tmp -X -r ${.TARGET} - @mv ${.TARGET}.tmp ${.TARGET} .endif INCS= g2c.h diff --git a/gnu/lib/libgcc/Makefile b/gnu/lib/libgcc/Makefile index db72e01..2e6cd06 100644 --- a/gnu/lib/libgcc/Makefile +++ b/gnu/lib/libgcc/Makefile @@ -37,7 +37,6 @@ CFLAGS+= -DIN_GCC -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED \ CFLAGS+= -D_PTHREADS -DGTHREAD_USE_WEAK CFLAGS+= -I${.CURDIR}/../../usr.bin/cc/cc_tools \ -I${GCCDIR}/config -I${GCCDIR} -I. -LDFLAGS= -nostdlib OBJS= # added to below in various ways depending on TARGET_ARCH @@ -190,21 +189,15 @@ ${OBJS} beforedepend: ${COMMONHDRS} ${OBJS_T}: libgcc2.c ${XCC} -c ${CFLAGS} -DL${.PREFIX} -o ${.TARGET} ${.ALLSRC:M*.c} - @${LD} -o ${.TARGET}.tmp -x -r ${.TARGET} - @mv ${.TARGET}.tmp ${.TARGET} .if !defined(NOPIC) ${OBJS_S}: libgcc2.c ${XCC} -c ${PICFLAG} ${CFLAGS} -DL${.PREFIX} -o ${.TARGET} ${.ALLSRC:M*.c} - @${LD} -o ${.TARGET}.tmp -x -r ${.TARGET} - @mv ${.TARGET}.tmp ${.TARGET} .endif .if !defined(NOPROFILE) ${OBJS_P}: libgcc2.c ${XCC} -c -p ${CFLAGS} -DL${.PREFIX} -o ${.TARGET} ${.ALLSRC:M*.c} - @${LD} -o ${.TARGET}.tmp -X -r ${.TARGET} - @mv ${.TARGET}.tmp ${.TARGET} .endif .if defined(LIB1ASMSRC) @@ -212,23 +205,17 @@ ${OBJS_P}: libgcc2.c ${ASM_T}: ${_lib1asmsrc} ${XCC} -x assembler-with-cpp -c ${CFLAGS} -DL${.PREFIX} \ -o ${.TARGET} ${.ALLSRC:N*.h} - @${LD} -o ${.TARGET}.tmp -x -r ${.TARGET} - @mv ${.TARGET}.tmp ${.TARGET} .if !defined(NOPIC) ${ASM_S}: ${_lib1asmsrc} ${XCC} -x assembler-with-cpp -c ${PICFLAG} ${CFLAGS} -DL${.PREFIX} \ -o ${.TARGET} ${.ALLSRC:N*.h} - @${LD} -o ${.TARGET}.tmp -x -r ${.TARGET} - @mv ${.TARGET}.tmp ${.TARGET} .endif .if !defined(NOPROFILE) ${ASM_P}: ${_lib1asmsrc} ${XCC} -x assembler-with-cpp -p -c ${CFLAGS} -DL${.PREFIX} \ -o ${.TARGET} ${.ALLSRC:N*.h} - @${LD} -o ${.TARGET}.tmp -X -r ${.TARGET} - @mv ${.TARGET}.tmp ${.TARGET} .endif .endfor .endif |