Author: rpaulo
Date: Fri Jul 30 08:52:19 2010
New Revision: 210636
URL: http://svn.freebsd.org/changeset/base/210636

Log:
  Fix previous commit: I forgot to include parenthesis.
  
  Submitted by: anonymous

Modified:
  head/share/mk/bsd.lib.mk
  head/share/mk/bsd.prog.mk
  head/share/mk/sys.mk

Modified: head/share/mk/bsd.lib.mk
==============================================================================
--- head/share/mk/bsd.lib.mk    Fri Jul 30 07:31:50 2010        (r210635)
+++ head/share/mk/bsd.lib.mk    Fri Jul 30 08:52:19 2010        (r210636)
@@ -74,14 +74,14 @@ PO_FLAG=-pg
 .c.po:
        ${CC} ${PO_FLAG} ${PO_CFLAGS} -c ${.IMPSRC} -o ${.TARGET}
        @[ -z "${CTFCONVERT}" -o -n "${NO_CTF}" ] || \
-               ${ECHO} ${CTFCONVERT} ${CTFFLAGS} ${.TARGET} && \
-               ${CTFCONVERT} ${CTFFLAGS} ${.TARGET}
+               (${ECHO} ${CTFCONVERT} ${CTFFLAGS} ${.TARGET} && \
+               ${CTFCONVERT} ${CTFFLAGS} ${.TARGET})
 
 .c.So:
        ${CC} ${PICFLAG} -DPIC ${CFLAGS} -c ${.IMPSRC} -o ${.TARGET}
        @[ -z "${CTFCONVERT}" -o -n "${NO_CTF}" ] || \
-               ${ECHO} ${CTFCONVERT} ${CTFFLAGS} ${.TARGET} && \
-               ${CTFCONVERT} ${CTFFLAGS} ${.TARGET}
+               (${ECHO} ${CTFCONVERT} ${CTFFLAGS} ${.TARGET} && \
+               ${CTFCONVERT} ${CTFFLAGS} ${.TARGET})
 
 .cc.po .C.po .cpp.po .cxx.po:
        ${CXX} ${PO_FLAG} ${PO_CXXFLAGS} -c ${.IMPSRC} -o ${.TARGET}
@@ -92,57 +92,57 @@ PO_FLAG=-pg
 .f.po:
        ${FC} -pg ${FFLAGS} -o ${.TARGET} -c ${.IMPSRC}
        @[ -z "${CTFCONVERT}" -o -n "${NO_CTF}" ] || \
-               ${ECHO} ${CTFCONVERT} ${CTFFLAGS} ${.TARGET} && \
-               ${CTFCONVERT} ${CTFFLAGS} ${.TARGET}
+               (${ECHO} ${CTFCONVERT} ${CTFFLAGS} ${.TARGET} && \
+               ${CTFCONVERT} ${CTFFLAGS} ${.TARGET})
 
 .f.So:
        ${FC} ${PICFLAG} -DPIC ${FFLAGS} -o ${.TARGET} -c ${.IMPSRC}
        @[ -z "${CTFCONVERT}" -o -n "${NO_CTF}" ] || \
-               ${ECHO} ${CTFCONVERT} ${CTFFLAGS} ${.TARGET} && \
-               ${CTFCONVERT} ${CTFFLAGS} ${.TARGET}
+               (${ECHO} ${CTFCONVERT} ${CTFFLAGS} ${.TARGET} && \
+               ${CTFCONVERT} ${CTFFLAGS} ${.TARGET})
 
 .m.po:
        ${OBJC} ${OBJCFLAGS} -pg -c ${.IMPSRC} -o ${.TARGET}
        @[ -z "${CTFCONVERT}" -o -n "${NO_CTF}" ] || \
-               ${ECHO} ${CTFCONVERT} ${CTFFLAGS} ${.TARGET} && \
-               ${CTFCONVERT} ${CTFFLAGS} ${.TARGET}
+               (${ECHO} ${CTFCONVERT} ${CTFFLAGS} ${.TARGET} && \
+               ${CTFCONVERT} ${CTFFLAGS} ${.TARGET})
 
 .m.So:
        ${OBJC} ${PICFLAG} -DPIC ${OBJCFLAGS} -c ${.IMPSRC} -o ${.TARGET}
        @[ -z "${CTFCONVERT}" -o -n "${NO_CTF}" ] || \
