head	1.4;
access;
symbols
	RELENG_2_1_7_RELEASE:1.1.1.1
	RELENG_2_1_6_1_RELEASE:1.1.1.1
	RELENG_2_1_6_RELEASE:1.1.1.1
	RELENG_2_1_5_RELEASE:1.1.1.1
	RELENG_2_1_0_RELEASE:1.1.1.1
	RELENG_2_1_0:1.1.1.1.0.4
	RELENG_2_1_0_BP:1.1.1.1
	RELENG_2_0_5_RELEASE:1.1.1.1
	RELENG_2_0_5:1.1.1.1.0.2
	RELENG_2_0_5_BP:1.1.1.1
	RELENG_2_0_5_ALPHA:1.1.1.1
	V1_09:1.1.1.1
	FSF:1.1.1;
locks; strict;
comment	@# @;


1.4
date	96.09.08.01.08.47;	author pst;	state dead;
branches;
next	1.3;

1.3
date	96.08.05.00.41.54;	author pst;	state Exp;
branches;
next	1.2;

1.2
date	96.06.16.13.15.24;	author jkh;	state dead;
branches;
next	1.1;

1.1
date	95.01.15.08.09.57;	author pst;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	95.01.15.08.09.58;	author pst;	state Exp;
branches;
next	;


desc
@@


1.4
log
@Groff is dead...
@
text
@GROFF_LIBDIR = /usr/local/lib/groff
GROFF_FONTDIR = $(GROFF_LIBDIR)/font
GROFF_FONTPATH = .:$(GROFF_FONTDIR):/usr/local/lib/font:/usr/lib/font
DPIS = 75 100

PROGRAMS = gxditview xtotroff
DEPLIBS = XawClientDepLibs
LOCAL_LIBRARIES = XawClientLibs
SRCS1 = xditview.c Dvi.c draw.c font.c lex.c page.c \
        parse.c XFontName.c DviChar.c device.c
OBJS1 = xditview.o Dvi.o draw.o font.o lex.o page.o \
        parse.o XFontName.o DviChar.o device.o
SRCS2 = xtotroff.c XFontName.c DviChar.c
OBJS2 = xtotroff.o XFontName.o DviChar.o
INCLUDES = -I$(TOOLKITSRC) -I$(TOP)
MATHLIB = -lm
DEFINES = $(SIGNAL_DEFINES) -DFONTPATH=\"$(GROFF_FONTPATH)\" # -DX_NOT_STDC_ENV

ComplexProgramTarget_1(gxditview,$(LOCAL_LIBRARIES),$(MATHLIB))
NormalProgramTarget(xtotroff,$(OBJS2),$(DEPXLIB),$(XLIB), /**/)

InstallAppDefaults(GXditview)

fonts: xtotroff DESC FontMap
	@@dir=`pwd`; \
	fonts=`sed -e 's/[	 ].*//' FontMap`; \
	for dpi in $(DPIS); do \
	  echo Making devX$$dpi; \
	  test -d ../devX$$dpi || mkdir ../devX$$dpi; \
	  rm -f ../devX$$dpi/DESC; \
	  sed -e "s/res 75/res $$dpi/" DESC >../devX$$dpi/DESC; \
	  (cd ../devX$$dpi; \
	  rm -f Makefile.sub; \
	  echo DEV=X$$dpi >Makefile.sub; \
	  echo DEVFILES=DESC $$fonts >>Makefile.sub; \
	  $$dir/xtotroff -g -r $$dpi -s 10 $$dir/FontMap); \
	  echo Making devX$$dpi-12; \
	  test -d ../devX$$dpi-12 || mkdir ../devX$$dpi-12; \
	  rm -f ../devX$$dpi-12/DESC; \
	  sed -e "s/res 75/res $$dpi/" -e 's/unitwidth 10/unitwidth 12/' DESC \
	    >../devX$$dpi-12/DESC; \
	  (cd ../devX$$dpi-12; \
	  rm -f Makefile.sub; \
	  echo DEV=X$$dpi-12 >Makefile.sub; \
	  echo DEVFILES=DESC $$fonts >>Makefile.sub; \
	  $$dir/xtotroff -g -r $$dpi -s 12 $$dir/FontMap); \
	done

extraclean: clean
	-rm -f junk tmp grot old

FORCE:
@


1.3
log
@Bring xditview back from the grave (1 of 2 commits).
@
text
@@


1.2
log
@Nuke xditview.  It was in the same category as xroach.
Screeched-For By: Michael Smith
@
text
@@


1.1
log
@Initial revision
@
text
@@


1.1.1.1
log
@groff-1.09
@
text
@@
