[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH] tools top level makefile cleanup
>>>>> "JY" == Jerone Young <jyoung5@xxxxxxxxxx> writes: JY> ifeq ($(XEN_TARGET_ARCH),x86_32) JY> LDLIBS= $(BXLIBS) -L/usr/X11R6/lib -lX11 -lXpm -lstdc++ - JY> L ../../../tools/libxc -L ../../../tools/libxutil -lxc -lxutil -lpthread JY> -lncurses_32) JY> endif JY> ifeq ($(XEN_TARGET_ARCH),x86_64) JY> DLIBS= $(BXLIBS) -L/usr/X11R6/lib64 -lX11 -lXpm -lstdc++ - JY> L ../../../tools/libxc -L ../../../tools/libxutil -lxc -lxutil -lpthread JY> -lncurses JY> endif hmm in the interest of exploiting commonality, perhaps x86_32_LDPATH = -L/usr/X11R6/lib x86_32_CURSES = -lncurses_32 x86_64_LDPATH = -L/usr/X11R6/lib64 x86_64_CURSES = -lncurses LDLIBS= $(BXLIBS) $($(XEN_TARGET_ARCH)_LDPATH) -lX11 -lXpm -lstdc++ -L../../../tools/libxc -L../../../tools/libxutil -lxc -lxutil -lpthread $($(XEN_TARGET_ARCH)_CURSES) The cool part of this is that you could locate the arch specific defines in arch specific Rules.mk (or rather Defines.mk?) -JX ------------------------------------------------------- This SF.net email is sponsored by Microsoft Mobile & Embedded DevCon 2005 Attend MEDC 2005 May 9-12 in Vegas. Learn more about the latest Windows Embedded(r) & Windows Mobile(tm) platforms, applications & content. Register by 3/29 & save $300 http://ads.osdn.com/?ad_id=6883&alloc_id=15149&op=click _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |