NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: bin/42381: LD_ADD.$name does not work as expected
> bsd.prog.mk also does this:
>
> _LDADD.${_P}= ${LDADD} ${LDADD.${_P}}
>
> and I believe that the fix would be to remove the "LDADD+=${LDADD.${_P}}"
> and rewrite relevant rules in terms of ${_LDADD.${_P}} (note the
> underline) instead of ${LDADD}. Similarly for several other variables in
> bsd.prog.mk.
I've never liked these .for loops handling multiple PROGS / LIBS in bsd.prog.mk
/ bsd.lib.mk. Because of them these files are almost impossible to maintain.
I wonder if it's possible to put multiple makefiles in a single directory
(not one Makefile with PROGS=foo bar, but foo.mk and bar.mk.)
Masao
--
Masao Uebayashi / Tombi Inc. / Tel: +81-90-9141-4635
Home |
Main Index |
Thread Index |
Old Index