Path: utzoo!attcan!uunet!lll-winken!uwm.edu!zaphod.mps.ohio-state.edu!usc!snorkelwacker!bloom-beacon!EXPO.LCS.MIT.EDU!rws From: rws@EXPO.LCS.MIT.EDU (Bob Scheifler) Newsgroups: comp.windows.x Subject: Re: Makefile problem with contrib clients Message-ID: <9001081510.AA00763@expire.lcs.mit.edu> Date: 8 Jan 90 15:10:14 GMT References: <1990Jan8.001827.19896@Neon.Stanford.EDU> Sender: daemon@athena.mit.edu (Mr Background) Organization: The Internet Lines: 22 So "xrn" eventually depends on "-lXaw", which make doesn't know about. This problem is the result of -DUseInstalled, since it doesn't affect the MIT clients. Not exactly. It's a result of a change from R3 to R4, separating out "libraries" from "dependencies". The MIT client Imakefiles define both DEPLIBS and LOCAL_LIBRARIES explicitly, e.g. DEPLIBS = XawClientDepLibs LOCAL_LIBRARIES = XawClientLibs or more verbosely, DEPLIBS = $(DEPXAWLIB) $(DEPXMULIB) $(DEPXTOOLLIB) $(DEPXLIB) LOCAL_LIBRARIES = $(XAWLIB) $(XMULIB) $(XTOOLLIB) $(XLIB) In config/Project.tmpl there is a fallback hack for when DEPLIBS isn't defined, to use LOCAL_LIBRARIES instead (unless shared libraries are used). Clearly, this doesn't work perfectly. Change xrn's Imakefile to use one of the above two forms.