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?
_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"

Reply via email to