Subject: Re: problems in make depend
To: None <current-users@NetBSD.ORG, port-i386@NetBSD.ORG>
From: Mike Long <mike.long@analog.com>
List: current-users
Date: 02/07/1996 12:46:04
>Date: Wed, 7 Feb 1996 04:52:09 GMT
>From: "Charles M. Hannum" <mycroft@domino.org>
>I feel compelled to point out that, since most (all?) of the .s and .S
>files in the kernel use constants defined in .h files, they *need* to
>use cpp, unless you propose to add a whole lot of shit to assym.h or
>do some gross m4 hackery.
>
>So, at least for the kernel, this discussion is moot.
I think the problems with ' characters can be eliminated by adding
-traditional-cpp to the mkdep options. I'll try this tonight:
*** Makefile.i386~ Wed Feb 7 12:37:29 1996
--- Makefile.i386 Wed Feb 7 12:43:58 1996
***************
*** 153,159 ****
depend: .depend
.depend: ${SRCS} assym.h vnode_if.h param.c
! mkdep -x assembler-with-cpp ${AFLAGS} ${CPPFLAGS} ${I386}/i386/locore.s
mkdep -a ${CFLAGS} ${CPPFLAGS} vnode_if.c param.c ioconf.c ${CFILES}
! mkdep -a -x assembler-with-cpp ${AFLAGS} ${CPPFLAGS} ${SFILES}
mkdep -a ${CFLAGS} ${CPPFLAGS} ${PARAM} ${I386}/i386/genassym.c
--- 153,161 ----
depend: .depend
.depend: ${SRCS} assym.h vnode_if.h param.c
! mkdep -x assembler-with-cpp -traditional-cpp ${AFLAGS} \
! ${CPPFLAGS} ${I386}/i386/locore.s
mkdep -a ${CFLAGS} ${CPPFLAGS} vnode_if.c param.c ioconf.c ${CFILES}
! mkdep -a -x assembler-with-cpp -traditional-cpp ${AFLAGS} \
! ${CPPFLAGS} ${SFILES}
mkdep -a ${CFLAGS} ${CPPFLAGS} ${PARAM} ${I386}/i386/genassym.c
--
Mike Long <mike.long@analog.com> http://www.shore.net/~mikel
VLSI Design Engineer finger mikel@shore.net for PGP public key
Analog Devices, CPD Division CCBF225E7D3F7ECB2C8F7ABB15D9BE7B
Norwood, MA 02062 USA (eq (opinion 'ADI) (opinion 'mike)) -> nil