Luigi Rizzo <[EMAIL PROTECTED]> writes:
> Any better ideas ?

You could just chicken out and do

RCS file: /home/ncvs/src/sys/conf/,v
retrieving revision 1.7
diff -u -r1.7
---        10 Jan 2002 03:52:00 -0000      1.7
+++        21 Feb 2002 23:55:02 -0000
@@ -93,10 +93,15 @@
            ${SYSTEM_SFILES} ${MFILES:T:S/.m$/.h/}
        if [ -f .olddep ]; then mv .olddep .depend; fi
        rm -f .newdep
+# Do this one file at a time to avoid overly long command lines
+.for file in ${CFILES} ${SYSTEM_CFILES} ${GEN_CFILES}
        env MKDEP_CPP="${CC} -E" CC="${CC}" \
-           mkdep -a -f .newdep ${CFLAGS} ${CFILES} ${SYSTEM_CFILES} ${GEN_CFILES}
+           mkdep -a -f .newdep ${CFLAGS} ${file}
+.for file in ${SFILES} ${SYSTEM_SFILES}
        env MKDEP_CPP="${CC} -E" \
-           mkdep -a -f .newdep ${ASM_CFLAGS} ${SFILES} ${SYSTEM_SFILES}
+           mkdep -a -f .newdep ${ASM_CFLAGS} ${file}
        rm -f .depend
        mv .newdep .depend

Not particularly efficient, but shorter, simpler and clearer.

Dag-Erling Smorgrav - [EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to