I'm working on wide character support in base's ncurses. For some
reason, I have to make lib/ncurses/ncursesw to include ncurses.h from
its object directory. However, current lib32 uses something like

cc ... -I${LIB32TMP}/usr/includes ... -IFROM_NCURSES_MAKEFILE ...

Right now, I have the following:

.if ${.TARGET} == "installincludes" && !empty(${DESTDIR:M*/lib32/*})
INCS=          ${HEADERS} ${SRCHDRS}
INCSLINKS=     curses.h ${INCLUDEDIR}/ncurses.h
.endif

It works, but it's really ugly. Is there any other way to do this?

Thanks,
Rong-En Fan
_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to