ctfconvert dependency...

Shrikanth Kamath shrikanth07 at gmail.com
Wed Mar 10 17:54:55 UTC 2010


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?


More information about the freebsd-hackers mailing list