Date: Sun, 28 Jan 2007 03:36:07 +0800 From: "Rong-en Fan" <grafan@gmail.com> To: freebsd-hackers@freebsd.org Subject: how to determine if we are building lib32 in Makefile? Message-ID: <6eb82e0701271136n5538792eu31f464414e7dbaae@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6eb82e0701271136n5538792eu31f464414e7dbaae>