1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115
|
################################################################################
#
# Makefile : Top-Level Makefile for programs using kpathsea
# Author : Fabrice Popineau <Fabrice.Popineau@supelec.fr>
# Platform : Win32, Microsoft VC++ 6.0, depends upon fpTeX 0.5 sources
# Time-stamp: <01/12/03 15:20:02 popineau>
#
################################################################################
root_srcdir = ..\..
INCLUDE=$(INCLUDE);$(root_srcdir)\texk
version = 5.92a
USE_GNUW32 = 1
USE_KPATHSEA = 1
c_auto_h_dir = ../dvipsk
!include <msvc/common.mak>
{../dvipsk}.c{$(objdir)}.obj:
$(compile) $<
# Add -DDEFRES=dpi to DEFS to change the default resolution from 600.
# Add -DSECURE if you will install dvips with special privileges.
# Add -DNO_DEBUG to omit debugging support.
# Add -DNO_EMTEX to omit EMTEX specials.
# Add -DNO_HPS to omit hypertex support.
# Add -DNO_TPIC to omit tpic support.
#
# For VM/CMS or (perhaps) VMS or DOS compilation, need the corresponding
# subdirectory from the original dvips distribution. (Maybe dvipsk
# won't work at all on such systems; if you have info one way or the
# other, please let kb@cs.umb.edu know.)
DEFS = -DHAVE_CONFIG_H -I../dvipsk $(DEFS)
!ifdef USE_KPATHSEA
DEFS = $(DEFS) -DDEFRES=600 -DA4 -DSHIFTLOWCHARS \
-DKPATHSEA \
-DDOWNLOAD_USING_PDFTEX \
-DNeedFunctionPrototypes -DOmega
!else
DEFS = $(DEFS) -DDEFRES=600
!endif
# writet1.c is taken from pdftex
pdftexdir = ../web2c/pdftexdir
# The `t[mp]-' business is so that we don't create an empty .pro file,
# if running squeeze fails for some reason. A dependency on squeeze
# fails here, so we include it below.
.SUFFIXES: .pro .lpro
.lpro.pro:
.\$(objdir)\squeeze <$< >t-$@
$(MV) t-$@ $@ && $(RM) t-$@
prologues = tex.pro texps.pro texc.pro special.pro finclude.pro \
color.pro crop.pro hps.pro
objects = $(objdir)\dospecial.obj $(objdir)\dviinput.obj \
$(objdir)\emspecial.obj $(objdir)\fontdef.obj \
$(objdir)\loadfont.obj $(objdir)\dvips.obj \
$(objdir)\tfmload.obj $(objdir)\download.obj \
$(objdir)\prescan.obj $(objdir)\scanpage.obj \
$(objdir)\skippage.obj $(objdir)\output.obj \
$(objdir)\scalewidth.obj $(objdir)\dosection.obj \
$(objdir)\dopage.obj $(objdir)\resident.obj \
$(objdir)\search.obj $(objdir)\unpack.obj \
$(objdir)\drawPS.obj $(objdir)\header.obj \
$(objdir)\repack.obj $(objdir)\virtualfont.obj \
$(objdir)\dpicheck.obj $(objdir)\finclude.obj \
$(objdir)\writet1.obj $(objdir)\pprescan.obj \
$(objdir)\papersiz.obj $(objdir)\color.obj \
$(objdir)\bbox.obj $(objdir)\hps.obj
program = $(objdir)\odvips.exe
programs = $(program)
default: all
all: $(objdir) $(programs)
$(program): $(objects) $(kpathsealib)
$(link) $(**) $(conlibs)
$(objdir)\writet1.obj: $(pdftexdir)\writet1.c
$(compile) -I$(pdftexdir) $(pdftexdir)\writet1.c
c-auto.in: ..\dvipsk\c-auto.in
@echo $(verbose) & $(copy) ..\dvipsk\c-auto.in . $(redir_stdout)
!include <msvc/config.mak>
installdirs = $(scriptdir) $(fontdir)
!include <msvc/install.mak>
install:: install-exec
!include <msvc/clean.mak>
!ifdef MAINT
depend:
# pushd ../dvipsk & $(MAKE) -$(MAKEFLAGS) $@ & popd
# FIXME: this does not work !
sed -e "s@\([ ]\)\([A-z0-9_-][A-z0-9_-]*\)\.\([ch]\)\>@\1../dvipsk/\2.\3@g" \
< ../dvipsk/depend.mak > ./depend.mak
!endif
!include "./depend.mak"
#
# Local Variables:
# mode: Makefile
# End:
|