-               ${ECHO} ${CTFCONVERT} ${CTFFLAGS} ${.TARGET} && \
-               ${CTFCONVERT} ${CTFFLAGS} ${.TARGET}
+               (${ECHO} ${CTFCONVERT} ${CTFFLAGS} ${.TARGET} && \
+               ${CTFCONVERT} ${CTFFLAGS} ${.TARGET})
 
 .s.po .s.So:
        ${AS} ${AFLAGS} -o ${.TARGET} ${.IMPSRC}
        @[ -z "${CTFCONVERT}" -o -n "${NO_CTF}" ] || \
-               ${ECHO} ${CTFCONVERT} ${CTFFLAGS} ${.TARGET} && \
-               ${CTFCONVERT} ${CTFFLAGS} ${.TARGET}
+               (${ECHO} ${CTFCONVERT} ${CTFFLAGS} ${.TARGET} && \
+               ${CTFCONVERT} ${CTFFLAGS} ${.TARGET})
 
 .asm.po:
        ${CC} -x assembler-with-cpp -DPROF ${PO_CFLAGS} -c ${.IMPSRC} -o 
${.TARGET}
        @[ -z "${CTFCONVERT}" -o -n "${NO_CTF}" ] || \
-               ${ECHO} ${CTFCONVERT} ${CTFFLAGS} ${.TARGET} && \
-               ${CTFCONVERT} ${CTFFLAGS} ${.TARGET}
+               (${ECHO} ${CTFCONVERT} ${CTFFLAGS} ${.TARGET} && \
+               ${CTFCONVERT} ${CTFFLAGS} ${.TARGET})
 
 .asm.So:
        ${CC} -x assembler-with-cpp ${PICFLAG} -DPIC ${CFLAGS} \
            -c ${.IMPSRC} -o ${.TARGET}
        @[ -z "${CTFCONVERT}" -o -n "${NO_CTF}" ] || \
-               ${ECHO} ${CTFCONVERT} ${CTFFLAGS} ${.TARGET} && \
-               ${CTFCONVERT} ${CTFFLAGS} ${.TARGET}
+               (${ECHO} ${CTFCONVERT} ${CTFFLAGS} ${.TARGET} && \
+               ${CTFCONVERT} ${CTFFLAGS} ${.TARGET})
 
 .S.po:
        ${CC} -DPROF ${PO_CFLAGS} -c ${.IMPSRC} -o ${.TARGET}
        @[ -z "${CTFCONVERT}" -o -n "${NO_CTF}" ] || \
-               ${ECHO} ${CTFCONVERT} ${CTFFLAGS} ${.TARGET} && \
-               ${CTFCONVERT} ${CTFFLAGS} ${.TARGET}
+               (${ECHO} ${CTFCONVERT} ${CTFFLAGS} ${.TARGET} && \
+               ${CTFCONVERT} ${CTFFLAGS} ${.TARGET})
 
 .S.So:
        ${CC} ${PICFLAG} -DPIC ${CFLAGS} -c ${.IMPSRC} -o ${.TARGET}
        @[ -z "${CTFCONVERT}" -o -n "${NO_CTF}" ] || \
-               ${ECHO} ${CTFCONVERT} ${CTFFLAGS} ${.TARGET} && \
-               ${CTFCONVERT} ${CTFFLAGS} ${.TARGET}
+               (${ECHO} ${CTFCONVERT} ${CTFFLAGS} ${.TARGET} && \
+               ${CTFCONVERT} ${CTFFLAGS} ${.TARGET})
 
 all: objwarn
 
@@ -214,8 +214,8 @@ ${SHLIB_NAME}: ${SOBJS}
            `NM='${NM}' lorder ${SOBJS} | tsort -q` ${LDADD}
 .endif
        @[ -z "${CTFMERGE}" -o -n "${NO_CTF}" ] || \
