#
# Copyright (c) Matsushita Electric Industrial Co.,Ltd. 1994
#
# $Id: Imakefile,v 1.18 1994/03/24 13:15:08 kakiuchi Exp $
#
#
# This is a Imakefile for a jdvi2kps DVI driver.
#
# The following file and directory specifications may need changing at
# your site:

# postscript options
# where is the header file to be found?
           HDRDIR = /usr/lib/tex
           PSPATH = .

# where is the software to be installed
           BINDIR = /usr/local/bin

# libraries to be linked with
      COMMON_LIBS = ../dvi/libdvi.a ../fonts/libfont.a
  LOCAL_LIBRARIES = $(COMMON_LIBS)

      CDEBUGFLAGS = -g -DDEBUG
          SYSLIBS =
         INCLUDES = -I../dvi -I../fonts
          DEFINES = -DHDRFILE=\"$(HDRDIR)/jdvi2.ps\" -DPS_PATH=\"$(PSPATH)\"\
                    -DPTEX -DJDVI2KPS
         PROGRAMS = jdvi2kps
            SRCS1 = jdvi2.c postscript.c
            OBJS1 = jdvi2.o postscript.o

ComplexProgramTarget_1($(PROGRAMS),$(LOCAL_LIBRARIES),$(SYSLIBS))
InstallProgramWithFlags(jdvi2.ps,$(HDRDIR),-m 0444)

depend:: psmtradj.h
psmtradj.h:
	(cd ./adjust_fonts;\
	 echo "/*";\
	 echo " * Copyright (c) Matsushita Electric Industrial Co.,Ltd. 1994";\
	 echo " *";\
	 echo " * \$$Id\$$";\
	 echo " */";\
	 echo "";\
	 ../mkOffsetTbl min10.pl Ryumin-Light-H.afm min;\
	 ../mkOffsetTbl tmin10.pl Ryumin-Light-V.afm tmin;\
	 ../mkOffsetTbl goth10.pl GothicBBB-Medium-H.afm goth;\
	 ../mkOffsetTbl tgoth10.pl GothicBBB-Medium-V.afm tgoth) > $@

NormalLintTarget($(SRCS1))
