diff options
author | ru <ru@FreeBSD.org> | 2006-03-18 21:37:05 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2006-03-18 21:37:05 +0000 |
commit | 5f8b6d3c5a60616fb0b4ed779dd22ad78bc974ba (patch) | |
tree | 6851b1ccb04bc6d6a4b43ddbc6c2e16e2b682eb3 /gnu | |
parent | f00375a188c2cdbd95c0d7c2bc960351161eabef (diff) | |
download | FreeBSD-src-5f8b6d3c5a60616fb0b4ed779dd22ad78bc974ba.zip FreeBSD-src-5f8b6d3c5a60616fb0b4ed779dd22ad78bc974ba.tar.gz |
Convert NO_PROFILE and NO_LIB32 to new style.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/lib/libg2c/Makefile | 4 | ||||
-rw-r--r-- | gnu/lib/libgcc/Makefile | 5 | ||||
-rw-r--r-- | gnu/lib/libgcov/Makefile | 5 |
3 files changed, 9 insertions, 5 deletions
diff --git a/gnu/lib/libg2c/Makefile b/gnu/lib/libg2c/Makefile index 0a2ed81..cb053b2 100644 --- a/gnu/lib/libg2c/Makefile +++ b/gnu/lib/libg2c/Makefile @@ -1,5 +1,7 @@ # $FreeBSD$ +.include <bsd.own.mk> + SRCDIR= ${.CURDIR}/../../../contrib/libf2c .PATH: ${SRCDIR} ${SRCDIR}/libU77 ${SRCDIR}/libF77 ${SRCDIR}/libI77 @@ -105,7 +107,7 @@ ${E77OBJS:.o=.So}: f2cext.c ${.ALLSRC:M*.c} .endif -.if !defined(NO_PROFILE) +.if ${MK_PROFILE} != "no" ${E77OBJS:.o=.po}: f2cext.c ${CC} -p ${CFLAGS} -c -DL${.PREFIX} -o ${.TARGET} ${.ALLSRC:M*.c} .endif diff --git a/gnu/lib/libgcc/Makefile b/gnu/lib/libgcc/Makefile index 6eb28b8..fef49b6 100644 --- a/gnu/lib/libgcc/Makefile +++ b/gnu/lib/libgcc/Makefile @@ -1,5 +1,6 @@ # $FreeBSD$ +.include <bsd.own.mk> .include "${.CURDIR}/../../usr.bin/cc/Makefile.tgt" GCCDIR= ${.CURDIR}/../../../contrib/gcc @@ -197,7 +198,7 @@ ${OBJS_S}: libgcc2.c ${XCC} -c ${PICFLAG} ${CFLAGS} -DL${.PREFIX} -o ${.TARGET} ${.ALLSRC:M*.c} .endif -.if !defined(NO_PROFILE) +.if ${MK_PROFILE} != "no" ${OBJS_P}: libgcc2.c ${XCC} -c -p ${CFLAGS} -DL${.PREFIX} -o ${.TARGET} ${.ALLSRC:M*.c} .endif @@ -214,7 +215,7 @@ ${ASM_S}: ${_lib1asmsrc} -o ${.TARGET} ${.ALLSRC:N*.h} .endif -.if !defined(NO_PROFILE) +.if ${MK_PROFILE} != "no" ${ASM_P}: ${_lib1asmsrc} ${XCC} -x assembler-with-cpp -p -c ${CFLAGS} -DL${.PREFIX} \ -o ${.TARGET} ${.ALLSRC:N*.h} diff --git a/gnu/lib/libgcov/Makefile b/gnu/lib/libgcov/Makefile index bcf4d2d..c6ab0d5 100644 --- a/gnu/lib/libgcov/Makefile +++ b/gnu/lib/libgcov/Makefile @@ -1,12 +1,13 @@ # $FreeBSD$ +NO_PROFILE= +.include <bsd.own.mk> .include "${.CURDIR}/../../usr.bin/cc/Makefile.tgt" GCCDIR= ${.CURDIR}/../../../contrib/gcc .PATH: ${GCCDIR}/config/${GCC_CPU} ${GCCDIR} LIB= gcov -NO_PROFILE= CFLAGS+= -DIN_GCC -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED CFLAGS+= -D_PTHREADS -DGTHREAD_USE_WEAK @@ -37,7 +38,7 @@ ${OBJS_S}: libgcov.c ${CC} -c ${PICFLAG} ${CFLAGS} -DL${.PREFIX} -o ${.TARGET} ${.ALLSRC:M*.c} .endif -.if !defined(NO_PROFILE) +.if ${MK_PROFILE} != "no" ${OBJS_P}: libgcc2.c ${CC} -c -p ${CFLAGS} -DL${.PREFIX} -o ${.TARGET} ${.ALLSRC:M*.c} .endif |