casey@lll-crg.llnl.gov (Casey Leedom) (01/13/89)
The original xfig Imakefile points out a problem with the current arrangement: the inability to compile pieces of X once the entire tree has been compiled, installed, and cleaned. Xfig attempted to get around this by directly referencing the libraries in their installed location, but that doesn't work if you're doing a build from scratch. It should also be pointed out that the first three lines of xfig's Imakefile should have read: DEFINES = -I$(INCDIR)/.. -DX11 SYS_LIBRARIES = -lm SYSAUX_LIBRARIES = -L$(USRLIBDIR) -lXaw -lXt -lX if that's what was really wanted. But again, that doesn't solve the problem of installing from scratch. I'm at a loss on how to solve this generic problem. Perhaps if there were a simple way to say CompileWithInstalled and then remake all the Makefiles, that wouldn't be too bad ... *** clients/xfig/Imakefile-dist Tue Aug 9 14:07:16 1988 --- clients/xfig/Imakefile Thu Jan 12 19:48:55 1989 *************** *** 1,6 **** ! DEFINES = -I/usr/new/include -DX11 ! SYS_LIBRARIES = -lm ! SYSAUX_LIBRARIES = -L/usr/new/lib -lXaw -lXt -lX SRCS= addpt.c arc.c arrow.c autoarrow.c\ bitmap.c blink.c bound.c box.c break.c\ --- 1,6 ---- ! DEFINES = -DX11 ! SYS_LIBRARIES = -lm ! SYSAUX_LIBRARIES = $(XAWLIB) $(XMULIB) $(XTOOLLIB) $(XLIB) SRCS= addpt.c arc.c arrow.c autoarrow.c\ bitmap.c blink.c bound.c box.c break.c\