tech-toolchain archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: bsd.lib.mk question



In article <20110606005853.GA7368%netbsd.org@localhost>,
David Holland  <dholland-tech%netbsd.org@localhost> wrote:
>Does anyone know why bsd.lib.mk contains the following logic?
>
>   _YLSRCS=        ${SRCS:M*.[ly]:C/\..$/.c/} ${YHEADER:D${SRCS:M*.y:.y=.h}}
>      :
>   DPSRCS+=        ${_YLSRCS}
>      :
>   ${STOBJS} ${POBJS} ${GOBJS} ${SOBJS} ${LOBJS}: ${DPSRCS}
>
>It appears that this forces a complete recompile any time a .l or .y
>file is touched, which seems entirely wrong.

Looks wrong to me.

christos



Home | Main Index | Thread Index | Old Index