[comp.windows.x] Problems with Imake file

mferrare@physics.adelaide.edu.au (Mark Ferraretto) (01/29/91)

I am trying to make xdvi (patchlevel 10) on a sun4 and on a Sony 3410

Here is the Imakefile:

DEFAULT_FONT_PATH=/usr/local/tex/fonts
DEFAULT_FONT_SIZES=300:328.6:360:432:518.4:622:746.4
DEFS=-DMSBITFIRST -DBMSHORT -DBUTTONS
FONTFORMATS_C=gf.c pk.c pxl.c
FONTFORMATS_O=gf.o pk.o pxl.o

DEPLIBS=
LOCAL_LIBRARIES=
MATHLIB=-lm
SYS_LIBRARIES=$(MATHLIB)
LINTLIBS=$(LINTXAW) $(LINTXMU) $(LINTXTOOL) $(LINTEXTENSIONLIB) $(LINTXLIB) -lm
SRCS=xdvi.c dvi_init.c dvi_draw.c $(FONTFORMATS_C) pxl_open.c tpic.c
OBJS=xdvi.o dvi_init.o dvi_draw.o $(FONTFORMATS_O) pxl_open.o tpic.o
DEFINES=$(DEFS) -DDEFAULT_FONT_PATH=\"$(DEFAULT_FONT_PATH)\" \
  -DDEFAULT_FONT_SIZES=\"$(DEFAULT_FONT_SIZES)\"

ComplexProgramTarget(xdvi)

xdvi.man: xdvi_man.sed
	chmod u+x mksedscript
	./mksedscript $(DEFAULT_FONT_PATH) $(DEFAULT_FONT_SIZES) $(DEFS) \
		> sedscript
	sed -f sedscript < xdvi_man.sed > xdvi.man

clean::
	$(RM) sedscript xdvi.man


My question is:
	What goes in the DEPLIBS and LOCAL_LIBRARIES section?

I had something there before but I can't remember what it was (something like
XawClientLibs in LOCAL_LIBRARIES and XawClientDep... in DEPLIBS) I got rid
of it because I kept on getting a message:
	make: can't make XawClientLibs (or whatever it was).
When I got to that stage I'd do the final stage by hand by typing
	cc -o xdvi xdvi.o dvi_init.o dvi_draw.o gf.o pk.o pxl.o pxl_open.o tpic.o -O -lXt -lXaw -lXmu -lX11 -lXt -lm -lmld

	I worked that out all by myself :-)
	Anyhow now when I run xdvi it says it can't find all the fonts.  So 
something must be wrong - any ideas?  I reckon it's with the makefile.
--
       _             Name  : Mark Ferraretto
      \  \           Place : Department of Physics and Mathematical Physics
 ||     \  \                 University of Adelaide
==========>==>==--   Aarnet: mferrare@physics.adelaide.edu.au