Date: Fri, 16 Feb 1996 21:37:36 -0700 From: Warner Losh <imp@village.org> To: "matthew c. mead" <mmead@Glock.COM> Cc: hackers@FreeBSD.ORG Subject: Re: hacking xmkmf stuff Message-ID: <199602170437.VAA13213@rover.village.org> In-Reply-To: Your message of Fri, 16 Feb 1996 20:53:45 EST
next in thread | raw e-mail | index | archive | help
: Has anyone done this? I've looked at it and it looks like a fairly : complicated task. Thanks in advance for any help! Add the following to your site.def file: #define ProjectRoot /usr/local/X11R6 This will get you almost all of the way there. Now you need to tell X there are other places to look for include files, so add the followig lines: #define StandardIncludes -I/usr/X11R6/include #define LdPreLib -L/usr/X11R6/lib These to items will cause the right things to happen, with the possible exception of make depend that depends on libraries in /usr/X11R6/lib. That should be about all that you need to make this work for most X programs. I've not tested this, but have done a lot of work with Imake over the years (including a gnu config interface for it, and a complete make system for OI/OB), so this should get you close. There are variations on this theme that you can do, but I think this is closest to the original spirit and design of imake. Warner
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199602170437.VAA13213>