home *** CD-ROM | disk | FTP | other *** search
/ The Datafile PD-CD 5 / DATAFILE_PDCD5.iso / utilities / t / tex / !dvips / Documents / Fonts / Source / Makefile < prev    next >
Encoding:
Makefile  |  1995-01-20  |  8.3 KB  |  312 lines

  1. # Project:   dvips
  2.  
  3. #   Makefile for dvips on RISC OS machines.
  4. #
  5. # NOTE: the slight change in name from `squeeze' to `squeezeps'
  6. #   is necessary to avoid the clash with the development binary
  7. #   `squeeze'.
  8. #
  9. #   First, the things that absolutely must be edited for your
  10. #   system.
  11. #
  12. #   Well the default search directories aren't important
  13. #   like they are on, say, a Unix sustem.  We take MJS's
  14. #   armTeX strategy and #totally# replace them if the
  15. #   apropriate enviroment variables set, which they normally
  16. #   are.  If you are making an installation ie. using "amu
  17. #   install" as opposed to just "amu all", please ensure
  18. #   that these variables are set correctly for your system,
  19. #   otherwise this file will not have a clue where to put
  20. #   anything!  Also you may need to edit BINDIR.
  21. #
  22. #   Please, don't forget to edit MakeTeXPK if necessary.
  23.  
  24.  
  25. # ---------------- Edit this part of the file. -----------------
  26.  
  27. # Where the installed binaries and Obey file go.
  28. BINDIR = <dvips$Dir>.Library
  29.  
  30. # Where to install the header files.
  31. HEADERDIR = <dvips$Dir>.Resources
  32.  
  33. # Define this to be whatever you use for installation.  If you don't have
  34. # an install binary, use an Obey file that invokes Copy and Accesses the
  35. # files appropriately.
  36. INSTALL = <Prefix$Dir>.install
  37.  
  38. # The name of the binary to `sueeze' PostScript files.
  39. SQUEEZE = <Prefix$Dir>.squeezeps
  40.  
  41. # The default path to search for TFM files 
  42. # (private fonts are given an explicit directory, which overrides the path)
  43. #  ** Overridden by the environment variable TeXFonts$Path.
  44. TFMPATH = \"$.TeX.Fonts.\"
  45.  
  46. # The default path to search for PK files
  47. # Don't forget to add the directory that MakeTeXPK puts the files!
  48. # ** Overridden by the environment variable `TeXFonts$Path'.
  49. PKPATH = \"$.TeX.Fonts.\"
  50.  
  51. # The default path to search for VF files
  52. # ** Overridden by the environment variable `TeXFonts$Path'.
  53. VFPATH = \"$.TeX.Fonts.\"
  54.  
  55. # The default path to search for config files
  56. # ** Overridden by the environment variable `dvips$Path'.
  57. CONFIGPATH = \"$.TeX.PS.\"
  58.  
  59. # The name of your config file
  60. CONFIGFILE = \"config.ps\"
  61.  
  62. # The default path to search for header files
  63. # ** Overridden by the environment variable `dvipsHeader$Path'.
  64. HEADERPATH = \"$.TeX.PS.\"
  65.  
  66. # The default path to search for epsf and psfiles
  67. # (usually the same as TeX's defaultinputpath)
  68. # ** Overridden by the environment variable `TeXInputs$Path'.
  69. FIGPATH = \"$.TeX.TeXInputs.\"
  70.  
  71. # If you want emTeX specials, uncomment the following.
  72. # EMTEX = -DEMTEX
  73.  
  74. # Change -DDEFRES=300 or whatever is required
  75. #    if the default resolution is not 300 dpi,
  76. # add -DDEBUG to turn on debugging capability
  77. # add -DTPIC for tpic support
  78. # add -DFONTLIB to search font libraries
  79. # add -DSEARCH_SUBDIRECTORIES to search the FONTSUBDIRPATH.
  80. # add -DIGNORE_CWD to ignore the current working directory.
  81. # add -DCREATIONDATE if your system has a working time() and you want dated files
  82. # add -DGHOST to make for easier working with GhostScript 2.2/Arc-2
  83. #
  84. #   If your compiler doesn't like void*, then add
  85. #      -DVOID=char
  86. #
  87. DEFS = -DTPIC -DANSI -DDEBUG -DDEFRES=300 -DCREATIONDATE -DRISCOS $(EMTEX)
  88.  
  89. # ---------------------- Edits end here. ------------------------
  90.  
  91.  
  92. PATHS= -DTFMPATH="$(TFMPATH)"\
  93.        -DPKPATH="$(PKPATH)"\
  94.        -DVFPATH="$(VFPATH)"\
  95.        -DHEADERPATH="$(HEADERPATH)"\
  96.        -DCONFIGPATH="$(CONFIGPATH)"\
  97.        -DCONFIGFILE="$(CONFIGFILE)"\
  98.        -DFIGPATH="$(FIGPATH)"
  99.  
  100.  
  101. # Toolflags:
  102. CCflags =   -W -fwca -pcc -depend !Depend -throwback -IC: $(DEFS) $(PATHS)
  103. Linkflags = -o $@
  104. Squeezeflags = -o $@
  105.  
  106. OBJ = o.dospecial o.dviinput o.fontdef o.loadfont o.dvips \
  107.         o.tfmload o.download o.prescan o.scanpage o.skippage \
  108.         o.output o.scalewidth o.dosection o.dopage o.resident \
  109.         o.search o.unpack o.drawPS o.header o.makefont \
  110.         o.repack o.virtualfon o.dpicheck o.finclude o.pprescan \
  111.         o.papersiz o.flib o.color o.bbox o.emspecial 
  112.  
  113. LIBS = C:o.stubs
  114.  
  115.  
  116. # Final targets:
  117. all: dvips afm2tfm pro.tex pro.texps pro.texc pro.special \
  118.      pro.finclude pro.color pro.crop
  119.  
  120. dvips: $(OBJ)
  121.         link $(Linkflags) $(OBJ) $(LIBS)
  122.         squeeze $(Squeezeflags) dvips 
  123.  
  124. afm2tfm: c.afm2tfm
  125.         cc $(CCflags) c.afm2tfm
  126.         squeeze $(Squeezeflags) afm2tfm
  127.         
  128. squeezeps: c.squeeze
  129.         cc $(CCflags) c.squeeze
  130.         -Rename squeeze squeezeps
  131.         squeeze $(Squeezeflags) squeezeps
  132.  
  133. pro.tex: lpro.tex squeezeps
  134.         $(SQUEEZE) < lpro.tex > pro.tex
  135.  
  136. pro.texc: lpro.texc squeezeps
  137.         $(SQUEEZE) < lpro.texc > pro.texc
  138.  
  139. pro.texps: lpro.texps squeezeps
  140.         $(SQUEEZE) < lpro.texps > pro.texps
  141.  
  142. pro.special: lpro.special squeezeps
  143.         $(SQUEEZE) < lpro.special > pro.special
  144.  
  145. pro.finclude: lpro.finclude squeezeps
  146.         $(SQUEEZE) < lpro.finclude > pro.finclude
  147.  
  148. pro.color: lpro.color squeezeps
  149.         $(SQUEEZE) < lpro.color > pro.color
  150.  
  151. pro.crop: lpro.crop squeezeps
  152.         $(SQUEEZE) < lpro.crop > pro.crop
  153.         
  154. install: afm2tfm dvips MakeTeXPK pro.tex pro.texps pro.texc \
  155.          pro.special pro.finclude pro.color pro.crop
  156.         $(INSTALL) LR ff8 afm2tfm $(BINDIR) afm2tfm
  157.         $(INSTALL) LR ff8 dvips $(BINDIR) dvips
  158.         $(INSTALL) LR feb MakeTeXPK $(BINDIR) MakeTeXPK
  159.         $(INSTALL) LR feb MakePKs $(BINDIR) MakePKs
  160.         $(INSTALL) LR ff5 pro.tex $(HEADERDIR).pro tex
  161.         $(INSTALL) LR ff5 pro.texc $(HEADERDIR).pro texc
  162.         $(INSTALL) LR ff5 pro.texps $(HEADERDIR).pro texps
  163.         $(INSTALL) LR ff5 pro.special $(HEADERDIR).pro special
  164.         $(INSTALL) LR ff5 pro.finclude $(HEADERDIR).pro finclude
  165.         $(INSTALL) LR ff5 pro.color $(HEADERDIR).pro color
  166.         $(INSTALL) LR ff5 pro.crop $(HEADERDIR).pro crop
  167.  
  168. clean:
  169.         -Wipe o.* ~CF~R~V
  170.         -Wipe pro.* ~CF~R~V
  171.         -Wipe squeezeps ~CF~R~V
  172.  
  173. veryclean: clean
  174.         -Wipe afm2tfm ~CF~R~V
  175.         -Wipe dvips ~CF~R~V
  176.  
  177.  
  178. # Static dependencies:
  179. .SUFFIXES: .o
  180. .c.o:;  cc -c -o $@ $(CCflags) $<
  181.  
  182.  
  183. # User-editable dependencies:
  184.  
  185.  
  186. # Dynamic dependencies:
  187. o.dospecial:    c.dospecial
  188. o.dospecial:    h.dvips
  189. o.dospecial:    h.paths
  190. o.dospecial:    h.debug
  191. o.dviinput:    c.dviinput
  192. o.dviinput:    h.dvips
  193. o.dviinput:    h.paths
  194. o.dviinput:    h.debug
  195. o.fontdef:    c.fontdef
  196. o.fontdef:    h.dvips
  197. o.fontdef:    h.paths
  198. o.fontdef:    h.debug
  199. o.loadfont:    c.loadfont
  200. o.loadfont:    h.dvips
  201. o.loadfont:    h.paths
  202. o.loadfont:    h.debug
  203. o.dvips:    c.dvips
  204. o.dvips:    h.dvips
  205. o.dvips:    h.paths
  206. o.dvips:    h.debug
  207. o.dvips:    C:h.kernel
  208. o.dvips:    C:h.swis
  209. o.tfmload:    c.tfmload
  210. o.tfmload:    h.dvips
  211. o.tfmload:    h.paths
  212. o.tfmload:    h.debug
  213. o.download:    c.download
  214. o.download:    h.dvips
  215. o.download:    h.paths
  216. o.download:    h.debug
  217. o.prescan:    c.prescan
  218. o.prescan:    h.dvips
  219. o.prescan:    h.paths
  220. o.prescan:    h.debug
  221. o.scanpage:    c.scanpage
  222. o.scanpage:    h.dvips
  223. o.scanpage:    h.paths
  224. o.scanpage:    h.debug
  225. o.skippage:    c.skippage
  226. o.skippage:    h.dvips
  227. o.skippage:    h.paths
  228. o.skippage:    h.debug
  229. o.output:    c.output
  230. o.output:    h.dvips
  231. o.output:    h.paths
  232. o.output:    h.debug
  233. o.output:    C:h.kernel
  234. o.scalewidth:    c.scalewidth
  235. o.scalewidth:    h.dvips
  236. o.scalewidth:    h.paths
  237. o.scalewidth:    h.debug
  238. o.dosection:    c.dosection
  239. o.dosection:    h.dvips
  240. o.dosection:    h.paths
  241. o.dosection:    h.debug
  242. o.dopage:    c.dopage
  243. o.dopage:    h.dvips
  244. o.dopage:    h.paths
  245. o.dopage:    h.debug
  246. o.resident:    c.resident
  247. o.resident:    h.dvips
  248. o.resident:    h.paths
  249. o.resident:    h.debug
  250. o.resident:    h.paths
  251. o.search:    c.search
  252. o.search:    h.dvips
  253. o.search:    h.paths
  254. o.search:    h.debug
  255. o.unpack:    c.unpack
  256. o.unpack:    h.dvips
  257. o.unpack:    h.paths
  258. o.unpack:    h.debug
  259. o.drawPS:    c.drawPS
  260. o.drawPS:    h.dvips
  261. o.drawPS:    h.paths
  262. o.drawPS:    h.debug
  263. o.header:    c.header
  264. o.header:    h.dvips
  265. o.header:    h.paths
  266. o.header:    h.debug
  267. o.repack:    c.repack
  268. o.repack:    h.dvips
  269. o.repack:    h.paths
  270. o.repack:    h.debug
  271. o.virtualfon:    c.virtualfon
  272. o.virtualfon:    h.dvips
  273. o.virtualfon:    h.paths
  274. o.virtualfon:    h.debug
  275. o.dpicheck:    c.dpicheck
  276. o.dpicheck:    h.dvips
  277. o.dpicheck:    h.paths
  278. o.dpicheck:    h.debug
  279. o.finclude:    c.finclude
  280. o.finclude:    h.dvips
  281. o.finclude:    h.paths
  282. o.finclude:    h.debug
  283. o.pprescan:    c.pprescan
  284. o.pprescan:    h.dvips
  285. o.pprescan:    h.paths
  286. o.pprescan:    h.debug
  287. o.papersiz:    c.papersiz
  288. o.papersiz:    h.dvips
  289. o.papersiz:    h.paths
  290. o.papersiz:    h.debug
  291. o.flib:    c.flib
  292. o.color:    c.color
  293. o.color:    h.dvips
  294. o.color:    h.paths
  295. o.color:    h.debug
  296. o.bbox:    c.bbox
  297. o.bbox:    h.dvips
  298. o.bbox:    h.paths
  299. o.bbox:    h.debug
  300. o.emspecial:    c.emspecial
  301. o.emspecial:    h.dvips
  302. o.emspecial:    h.paths
  303. o.emspecial:    h.debug
  304. o.afm2tfm:    c.afm2tfm
  305. o.squeeze:    c.squeeze
  306. o.makefont:    c.makefont
  307. o.makefont:    h.dvips
  308. o.makefont:    h.paths
  309. o.makefont:    h.debug
  310. o.makefont:    C:h.kernel
  311. o.makefont:    C:h.swis
  312.