-               ${ECHO} ${CTFMERGE} ${CTFFLAGS} -o ${.TARGET} ${SOBJS}
-               ${CTFMERGE} ${CTFFLAGS} -o ${.TARGET} ${SOBJS}
+               (${ECHO} ${CTFMERGE} ${CTFFLAGS} -o ${.TARGET} ${SOBJS}
+               ${CTFMERGE} ${CTFFLAGS} -o ${.TARGET} ${SOBJS})
 .endif
 
 .if defined(INSTALL_PIC_ARCHIVE) && defined(LIB) && !empty(LIB) && 
${MK_TOOLCHAIN} != "no"

Modified: head/share/mk/bsd.prog.mk
==============================================================================
--- head/share/mk/bsd.prog.mk   Fri Jul 30 07:31:50 2010        (r210635)
+++ head/share/mk/bsd.prog.mk   Fri Jul 30 08:52:19 2010        (r210636)
@@ -67,8 +67,8 @@ ${PROG}: ${OBJS}
        ${CC} ${CFLAGS} ${LDFLAGS} -o ${.TARGET} ${OBJS} ${LDADD}
 .endif
        @[ -z "${CTFMERGE}" -o -n "${NO_CTF}" ] || \
-               ${ECHO} ${CTFMERGE} ${CTFFLAGS} -o ${.TARGET} ${OBJS} && \
-               ${CTFMERGE} ${CTFFLAGS} -o ${.TARGET} ${OBJS}
+               (${ECHO} ${CTFMERGE} ${CTFFLAGS} -o ${.TARGET} ${OBJS} && \
+               ${CTFMERGE} ${CTFFLAGS} -o ${.TARGET} ${OBJS})
 
 .else  # !defined(SRCS)
 
@@ -93,8 +93,8 @@ ${PROG}: ${OBJS}
        ${CC} ${CFLAGS} ${LDFLAGS} -o ${.TARGET} ${OBJS} ${LDADD}
 .endif
        @[ -z "${CTFMERGE}" -o -n "${NO_CTF}" ] || \
-               ${ECHO} ${CTFMERGE} ${CTFFLAGS} -o ${.TARGET} ${OBJS} &&
-               ${CTFMERGE} ${CTFFLAGS} -o ${.TARGET} ${OBJS}
+               (${ECHO} ${CTFMERGE} ${CTFFLAGS} -o ${.TARGET} ${OBJS} &&
+               ${CTFMERGE} ${CTFFLAGS} -o ${.TARGET} ${OBJS})
 .endif
 
 .endif

Modified: head/share/mk/sys.mk
==============================================================================
--- head/share/mk/sys.mk        Fri Jul 30 07:31:50 2010        (r210635)
+++ head/share/mk/sys.mk        Fri Jul 30 08:52:19 2010        (r210636)
@@ -157,14 +157,14 @@ YFLAGS            ?=      -d
 .c:
        ${CC} ${CFLAGS} ${LDFLAGS} -o ${.TARGET} ${.IMPSRC}
        @[ -z "${CTFCONVERT}" -o -n "${NO_CTF}" ] || \
-               ${ECHO} ${CTFCONVERT} ${CTFFLAGS} ${.TARGET} && \
-               ${CTFCONVERT} ${CTFFLAGS} ${.TARGET}
+               (${ECHO} ${CTFCONVERT} ${CTFFLAGS} ${.TARGET} && \
+               ${CTFCONVERT} ${CTFFLAGS} ${.TARGET})
 
 .f:
        ${FC} ${FFLAGS} ${LDFLAGS} -o ${.TARGET} ${.IMPSRC}
        @[ -z "${CTFCONVERT}" -o -n "${NO_CTF}" ] || \
-               ${ECHO} ${CTFCONVERT} ${CTFFLAGS} ${.TARGET} && \
-               ${CTFCONVERT} ${CTFFLAGS} ${.TARGET}
+               (${ECHO} ${CTFCONVERT} ${CTFFLAGS} ${.TARGET} && \
+               ${CTFCONVERT} ${CTFFLAGS} ${.TARGET})
 
 .sh:
        cp ${.IMPSRC} ${.TARGET}
