tech-toolchain archive

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

bsd.lib.mk question



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.

-- 
David A. Holland
dholland%netbsd.org@localhost


Home | Main Index | Thread Index | Old Index