klm@cme.nbs.gov (Ken Manheimer) (11/23/89)
I have been maintained the X11r3, r2, and some X10 version for a while now and have never been clear exactly how imake is supposed to be configured in order to compile miscellaneous applications that *don't* come with the distribution using the installed, non-distribution library locations. I just recently implemented a hack that seems to work fine, that is, using seperate imake template files, one for compiling the distribution and one for public compilation of sundry stuff... The problem is that, in order to make the template for the public version work i had to change the definition of LOCALXLIB, EXTENSIONLIB, XLIB, XMULIB, OLDXLIB, XTOOLLIB, and XAWLIB point to the publically installed libraries instead of the locations in the distribution (eg, XAWLIB points to /usr/local/lib/X11/libXaw.a instead of <distRoot>/lib/Xaw/libXaw.a). The distributed Imake.tmpl configures Makefiles to point to the library source directories in the distribution, so that you would have to keep that part of the distribution on-line and compiled (or at least have symbolic link-surrogates for those files) in order to use it. This totally defeats the purpose of having installed libraries, which leads me to believe i'm missing something here. For that matter, changing those library-defines entails editing a portion of Imake.tmpl that's specifically labelled "definitions common to all Makefiles - do not edit". Obviously, either i'm missing something (probably simple:-) or there's a glitch in the imake default configuration... Can anyone point me to the clear? I almost never manage to keep up with the traffic in this newsgroup, so i'd appreciate if people would mail a copy of their responses to me, and i will summarize when i seem to have gotten what i'm gonna get... By the way, this is X11r3 with patches 1-8, the purdue and the csri (xterm speedup - great!) patches applied. Thanks, Ken Manheimer Nat'l Inst of Standards and Technology (301) 975-3539 (Formerly "National Bureau of Standards") klm@cme.nist.gov CME, Factory Automation Systems Division or ..!uunet!cme-durer!klm Integrated Systems Group Do you remember how life was when you were a child? When you woke up in the morning, and the morning smiled? - Taj Mahal