Source-Changes archive

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

Re: CVS commit: basesrc



   XXX
   if you do "make obj", you have to reference:
        bind/named/obj/pathnames.h

This breaks if you set OBJMACHINE (which I do since I share a single
source tree across multiple architectures).  The way to do this is to
use a

        NAMEDOBJ != cd ${.CURDIR}/../named; make print-objdir

(!= assigns the output of a command to the variable.)  and then do a:

        CPPFLAGS += -I${NAMEDOBJ}

See my recent change to src/distrib/alpha/Makefile for another example
of this.

                                        - Bill



Home | Main Index | Thread Index | Old Index