Path: utzoo!attcan!uunet!ncrlnk!ncr-sd!hp-sdd!hplabs!nsc!voder!blia!mao From: mao@blia.BLI.COM (Mike Olson) Newsgroups: comp.windows.x Subject: Re: Imake for Installed Libs/Includes Message-ID: <6232@blia.BLI.COM> Date: 18 Jan 89 20:00:22 GMT References: <8901171751.AA04277@teak.cs.rochester.edu> Reply-To: mao@blia.UUCP (Mike Olson) Organization: Britton Lee Lines: 31 regarding the problem #ifdef CompileWithInstalled # this should work but does not because INCDIR is /usr/include/X11 # INCLUDES = -I$(INCDIR) INCLUDES = -I/usr/include #else CompileWithInstalled INCLUDES = -I$(TOP) #endif CompileWitInstalled reported by tim becker, where INCDIR doesn't work because clients insist on including , i solved the problem by using INCLUDES = -I$(INCDIR) -I$(INCDIR)/.. this is suboptimal, but works. i found the same problem with R3 -- almost no program (except the ones developed locally) uses the installed versions of the libraries or header files. rather than waste space, i did the equivalent of a "make install" by hand, slinking everything from the install directories to the source tree. that said, i think that MIT has done a first-rate job of release engineering this time around. i remember the hair-pulling it took to get R1 and R2 installed. now, if the full distribution were less than eighty megabytes of source code... mike olson britton lee, inc. ...!ucbvax!mtxinu!blia!mao mao@blia.bli.com