@@ -175,14 +175,14 @@ YFLAGS            ?=      -d
 .c.o:
        ${CC} ${CFLAGS} -c ${.IMPSRC}
        @[ -z "${CTFCONVERT}" -o -n "${NO_CTF}" ] || \
-               ${ECHO} ${CTFCONVERT} ${CTFFLAGS} ${.TARGET} && \
-               ${CTFCONVERT} ${CTFFLAGS} ${.TARGET}
+               (${ECHO} ${CTFCONVERT} ${CTFFLAGS} ${.TARGET} && \
+               ${CTFCONVERT} ${CTFFLAGS} ${.TARGET})
 
 .f.o:
        ${FC} ${FFLAGS} -c ${.IMPSRC}
        @[ -z "${CTFCONVERT}" -o -n "${NO_CTF}" ] || \
-               ${ECHO} ${CTFCONVERT} ${CTFFLAGS} ${.TARGET} && \
-               ${CTFCONVERT} ${CTFFLAGS} ${.TARGET}
+               (${ECHO} ${CTFCONVERT} ${CTFFLAGS} ${.TARGET} && \
+               ${CTFCONVERT} ${CTFFLAGS} ${.TARGET})
 
 .y.o:
        ${YACC} ${YFLAGS} ${.IMPSRC}
@@ -190,8 +190,8 @@ YFLAGS              ?=      -d
        rm -f y.tab.c
        mv y.tab.o ${.TARGET}
        @[ -z "${CTFCONVERT}" -o -n "${NO_CTF}" ] || \
-               ${ECHO} ${CTFCONVERT} ${CTFFLAGS} ${.TARGET} && \
-               ${CTFCONVERT} ${CTFFLAGS} ${.TARGET}
+               (${ECHO} ${CTFCONVERT} ${CTFFLAGS} ${.TARGET} && \
+               ${CTFCONVERT} ${CTFFLAGS} ${.TARGET})
 
 .l.o:
        ${LEX} ${LFLAGS} ${.IMPSRC}
@@ -199,8 +199,8 @@ YFLAGS              ?=      -d
        rm -f lex.yy.c
        mv lex.yy.o ${.TARGET}
        @[ -z "${CTFCONVERT}" -o -n "${NO_CTF}" ] || \
-               ${ECHO} ${CTFCONVERT} ${CTFFLAGS} ${.TARGET} && \
-               ${CTFCONVERT} ${CTFFLAGS} ${.TARGET}
+               (${ECHO} ${CTFCONVERT} ${CTFFLAGS} ${.TARGET} && \
+               ${CTFCONVERT} ${CTFFLAGS} ${.TARGET})
 
 .y.c:
        ${YACC} ${YFLAGS} ${.IMPSRC}
@@ -239,14 +239,14 @@ YFLAGS            ?=      -d
 .c:
        ${CC} ${CFLAGS} ${LDFLAGS} ${.IMPSRC} ${LDLIBS} -o ${.TARGET}
        @[ -z "${CTFCONVERT}" -o -n "${NO_CTF}" ] || \
-               ${ECHO} ${CTFCONVERT} ${CTFFLAGS} ${.TARGET} && \
-               ${CTFCONVERT} ${CTFFLAGS} ${.TARGET}
+               (${ECHO} ${CTFCONVERT} ${CTFFLAGS} ${.TARGET} && \
+               ${CTFCONVERT} ${CTFFLAGS} ${.TARGET})
 
 .c.o:
        ${CC} ${CFLAGS} -c ${.IMPSRC}
        @[ -z "${CTFCONVERT}" -o -n "${NO_CTF}" ] || \
-               ${ECHO} ${CTFCONVERT} ${CTFFLAGS} ${.TARGET} && \
-               ${CTFCONVERT} ${CTFFLAGS} ${.TARGET}
+               (${ECHO} ${CTFCONVERT} ${CTFFLAGS} ${.TARGET} && \
+               ${CTFCONVERT} ${CTFFLAGS} ${.TARGET})
 
 .cc .cpp .cxx .C:
        ${CXX} ${CXXFLAGS} ${LDFLAGS} ${.IMPSRC} ${LDLIBS} -o ${.TARGET}
