DragonFlyBSD/src 00f0616share/mk bsd.dep.mk

bsd.dep.mk: Split logic for CC and CXX handling.

Previously it assumed that cc(1) will be able to handle c++ sources.
That is not the case for compilers other than gcc or clang.

While there:
  * add MKDEPCC that could be used to override CC in certain
    more convoluted scenarios;
  * finally add a fix for hostprog deps, note that PATH skip from
    NXENV is intentional, we prefer not to use host's mkdep(1).
DeltaFile
+12-2share/mk/bsd.dep.mk
+12-21 files

UnifiedSplitRaw