Source-Changes archive

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

CVS commit: src/share/mk



Module Name:    src
Committed By:   uebayasi
Date:           Tue Dec  8 15:18:42 UTC 2009

Modified Files:
        src/share/mk: bsd.lib.mk bsd.prog.mk

Log Message:
When PROGS / LIBS are used, you can pass each PROG / LIB specific parameters
to ${LD} via:

        ${_LDADD.${PROG}}
        ${_LDFLAGS.${PROG}}
        ${_LDSTATIC.${PROG}}
        ${_LDADD.${LIB}}
        ${_LDFLAGS.${LIB}}

OTOH you can't pass parameters to ${CC}, because in suffix rules make(1) only
knows the name of ${.IMPSRC} and ${.TARGET}; it's users' responsivility to
define ${CC} parameters to all the sources of a given ${PROG} / ${LIB}.

Should address bin/42381.


To generate a diff of this commit:
cvs rdiff -u -r1.299 -r1.300 src/share/mk/bsd.lib.mk
cvs rdiff -u -r1.243 -r1.244 src/share/mk/bsd.prog.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



Home | Main Index | Thread Index | Old Index