@@ -257,14 +257,14 @@ YFLAGS            ?=      -d
 .m.o:
        ${OBJC} ${OBJCFLAGS} -c ${.IMPSRC}
        @[ -z "${CTFCONVERT}" -o -n "${NO_CTF}" ] || \
-               ${ECHO} ${CTFCONVERT} ${CTFFLAGS} ${.TARGET} && \
-               ${CTFCONVERT} ${CTFFLAGS} ${.TARGET}
+               (${ECHO} ${CTFCONVERT} ${CTFFLAGS} ${.TARGET} && \
+               ${CTFCONVERT} ${CTFFLAGS} ${.TARGET})
 
 .p.o:
        ${PC} ${PFLAGS} -c ${.IMPSRC}
        @[ -z "${CTFCONVERT}" -o -n "${NO_CTF}" ] || \
-               ${ECHO} ${CTFCONVERT} ${CTFFLAGS} ${.TARGET} && \
-               ${CTFCONVERT} ${CTFFLAGS} ${.TARGET}
+               (${ECHO} ${CTFCONVERT} ${CTFFLAGS} ${.TARGET} && \
+               ${CTFCONVERT} ${CTFFLAGS} ${.TARGET})
 
 .e .r .F .f:
        ${FC} ${RFLAGS} ${EFLAGS} ${FFLAGS} ${LDFLAGS} ${.IMPSRC} ${LDLIBS} \
@@ -276,20 +276,20 @@ YFLAGS            ?=      -d
 .S.o:
        ${CC} ${CFLAGS} -c ${.IMPSRC}
        @[ -z "${CTFCONVERT}" -o -n "${NO_CTF}" ] || \
-               ${ECHO} ${CTFCONVERT} ${CTFFLAGS} ${.TARGET} && \
-               ${CTFCONVERT} ${CTFFLAGS} ${.TARGET}
+               (${ECHO} ${CTFCONVERT} ${CTFFLAGS} ${.TARGET} && \
+               ${CTFCONVERT} ${CTFFLAGS} ${.TARGET})
 
 .asm.o:
        ${CC} -x assembler-with-cpp ${CFLAGS} -c ${.IMPSRC}
        @[ -z "${CTFCONVERT}" -o -n "${NO_CTF}" ] || \
-               ${ECHO} ${CTFCONVERT} ${CTFFLAGS} ${.TARGET} && \
-               ${CTFCONVERT} ${CTFFLAGS} ${.TARGET}
+               (${ECHO} ${CTFCONVERT} ${CTFFLAGS} ${.TARGET} && \
+               ${CTFCONVERT} ${CTFFLAGS} ${.TARGET})
 
 .s.o:
        ${AS} ${AFLAGS} -o ${.TARGET} ${.IMPSRC}
        @[ -z "${CTFCONVERT}" -o -n "${NO_CTF}" ] || \
-               ${ECHO} ${CTFCONVERT} ${CTFFLAGS} ${.TARGET} && \
-               ${CTFCONVERT} ${CTFFLAGS} ${.TARGET}
+               (${ECHO} ${CTFCONVERT} ${CTFFLAGS} ${.TARGET} && \
+               ${CTFCONVERT} ${CTFFLAGS} ${.TARGET})
 
 # XXX not -j safe
 .y.o:
@@ -297,16 +297,16 @@ YFLAGS            ?=      -d
        ${CC} ${CFLAGS} -c y.tab.c -o ${.TARGET}
        rm -f y.tab.c
        @[ -z "${CTFCONVERT}" -o -n "${NO_CTF}" ] || \
