From owner-freebsd-hackers Fri Feb 16 20:37:54 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id UAA17426 for hackers-outgoing; Fri, 16 Feb 1996 20:37:54 -0800 (PST) Received: from rover.village.org (rover.village.org [204.144.255.49]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id UAA17406 for ; Fri, 16 Feb 1996 20:37:43 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by rover.village.org (8.6.11/8.6.6) with SMTP id VAA13213; Fri, 16 Feb 1996 21:37:37 -0700 Message-Id: <199602170437.VAA13213@rover.village.org> To: "matthew c. mead" Subject: Re: hacking xmkmf stuff Cc: hackers@FreeBSD.ORG In-reply-to: Your message of Fri, 16 Feb 1996 20:53:45 EST Date: Fri, 16 Feb 1996 21:37:36 -0700 From: Warner Losh Sender: owner-hackers@FreeBSD.ORG Precedence: bulk : 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