| 1 |
(c) 1992 - 1994 H. Werntges HP2XX release 3.x |
| 2 |
================= |
| 3 |
|
| 4 |
Files in ./makes: |
| 5 |
--------------------- |
| 6 |
|
| 7 |
README This file |
| 8 |
|
| 9 |
generic.mak Generic Makefile, primarily for UNIX-like systems |
| 10 |
|
| 11 |
amiga.mak Makefile for AMIGA (last release by CHL, 01/93) |
| 12 |
atari.mak Makefile for ATARI (last release by AS, 01/93) |
| 13 |
borland.mak Makefile for DOS & Borland C++, tested with BCC 2.0 |
| 14 |
dosdjgpp.mak Makefile for DOS and DJ Delorie's go32 and gcc/g++ adaptation |
| 15 |
os2emx.mak Makefile for OS/2 2.x and the E. Mattes' emx and gcc/g++, |
| 16 |
tested with OS/2 2.[01] & emx-0.8[efg] |
| 17 |
|
| 18 |
generic.mak Generic Makefile, primarily for UNIX-like systems |
| 19 |
|
| 20 |
vax-make.com Make script for VAX-VMS |
| 21 |
descrip.mms MMS script for VAX-VMS |
| 22 |
gnu.opt Option file for VAX-VMS |
| 23 |
vax.opt Option file for VAX-VMS |
| 24 |
|
| 25 |
cc-to-os.cmd Simple make mechanism for OS/2 (full-screen previewer), by HSz |
| 26 |
|
| 27 |
|
| 28 |
|
| 29 |
For installation, |
| 30 |
|
| 31 |
o select the makefile template most closely resembling |
| 32 |
your system's needs. On Unix systems, use "generic.mak". |
| 33 |
|
| 34 |
o copy it to ../sources/makefile. The Makefile that is originally |
| 35 |
installed there as part of the source distribution is what i use |
| 36 |
for development on Linux systems. |
| 37 |
|
| 38 |
o cd ../sources |
| 39 |
|
| 40 |
o manually adapt (edit) makefile. Sorry - installation procedure is only |
| 41 |
beginning to evolve here due to lack of test facilities. |
| 42 |
|
| 43 |
The special makefiles should hardly need any modification. Edit them |
| 44 |
only if they don't work right away. |
| 45 |
|
| 46 |
For the generic makefile, there are three configuration steps: |
| 47 |
|
| 48 |
1) Site-specific changes: |
| 49 |
|
| 50 |
-- Change the (prefix) definition to where you want to install hp2xx. |
| 51 |
-- Change the compiler (CC) and the compiler switches (CFLAGS). |
| 52 |
The defaults use gcc, of course. |
| 53 |
-- If needed, add library paths and include paths (LDFLAGS, CPPFLAGS). |
| 54 |
|
| 55 |
2) System-specific changes: |
| 56 |
|
| 57 |
-- Main configuration step: |
| 58 |
|
| 59 |
Un-comment the definitions for your target system |
| 60 |
and comment-out the default definitions. |
| 61 |
|
| 62 |
If your system is not listed, try the defaults first, and modify |
| 63 |
them if needed. Study the other systems' settings to get an idea |
| 64 |
of what modification may be necessary. |
| 65 |
|
| 66 |
3) Optional additions: |
| 67 |
Optionally select support for TIFF and/or PNG output by un-commenting |
| 68 |
the appropriate definitions. Both require additional libraries, which |
| 69 |
are available from www.libtiff.org and www.libpng.org, respectively. |
| 70 |
Libpng (and potentially also libtiff, depending on which options |
| 71 |
you chose for it) also requires zlib for compression algorithms, |
| 72 |
the libpng website should contain a pointer to it. |
| 73 |
Users of Epson Stylus family inkjets may add the preliminary |
| 74 |
support provided by the to_escp2 module. Printing is currently |
| 75 |
very slow due to the use of only one line of nozzles, so piping |
| 76 |
the output of the postscript module into ghostscript might be a |
| 77 |
better choice. |
| 78 |
Optionally add support for modes PIC and PAC by un-commenting |
| 79 |
the appropriate lines. These formats appear to have been |
| 80 |
quite popular in the Atari world once, and the code for them |
| 81 |
in hp2xx dates back to Werntges' original version. |
| 82 |
|
| 83 |
|
| 84 |
o Run "make all" from ../sources. This should result in a binary file. |
| 85 |
|
| 86 |
o Optionally run a few tests using the HP-GL files in ../hp-tests |
| 87 |
|
| 88 |
o INSTALLATION: |
| 89 |
|
| 90 |
Either put this file somewhere on the search path, |
| 91 |
etc. in /usr/local/bin, or run "make install-bin" (if provided). |
| 92 |
|
| 93 |
Optionally install the documentation (see ../doc/README). If provided |
| 94 |
(generic makefile), use |
| 95 |
|
| 96 |
-- "make install-man" to install the manual page, |
| 97 |
-- "make install-info" to install the info file (recommended) |
| 98 |
|
| 99 |
NOTE: |
| 100 |
-- "make install" installs both the binary and all docs. |
| 101 |
|
| 102 |
o Optionally run "make clean" (not always provided). |
| 103 |
|
| 104 |
|
| 105 |
|
| 106 |
----------------------------------------------------------------------------- |