-               ${ECHO} ${CTFCONVERT} ${CTFFLAGS} ${.TARGET} && \
-               ${CTFCONVERT} ${CTFFLAGS} ${.TARGET}
+               (${ECHO} ${CTFCONVERT} ${CTFFLAGS} ${.TARGET} && \
+               ${CTFCONVERT} ${CTFFLAGS} ${.TARGET})
 
 .l.o:
        ${LEX} -t ${LFLAGS} ${.IMPSRC} > ${.PREFIX}.tmp.c
        ${CC} ${CFLAGS} -c ${.PREFIX}.tmp.c -o ${.TARGET}
        rm -f ${.PREFIX}.tmp.c
        @[ -z "${CTFCONVERT}" -o -n "${NO_CTF}" ] || \
-               ${ECHO} ${CTFCONVERT} ${CTFFLAGS} ${.TARGET} && \
-               ${CTFCONVERT} ${CTFFLAGS} ${.TARGET}
+               (${ECHO} ${CTFCONVERT} ${CTFFLAGS} ${.TARGET} && \
+               ${CTFCONVERT} ${CTFFLAGS} ${.TARGET})
 
 # XXX not -j safe
 .y.c:
@@ -319,16 +319,16 @@ YFLAGS            ?=      -d
 .s.out .c.out .o.out:
        ${CC} ${CFLAGS} ${LDFLAGS} ${.IMPSRC} ${LDLIBS} -o ${.TARGET}
        @[ -z "${CTFCONVERT}" -o -n "${NO_CTF}" ] || \
-               ${ECHO} ${CTFCONVERT} ${CTFFLAGS} ${.TARGET} && \
-               ${CTFCONVERT} ${CTFFLAGS} ${.TARGET}
+               (${ECHO} ${CTFCONVERT} ${CTFFLAGS} ${.TARGET} && \
+               ${CTFCONVERT} ${CTFFLAGS} ${.TARGET})
 
 .f.out .F.out .r.out .e.out:
        ${FC} ${EFLAGS} ${RFLAGS} ${FFLAGS} ${LDFLAGS} ${.IMPSRC} \
            ${LDLIBS} -o ${.TARGET}
        rm -f ${.PREFIX}.o
        @[ -z "${CTFCONVERT}" -o -n "${NO_CTF}" ] || \
-               ${ECHO} ${CTFCONVERT} ${CTFFLAGS} ${.TARGET} && \
-               ${CTFCONVERT} ${CTFFLAGS} ${.TARGET}
+               (${ECHO} ${CTFCONVERT} ${CTFFLAGS} ${.TARGET} && \
+               ${CTFCONVERT} ${CTFFLAGS} ${.TARGET})
 
 # XXX not -j safe
 .y.out:
@@ -336,16 +336,16 @@ YFLAGS            ?=      -d
        ${CC} ${CFLAGS} ${LDFLAGS} y.tab.c ${LDLIBS} -ly -o ${.TARGET}
        rm -f y.tab.c
        @[ -z "${CTFCONVERT}" -o -n "${NO_CTF}" ] || \
-               ${ECHO} ${CTFCONVERT} ${CTFFLAGS} ${.TARGET} && \
-               ${CTFCONVERT} ${CTFFLAGS} ${.TARGET}
+               (${ECHO} ${CTFCONVERT} ${CTFFLAGS} ${.TARGET} && \
+               ${CTFCONVERT} ${CTFFLAGS} ${.TARGET})
 
 .l.out:
        ${LEX} -t ${LFLAGS} ${.IMPSRC} > ${.PREFIX}.tmp.c
        ${CC} ${CFLAGS} ${LDFLAGS} ${.PREFIX}.tmp.c ${LDLIBS} -ll -o ${.TARGET}
        rm -f ${.PREFIX}.tmp.c
        @[ -z "${CTFCONVERT}" -o -n "${NO_CTF}" ] || \
-               ${ECHO} ${CTFCONVERT} ${CTFFLAGS} ${.TARGET} && \
-               ${CTFCONVERT} ${CTFFLAGS} ${.TARGET}
+               (${ECHO} ${CTFCONVERT} ${CTFFLAGS} ${.TARGET} && \
+               ${CTFCONVERT} ${CTFFLAGS} ${.TARGET})
 
 # FreeBSD build pollution.  Hide it in the non-POSIX part of the ifdef.
 __MAKE_CONF?=/etc/make.conf
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to