how to determine if we are building lib32 in Makefile?
- From: "Rong-en Fan" <grafan@xxxxxxxxx>
- Date: Sun, 28 Jan 2007 03:36:07 +0800
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@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@xxxxxxxxxxx"
- Follow-Ups:
- Re: how to determine if we are building lib32 in Makefile?
- From: Rong-en Fan
- Re: how to determine if we are building lib32 in Makefile?
- Prev by Date: sysctl(3) interface
- Next by Date: Re: Updated Driver for 3945ABG Intel 3945ABG Wireless LAN controller
- Previous by thread: sysctl(3) interface
- Next by thread: Re: how to determine if we are building lib32 in Makefile?
- Index(es):