Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Mar 2010 23:24:43 +0530
From:      Shrikanth Kamath <shrikanth07@gmail.com>
To:        freebsd-hackers@freebsd.org
Subject:   ctfconvert dependency...
Message-ID:  <291941b81003100954n276d467an234c24e28f3b28e5@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Just trying to understand the build dependency for ctfconvert...

I see ctfconvert (cddl/usr.bin/ctfconvert/)  has dependency on libctf.a
(cddl/lib/libctf/)

Now the snippet in bsd.lib.mk has this check for various target suffixes,

.c.So:
.if defined(CTFCONVERT)
        ${CTFCONVERT} ${CTFFLAGS} ${.TARGET}
.endif

and sys.mk

.c
.if defined(CTFCONVERT)
        ${CTFCONVERT} ${CTFFLAGS} ${.TARGET}
.endif

My query, libctf includes  <bsd.lib.mk> in it's Makefile, so will the above
not try to
run 'ctfconvert' on libctf itself?



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?291941b81003100954n276d467an234c24e28f3b28e5>