Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!samsung!noose.ecn.purdue.edu!en.ecn.purdue.edu!milton From: milton@en.ecn.purdue.edu (Milton D Miller) Newsgroups: comp.windows.x Subject: Re: Alternative installation directories for X11R4 Message-ID: <1991Feb28.060558.21908@en.ecn.purdue.edu> Date: 28 Feb 91 06:05:58 GMT References: <16001@lanl.gov> <3977@uakari.primate.wisc.edu> Organization: Purdue University Engineering Computer Network Lines: 41 In article <3977@uakari.primate.wisc.edu> bin@primate.wisc.edu writes: >From article <16001@lanl.gov>, by gam@lanl.gov (Gim Mark): [Re: Builds in alternate places. MIT files have:] >| >| #include [meaining in the system defined directories, his solution was:] >| #include "Xlib.h" > >Wouldn't it work to put > >INCLUDES = -I/tmp/cpp/whatever > >in your Imakefile? [...] >but INCLUDES is the one intended >for you to be able to use yourself. INCLUDES Is for the APPLICATION SPECIFIC includes. Why would you want to edit every Imakefile, when it is taken care of by TOP_INCLUDES ? I don't think this was one of the changes I made while installing R4 with DESTDIR=/tmp/four (don't ask). I didn't have to make many (any?) changes for the programs I wanted, but I didn't remake programs that were already in R3. I did make some net stuff, though. (TOP_INCLUDES and INCLUDES are combined with STD_INCLUDES and some others). (Getting the config figured out is another matter). milton #ifndef IncRoot #define IncRoot $(DESTDIR)/usr/include #endif #ifdef UseInstalled TOP_INCLUDES = -I$(INCROOT) /* def: for alternative /usr/include */ #else TOP_INCLUDES = -I$(TOP) /* def: for builds within tree */ #endif