Debian Codegraph @

texk/dvipsk/atari/makefile.atari

raw
1 #
2 # Makefile for dvips. Edit this first part of the file.
3 #
4 # First, the things that absolutely must be edited for your system.
5 # Please, don't forget to edit MakeTeXPK in the same way!
6
7 CC = d:\tcc\tcc.ttp
8 LD = d:\tcc\tlink.ttp
9
10 # change -DDEFRES=300 or whatever is required
11 # if the default resolution is not 300 dpi,
12 # add -DDEBUG to turn on debugging capability
13 # add -DTPIC for tpic support
14 # add -DFONTLIB to search font libraries
15 # add -DSEARCH_SUBDIRECTORIES to search the FONTSUBDIRPATH.
16 # add -DHAVE_GETCWD if you have getcwd (relevant only for subdir searching)
17 # add -DIBM6000 for compiling on IBM 6000 systems
18 # add -DCREATIONDATE if your system has a working time() and you want dated files
19 # (for VM/CMS, see the MKDVIPS.EXEC file in the vmcms subdirectory).
20 #
21 # If you define FONTLIB, make sure to also give definitions to
22 # FLIPATH and FLINAME.
23 #
24 # If your compiler doesn't like void*, then add
25 # -DVOID=char
26 #
27 DEFS = -DDEFRES=300 -DCREATIONDATE
28
29 # either use
30 # OPT = -O -funsigned-char
31 # or
32 OPT = -DATARIST -K -P -R -W-pro -Id:\tcc\h -Id:\tcc\h\x
33
34 # If you are compiling dvips for suid or other privileges, you will
35 # definitely want to define the following symbol; else don't.
36 # SECURE = -DSECURE
37
38 # If you want EMTEX specials, define the following.
39 EMTEX = # -DEMTEX
40
41 # for SYSV (and friends which use <string.h> instead of <strings.h>)
42 # define the c-compiler flag
43 # add -D_POSIX_SOURCE if you are POSIX (also define SYSV) (only relevant
44 # for subdir searching)
45 # SYS = -DSYSV
46
47 CFLAGS = $(DEFS) $(OPT) $(SYS) $(SECURE) $(EMTEX) $(DEFPFMT)
48 LDFLAGS =
49
50 SRC = dospecial.c dviinput.c fontdef.c loadfont.c dvips.c tfmload.c \
51 download.c prescan.c scanpage.c skippage.c output.c scalewidth.c \
52 dosection.c dopage.c resident.c search.c unpack.c drawps.c \
53 header.c makefont.c repack.c virtualfont.c dpicheck.c finclude.c \
54 pprescan.c papersiz.c flib.c color.c bbox.c emspecial.c
55
56 OBJ = dospecial.o dviinput.o fontdef.o loadfont.o dvips.o tfmload.o \
57 download.o prescan.o scanpage.o skippage.o output.o scalewidth.o \
58 dosection.o dopage.o resident.o search.o unpack.o drawps.o \
59 header.o makefont.o repack.o virtualfont.o dpicheck.o finclude.o \
60 pprescan.o papersiz.o flib.o color.o bbox.o emspecial.o
61
62 all : afm2tfm.ttp dvips.ttp tex.pro texps.pro texc.pro special.pro \
63 finclude.pro color.pro crop.pro
64
65 .c.o:
66 $(CC) $(CFLAGS) $<
67
68 dvips.ttp : $(OBJ)
69 ${LD} -O=dvips.ttp -C=dvips.lnk
70
71 afm2tfm.ttp : afm2tfm.o
72 $(LD) $(LDFLAGS) -O=afm2tfm.ttp $(LIBS) afm2tfm.o $(FLIBS)
73
74 $(OBJ) : dvips.h debug.h
75 flib.o resident.o dvips.o loadfont.o tfmload.o : paths.h
76
77 squeeze.ttp : squeeze.o
78 $(LD) $(LDFLAGS) -O=squeeze.ttp $(LIBS) squeeze.o $(FLIBS)