home *** CD-ROM | disk | FTP | other *** search
view JSON data
|
view as text
|
open on a Mac
|
open on a PC
This file was processed as: SHell self-extracting ARchive
(archive/shar).
You can browse this item here: 1
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| Newsgroup Content (archive/news)
| magic
| Supported |
100%
| dexvert
| SHell self-extracting ARchive (archive/shar)
| magic
| Supported |
100%
| dexvert
| Internet Message Format (text/imf)
| magic
| Supported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| news, ASCII text
| default
| |
100%
| checkBytes
| Printable ASCII
| default
| |
100%
| dexmagic
| PrintFox/Pagefox WEAK
| default
| |
100%
| perlTextCheck
| Likely Text (Perl)
| default
| |
100%
| siegfried
| fmt/329 Shell Archive Format
| default
| |
100%
| detectItEasy
| Format: plain text[LF]
| default (weak)
| |
100%
| xdgMime
| message/news
| default
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 50 61 74 68 3a 20 75 75 | 6e 65 74 21 68 75 73 63 |Path: uu|net!husc|
|00000010| 36 21 72 75 74 67 65 72 | 73 21 63 6c 79 64 65 21 |6!rutger|s!clyde!|
|00000020| 63 62 6f 73 67 64 21 6d | 61 6e 64 72 69 6c 6c 21 |cbosgd!m|andrill!|
|00000030| 68 61 6c 21 6e 63 6f 61 | 73 74 21 61 6c 6c 62 65 |hal!ncoa|st!allbe|
|00000040| 72 79 0a 46 72 6f 6d 3a | 20 6c 6a 7a 40 66 78 67 |ry.From:| ljz@fxg|
|00000050| 72 70 2e 55 55 43 50 20 | 28 4c 6c 6f 79 64 20 5a |rp.UUCP |(Lloyd Z|
|00000060| 75 73 6d 61 6e 29 0a 4e | 65 77 73 67 72 6f 75 70 |usman).N|ewsgroup|
|00000070| 73 3a 20 63 6f 6d 70 2e | 73 6f 75 72 63 65 73 2e |s: comp.|sources.|
|00000080| 6d 69 73 63 0a 53 75 62 | 6a 65 63 74 3a 20 22 6d |misc.Sub|ject: "m|
|00000090| 6b 6d 66 22 20 6d 61 6b | 65 66 69 6c 65 20 6d 61 |kmf" mak|efile ma|
|000000a0| 6b 65 72 20 28 31 20 6f | 66 20 32 29 0a 4d 65 73 |ker (1 o|f 2).Mes|
|000000b0| 73 61 67 65 2d 49 44 3a | 20 3c 36 39 30 33 40 6e |sage-ID:| <6903@n|
|000000c0| 63 6f 61 73 74 2e 55 55 | 43 50 3e 0a 44 61 74 65 |coast.UU|CP>.Date|
|000000d0| 3a 20 32 36 20 44 65 63 | 20 38 37 20 30 32 3a 33 |: 26 Dec| 87 02:3|
|000000e0| 39 3a 32 35 20 47 4d 54 | 0a 53 65 6e 64 65 72 3a |9:25 GMT|.Sender:|
|000000f0| 20 61 6c 6c 62 65 72 79 | 40 6e 63 6f 61 73 74 2e | allbery|@ncoast.|
|00000100| 55 55 43 50 0a 4c 69 6e | 65 73 3a 20 32 32 39 31 |UUCP.Lin|es: 2291|
|00000110| 0a 41 70 70 72 6f 76 65 | 64 3a 20 61 6c 6c 62 65 |.Approve|d: allbe|
|00000120| 72 79 40 6e 63 6f 61 73 | 74 2e 55 55 43 50 0a 58 |ry@ncoas|t.UUCP.X|
|00000130| 2d 41 72 63 68 69 76 65 | 3a 20 63 6f 6d 70 2e 73 |-Archive|: comp.s|
|00000140| 6f 75 72 63 65 73 2e 6d | 69 73 63 2f 6d 6b 6d 66 |ources.m|isc/mkmf|
|00000150| 2f 31 0a 0a 49 20 68 6f | 70 65 20 49 20 61 6d 20 |/1..I ho|pe I am |
|00000160| 70 6f 73 74 69 6e 67 20 | 74 68 69 73 20 74 6f 20 |posting |this to |
|00000170| 74 68 65 20 72 69 67 68 | 74 20 70 65 72 73 6f 6e |the righ|t person|
|00000180| 2e 20 20 49 20 61 73 73 | 75 6d 65 20 79 6f 75 20 |. I ass|ume you |
|00000190| 61 72 65 0a 74 68 65 20 | 6d 6f 64 65 72 61 74 6f |are.the |moderato|
|000001a0| 72 20 6f 66 20 63 6f 6d | 70 2e 73 6f 75 72 63 65 |r of com|p.source|
|000001b0| 73 2e 6d 69 73 63 2e 0a | 0a 49 6e 20 61 20 72 65 |s.misc..|.In a re|
|000001c0| 63 65 6e 74 20 70 6f 73 | 74 69 6e 67 20 49 20 6d |cent pos|ting I m|
|000001d0| 65 6e 74 69 6f 6e 65 64 | 20 61 20 70 72 6f 67 72 |entioned| a progr|
|000001e0| 61 6d 20 63 61 6c 6c 65 | 64 20 22 6d 6b 6d 66 22 |am calle|d "mkmf"|
|000001f0| 20 77 68 69 63 68 0a 6d | 61 6b 65 73 20 6d 61 6b | which.m|akes mak|
|00000200| 65 66 69 6c 65 73 2e 20 | 20 4c 6f 74 73 20 6f 66 |efiles. | Lots of|
|00000210| 20 70 65 6f 70 6c 65 20 | 68 61 76 65 20 73 65 6e | people |have sen|
|00000220| 74 20 6d 65 20 6d 61 69 | 6c 20 72 65 71 75 65 73 |t me mai|l reques|
|00000230| 74 69 6e 67 0a 74 68 69 | 73 20 73 6f 66 74 77 61 |ting.thi|s softwa|
|00000240| 72 65 2c 20 73 6f 20 68 | 65 72 65 20 69 74 20 69 |re, so h|ere it i|
|00000250| 73 2e 20 20 49 6e 20 74 | 68 65 20 61 66 6f 72 65 |s. In t|he afore|
|00000260| 6d 65 6e 74 69 6f 6e 65 | 64 20 70 6f 73 74 69 6e |mentione|d postin|
|00000270| 67 2c 0a 49 20 73 61 69 | 64 20 74 68 69 73 20 70 |g,.I sai|d this p|
|00000280| 72 6f 67 72 61 6d 20 69 | 73 20 22 6e 65 74 77 61 |rogram i|s "netwa|
|00000290| 72 65 22 2c 20 62 75 74 | 20 61 70 70 61 72 65 6e |re", but| apparen|
|000002a0| 74 6c 79 20 69 74 20 68 | 61 73 20 6e 6f 74 0a 62 |tly it h|as not.b|
|000002b0| 65 65 6e 20 70 6f 73 74 | 65 64 20 6f 6e 20 74 68 |een post|ed on th|
|000002c0| 65 20 6e 65 74 20 28 3f | 3f 3f 29 2e 20 20 49 74 |e net (?|??). It|
|000002d0| 20 69 73 2c 20 68 6f 77 | 65 76 65 72 2c 20 64 65 | is, how|ever, de|
|000002e0| 66 69 6e 69 74 65 6c 79 | 20 69 6e 0a 74 68 65 20 |finitely| in.the |
|000002f0| 70 75 62 6c 69 63 20 64 | 6f 6d 61 69 6e 2e 0a 0a |public d|omain...|
|00000300| 49 74 20 63 6f 6d 65 73 | 20 69 6e 20 74 77 6f 20 |It comes| in two |
|00000310| 70 69 65 63 65 73 2e 20 | 20 48 65 72 65 20 69 73 |pieces. | Here is|
|00000320| 20 70 61 72 74 20 31 2e | 0a 0a 45 6e 6a 6f 79 2e | part 1.|..Enjoy.|
|00000330| 0a 0a 20 4c 6c 6f 79 64 | 20 5a 75 73 6d 61 6e 0a |.. Lloyd| Zusman.|
|00000340| 20 4d 61 73 74 65 72 20 | 42 79 74 65 20 53 6f 66 | Master |Byte Sof|
|00000350| 74 77 61 72 65 0a 20 4c | 6f 73 20 47 61 74 6f 73 |tware. L|os Gatos|
|00000360| 2c 20 43 61 6c 69 66 6f | 72 6e 69 61 09 20 20 20 |, Califo|rnia. |
|00000370| 20 09 20 20 20 20 09 49 | 6e 74 65 72 6e 65 74 3a | . .I|nternet:|
|00000380| 20 20 20 66 78 67 72 70 | 21 6c 6a 7a 40 61 6d 65 | fxgrp|!ljz@ame|
|00000390| 73 2e 61 72 70 61 0a 20 | 22 57 65 20 74 61 6b 65 |s.arpa. |"We take|
|000003a0| 20 74 68 69 6e 67 73 20 | 77 65 6c 6c 20 69 6e 20 | things |well in |
|000003b0| 68 61 6e 64 2e 22 09 20 | 20 20 20 09 55 55 43 50 |hand.". | .UUCP|
|000003c0| 3a 09 20 20 20 20 2e 2e | 2e 21 61 6d 65 73 21 66 |:. ..|.!ames!f|
|000003d0| 78 67 72 70 21 6c 6a 7a | 0a 0a 23 2d 2d 2d 2d 2d |xgrp!ljz|..#-----|
|000003e0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000003f0| 2d 2d 2d 2d 2d 43 75 74 | 20 48 65 72 65 2d 2d 2d |-----Cut| Here---|
|00000400| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000410| 2d 2d 2d 2d 2d 2d 2d 0a | 23 21 20 2f 62 69 6e 2f |-------.|#! /bin/|
|00000420| 73 68 0a 23 20 54 68 69 | 73 20 69 73 20 61 20 73 |sh.# Thi|s is a s|
|00000430| 68 65 6c 6c 20 61 72 63 | 68 69 76 65 2e 20 20 52 |hell arc|hive. R|
|00000440| 65 6d 6f 76 65 20 61 6e | 79 74 68 69 6e 67 20 62 |emove an|ything b|
|00000450| 65 66 6f 72 65 20 74 68 | 65 20 22 23 21 20 2f 62 |efore th|e "#! /b|
|00000460| 69 6e 2f 73 68 22 20 6c | 69 6e 65 2c 0a 23 20 74 |in/sh" l|ine,.# t|
|00000470| 68 65 6e 20 75 6e 70 61 | 63 6b 20 69 74 20 62 79 |hen unpa|ck it by|
|00000480| 20 73 61 76 69 6e 67 20 | 69 74 20 69 6e 20 61 20 | saving |it in a |
|00000490| 66 69 6c 65 20 61 6e 64 | 20 74 79 70 69 6e 67 20 |file and| typing |
|000004a0| 22 73 68 20 66 69 6c 65 | 2e 22 0a 23 0a 23 20 57 |"sh file|.".#.# W|
|000004b0| 72 61 70 70 65 64 20 62 | 79 20 4c 6c 6f 79 64 20 |rapped b|y Lloyd |
|000004c0| 5a 75 73 6d 61 6e 20 28 | 6c 6a 7a 29 20 61 74 20 |Zusman (|ljz) at |
|000004d0| 66 78 67 72 70 20 6f 6e | 20 54 75 65 20 44 65 63 |fxgrp on| Tue Dec|
|000004e0| 20 32 32 20 31 32 3a 35 | 33 3a 33 36 20 31 39 38 | 22 12:5|3:36 198|
|000004f0| 37 0a 23 0a 23 20 75 6e | 70 61 63 6b 73 20 77 69 |7.#.# un|packs wi|
|00000500| 74 68 20 64 65 66 61 75 | 6c 74 20 70 65 72 6d 69 |th defau|lt permi|
|00000510| 73 73 69 6f 6e 73 0a 23 | 0a 23 20 43 6f 6e 74 65 |ssions.#|.# Conte|
|00000520| 6e 74 73 20 3a 20 4d 61 | 6b 65 66 69 6c 65 20 52 |nts : Ma|kefile R|
|00000530| 45 41 44 4d 45 20 6d 61 | 6e 2f 6d 61 6e 6e 2f 6d |EADME ma|n/mann/m|
|00000540| 6b 6d 66 2e 6e 20 6d 61 | 6e 2f 6d 61 6e 6e 2f 4d |kmf.n ma|n/mann/M|
|00000550| 61 6b 65 66 69 6c 65 0a | 23 09 73 72 63 2f 4d 61 |akefile.|#.src/Ma|
|00000560| 6b 65 66 69 6c 65 20 73 | 72 63 2f 4d 6b 6d 66 2e |kefile s|rc/Mkmf.|
|00000570| 63 20 73 72 63 2f 62 61 | 64 6f 70 74 2e 63 20 73 |c src/ba|dopt.c s|
|00000580| 72 63 2f 62 75 69 6c 64 | 6c 69 73 74 2e 63 20 73 |rc/build|list.c s|
|00000590| 72 63 2f 64 65 70 65 6e | 64 2e 63 0a 23 09 73 72 |rc/depen|d.c.#.sr|
|000005a0| 63 2f 64 6c 69 73 74 2e | 63 0a 23 0a 69 66 20 60 |c/dlist.|c.#.if `|
|000005b0| 74 65 73 74 20 21 20 2d | 73 20 4d 61 6b 65 66 69 |test ! -|s Makefi|
|000005c0| 6c 65 60 0a 74 68 65 6e | 0a 65 63 68 6f 20 22 78 |le`.then|.echo "x|
|000005d0| 20 2d 20 4d 61 6b 65 66 | 69 6c 65 22 0a 73 65 64 | - Makef|ile".sed|
|000005e0| 20 27 73 2f 5e 58 2f 2f | 27 20 3e 20 4d 61 6b 65 | 's/^X//|' > Make|
|000005f0| 66 69 6c 65 20 3c 3c 20 | 27 40 5c 45 6e 64 5c 6f |file << |'@\End\o|
|00000600| 66 5c 46 69 6c 65 5c 27 | 0a 58 53 55 42 44 49 52 |f\File\'|.XSUBDIR|
|00000610| 09 20 20 20 20 20 20 3d | 20 73 72 63 20 78 2e 4d |. =| src x.M|
|00000620| 61 6b 65 66 69 6c 65 20 | 6d 61 6e 2f 6d 61 6e 6e |akefile |man/mann|
|00000630| 0a 58 0a 58 44 45 53 54 | 44 49 52 09 20 20 20 20 |.X.XDEST|DIR. |
|00000640| 20 20 3d 24 7b 48 4f 4d | 45 7d 0a 58 4d 41 4e 44 | =${HOM|E}.XMAND|
|00000650| 49 52 09 20 20 20 20 20 | 20 3d 24 7b 48 4f 4d 45 |IR. | =${HOME|
|00000660| 7d 2f 6d 61 6e 0a 58 0a | 58 61 6c 6c 3a 09 09 24 |}/man.X.|Xall:..$|
|00000670| 7b 53 55 42 44 49 52 7d | 0a 58 0a 58 24 7b 53 55 |{SUBDIR}|.X.X${SU|
|00000680| 42 44 49 52 7d 3a 09 46 | 52 43 0a 58 09 09 63 64 |BDIR}:.F|RC.X..cd|
|00000690| 20 24 40 3b 20 6d 61 6b | 65 20 24 7b 4d 46 4c 41 | $@; mak|e ${MFLA|
|000006a0| 47 53 7d 0a 58 0a 58 69 | 6e 73 74 61 6c 6c 3a 0a |GS}.X.Xi|nstall:.|
|000006b0| 58 09 66 6f 72 20 69 20 | 69 6e 20 24 7b 53 55 42 |X.for i |in ${SUB|
|000006c0| 44 49 52 7d 3b 20 64 6f | 20 5c 0a 58 09 09 28 63 |DIR}; do| \.X..(c|
|000006d0| 64 20 24 24 69 3b 20 6d | 61 6b 65 20 24 7b 4d 46 |d $$i; m|ake ${MF|
|000006e0| 4c 41 47 53 7d 20 44 45 | 53 54 44 49 52 3d 24 7b |LAGS} DE|STDIR=${|
|000006f0| 44 45 53 54 44 49 52 7d | 20 4d 41 4e 44 49 52 3d |DESTDIR}| MANDIR=|
|00000700| 24 28 4d 41 4e 44 49 52 | 29 20 69 6e 73 74 61 6c |$(MANDIR|) instal|
|00000710| 6c 29 3b 20 64 6f 6e 65 | 0a 58 0a 58 63 6c 65 61 |l); done|.X.Xclea|
|00000720| 6e 3a 0a 58 09 66 6f 72 | 20 69 20 69 6e 20 24 7b |n:.X.for| i in ${|
|00000730| 53 55 42 44 49 52 7d 3b | 20 64 6f 20 28 65 63 68 |SUBDIR};| do (ech|
|00000740| 6f 20 24 24 69 3b 20 63 | 64 20 24 24 69 3b 20 6d |o $$i; c|d $$i; m|
|00000750| 61 6b 65 20 24 7b 4d 46 | 4c 41 47 53 7d 20 63 6c |ake ${MF|LAGS} cl|
|00000760| 65 61 6e 29 3b 20 64 6f | 6e 65 0a 58 0a 58 64 65 |ean); do|ne.X.Xde|
|00000770| 70 65 6e 64 3a 0a 58 09 | 66 6f 72 20 69 20 69 6e |pend:.X.|for i in|
|00000780| 20 24 7b 53 55 42 44 49 | 52 7d 3b 20 64 6f 20 28 | ${SUBDI|R}; do (|
|00000790| 65 63 68 6f 20 24 24 69 | 3b 20 63 64 20 24 24 69 |echo $$i|; cd $$i|
|000007a0| 3b 20 6d 61 6b 65 20 24 | 7b 4d 46 4c 41 47 53 7d |; make $|{MFLAGS}|
|000007b0| 20 64 65 70 65 6e 64 29 | 3b 20 64 6f 6e 65 0a 58 | depend)|; done.X|
|000007c0| 0a 58 46 52 43 3a 0a 40 | 5c 45 6e 64 5c 6f 66 5c |.XFRC:.@|\End\of\|
|000007d0| 46 69 6c 65 5c 0a 65 6c | 73 65 0a 20 20 65 63 68 |File\.el|se. ech|
|000007e0| 6f 20 22 73 68 61 72 3a | 20 57 69 6c 6c 20 6e 6f |o "shar:| Will no|
|000007f0| 74 20 6f 76 65 72 20 77 | 72 69 74 65 20 4d 61 6b |t over w|rite Mak|
|00000800| 65 66 69 6c 65 22 0a 66 | 69 0a 69 66 20 60 74 65 |efile".f|i.if `te|
|00000810| 73 74 20 21 20 2d 73 20 | 52 45 41 44 4d 45 60 0a |st ! -s |README`.|
|00000820| 74 68 65 6e 0a 65 63 68 | 6f 20 22 78 20 2d 20 52 |then.ech|o "x - R|
|00000830| 45 41 44 4d 45 22 0a 73 | 65 64 20 27 73 2f 5e 58 |EADME".s|ed 's/^X|
|00000840| 2f 2f 27 20 3e 20 52 45 | 41 44 4d 45 20 3c 3c 20 |//' > RE|ADME << |
|00000850| 27 40 5c 45 6e 64 5c 6f | 66 5c 46 69 6c 65 5c 27 |'@\End\o|f\File\'|
|00000860| 0a 58 54 69 74 6c 65 3a | 09 09 09 6d 6b 6d 66 20 |.XTitle:|...mkmf |
|00000870| 6d 61 6b 65 66 69 6c 65 | 20 65 64 69 74 6f 72 0a |makefile| editor.|
|00000880| 58 0a 58 41 75 74 68 6f | 72 3a 09 09 09 50 65 74 |X.XAutho|r:...Pet|
|00000890| 65 72 20 4a 2e 20 4e 69 | 63 6b 6c 69 6e 0a 58 0a |er J. Ni|cklin.X.|
|000008a0| 58 41 64 64 72 65 73 73 | 3a 09 09 48 65 77 6c 65 |XAddress|:..Hewle|
|000008b0| 74 74 2d 50 61 63 6b 61 | 72 64 2c 0a 58 09 09 09 |tt-Packa|rd,.X...|
|000008c0| 53 6f 66 74 77 61 72 65 | 20 45 6e 67 69 6e 65 65 |Software| Enginee|
|000008d0| 72 69 6e 67 20 4c 61 62 | 6f 72 61 74 6f 72 79 2c |ring Lab|oratory,|
|000008e0| 0a 58 09 09 09 33 35 30 | 30 20 44 65 65 72 63 72 |.X...350|0 Deercr|
|000008f0| 65 65 6b 20 52 6f 61 64 | 2c 20 42 75 69 6c 64 69 |eek Road|, Buildi|
|00000900| 6e 67 20 32 36 55 2c 0a | 58 09 09 09 50 61 6c 6f |ng 26U,.|X...Palo|
|00000910| 20 41 6c 74 6f 2c 20 43 | 61 6c 69 66 6f 72 6e 69 | Alto, C|aliforni|
|00000920| 61 20 39 34 33 30 34 0a | 58 0a 58 4e 65 74 20 61 |a 94304.|X.XNet a|
|00000930| 64 64 72 65 73 73 3a 09 | 09 75 63 62 76 61 78 21 |ddress:.|.ucbvax!|
|00000940| 68 70 6c 61 62 73 21 68 | 70 63 65 61 21 68 70 63 |hplabs!h|pcea!hpc|
|00000950| 65 73 65 61 21 6e 69 63 | 6b 6c 69 6e 20 28 55 55 |esea!nic|klin (UU|
|00000960| 43 50 29 0a 58 0a 58 44 | 65 73 63 72 69 70 74 69 |CP).X.XD|escripti|
|00000970| 6f 6e 3a 0a 58 0a 58 54 | 68 65 20 6d 6b 6d 66 20 |on:.X.XT|he mkmf |
|00000980| 6d 61 6b 65 66 69 6c 65 | 20 65 64 69 74 6f 72 20 |makefile| editor |
|00000990| 63 72 65 61 74 65 73 20 | 20 70 72 6f 67 72 61 6d |creates | program|
|000009a0| 20 61 6e 64 20 6c 69 62 | 72 61 72 79 20 20 6d 61 | and lib|rary ma|
|000009b0| 6b 65 66 69 6c 65 73 20 | 66 6f 72 20 74 68 65 0a |kefiles |for the.|
|000009c0| 58 55 4e 49 58 20 6d 61 | 6b 65 20 63 6f 6d 6d 61 |XUNIX ma|ke comma|
|000009d0| 6e 64 20 28 55 4e 49 58 | 20 69 73 20 61 20 74 72 |nd (UNIX| is a tr|
|000009e0| 61 64 65 6d 61 72 6b 20 | 6f 66 20 42 65 6c 6c 20 |ademark |of Bell |
|000009f0| 20 54 65 6c 65 70 68 6f | 6e 65 20 20 4c 61 62 6f | Telepho|ne Labo|
|00000a00| 72 61 74 6f 72 69 65 73 | 2c 0a 58 49 6e 63 2e 29 |ratories|,.XInc.)|
|00000a10| 2e 20 20 4d 6b 6d 66 20 | 68 61 73 20 74 68 65 20 |. Mkmf |has the |
|00000a20| 66 6f 6c 6c 6f 77 69 6e | 67 20 66 65 61 74 75 72 |followin|g featur|
|00000a30| 65 73 3a 0a 58 0a 58 20 | 20 20 20 2d 20 41 75 74 |es:.X.X | - Aut|
|00000a40| 6f 6d 61 74 69 63 61 6c | 6c 79 20 69 6e 73 65 72 |omatical|ly inser|
|00000a50| 74 73 20 73 6f 75 72 63 | 65 20 61 6e 64 20 6f 62 |ts sourc|e and ob|
|00000a60| 6a 65 63 74 20 63 6f 64 | 65 20 66 69 6c 65 20 6e |ject cod|e file n|
|00000a70| 61 6d 65 73 20 69 6e 0a | 58 20 20 20 20 20 20 6d |ames in.|X m|
|00000a80| 61 6b 65 66 69 6c 65 73 | 0a 58 0a 58 20 20 20 20 |akefiles|.X.X |
|00000a90| 2d 20 50 72 6f 76 69 64 | 65 73 20 73 74 61 6e 64 |- Provid|es stand|
|00000aa0| 61 72 64 20 6d 61 6b 65 | 66 69 6c 65 20 74 65 6d |ard make|file tem|
|00000ab0| 70 6c 61 74 65 73 20 66 | 6f 72 20 70 72 6f 67 72 |plates f|or progr|
|00000ac0| 61 6d 73 20 61 6e 64 20 | 6c 69 62 72 61 72 69 65 |ams and |librarie|
|00000ad0| 73 0a 58 0a 58 20 20 20 | 20 2d 20 41 6c 6c 6f 77 |s.X.X | - Allow|
|00000ae0| 73 20 75 73 65 72 2d 64 | 65 66 69 6e 65 64 20 6d |s user-d|efined m|
|00000af0| 61 6b 65 66 69 6c 65 20 | 74 65 6d 70 6c 61 74 65 |akefile |template|
|00000b00| 73 0a 58 0a 58 20 20 20 | 20 2d 20 47 65 6e 65 72 |s.X.X | - Gener|
|00000b10| 61 74 65 73 20 69 6e 63 | 6c 75 64 65 20 66 69 6c |ates inc|lude fil|
|00000b20| 65 20 64 65 70 65 6e 64 | 65 6e 63 69 65 73 20 66 |e depend|encies f|
|00000b30| 6f 72 20 43 2c 20 50 61 | 73 63 61 6c 2c 20 61 6e |or C, Pa|scal, an|
|00000b40| 64 20 46 6f 72 74 72 61 | 6e 0a 58 20 20 20 20 20 |d Fortra|n.X |
|00000b50| 20 73 6f 75 72 63 65 20 | 63 6f 64 65 0a 58 0a 58 | source |code.X.X|
|00000b60| 20 20 20 20 2d 20 41 6c | 6c 6f 77 73 20 61 72 62 | - Al|lows arb|
|00000b70| 69 74 72 61 72 79 20 65 | 64 69 74 69 6e 67 20 6f |itrary e|diting o|
|00000b80| 66 20 6d 61 6b 65 66 69 | 6c 65 73 20 77 69 74 68 |f makefi|les with|
|00000b90| 20 61 20 72 65 67 75 6c | 61 72 20 74 65 78 74 20 | a regul|ar text |
|00000ba0| 65 64 69 74 6f 72 0a 58 | 0a 58 49 6e 73 74 61 6c |editor.X|.XInstal|
|00000bb0| 6c 61 74 69 6f 6e 3a 0a | 58 0a 58 31 2e 09 53 65 |lation:.|X.X1..Se|
|00000bc0| 74 20 75 70 20 64 69 72 | 65 63 74 6f 72 69 65 73 |t up dir|ectories|
|00000bd0| 20 20 2f 75 73 72 2f 6e | 65 77 2c 20 20 2f 75 73 | /usr/n|ew, /us|
|00000be0| 72 2f 6e 65 77 2f 6c 69 | 62 2c 20 20 61 6e 64 20 |r/new/li|b, and |
|00000bf0| 2f 75 73 72 2f 6d 61 6e | 2f 6d 61 6e 6e 2e 0a 58 |/usr/man|/mann..X|
|00000c00| 09 54 68 65 73 65 20 20 | 6d 75 73 74 20 20 62 65 |.These |must be|
|00000c10| 20 77 72 69 74 61 62 6c | 65 20 62 79 20 74 68 65 | writabl|e by the|
|00000c20| 20 69 6e 73 74 61 6c 6c | 69 6e 67 20 70 72 6f 63 | install|ing proc|
|00000c30| 65 73 73 2e 20 20 49 66 | 20 79 6f 75 20 77 61 6e |ess. If| you wan|
|00000c40| 74 0a 58 09 74 6f 20 70 | 75 74 20 6d 6b 6d 66 20 |t.X.to p|ut mkmf |
|00000c50| 73 6f 6d 65 77 68 65 72 | 65 20 65 6c 73 65 2c 20 |somewher|e else, |
|00000c60| 20 79 6f 75 20 77 69 6c | 6c 20 68 61 76 65 20 74 | you wil|l have t|
|00000c70| 6f 20 63 68 61 6e 67 65 | 20 20 74 68 65 20 20 44 |o change| the D|
|00000c80| 45 53 54 3d 0a 58 09 6d | 61 63 72 6f 20 69 6e 20 |EST=.X.m|acro in |
|00000c90| 61 6c 6c 20 74 68 65 20 | 6d 61 6b 65 66 69 6c 65 |all the |makefile|
|00000ca0| 73 2c 20 61 6e 64 20 65 | 64 69 74 20 74 68 65 20 |s, and e|dit the |
|00000cb0| 22 73 70 6d 73 2e 68 22 | 20 66 69 6c 65 2e 0a 58 |"spms.h"| file..X|
|00000cc0| 0a 58 32 2e 09 43 68 61 | 6e 67 65 20 20 74 6f 20 |.X2..Cha|nge to |
|00000cd0| 20 74 68 65 20 20 6d 6b | 6d 66 20 20 64 69 72 65 | the mk|mf dire|
|00000ce0| 63 74 6f 72 79 20 20 61 | 6e 64 20 20 65 78 65 63 |ctory a|nd exec|
|00000cf0| 75 74 65 20 20 20 22 6d | 61 6b 65 20 69 6e 73 74 |ute "m|ake inst|
|00000d00| 61 6c 6c 22 2e 0a 58 09 | 49 66 20 73 6f 6d 65 74 |all"..X.|If somet|
|00000d10| 68 69 6e 67 20 20 67 6f | 65 73 20 20 77 72 6f 6e |hing go|es wron|
|00000d20| 67 2c 20 64 6f 6e 27 74 | 20 70 61 6e 69 63 2e 20 |g, don't| panic. |
|00000d30| 4a 75 73 74 20 66 69 78 | 20 74 68 65 20 70 72 6f |Just fix| the pro|
|00000d40| 62 6c 65 6d 20 61 6e 64 | 0a 58 09 72 65 73 74 61 |blem and|.X.resta|
|00000d50| 72 74 20 22 6d 61 6b 65 | 20 69 6e 73 74 61 6c 6c |rt "make| install|
|00000d60| 22 2e 0a 58 0a 58 42 75 | 67 66 69 78 65 73 2f 43 |"..X.XBu|gfixes/C|
|00000d70| 68 61 6e 67 65 73 3a 0a | 58 0a 58 31 2e 09 4d 6b |hanges:.|X.X1..Mk|
|00000d80| 6d 66 20 77 61 73 20 70 | 72 65 76 69 6f 75 73 6c |mf was p|reviousl|
|00000d90| 79 20 70 61 72 74 20 6f | 66 20 74 68 65 20 53 50 |y part o|f the SP|
|00000da0| 4d 53 20 53 6f 66 74 77 | 61 72 65 20 50 72 6f 6a |MS Softw|are Proj|
|00000db0| 65 63 74 20 4d 61 6e 61 | 67 65 6d 65 6e 74 0a 58 |ect Mana|gement.X|
|00000dc0| 09 53 79 73 74 65 6d 2e | 20 49 74 20 69 73 20 6e |.System.| It is n|
|00000dd0| 6f 77 20 63 6f 6d 70 6c | 65 74 65 6c 79 20 69 6e |ow compl|etely in|
|00000de0| 64 65 70 65 6e 64 65 6e | 74 2e 0a 58 0a 58 32 2e |dependen|t..X.X2.|
|00000df0| 09 4d 6b 6d 66 20 6e 6f | 77 20 73 65 61 72 63 68 |.Mkmf no|w search|
|00000e00| 65 73 20 66 6f 72 20 69 | 6e 63 6c 75 64 65 20 66 |es for i|nclude f|
|00000e10| 69 6c 65 73 20 69 6e 20 | 74 68 65 20 64 69 72 65 |iles in |the dire|
|00000e20| 63 74 6f 72 79 20 20 63 | 6f 6e 74 61 69 6e 69 6e |ctory c|ontainin|
|00000e30| 67 0a 58 09 74 68 65 20 | 20 66 69 6c 65 20 20 63 |g.X.the | file c|
|00000e40| 75 72 72 65 6e 74 6c 79 | 20 20 62 65 69 6e 67 20 |urrently| being |
|00000e50| 20 70 72 6f 63 65 73 73 | 65 64 2c 20 20 72 61 74 | process|ed, rat|
|00000e60| 68 65 72 20 74 68 61 6e | 20 74 68 65 20 63 75 72 |her than| the cur|
|00000e70| 72 65 6e 74 0a 58 09 77 | 6f 72 6b 69 6e 67 20 64 |rent.X.w|orking d|
|00000e80| 69 72 65 63 74 6f 72 79 | 2e 20 54 68 69 73 20 6f |irectory|. This o|
|00000e90| 6e 6c 79 20 61 66 66 65 | 63 74 73 20 6e 65 73 74 |nly affe|cts nest|
|00000ea0| 65 64 20 69 6e 63 6c 75 | 64 65 20 66 69 6c 65 73 |ed inclu|de files|
|00000eb0| 20 20 77 68 69 63 68 0a | 58 09 61 72 65 20 65 78 | which.|X.are ex|
|00000ec0| 74 65 72 6e 61 6c 20 74 | 6f 20 74 68 65 20 63 75 |ternal t|o the cu|
|00000ed0| 72 72 65 6e 74 20 77 6f | 72 6b 69 6e 67 20 64 69 |rrent wo|rking di|
|00000ee0| 72 65 63 74 6f 72 79 2e | 0a 58 33 2e 09 4d 6b 6d |rectory.|.X3..Mkm|
|00000ef0| 66 20 6e 6f 77 20 72 65 | 61 64 73 20 6d 75 6c 74 |f now re|ads mult|
|00000f00| 69 70 6c 65 20 2d 49 20 | 6f 70 74 69 6f 6e 73 20 |iple -I |options |
|00000f10| 69 6e 20 20 43 46 4c 41 | 47 53 20 20 61 6e 64 20 |in CFLA|GS and |
|00000f20| 20 46 46 4c 41 47 53 20 | 20 63 6f 72 2d 0a 58 09 | FFLAGS | cor-.X.|
|00000f30| 72 65 63 74 6c 79 2e 0a | 58 0a 58 34 2e 09 4d 6b |rectly..|X.X4..Mk|
|00000f40| 6d 66 20 63 61 6e 20 6e | 6f 77 20 70 72 6f 63 65 |mf can n|ow proce|
|00000f50| 73 73 20 74 68 65 20 65 | 78 61 6d 70 6c 65 20 20 |ss the e|xample |
|00000f60| 70 72 65 73 65 6e 74 65 | 64 20 20 62 79 20 20 4b |presente|d by K|
|00000f70| 69 6d 20 20 57 61 6c 64 | 65 6e 20 20 69 6e 0a 58 |im Wald|en in.X|
|00000f80| 09 53 6f 66 74 77 61 72 | 65 2d 50 72 61 63 74 69 |.Softwar|e-Practi|
|00000f90| 63 65 20 61 6e 64 20 45 | 78 70 65 72 69 65 6e 63 |ce and E|xperienc|
|00000fa0| 65 2c 20 20 76 6f 6c 2e | 20 31 34 2c 20 20 6e 6f |e, vol.| 14, no|
|00000fb0| 2e 20 36 2c 20 70 70 2e | 20 35 37 35 2d 35 38 35 |. 6, pp.| 575-585|
|00000fc0| 2c 0a 58 09 4a 75 6e 65 | 20 31 39 38 34 2e 0a 40 |,.X.June| 1984..@|
|00000fd0| 5c 45 6e 64 5c 6f 66 5c | 46 69 6c 65 5c 0a 65 6c |\End\of\|File\.el|
|00000fe0| 73 65 0a 20 20 65 63 68 | 6f 20 22 73 68 61 72 3a |se. ech|o "shar:|
|00000ff0| 20 57 69 6c 6c 20 6e 6f | 74 20 6f 76 65 72 20 77 | Will no|t over w|
|00001000| 72 69 74 65 20 52 45 41 | 44 4d 45 22 0a 66 69 0a |rite REA|DME".fi.|
|00001010| 69 66 20 60 74 65 73 74 | 20 21 20 2d 64 20 6d 61 |if `test| ! -d ma|
|00001020| 6e 60 0a 74 68 65 6e 0a | 20 20 6d 6b 64 69 72 20 |n`.then.| mkdir |
|00001030| 6d 61 6e 0a 20 20 65 63 | 68 6f 20 22 6d 6b 64 69 |man. ec|ho "mkdi|
|00001040| 72 20 6d 61 6e 22 0a 66 | 69 0a 69 66 20 60 74 65 |r man".f|i.if `te|
|00001050| 73 74 20 21 20 2d 64 20 | 6d 61 6e 2f 6d 61 6e 6e |st ! -d |man/mann|
|00001060| 60 0a 74 68 65 6e 0a 20 | 20 6d 6b 64 69 72 20 6d |`.then. | mkdir m|
|00001070| 61 6e 2f 6d 61 6e 6e 0a | 20 20 65 63 68 6f 20 22 |an/mann.| echo "|
|00001080| 6d 6b 64 69 72 20 6d 61 | 6e 2f 6d 61 6e 6e 22 0a |mkdir ma|n/mann".|
|00001090| 66 69 0a 69 66 20 60 74 | 65 73 74 20 21 20 2d 73 |fi.if `t|est ! -s|
|000010a0| 20 6d 61 6e 2f 6d 61 6e | 6e 2f 6d 6b 6d 66 2e 6e | man/man|n/mkmf.n|
|000010b0| 60 0a 74 68 65 6e 0a 65 | 63 68 6f 20 22 78 20 2d |`.then.e|cho "x -|
|000010c0| 20 6d 61 6e 2f 6d 61 6e | 6e 2f 6d 6b 6d 66 2e 6e | man/man|n/mkmf.n|
|000010d0| 22 0a 73 65 64 20 27 73 | 2f 5e 58 2f 2f 27 20 3e |".sed 's|/^X//' >|
|000010e0| 20 6d 61 6e 2f 6d 61 6e | 6e 2f 6d 6b 6d 66 2e 6e | man/man|n/mkmf.n|
|000010f0| 20 3c 3c 20 27 40 5c 45 | 6e 64 5c 6f 66 5c 46 69 | << '@\E|nd\of\Fi|
|00001100| 6c 65 5c 27 0a 58 2e 54 | 48 20 4d 4b 4d 46 20 31 |le\'.X.T|H MKMF 1|
|00001110| 20 22 32 38 20 4a 75 6e | 65 20 31 39 38 35 22 0a | "28 Jun|e 1985".|
|00001120| 58 2e 5c 22 20 24 48 65 | 61 64 65 72 3a 20 6d 6b |X.\" $He|ader: mk|
|00001130| 6d 66 2e 6e 2c 76 20 31 | 2e 38 20 38 36 2f 30 31 |mf.n,v 1|.8 86/01|
|00001140| 2f 31 32 20 30 30 3a 35 | 33 3a 31 34 20 6c 65 70 |/12 00:5|3:14 lep|
|00001150| 72 65 61 75 20 45 78 70 | 20 24 0a 58 2e 55 43 20 |reau Exp| $.X.UC |
|00001160| 34 0a 58 2e 53 48 20 4e | 41 4d 45 0a 58 6d 6b 6d |4.X.SH N|AME.Xmkm|
|00001170| 66 20 5c 2d 20 6d 61 6b | 65 66 69 6c 65 20 65 64 |f \- mak|efile ed|
|00001180| 69 74 6f 72 0a 58 2e 53 | 48 20 53 59 4e 4f 50 53 |itor.X.S|H SYNOPS|
|00001190| 49 53 0a 58 2e 42 20 6d | 6b 6d 66 0a 58 5b 5c 66 |IS.X.B m|kmf.X[\f|
|000011a0| 42 5c 2d 61 63 64 69 6c | 5c 66 52 5d 20 5b 5c 66 |B\-acdil|\fR] [\f|
|000011b0| 42 5c 2d 66 20 5c 66 52 | 6d 61 6b 65 66 69 6c 65 |B\-f \fR|makefile|
|000011c0| 5d 20 5b 5c 66 42 5c 2d | 46 20 5c 66 52 74 65 6d |] [\fB\-|F \fRtem|
|000011d0| 70 6c 61 74 65 5d 20 5b | 6d 61 63 72 6f 6e 61 6d |plate] [|macronam|
|000011e0| 65 3d 76 61 6c 75 65 20 | 2e 2e 2e 5d 0a 58 2e 53 |e=value |...].X.S|
|000011f0| 48 20 44 45 53 43 52 49 | 50 54 49 4f 4e 0a 58 2e |H DESCRI|PTION.X.|
|00001200| 49 20 4d 6b 6d 66 0a 58 | 63 72 65 61 74 65 73 20 |I Mkmf.X|creates |
|00001210| 61 20 6d 61 6b 65 66 69 | 6c 65 20 74 68 61 74 20 |a makefi|le that |
|00001220| 74 65 6c 6c 73 20 74 68 | 65 0a 58 2e 49 20 6d 61 |tells th|e.X.I ma|
|00001230| 6b 65 0a 58 63 6f 6d 6d | 61 6e 64 20 68 6f 77 20 |ke.Xcomm|and how |
|00001240| 74 6f 20 63 6f 6e 73 74 | 72 75 63 74 20 61 6e 64 |to const|ruct and|
|00001250| 20 6d 61 69 6e 74 61 69 | 6e 20 70 72 6f 67 72 61 | maintai|n progra|
|00001260| 6d 73 20 61 6e 64 20 6c | 69 62 72 61 72 69 65 73 |ms and l|ibraries|
|00001270| 2e 0a 58 41 66 74 65 72 | 20 67 61 74 68 65 72 69 |..XAfter| gatheri|
|00001280| 6e 67 20 75 70 20 61 6c | 6c 20 74 68 65 20 73 6f |ng up al|l the so|
|00001290| 75 72 63 65 20 63 6f 64 | 65 20 66 69 6c 65 20 6e |urce cod|e file n|
|000012a0| 61 6d 65 73 20 69 6e 20 | 74 68 65 20 63 75 72 72 |ames in |the curr|
|000012b0| 65 6e 74 20 77 6f 72 6b | 69 6e 67 0a 58 64 69 72 |ent work|ing.Xdir|
|000012c0| 65 63 74 6f 72 79 20 61 | 6e 64 20 69 6e 73 65 72 |ectory a|nd inser|
|000012d0| 74 69 6e 67 20 74 68 65 | 6d 20 69 6e 74 6f 20 74 |ting the|m into t|
|000012e0| 68 65 20 6d 61 6b 65 66 | 69 6c 65 2c 0a 58 2e 49 |he makef|ile,.X.I|
|000012f0| 20 6d 6b 6d 66 0a 58 73 | 63 61 6e 73 20 73 6f 75 | mkmf.Xs|cans sou|
|00001300| 72 63 65 20 63 6f 64 65 | 20 66 69 6c 65 73 20 66 |rce code| files f|
|00001310| 6f 72 20 69 6e 63 6c 75 | 64 65 64 0a 58 66 69 6c |or inclu|ded.Xfil|
|00001320| 65 73 20 61 6e 64 20 67 | 65 6e 65 72 61 74 65 73 |es and g|enerates|
|00001330| 20 64 65 70 65 6e 64 65 | 6e 63 79 20 69 6e 66 6f | depende|ncy info|
|00001340| 72 6d 61 74 69 6f 6e 20 | 77 68 69 63 68 20 69 73 |rmation |which is|
|00001350| 20 61 70 70 65 6e 64 65 | 64 20 74 6f 20 74 68 65 | appende|d to the|
|00001360| 20 6d 61 6b 65 66 69 6c | 65 2e 0a 58 53 6f 75 72 | makefil|e..XSour|
|00001370| 63 65 20 63 6f 64 65 20 | 66 69 6c 65 73 20 61 72 |ce code |files ar|
|00001380| 65 20 69 64 65 6e 74 69 | 66 69 65 64 20 62 79 20 |e identi|fied by |
|00001390| 74 68 65 69 72 20 66 69 | 6c 65 20 6e 61 6d 65 20 |their fi|le name |
|000013a0| 73 75 66 66 69 78 65 73 | 2e 0a 58 2e 49 20 4d 6b |suffixes|..X.I Mk|
|000013b0| 6d 66 0a 58 6b 6e 6f 77 | 73 20 61 62 6f 75 74 20 |mf.Xknow|s about |
|000013c0| 74 68 65 20 66 6f 6c 6c | 6f 77 69 6e 67 20 73 75 |the foll|owing su|
|000013d0| 66 66 69 78 65 73 3a 0a | 58 2e 4c 50 0a 58 2e 6e |ffixes:.|X.LP.X.n|
|000013e0| 66 0a 58 2e 74 61 20 31 | 2e 35 69 20 2b 31 69 0a |f.X.ta 1|.5i +1i.|
|000013f0| 58 09 2e 63 09 43 0a 58 | 09 2e 65 09 45 66 6c 0a |X..c.C.X|..e.Efl.|
|00001400| 58 09 2e 46 09 46 6f 72 | 74 72 61 6e 0a 58 09 2e |X..F.For|tran.X..|
|00001410| 66 09 46 6f 72 74 72 61 | 6e 0a 58 09 2e 68 09 49 |f.Fortra|n.X..h.I|
|00001420| 6e 63 6c 75 64 65 20 66 | 69 6c 65 73 0a 58 09 2e |nclude f|iles.X..|
|00001430| 69 09 50 61 73 63 61 6c | 20 69 6e 63 6c 75 64 65 |i.Pascal| include|
|00001440| 20 66 69 6c 65 73 0a 58 | 09 2e 6c 09 4c 65 78 20 | files.X|..l.Lex |
|00001450| 6f 72 20 4c 69 73 70 0a | 58 09 2e 6f 09 4f 62 6a |or Lisp.|X..o.Obj|
|00001460| 65 63 74 20 66 69 6c 65 | 73 0a 58 09 2e 70 09 50 |ect file|s.X..p.P|
|00001470| 61 73 63 61 6c 0a 58 09 | 2e 72 09 52 61 74 66 6f |ascal.X.|.r.Ratfo|
|00001480| 72 0a 58 09 2e 73 09 41 | 73 73 65 6d 62 6c 65 72 |r.X..s.A|ssembler|
|00001490| 0a 58 09 2e 79 09 59 61 | 63 63 0a 58 2e 66 69 0a |.X..y.Ya|cc.X.fi.|
|000014a0| 58 2e 44 54 0a 58 2e 4c | 50 0a 58 2e 49 20 4d 6b |X.DT.X.L|P.X.I Mk|
|000014b0| 6d 66 0a 58 63 68 65 63 | 6b 73 20 66 6f 72 20 61 |mf.Xchec|ks for a|
|000014c0| 6e 20 65 78 69 73 74 69 | 6e 67 20 6d 61 6b 65 66 |n existi|ng makef|
|000014d0| 69 6c 65 20 62 65 66 6f | 72 65 20 63 72 65 61 74 |ile befo|re creat|
|000014e0| 69 6e 67 20 6f 6e 65 2e | 20 49 66 20 6e 6f 0a 58 |ing one.| If no.X|
|000014f0| 2e 42 20 5c 2d 66 0a 58 | 6f 70 74 69 6f 6e 20 69 |.B \-f.X|option i|
|00001500| 73 20 70 72 65 73 65 6e | 74 2c 20 74 68 65 20 6d |s presen|t, the m|
|00001510| 61 6b 65 66 69 6c 65 73 | 20 60 6d 61 6b 65 66 69 |akefiles| `makefi|
|00001520| 6c 65 27 20 61 6e 64 20 | 60 4d 61 6b 65 66 69 6c |le' and |`Makefil|
|00001530| 65 27 20 61 72 65 20 74 | 72 69 65 64 0a 58 69 6e |e' are t|ried.Xin|
|00001540| 20 6f 72 64 65 72 2e 0a | 58 2e 4c 50 0a 58 41 66 | order..|X.LP.XAf|
|00001550| 74 65 72 20 74 68 65 20 | 6d 61 6b 65 66 69 6c 65 |ter the |makefile|
|00001560| 20 68 61 73 20 62 65 65 | 6e 20 63 72 65 61 74 65 | has bee|n create|
|00001570| 64 2c 20 61 72 62 69 74 | 72 61 72 79 20 63 68 61 |d, arbit|rary cha|
|00001580| 6e 67 65 73 20 63 61 6e | 20 62 65 20 6d 61 64 65 |nges can| be made|
|00001590| 20 75 73 69 6e 67 0a 58 | 61 20 72 65 67 75 6c 61 | using.X|a regula|
|000015a0| 72 20 74 65 78 74 20 65 | 64 69 74 6f 72 2e 0a 58 |r text e|ditor..X|
|000015b0| 2e 49 20 4d 6b 6d 66 0a | 58 63 61 6e 20 61 6c 73 |.I Mkmf.|Xcan als|
|000015c0| 6f 20 62 65 20 75 73 65 | 64 20 74 6f 20 72 65 2d |o be use|d to re-|
|000015d0| 65 64 69 74 20 74 68 65 | 20 6d 61 63 72 6f 20 64 |edit the| macro d|
|000015e0| 65 66 69 6e 69 74 69 6f | 6e 73 20 69 6e 20 74 68 |efinitio|ns in th|
|000015f0| 65 20 6d 61 6b 65 66 69 | 6c 65 2c 20 72 65 67 61 |e makefi|le, rega|
|00001600| 72 64 6c 65 73 73 0a 58 | 6f 66 20 63 68 61 6e 67 |rdless.X|of chang|
|00001610| 65 73 20 74 68 61 74 20 | 6d 61 79 20 68 61 76 65 |es that |may have|
|00001620| 20 62 65 65 6e 20 6d 61 | 64 65 20 73 69 6e 63 65 | been ma|de since|
|00001630| 20 69 74 20 77 61 73 20 | 63 72 65 61 74 65 64 2e | it was |created.|
|00001640| 0a 58 2e 4c 50 0a 58 42 | 79 20 64 65 66 61 75 6c |.X.LP.XB|y defaul|
|00001650| 74 2c 0a 58 2e 49 20 6d | 6b 6d 66 0a 58 63 72 65 |t,.X.I m|kmf.Xcre|
|00001660| 61 74 65 73 20 61 20 70 | 72 6f 67 72 61 6d 20 6d |ates a p|rogram m|
|00001670| 61 6b 65 66 69 6c 65 2e | 20 54 6f 20 63 72 65 61 |akefile.| To crea|
|00001680| 74 65 20 61 20 6d 61 6b | 65 66 69 6c 65 20 74 68 |te a mak|efile th|
|00001690| 61 74 20 64 65 61 6c 73 | 20 77 69 74 68 20 6c 69 |at deals| with li|
|000016a0| 62 72 61 72 69 65 73 2c | 0a 58 74 68 65 0a 58 2e |braries,|.Xthe.X.|
|000016b0| 42 20 5c 2d 6c 0a 58 6f | 70 74 69 6f 6e 20 6d 75 |B \-l.Xo|ption mu|
|000016c0| 73 74 20 62 65 20 75 73 | 65 64 2e 0a 58 2e 4c 50 |st be us|ed..X.LP|
|000016d0| 0a 58 5c 66 42 4d 61 6b | 65 20 52 65 71 75 65 73 |.X\fBMak|e Reques|
|000016e0| 74 73 5c 66 52 0a 58 2e | 4c 50 0a 58 47 69 76 65 |ts\fR.X.|LP.XGive|
|000016f0| 6e 20 61 20 6d 61 6b 65 | 66 69 6c 65 20 63 72 65 |n a make|file cre|
|00001700| 61 74 65 64 20 62 79 0a | 58 2e 49 20 6d 6b 6d 66 |ated by.|X.I mkmf|
|00001710| 2c 0a 58 2e 49 20 6d 61 | 6b 65 0a 58 72 65 63 6f |,.X.I ma|ke.Xreco|
|00001720| 67 6e 69 7a 65 73 20 74 | 68 65 20 66 6f 6c 6c 6f |gnizes t|he follo|
|00001730| 77 69 6e 67 20 72 65 71 | 75 65 73 74 73 3a 0a 58 |wing req|uests:.X|
|00001740| 2e 49 50 20 5c 66 42 61 | 6c 6c 5c 66 52 20 31 35 |.IP \fBa|ll\fR 15|
|00001750| 0a 58 43 6f 6d 70 69 6c | 65 20 61 6e 64 20 6c 6f |.XCompil|e and lo|
|00001760| 61 64 20 61 20 70 72 6f | 67 72 61 6d 20 6f 72 20 |ad a pro|gram or |
|00001770| 6c 69 62 72 61 72 79 2e | 0a 58 2e 49 50 20 5c 66 |library.|.X.IP \f|
|00001780| 42 63 6c 65 61 6e 5c 66 | 52 0a 58 52 65 6d 6f 76 |Bclean\f|R.XRemov|
|00001790| 65 20 61 6c 6c 20 75 6e | 6e 65 63 65 73 73 61 72 |e all un|necessar|
|000017a0| 79 20 66 69 6c 65 73 2e | 0a 58 2e 49 50 20 5c 66 |y files.|.X.IP \f|
|000017b0| 42 64 65 70 65 6e 64 5c | 66 52 0a 58 45 64 69 74 |Bdepend\|fR.XEdit|
|000017c0| 20 74 68 65 20 6d 61 6b | 65 66 69 6c 65 20 61 6e | the mak|efile an|
|000017d0| 64 20 72 65 67 65 6e 65 | 72 61 74 65 20 74 68 65 |d regene|rate the|
|000017e0| 20 64 65 70 65 6e 64 65 | 6e 63 79 20 69 6e 66 6f | depende|ncy info|
|000017f0| 72 6d 61 74 69 6f 6e 2e | 0a 58 2e 49 50 20 5c 66 |rmation.|.X.IP \f|
|00001800| 42 65 78 74 72 61 63 74 | 5c 66 52 0a 58 45 78 74 |Bextract|\fR.XExt|
|00001810| 72 61 63 74 20 61 6c 6c | 20 74 68 65 20 6f 62 6a |ract all| the obj|
|00001820| 65 63 74 20 66 69 6c 65 | 73 20 66 72 6f 6d 20 74 |ect file|s from t|
|00001830| 68 65 20 6c 69 62 72 61 | 72 79 20 61 6e 64 20 70 |he libra|ry and p|
|00001840| 6c 61 63 65 20 74 68 65 | 6d 20 69 6e 20 74 68 65 |lace the|m in the|
|00001850| 0a 58 73 61 6d 65 20 64 | 69 72 65 63 74 6f 72 79 |.Xsame d|irectory|
|00001860| 20 61 73 20 74 68 65 20 | 73 6f 75 72 63 65 20 63 | as the |source c|
|00001870| 6f 64 65 20 66 69 6c 65 | 73 2e 20 54 68 65 20 6c |ode file|s. The l|
|00001880| 69 62 72 61 72 79 20 69 | 73 20 6e 6f 74 20 61 6c |ibrary i|s not al|
|00001890| 74 65 72 65 64 2e 0a 58 | 2e 49 50 20 5c 66 42 69 |tered..X|.IP \fBi|
|000018a0| 6e 64 65 78 5c 66 52 0a | 58 50 72 69 6e 74 20 61 |ndex\fR.|XPrint a|
|000018b0| 6e 20 69 6e 64 65 78 20 | 6f 66 20 66 75 6e 63 74 |n index |of funct|
|000018c0| 69 6f 6e 73 20 6f 6e 20 | 73 74 61 6e 64 61 72 64 |ions on |standard|
|000018d0| 20 6f 75 74 70 75 74 2e | 0a 58 2e 49 50 20 5c 66 | output.|.X.IP \f|
|000018e0| 42 69 6e 73 74 61 6c 6c | 5c 66 52 0a 58 43 6f 6d |Binstall|\fR.XCom|
|000018f0| 70 69 6c 65 20 61 6e 64 | 20 6c 6f 61 64 20 74 68 |pile and| load th|
|00001900| 65 20 70 72 6f 67 72 61 | 6d 20 6f 72 20 6c 69 62 |e progra|m or lib|
|00001910| 72 61 72 79 20 61 6e 64 | 20 6d 6f 76 65 20 69 74 |rary and| move it|
|00001920| 20 74 6f 20 69 74 73 20 | 64 65 73 74 69 6e 61 74 | to its |destinat|
|00001930| 69 6f 6e 0a 58 64 69 72 | 65 63 74 6f 72 79 2e 0a |ion.Xdir|ectory..|
|00001940| 58 2e 49 50 20 5c 66 42 | 6c 69 62 72 61 72 79 5c |X.IP \fB|library\|
|00001950| 66 52 0a 58 43 6f 6d 70 | 69 6c 65 20 61 6e 64 20 |fR.XComp|ile and |
|00001960| 6c 6f 61 64 20 61 20 6c | 69 62 72 61 72 79 2e 0a |load a l|ibrary..|
|00001970| 58 2e 49 50 20 5c 66 42 | 70 72 69 6e 74 5c 66 52 |X.IP \fB|print\fR|
|00001980| 0a 58 50 72 69 6e 74 20 | 73 6f 75 72 63 65 20 63 |.XPrint |source c|
|00001990| 6f 64 65 20 66 69 6c 65 | 73 20 6f 6e 20 73 74 61 |ode file|s on sta|
|000019a0| 6e 64 61 72 64 20 6f 75 | 74 70 75 74 2e 0a 58 2e |ndard ou|tput..X.|
|000019b0| 49 50 20 5c 66 42 74 61 | 67 73 5c 66 52 0a 58 43 |IP \fBta|gs\fR.XC|
|000019c0| 72 65 61 74 65 20 61 20 | 74 61 67 73 20 66 69 6c |reate a |tags fil|
|000019d0| 65 20 66 6f 72 20 74 68 | 65 0a 58 2e 49 20 65 78 |e for th|e.X.I ex|
|000019e0| 0a 58 65 64 69 74 6f 72 | 2c 20 66 6f 72 20 43 2c |.Xeditor|, for C,|
|000019f0| 20 50 61 73 63 61 6c 2c | 20 61 6e 64 20 46 6f 72 | Pascal,| and For|
|00001a00| 74 72 61 6e 20 73 6f 75 | 72 63 65 20 63 6f 64 65 |tran sou|rce code|
|00001a10| 20 66 69 6c 65 73 2e 0a | 58 2e 49 50 20 5c 66 42 | files..|X.IP \fB|
|00001a20| 70 72 6f 67 72 61 6d 5c | 66 52 0a 58 43 6f 6d 70 |program\|fR.XComp|
|00001a30| 69 6c 65 20 61 6e 64 20 | 6c 69 6e 6b 20 61 20 70 |ile and |link a p|
|00001a40| 72 6f 67 72 61 6d 2e 0a | 58 2e 49 50 20 5c 66 42 |rogram..|X.IP \fB|
|00001a50| 75 70 64 61 74 65 5c 66 | 52 0a 58 52 65 63 6f 6d |update\f|R.XRecom|
|00001a60| 70 69 6c 65 20 6f 6e 6c | 79 20 69 66 20 74 68 65 |pile onl|y if the|
|00001a70| 72 65 20 61 72 65 20 73 | 6f 75 72 63 65 20 63 6f |re are s|ource co|
|00001a80| 64 65 20 66 69 6c 65 73 | 20 74 68 61 74 20 61 72 |de files| that ar|
|00001a90| 65 20 6e 65 77 65 72 20 | 74 68 61 6e 20 74 68 65 |e newer |than the|
|00001aa0| 0a 58 70 72 6f 67 72 61 | 6d 20 6f 72 20 6c 69 62 |.Xprogra|m or lib|
|00001ab0| 72 61 72 79 2c 20 6c 69 | 6e 6b 20 61 6e 64 20 69 |rary, li|nk and i|
|00001ac0| 6e 73 74 61 6c 6c 20 74 | 68 65 20 70 72 6f 67 72 |nstall t|he progr|
|00001ad0| 61 6d 20 6f 72 20 6c 69 | 62 72 61 72 79 2e 20 49 |am or li|brary. I|
|00001ae0| 6e 20 74 68 65 20 63 61 | 73 65 0a 58 6f 66 20 61 |n the ca|se.Xof a|
|00001af0| 6e 20 6f 75 74 2d 6f 66 | 2d 64 61 74 65 20 6c 69 |n out-of|-date li|
|00001b00| 62 72 61 72 79 2c 20 61 | 6c 6c 20 74 68 65 20 6f |brary, a|ll the o|
|00001b10| 62 6a 65 63 74 20 66 69 | 6c 65 73 20 61 72 65 20 |bject fi|les are |
|00001b20| 65 78 74 72 61 63 74 65 | 64 20 66 72 6f 6d 20 74 |extracte|d from t|
|00001b30| 68 65 0a 58 6c 69 62 72 | 61 72 79 20 62 65 66 6f |he.Xlibr|ary befo|
|00001b40| 72 65 20 61 6e 79 20 72 | 65 63 6f 6d 70 69 6c 61 |re any r|ecompila|
|00001b50| 74 69 6f 6e 20 74 61 6b | 65 73 20 70 6c 61 63 65 |tion tak|es place|
|00001b60| 2e 0a 58 2e 4c 50 0a 58 | 53 65 76 65 72 61 6c 20 |..X.LP.X|Several |
|00001b70| 72 65 71 75 65 73 74 73 | 20 6d 61 79 20 62 65 20 |requests| may be |
|00001b80| 67 69 76 65 6e 20 73 69 | 6d 75 6c 74 61 6e 65 6f |given si|multaneo|
|00001b90| 75 73 6c 79 2e 20 46 6f | 72 20 65 78 61 6d 70 6c |usly. Fo|r exampl|
|00001ba0| 65 2c 20 74 6f 0a 58 63 | 6f 6d 70 69 6c 65 20 61 |e, to.Xc|ompile a|
|00001bb0| 6e 64 20 6c 69 6e 6b 20 | 61 20 70 72 6f 67 72 61 |nd link |a progra|
|00001bc0| 6d 2c 0a 58 6d 6f 76 65 | 20 74 68 65 20 70 72 6f |m,.Xmove| the pro|
|00001bd0| 67 72 61 6d 20 74 6f 20 | 69 74 73 20 64 65 73 74 |gram to |its dest|
|00001be0| 69 6e 61 74 69 6f 6e 20 | 64 69 72 65 63 74 6f 72 |ination |director|
|00001bf0| 79 2c 20 61 6e 64 20 72 | 65 6d 6f 76 65 0a 58 61 |y, and r|emove.Xa|
|00001c00| 6e 79 20 75 6e 6e 65 63 | 65 73 73 61 72 79 20 6f |ny unnec|essary o|
|00001c10| 62 6a 65 63 74 20 66 69 | 6c 65 73 3a 0a 58 2e 49 |bject fi|les:.X.I|
|00001c20| 50 0a 58 6d 61 6b 65 20 | 70 72 6f 67 72 61 6d 20 |P.Xmake |program |
|00001c30| 69 6e 73 74 61 6c 6c 20 | 63 6c 65 61 6e 0a 58 2e |install |clean.X.|
|00001c40| 4c 50 0a 58 5c 66 42 4d | 61 63 72 6f 20 44 65 66 |LP.X\fBM|acro Def|
|00001c50| 69 6e 69 74 69 6f 6e 73 | 5c 66 52 0a 58 2e 4c 50 |initions|\fR.X.LP|
|00001c60| 0a 58 2e 49 20 4d 6b 6d | 66 0a 58 75 6e 64 65 72 |.X.I Mkm|f.Xunder|
|00001c70| 73 74 61 6e 64 73 20 74 | 68 65 20 66 6f 6c 6c 6f |stands t|he follo|
|00001c80| 77 69 6e 67 20 6d 61 63 | 72 6f 20 64 65 66 69 6e |wing mac|ro defin|
|00001c90| 69 74 69 6f 6e 73 3a 0a | 58 2e 49 50 20 43 46 4c |itions:.|X.IP CFL|
|00001ca0| 41 47 53 20 31 35 0a 58 | 43 20 63 6f 6d 70 69 6c |AGS 15.X|C compil|
|00001cb0| 65 72 20 66 6c 61 67 73 | 2e 20 41 66 74 65 72 20 |er flags|. After |
|00001cc0| 73 65 61 72 63 68 69 6e | 67 20 66 6f 72 20 69 6e |searchin|g for in|
|00001cd0| 63 6c 75 64 65 64 20 66 | 69 6c 65 73 20 69 6e 20 |cluded f|iles in |
|00001ce0| 74 68 65 20 64 69 72 65 | 63 74 6f 72 79 0a 58 63 |the dire|ctory.Xc|
|00001cf0| 75 72 72 65 6e 74 6c 79 | 20 62 65 69 6e 67 20 70 |urrently| being p|
|00001d00| 72 6f 63 65 73 73 65 64 | 2c 0a 58 2e 49 20 6d 6b |rocessed|,.X.I mk|
|00001d10| 6d 66 0a 58 73 65 61 72 | 63 68 73 20 69 6e 20 64 |mf.Xsear|chs in d|
|00001d20| 69 72 65 63 74 6f 72 69 | 65 73 20 6e 61 6d 65 64 |irectori|es named|
|00001d30| 20 69 6e 0a 58 2e 42 20 | 5c 2d 49 0a 58 63 6f 6d | in.X.B |\-I.Xcom|
|00001d40| 70 69 6c 65 72 20 6f 70 | 74 69 6f 6e 73 2c 20 61 |piler op|tions, a|
|00001d50| 6e 64 20 74 68 65 6e 20 | 69 6e 20 74 68 65 20 60 |nd then |in the `|
|00001d60| 2f 75 73 72 2f 69 6e 63 | 6c 75 64 65 27 20 64 69 |/usr/inc|lude' di|
|00001d70| 72 65 63 74 6f 72 79 2e | 0a 58 41 6c 74 65 72 6e |rectory.|.XAltern|
|00001d80| 61 74 69 76 65 6c 79 2c | 20 74 68 65 20 69 6e 63 |atively,| the inc|
|00001d90| 6c 75 64 65 20 64 69 72 | 65 63 74 6f 72 69 65 73 |lude dir|ectories|
|00001da0| 20 63 61 6e 20 62 65 20 | 6e 61 6d 65 64 20 64 69 | can be |named di|
|00001db0| 72 65 63 74 6c 79 0a 58 | 6f 6e 20 74 68 65 20 63 |rectly.X|on the c|
|00001dc0| 6f 6d 6d 61 6e 64 20 6c | 69 6e 65 20 69 6e 20 74 |ommand l|ine in t|
|00001dd0| 68 65 20 73 61 6d 65 20 | 73 79 6e 74 61 78 20 61 |he same |syntax a|
|00001de0| 73 20 74 68 65 79 20 61 | 72 65 20 65 78 70 65 63 |s they a|re expec|
|00001df0| 74 65 64 20 62 79 20 63 | 63 2c 0a 58 6e 61 6d 65 |ted by c|c,.Xname|
|00001e00| 6c 79 2c 20 5c 66 42 5c | 2d 49 66 69 6c 65 6e 61 |ly, \fB\|-Ifilena|
|00001e10| 6d 65 5c 66 52 2e 20 20 | 41 6e 79 20 6e 75 6d 62 |me\fR. |Any numb|
|00001e20| 65 72 20 6f 66 20 69 6e | 63 6c 75 64 65 20 64 69 |er of in|clude di|
|00001e30| 72 65 63 74 6f 72 69 65 | 73 20 6d 61 79 20 62 65 |rectorie|s may be|
|00001e40| 20 0a 58 73 6f 20 6e 61 | 6d 65 64 2e 0a 58 2e 49 | .Xso na|med..X.I|
|00001e50| 50 20 44 45 53 54 0a 58 | 44 69 72 65 63 74 6f 72 |P DEST.X|Director|
|00001e60| 79 20 77 68 65 72 65 20 | 74 68 65 20 70 72 6f 67 |y where |the prog|
|00001e70| 72 61 6d 20 6f 72 20 6c | 69 62 72 61 72 79 20 69 |ram or l|ibrary i|
|00001e80| 73 20 74 6f 20 62 65 20 | 69 6e 73 74 61 6c 6c 65 |s to be |installe|
|00001e90| 64 2e 0a 58 2e 49 50 20 | 45 58 54 48 44 52 53 0a |d..X.IP |EXTHDRS.|
|00001ea0| 58 4c 69 73 74 20 6f 66 | 20 69 6e 63 6c 75 64 65 |XList of| include|
|00001eb0| 64 20 66 69 6c 65 73 20 | 65 78 74 65 72 6e 61 6c |d files |external|
|00001ec0| 20 74 6f 20 74 68 65 20 | 63 75 72 72 65 6e 74 20 | to the |current |
|00001ed0| 64 69 72 65 63 74 6f 72 | 79 2e 0a 58 2e 49 20 4d |director|y..X.I M|
|00001ee0| 6b 6d 66 0a 58 61 75 74 | 6f 6d 61 74 69 63 61 6c |kmf.Xaut|omatical|
|00001ef0| 6c 79 20 75 70 64 61 74 | 65 73 20 74 68 69 73 20 |ly updat|es this |
|00001f00| 6d 61 63 72 6f 20 64 65 | 66 69 6e 69 74 69 6f 6e |macro de|finition|
|00001f10| 20 69 6e 20 74 68 65 20 | 6d 61 6b 65 66 69 6c 65 | in the |makefile|
|00001f20| 20 69 66 20 64 65 70 65 | 6e 64 65 6e 63 79 0a 58 | if depe|ndency.X|
|00001f30| 69 6e 66 6f 72 6d 61 74 | 69 6f 6e 20 69 73 20 62 |informat|ion is b|
|00001f40| 65 69 6e 67 20 67 65 6e | 65 72 61 74 65 64 2e 0a |eing gen|erated..|
|00001f50| 58 2e 49 50 20 46 46 4c | 41 47 53 0a 58 46 6f 72 |X.IP FFL|AGS.XFor|
|00001f60| 74 72 61 6e 20 63 6f 6d | 70 69 6c 65 72 20 66 6c |tran com|piler fl|
|00001f70| 61 67 73 2e 20 41 66 74 | 65 72 20 73 65 61 72 63 |ags. Aft|er searc|
|00001f80| 68 69 6e 67 20 66 6f 72 | 20 69 6e 63 6c 75 64 65 |hing for| include|
|00001f90| 64 20 66 69 6c 65 73 20 | 69 6e 20 74 68 65 20 64 |d files |in the d|
|00001fa0| 69 72 65 63 74 6f 72 79 | 0a 58 63 75 72 72 65 6e |irectory|.Xcurren|
|00001fb0| 74 6c 79 20 62 65 69 6e | 67 20 70 72 6f 63 65 73 |tly bein|g proces|
|00001fc0| 73 65 64 2c 0a 58 2e 49 | 20 6d 6b 6d 66 0a 58 73 |sed,.X.I| mkmf.Xs|
|00001fd0| 65 61 72 63 68 73 20 69 | 6e 20 64 69 72 65 63 74 |earchs i|n direct|
|00001fe0| 6f 72 69 65 73 20 6e 61 | 6d 65 64 20 69 6e 0a 58 |ories na|med in.X|
|00001ff0| 2e 42 20 5c 2d 49 0a 58 | 63 6f 6d 70 69 6c 65 72 |.B \-I.X|compiler|
|00002000| 20 6f 70 74 69 6f 6e 73 | 2c 20 61 6e 64 20 74 68 | options|, and th|
|00002010| 65 6e 20 69 6e 20 74 68 | 65 20 60 2f 75 73 72 2f |en in th|e `/usr/|
|00002020| 69 6e 63 6c 75 64 65 27 | 20 64 69 72 65 63 74 6f |include'| directo|
|00002030| 72 79 2e 0a 58 2e 49 50 | 20 48 44 52 53 0a 58 4c |ry..X.IP| HDRS.XL|
|00002040| 69 73 74 20 6f 66 20 69 | 6e 63 6c 75 64 65 64 20 |ist of i|ncluded |
|00002050| 66 69 6c 65 73 20 69 6e | 20 74 68 65 20 63 75 72 |files in| the cur|
|00002060| 72 65 6e 74 20 64 69 72 | 65 63 74 6f 72 79 2e 0a |rent dir|ectory..|
|00002070| 58 2e 49 20 4d 6b 6d 66 | 0a 58 61 75 74 6f 6d 61 |X.I Mkmf|.Xautoma|
|00002080| 74 69 63 61 6c 6c 79 20 | 75 70 64 61 74 65 73 20 |tically |updates |
|00002090| 74 68 69 73 20 6d 61 63 | 72 6f 20 64 65 66 69 6e |this mac|ro defin|
|000020a0| 69 74 69 6f 6e 20 69 6e | 20 74 68 65 20 6d 61 6b |ition in| the mak|
|000020b0| 65 66 69 6c 65 2e 0a 58 | 2e 49 50 20 4c 49 42 52 |efile..X|.IP LIBR|
|000020c0| 41 52 59 0a 58 4c 69 62 | 72 61 72 79 20 6e 61 6d |ARY.XLib|rary nam|
|000020d0| 65 2e 20 54 68 69 73 20 | 6d 61 63 72 6f 20 61 6c |e. This |macro al|
|000020e0| 73 6f 20 69 6d 70 6c 69 | 65 73 20 74 68 65 0a 58 |so impli|es the.X|
|000020f0| 2e 42 20 5c 2d 6c 0a 58 | 6f 70 74 69 6f 6e 2e 0a |.B \-l.X|option..|
|00002100| 58 2e 49 50 20 4c 49 42 | 53 0a 58 4c 69 73 74 20 |X.IP LIB|S.XList |
|00002110| 6f 66 20 6c 69 62 72 61 | 72 69 65 73 20 6e 65 65 |of libra|ries nee|
|00002120| 64 65 64 20 62 79 20 74 | 68 65 20 6c 69 6e 6b 20 |ded by t|he link |
|00002130| 65 64 69 74 6f 72 20 74 | 6f 20 72 65 73 6f 6c 76 |editor t|o resolv|
|00002140| 65 20 65 78 74 65 72 6e | 61 6c 20 72 65 66 65 72 |e extern|al refer|
|00002150| 65 6e 63 65 73 2e 0a 58 | 2e 49 50 20 4d 41 4b 45 |ences..X|.IP MAKE|
|00002160| 46 49 4c 45 0a 58 4d 61 | 6b 65 66 69 6c 65 20 6e |FILE.XMa|kefile n|
|00002170| 61 6d 65 2e 0a 58 2e 49 | 50 20 4f 42 4a 53 0a 58 |ame..X.I|P OBJS.X|
|00002180| 4c 69 73 74 20 6f 66 20 | 6f 62 6a 65 63 74 20 66 |List of |object f|
|00002190| 69 6c 65 73 2e 0a 58 2e | 49 20 4d 6b 6d 66 0a 58 |iles..X.|I Mkmf.X|
|000021a0| 61 75 74 6f 6d 61 74 69 | 63 61 6c 6c 79 20 75 70 |automati|cally up|
|000021b0| 64 61 74 65 73 20 74 68 | 69 73 20 6d 61 63 72 6f |dates th|is macro|
|000021c0| 20 64 65 66 69 6e 69 74 | 69 6f 6e 20 69 6e 20 74 | definit|ion in t|
|000021d0| 68 65 20 6d 61 6b 65 66 | 69 6c 65 2e 0a 58 2e 49 |he makef|ile..X.I|
|000021e0| 50 20 50 52 4f 47 52 41 | 4d 0a 58 50 72 6f 67 72 |P PROGRA|M.XProgr|
|000021f0| 61 6d 20 6e 61 6d 65 2e | 0a 58 2e 49 50 20 53 52 |am name.|.X.IP SR|
|00002200| 43 53 0a 58 4c 69 73 74 | 20 6f 66 20 73 6f 75 72 |CS.XList| of sour|
|00002210| 63 65 20 63 6f 64 65 20 | 66 69 6c 65 73 2e 0a 58 |ce code |files..X|
|00002220| 2e 49 20 4d 6b 6d 66 0a | 58 61 75 74 6f 6d 61 74 |.I Mkmf.|Xautomat|
|00002230| 69 63 61 6c 6c 79 20 75 | 70 64 61 74 65 73 20 74 |ically u|pdates t|
|00002240| 68 69 73 20 6d 61 63 72 | 6f 20 64 65 66 69 6e 69 |his macr|o defini|
|00002250| 74 69 6f 6e 20 69 6e 20 | 74 68 65 20 6d 61 6b 65 |tion in |the make|
|00002260| 66 69 6c 65 2e 0a 58 2e | 49 50 20 53 55 46 46 49 |file..X.|IP SUFFI|
|00002270| 58 0a 58 4c 69 73 74 20 | 6f 66 20 61 64 64 69 74 |X.XList |of addit|
|00002280| 69 6f 6e 61 6c 20 66 69 | 6c 65 20 6e 61 6d 65 20 |ional fi|le name |
|00002290| 73 75 66 66 69 78 65 73 | 20 66 6f 72 0a 58 2e 49 |suffixes| for.X.I|
|000022a0| 20 6d 6b 6d 66 0a 58 74 | 6f 20 6b 6e 6f 77 20 61 | mkmf.Xt|o know a|
|000022b0| 62 6f 75 74 2e 0a 58 2e | 4c 50 0a 58 42 6f 74 68 |bout..X.|LP.XBoth|
|000022c0| 20 74 68 65 73 65 20 61 | 6e 64 20 61 6e 79 20 6f | these a|nd any o|
|000022d0| 74 68 65 72 20 6d 61 63 | 72 6f 20 64 65 66 69 6e |ther mac|ro defin|
|000022e0| 69 74 69 6f 6e 73 20 61 | 6c 72 65 61 64 79 20 77 |itions a|lready w|
|000022f0| 69 74 68 69 6e 20 74 68 | 65 20 6d 61 6b 65 66 69 |ithin th|e makefi|
|00002300| 6c 65 20 6d 61 79 0a 58 | 62 65 20 72 65 70 6c 61 |le may.X|be repla|
|00002310| 63 65 64 20 62 79 20 64 | 65 66 69 6e 69 74 69 6f |ced by d|efinitio|
|00002320| 6e 73 20 6f 6e 20 74 68 | 65 20 63 6f 6d 6d 61 6e |ns on th|e comman|
|00002330| 64 20 6c 69 6e 65 20 69 | 6e 20 74 68 65 20 66 6f |d line i|n the fo|
|00002340| 72 6d 0a 58 2e 49 20 22 | 6d 61 63 72 6f 6e 61 6d |rm.X.I "|macronam|
|00002350| 65 3d 76 61 6c 75 65 22 | 2e 0a 58 46 6f 72 20 65 |e=value"|..XFor e|
|00002360| 78 61 6d 70 6c 65 2c 20 | 74 6f 20 63 68 61 6e 67 |xample, |to chang|
|00002370| 65 20 74 68 65 20 43 20 | 63 6f 6d 70 69 6c 65 72 |e the C |compiler|
|00002380| 20 66 6c 61 67 73 2c 20 | 74 68 65 20 70 72 6f 67 | flags, |the prog|
|00002390| 72 61 6d 20 6e 61 6d 65 | 2c 20 61 6e 64 20 74 68 |ram name|, and th|
|000023a0| 65 0a 58 64 65 73 74 69 | 6e 61 74 69 6f 6e 20 64 |e.Xdesti|nation d|
|000023b0| 69 72 65 63 74 6f 72 79 | 20 69 6e 20 74 68 65 20 |irectory| in the |
|000023c0| 6d 61 6b 65 66 69 6c 65 | 2c 20 74 68 65 20 75 73 |makefile|, the us|
|000023d0| 65 72 20 6d 69 67 68 74 | 20 74 79 70 65 20 74 68 |er might| type th|
|000023e0| 65 20 66 6f 6c 6c 6f 77 | 69 6e 67 20 6c 69 6e 65 |e follow|ing line|
|000023f0| 3a 0a 58 2e 4c 50 0a 58 | 2e 6e 66 0a 58 09 6d 6b |:.X.LP.X|.nf.X.mk|
|00002400| 6d 66 20 20 60 60 43 46 | 4c 41 47 53 3d 5c 2d 49 |mf ``CF|LAGS=\-I|
|00002410| 2e 2e 2f 69 6e 63 6c 75 | 64 65 20 20 5c 2d 4f 27 |../inclu|de \-O'|
|00002420| 27 20 20 50 52 4f 47 52 | 41 4d 3d 6d 6b 6d 66 20 |' PROGR|AM=mkmf |
|00002430| 20 44 45 53 54 3d 2f 75 | 73 72 2f 6e 65 77 0a 58 | DEST=/u|sr/new.X|
|00002440| 2e 66 69 0a 58 2e 4c 50 | 0a 58 4e 6f 74 65 20 74 |.fi.X.LP|.XNote t|
|00002450| 68 61 74 20 6d 61 63 72 | 6f 20 64 65 66 69 6e 69 |hat macr|o defini|
|00002460| 74 69 6f 6e 73 20 6c 69 | 6b 65 20 43 46 4c 41 47 |tions li|ke CFLAG|
|00002470| 53 20 77 69 74 68 20 62 | 6c 61 6e 6b 73 20 69 6e |S with b|lanks in|
|00002480| 20 74 68 65 6d 0a 58 6d | 75 73 74 20 62 65 20 65 | them.Xm|ust be e|
|00002490| 6e 63 6c 6f 73 65 64 20 | 69 6e 20 64 6f 75 62 6c |nclosed |in doubl|
|000024a0| 65 20 71 75 6f 74 65 20 | 60 22 27 20 6d 61 72 6b |e quote |`"' mark|
|000024b0| 73 2e 0a 58 2e 4c 50 0a | 58 5c 66 42 46 69 6c 65 |s..X.LP.|X\fBFile|
|000024c0| 20 4e 61 6d 65 20 53 75 | 66 66 69 78 65 73 5c 66 | Name Su|ffixes\f|
|000024d0| 52 0a 58 2e 4c 50 0a 58 | 2e 49 20 4d 6b 6d 66 0a |R.X.LP.X|.I Mkmf.|
|000024e0| 58 63 61 6e 20 62 65 20 | 69 6e 73 74 72 75 63 74 |Xcan be |instruct|
|000024f0| 65 64 20 74 6f 20 72 65 | 63 6f 67 6e 69 7a 65 20 |ed to re|cognize |
|00002500| 61 64 64 69 74 69 6f 6e | 61 6c 20 66 69 6c 65 20 |addition|al file |
|00002510| 6e 61 6d 65 20 73 75 66 | 66 69 78 65 73 2c 20 6f |name suf|fixes, o|
|00002520| 72 20 69 67 6e 6f 72 65 | 20 6f 6e 65 73 0a 58 74 |r ignore| ones.Xt|
|00002530| 68 61 74 20 69 74 20 61 | 6c 72 65 61 64 79 20 6b |hat it a|lready k|
|00002540| 6e 6f 77 73 20 61 62 6f | 75 74 2c 20 62 79 20 73 |nows abo|ut, by s|
|00002550| 70 65 63 69 66 79 69 6e | 67 20 73 75 66 66 69 78 |pecifyin|g suffix|
|00002560| 20 64 65 73 63 72 69 70 | 74 69 6f 6e 73 20 69 6e | descrip|tions in|
|00002570| 0a 58 74 68 65 20 53 55 | 46 46 49 58 20 6d 61 63 |.Xthe SU|FFIX mac|
|00002580| 72 6f 20 64 65 66 69 6e | 69 74 69 6f 6e 2e 20 45 |ro defin|ition. E|
|00002590| 61 63 68 20 73 75 66 66 | 69 78 20 64 65 73 63 72 |ach suff|ix descr|
|000025a0| 69 70 74 69 6f 6e 20 74 | 61 6b 65 73 20 74 68 65 |iption t|akes the|
|000025b0| 0a 58 66 6f 72 6d 20 60 | 2e 5c 66 49 73 75 66 66 |.Xform `|.\fIsuff|
|000025c0| 69 78 3a 74 49 5c 5e 5c | 66 52 27 20 77 68 65 72 |ix:tI\^\|fR' wher|
|000025d0| 65 0a 58 2e 49 20 74 0a | 58 69 73 20 61 20 63 68 |e.X.I t.|Xis a ch|
|000025e0| 61 72 61 63 74 65 72 20 | 69 6e 64 69 63 61 74 69 |aracter |indicati|
|000025f0| 6e 67 20 74 68 65 20 63 | 6f 6e 74 65 6e 74 73 20 |ng the c|ontents |
|00002600| 6f 66 20 74 68 65 20 66 | 69 6c 65 20 28 73 20 3d |of the f|ile (s =|
|00002610| 20 73 6f 75 72 63 65 20 | 66 69 6c 65 2c 0a 58 6f | source |file,.Xo|
|00002620| 20 3d 20 6f 62 6a 65 63 | 74 20 66 69 6c 65 2c 20 | = objec|t file, |
|00002630| 68 20 3d 20 68 65 61 64 | 65 72 20 66 69 6c 65 2c |h = head|er file,|
|00002640| 20 78 20 3d 20 65 78 65 | 63 75 74 61 62 6c 65 20 | x = exe|cutable |
|00002650| 66 69 6c 65 29 20 61 6e | 64 0a 58 2e 49 20 49 0a |file) an|d.X.I I.|
|00002660| 58 69 73 20 61 6e 20 6f | 70 74 69 6f 6e 61 6c 20 |Xis an o|ptional |
|00002670| 63 68 61 72 61 63 74 65 | 72 20 69 6e 64 69 63 61 |characte|r indica|
|00002680| 74 69 6e 67 20 74 68 65 | 20 69 6e 63 6c 75 64 65 |ting the| include|
|00002690| 20 73 79 6e 74 61 78 20 | 66 6f 72 20 69 6e 63 6c | syntax |for incl|
|000026a0| 75 64 65 64 0a 58 66 69 | 6c 65 73 20 28 43 20 3d |uded.Xfi|les (C =|
|000026b0| 20 43 20 73 79 6e 74 61 | 78 2c 20 46 20 3d 20 46 | C synta|x, F = F|
|000026c0| 6f 72 74 72 61 6e 2c 20 | 45 66 6c 2c 20 61 6e 64 |ortran, |Efl, and|
|000026d0| 20 52 61 74 66 6f 72 20 | 73 79 6e 74 61 78 2c 20 | Ratfor |syntax, |
|000026e0| 50 20 3d 20 50 61 73 63 | 61 6c 0a 58 73 79 6e 74 |P = Pasc|al.Xsynt|
|000026f0| 61 78 29 2e 20 54 68 65 | 20 66 6f 6c 6c 6f 77 69 |ax). The| followi|
|00002700| 6e 67 20 74 61 62 6c 65 | 20 64 65 73 63 72 69 62 |ng table| describ|
|00002710| 65 73 0a 58 74 68 65 20 | 64 65 66 61 75 6c 74 20 |es.Xthe |default |
|00002720| 63 6f 6e 66 69 67 75 72 | 61 74 69 6f 6e 20 66 6f |configur|ation fo|
|00002730| 72 0a 58 2e 49 20 6d 6b | 6d 66 3a 0a 58 0a 58 2e |r.X.I mk|mf:.X.X.|
|00002740| 6e 66 0a 58 2e 74 61 20 | 31 2e 35 69 20 2b 31 69 |nf.X.ta |1.5i +1i|
|00002750| 0a 58 09 2e 63 3a 73 43 | 09 43 0a 58 09 2e 65 3a |.X..c:sC|.C.X..e:|
|00002760| 73 46 09 45 66 6c 0a 58 | 09 2e 46 3a 73 46 09 46 |sF.Efl.X|..F:sF.F|
|00002770| 6f 72 74 72 61 6e 0a 58 | 09 2e 66 3a 73 46 09 46 |ortran.X|..f:sF.F|
|00002780| 6f 72 74 72 61 6e 0a 58 | 09 2e 68 3a 68 09 49 6e |ortran.X|..h:h.In|
|00002790| 63 6c 75 64 65 20 66 69 | 6c 65 73 0a 58 09 2e 69 |clude fi|les.X..i|
|000027a0| 3a 68 09 50 61 73 63 61 | 6c 20 69 6e 63 6c 75 64 |:h.Pasca|l includ|
|000027b0| 65 20 66 69 6c 65 73 0a | 58 09 2e 6c 3a 73 43 09 |e files.|X..l:sC.|
|000027c0| 4c 65 78 20 6f 72 20 4c | 69 73 70 0a 58 09 2e 6f |Lex or L|isp.X..o|
|000027d0| 3a 6f 09 4f 62 6a 65 63 | 74 20 66 69 6c 65 73 0a |:o.Objec|t files.|
|000027e0| 58 09 2e 70 3a 73 50 09 | 50 61 73 63 61 6c 0a 58 |X..p:sP.|Pascal.X|
|000027f0| 09 2e 72 3a 73 46 09 52 | 61 74 66 6f 72 0a 58 09 |..r:sF.R|atfor.X.|
|00002800| 2e 73 3a 73 09 41 73 73 | 65 6d 62 6c 65 72 0a 58 |.s:s.Ass|embler.X|
|00002810| 09 2e 79 3a 73 43 09 59 | 61 63 63 0a 58 2e 66 69 |..y:sC.Y|acc.X.fi|
|00002820| 0a 58 2e 44 54 0a 58 2e | 4c 50 0a 58 46 6f 72 20 |.X.DT.X.|LP.XFor |
|00002830| 65 78 61 6d 70 6c 65 2c | 20 74 6f 20 63 68 61 6e |example,| to chan|
|00002840| 67 65 20 74 68 65 20 6f | 62 6a 65 63 74 20 66 69 |ge the o|bject fi|
|00002850| 6c 65 20 73 75 66 66 69 | 78 20 74 6f 20 2e 6f 62 |le suffi|x to .ob|
|00002860| 6a 2c 20 75 6e 64 65 66 | 69 6e 65 20 74 68 65 20 |j, undef|ine the |
|00002870| 50 61 73 63 61 6c 0a 58 | 69 6e 63 6c 75 64 65 20 |Pascal.X|include |
|00002880| 66 69 6c 65 20 73 75 66 | 66 69 78 2c 20 61 6e 64 |file suf|fix, and|
|00002890| 20 70 72 65 76 65 6e 74 | 20 46 6f 72 74 72 61 6e | prevent| Fortran|
|000028a0| 20 66 69 6c 65 73 20 66 | 72 6f 6d 20 62 65 69 6e | files f|rom bein|
|000028b0| 67 20 73 63 61 6e 6e 65 | 64 20 66 6f 72 0a 58 69 |g scanne|d for.Xi|
|000028c0| 6e 63 6c 75 64 65 64 20 | 66 69 6c 65 73 2c 20 74 |ncluded |files, t|
|000028d0| 68 65 20 53 55 46 46 49 | 58 20 6d 61 63 72 6f 20 |he SUFFI|X macro |
|000028e0| 64 65 66 69 6e 69 74 69 | 6f 6e 20 6d 69 67 68 74 |definiti|on might|
|000028f0| 20 6c 6f 6f 6b 20 6c 69 | 6b 65 3a 0a 58 2e 49 50 | look li|ke:.X.IP|
|00002900| 0a 58 5c 26 22 53 55 46 | 46 49 58 20 3d 20 2e 6f |.X\&"SUF|FIX = .o|
|00002910| 62 6a 3a 6f 20 20 2e 69 | 3a 20 20 2e 66 3a 73 22 |bj:o .i|: .f:s"|
|00002920| 0a 58 2e 4c 50 0a 58 5c | 66 42 49 6e 63 6c 75 64 |.X.LP.X\|fBInclud|
|00002930| 65 20 53 74 61 74 65 6d | 65 6e 74 20 53 79 6e 74 |e Statem|ent Synt|
|00002940| 61 78 5c 66 52 0a 58 2e | 4c 50 0a 58 54 68 65 20 |ax\fR.X.|LP.XThe |
|00002950| 73 79 6e 74 61 78 20 6f | 66 20 69 6e 63 6c 75 64 |syntax o|f includ|
|00002960| 65 20 73 74 61 74 65 6d | 65 6e 74 73 20 66 6f 72 |e statem|ents for|
|00002970| 20 43 2c 20 46 6f 72 74 | 72 61 6e 2c 20 61 6e 64 | C, Fort|ran, and|
|00002980| 20 50 61 73 63 61 6c 20 | 73 6f 75 72 63 65 20 63 | Pascal |source c|
|00002990| 6f 64 65 20 61 72 65 0a | 58 6f 66 20 74 68 65 20 |ode are.|Xof the |
|000029a0| 66 6f 72 6d 0a 58 2e 49 | 50 20 5c 66 42 5c 43 3a |form.X.I|P \fB\C:|
|000029b0| 5c 66 52 0a 58 23 69 6e | 63 6c 75 64 65 20 22 5c |\fR.X#in|clude "\|
|000029c0| 66 49 66 69 6c 65 6e 61 | 6d 65 5c 66 52 22 0a 58 |fIfilena|me\fR".X|
|000029d0| 2e 52 53 0a 58 77 68 65 | 72 65 20 23 20 6d 75 73 |.RS.Xwhe|re # mus|
|000029e0| 74 20 62 65 20 74 68 65 | 20 66 69 72 73 74 20 63 |t be the| first c|
|000029f0| 68 61 72 61 63 74 65 72 | 20 69 6e 20 74 68 65 20 |haracter| in the |
|00002a00| 6c 69 6e 65 2e 0a 58 2e | 52 45 0a 58 2e 49 50 20 |line..X.|RE.X.IP |
|00002a10| 5c 66 42 5c 46 6f 72 74 | 72 61 6e 3a 5c 66 52 0a |\fB\Fort|ran:\fR.|
|00002a20| 58 69 6e 63 6c 75 64 65 | 20 27 5c 66 49 66 69 6c |Xinclude| '\fIfil|
|00002a30| 65 6e 61 6d 65 5c 66 52 | 27 0a 58 2e 52 53 0a 58 |ename\fR|'.X.RS.X|
|00002a40| 49 4e 43 4c 55 44 45 20 | 27 5c 66 49 66 69 6c 65 |INCLUDE |'\fIfile|
|00002a50| 6e 61 6d 65 5c 66 52 27 | 0a 58 2e 62 72 0a 58 77 |name\fR'|.X.br.Xw|
|00002a60| 68 65 72 65 20 74 68 65 | 20 69 6e 63 6c 75 64 65 |here the| include|
|00002a70| 20 73 74 61 74 65 6d 65 | 6e 74 20 73 74 61 72 74 | stateme|nt start|
|00002a80| 73 20 69 6e 20 63 6f 6c | 75 6d 6e 20 37 2e 0a 58 |s in col|umn 7..X|
|00002a90| 2e 52 45 0a 58 2e 49 50 | 20 5c 66 42 5c 50 61 73 |.RE.X.IP| \fB\Pas|
|00002aa0| 63 61 6c 3a 5c 66 52 0a | 58 23 69 6e 63 6c 75 64 |cal:\fR.|X#includ|
|00002ab0| 65 20 22 5c 66 49 66 69 | 6c 65 6e 61 6d 65 5c 66 |e "\fIfi|lename\f|
|00002ac0| 52 22 0a 58 2e 52 53 0a | 58 23 49 4e 43 4c 55 44 |R".X.RS.|X#INCLUD|
|00002ad0| 45 20 22 5c 66 49 66 69 | 6c 65 6e 61 6d 65 5c 66 |E "\fIfi|lename\f|
|00002ae0| 52 22 0a 58 2e 62 72 0a | 58 77 68 65 72 65 20 23 |R".X.br.|Xwhere #|
|00002af0| 20 6d 75 73 74 20 62 65 | 20 74 68 65 20 66 69 72 | must be| the fir|
|00002b00| 73 74 20 63 68 61 72 61 | 63 74 65 72 20 69 6e 20 |st chara|cter in |
|00002b10| 74 68 65 20 6c 69 6e 65 | 2e 0a 58 2e 52 45 0a 58 |the line|..X.RE.X|
|00002b20| 2e 4c 50 0a 58 5c 66 42 | 55 73 65 72 2d 44 65 66 |.LP.X\fB|User-Def|
|00002b30| 69 6e 65 64 20 54 65 6d | 70 6c 61 74 65 73 5c 66 |ined Tem|plates\f|
|00002b40| 52 0a 58 2e 4c 50 0a 58 | 49 66 0a 58 2e 49 20 6d |R.X.LP.X|If.X.I m|
|00002b50| 6b 6d 66 0a 58 63 61 6e | 20 6e 6f 74 20 66 69 6e |kmf.Xcan| not fin|
|00002b60| 64 20 61 20 6d 61 6b 65 | 66 69 6c 65 20 77 69 74 |d a make|file wit|
|00002b70| 68 69 6e 20 74 68 65 20 | 63 75 72 72 65 6e 74 20 |hin the |current |
|00002b80| 64 69 72 65 63 74 6f 72 | 79 2c 20 69 74 20 6e 6f |director|y, it no|
|00002b90| 72 6d 61 6c 6c 79 20 75 | 73 65 73 0a 58 6f 6e 65 |rmally u|ses.Xone|
|00002ba0| 20 6f 66 20 74 68 65 20 | 73 74 61 6e 64 61 72 64 | of the |standard|
|00002bb0| 20 6d 61 6b 65 66 69 6c | 65 20 74 65 6d 70 6c 61 | makefil|e templa|
|00002bc0| 74 65 73 2c 20 60 70 2e | 4d 61 6b 65 66 69 6c 65 |tes, `p.|Makefile|
|00002bd0| 27 20 6f 72 20 60 6c 2e | 4d 61 6b 65 66 69 6c 65 |' or `l.|Makefile|
|00002be0| 27 2c 20 69 6e 0a 58 2f | 75 73 72 2f 6e 65 77 2f |', in.X/|usr/new/|
|00002bf0| 6c 69 62 20 75 6e 6c 65 | 73 73 20 74 68 65 20 75 |lib unle|ss the u|
|00002c00| 73 65 72 20 68 61 73 20 | 61 6c 74 65 72 6e 61 74 |ser has |alternat|
|00002c10| 69 76 65 20 60 70 2e 4d | 61 6b 65 66 69 6c 65 27 |ive `p.M|akefile'|
|00002c20| 0a 58 6f 72 20 60 6c 2e | 4d 61 6b 65 66 69 6c 65 |.Xor `l.|Makefile|
|00002c30| 27 20 74 65 6d 70 6c 61 | 74 65 20 66 69 6c 65 73 |' templa|te files|
|00002c40| 20 69 6e 20 61 20 64 69 | 72 65 63 74 6f 72 79 20 | in a di|rectory |
|00002c50| 24 50 52 4f 4a 45 43 54 | 2f 6c 69 62 20 77 68 65 |$PROJECT|/lib whe|
|00002c60| 72 65 0a 58 24 50 52 4f | 4a 45 43 54 20 69 73 20 |re.X$PRO|JECT is |
|00002c70| 74 68 65 20 61 62 73 6f | 6c 75 74 65 20 70 61 74 |the abso|lute pat|
|00002c80| 68 6e 61 6d 65 20 6f 66 | 20 74 68 65 20 64 69 72 |hname of| the dir|
|00002c90| 65 63 74 6f 72 79 20 61 | 73 73 69 67 6e 65 64 20 |ectory a|ssigned |
|00002ca0| 74 6f 20 74 68 65 20 50 | 52 4f 4a 45 43 54 0a 58 |to the P|ROJECT.X|
|00002cb0| 65 6e 76 69 72 6f 6e 6d | 65 6e 74 20 76 61 72 69 |environm|ent vari|
|00002cc0| 61 62 6c 65 2e 0a 58 2e | 53 48 20 4f 50 54 49 4f |able..X.|SH OPTIO|
|00002cd0| 4e 53 0a 58 2e 49 50 20 | 5c 66 42 5c 2d 61 5c 66 |NS.X.IP |\fB\-a\f|
|00002ce0| 52 0a 58 57 68 65 6e 20 | 73 65 61 72 63 68 69 6e |R.XWhen |searchin|
|00002cf0| 67 20 61 20 64 69 72 65 | 63 74 6f 72 79 20 66 6f |g a dire|ctory fo|
|00002d00| 72 20 73 6f 75 72 63 65 | 20 61 6e 64 20 69 6e 63 |r source| and inc|
|00002d10| 6c 75 64 65 20 66 69 6c | 65 73 2c 20 61 6c 73 6f |lude fil|es, also|
|00002d20| 20 63 6f 6e 73 69 64 65 | 72 20 66 69 6c 65 73 0a | conside|r files.|
|00002d30| 58 77 68 69 63 68 20 68 | 61 76 65 20 6e 61 6d 65 |Xwhich h|ave name|
|00002d40| 73 20 62 65 67 69 6e 6e | 69 6e 67 20 77 69 74 68 |s beginn|ing with|
|00002d50| 20 70 65 72 69 6f 64 73 | 2e 20 20 42 79 20 64 65 | periods|. By de|
|00002d60| 66 61 75 6c 74 2c 20 0a | 58 2e 49 20 6d 6b 6d 66 |fault, .|X.I mkmf|
|00002d70| 0a 58 69 67 6e 6f 72 65 | 73 0a 58 66 69 6c 65 20 |.Xignore|s.Xfile |
|00002d80| 6e 61 6d 65 73 20 77 68 | 69 63 68 20 68 61 76 65 |names wh|ich have|
|00002d90| 20 6c 65 61 64 69 6e 67 | 20 22 64 6f 74 73 2c 22 | leading| "dots,"|
|00002da0| 20 73 75 63 68 20 61 73 | 20 74 68 6f 73 65 20 6f | such as| those o|
|00002db0| 66 0a 58 62 61 63 6b 75 | 70 20 66 69 6c 65 73 20 |f.Xbacku|p files |
|00002dc0| 63 72 65 61 74 65 64 20 | 62 79 20 73 6f 6d 65 0a |created |by some.|
|00002dd0| 58 65 64 69 74 6f 72 73 | 2e 0a 58 2e 49 50 20 5c |Xeditors|..X.IP \|
|00002de0| 66 42 5c 2d 63 5c 66 52 | 0a 58 53 75 70 70 72 65 |fB\-c\fR|.XSuppre|
|00002df0| 73 73 20 60 63 72 65 61 | 74 69 6e 67 0a 58 2e 49 |ss `crea|ting.X.I|
|00002e00| 20 6d 61 6b 65 66 69 6c | 65 0a 58 66 72 6f 6d 20 | makefil|e.Xfrom |
|00002e10| 2e 2e 2e 27 20 6d 65 73 | 73 61 67 65 2e 0a 58 2e |...' mes|sage..X.|
|00002e20| 49 50 20 5c 66 42 5c 2d | 64 5c 66 52 0a 58 54 75 |IP \fB\-|d\fR.XTu|
|00002e30| 72 6e 0a 58 2e 42 20 6f | 66 66 0a 58 73 63 61 6e |rn.X.B o|ff.Xscan|
|00002e40| 6e 69 6e 67 20 6f 66 20 | 73 6f 75 72 63 65 20 63 |ning of |source c|
|00002e50| 6f 64 65 20 66 6f 72 20 | 60 69 6e 63 6c 75 64 65 |ode for |`include|
|00002e60| 27 20 66 69 6c 65 73 2e | 20 4f 6c 64 20 64 65 70 |' files.| Old dep|
|00002e70| 65 6e 64 65 6e 63 79 20 | 69 6e 66 6f 72 6d 61 74 |endency |informat|
|00002e80| 69 6f 6e 0a 58 69 73 20 | 6c 65 66 74 20 75 6e 74 |ion.Xis |left unt|
|00002e90| 6f 75 63 68 65 64 20 69 | 6e 20 74 68 65 20 6d 61 |ouched i|n the ma|
|00002ea0| 6b 65 66 69 6c 65 2e 0a | 58 2e 49 50 20 22 5c 66 |kefile..|X.IP "\f|
|00002eb0| 42 5c 2d 66 20 5c 66 49 | 6d 61 6b 65 66 69 6c 65 |B\-f \fI|makefile|
|00002ec0| 5c 66 52 22 0a 58 53 70 | 65 63 69 66 79 20 61 6e |\fR".XSp|ecify an|
|00002ed0| 20 61 6c 74 65 72 6e 61 | 74 69 76 65 0a 58 2e 49 | alterna|tive.X.I|
|00002ee0| 20 6d 61 6b 65 66 69 6c | 65 0a 58 66 69 6c 65 20 | makefil|e.Xfile |
|00002ef0| 6e 61 6d 65 2e 20 54 68 | 65 20 64 65 66 61 75 6c |name. Th|e defaul|
|00002f00| 74 20 66 69 6c 65 20 6e | 61 6d 65 20 69 73 20 60 |t file n|ame is `|
|00002f10| 4d 61 6b 65 66 69 6c 65 | 27 2e 0a 58 2e 49 50 20 |Makefile|'..X.IP |
|00002f20| 5c 66 42 5c 2d 69 5c 66 | 52 0a 58 43 61 75 73 65 |\fB\-i\f|R.XCause|
|00002f30| 0a 58 2e 49 20 6d 6b 6d | 66 0a 58 74 6f 20 70 72 |.X.I mkm|f.Xto pr|
|00002f40| 6f 6d 70 74 20 74 68 65 | 20 75 73 65 72 20 66 6f |ompt the| user fo|
|00002f50| 72 20 74 68 65 20 6e 61 | 6d 65 20 6f 66 20 74 68 |r the na|me of th|
|00002f60| 65 20 70 72 6f 67 72 61 | 6d 20 6f 72 20 6c 69 62 |e progra|m or lib|
|00002f70| 72 61 72 79 2c 20 61 6e | 64 20 74 68 65 0a 58 64 |rary, an|d the.Xd|
|00002f80| 69 72 65 63 74 6f 72 79 | 20 77 68 65 72 65 20 69 |irectory| where i|
|00002f90| 74 20 69 73 20 74 6f 20 | 62 65 20 69 6e 73 74 61 |t is to |be insta|
|00002fa0| 6c 6c 65 64 2e 20 49 66 | 20 61 20 63 61 72 72 69 |lled. If| a carri|
|00002fb0| 61 67 65 20 72 65 74 75 | 72 6e 20 69 73 20 74 79 |age retu|rn is ty|
|00002fc0| 70 65 64 0a 58 69 6e 20 | 72 65 73 70 6f 6e 73 65 |ped.Xin |response|
|00002fd0| 20 74 6f 20 65 61 63 68 | 20 6f 66 20 74 68 65 73 | to each| of thes|
|00002fe0| 65 20 71 75 65 72 69 65 | 73 2c 0a 58 2e 49 20 6d |e querie|s,.X.I m|
|00002ff0| 6b 6d 66 0a 58 77 69 6c | 6c 20 61 73 73 75 6d 65 |kmf.Xwil|l assume|
|00003000| 20 74 68 61 74 20 74 68 | 65 20 64 65 66 61 75 6c | that th|e defaul|
|00003010| 74 20 70 72 6f 67 72 61 | 6d 20 6e 61 6d 65 20 69 |t progra|m name i|
|00003020| 73 0a 58 2e 49 20 61 2e | 6f 75 74 0a 58 6f 72 20 |s.X.I a.|out.Xor |
|00003030| 74 68 65 20 64 65 66 61 | 75 6c 74 20 6c 69 62 72 |the defa|ult libr|
|00003040| 61 72 79 20 6e 61 6d 65 | 20 69 73 0a 58 2e 49 20 |ary name| is.X.I |
|00003050| 6c 69 62 2e 61 2c 0a 58 | 61 6e 64 20 74 68 65 20 |lib.a,.X|and the |
|00003060| 64 65 73 74 69 6e 61 74 | 69 6f 6e 20 64 69 72 65 |destinat|ion dire|
|00003070| 63 74 6f 72 79 20 69 73 | 20 74 68 65 20 63 75 72 |ctory is| the cur|
|00003080| 72 65 6e 74 20 64 69 72 | 65 63 74 6f 72 79 2e 0a |rent dir|ectory..|
|00003090| 58 2e 49 50 20 5c 66 42 | 5c 2d 49 5c 66 49 69 6e |X.IP \fB|\-I\fIin|
|000030a0| 63 6c 75 64 65 5c 66 52 | 0a 58 53 70 65 63 69 66 |clude\fR|.XSpecif|
|000030b0| 79 20 61 6e 20 61 64 64 | 69 74 69 6f 6e 61 6c 20 |y an add|itional |
|000030c0| 64 69 72 65 63 74 6f 72 | 79 20 74 6f 20 73 65 61 |director|y to sea|
|000030d0| 72 63 68 20 66 6f 72 20 | 69 6e 63 6c 75 64 65 20 |rch for |include |
|000030e0| 66 69 6c 65 73 2e 0a 58 | 54 68 69 73 20 6f 70 74 |files..X|This opt|
|000030f0| 69 6f 6e 20 69 73 20 69 | 6e 20 74 68 65 20 73 61 |ion is i|n the sa|
|00003100| 6d 65 20 73 79 6e 74 61 | 78 20 61 73 20 63 63 20 |me synta|x as cc |
|00003110| 65 78 70 65 63 74 73 2c | 20 6e 61 6d 65 6c 79 2c |expects,| namely,|
|00003120| 20 6e 6f 0a 58 73 70 61 | 63 65 20 62 65 74 77 65 | no.Xspa|ce betwe|
|00003130| 65 6e 20 74 68 65 0a 58 | 2e 42 20 5c 2d 49 0a 58 |en the.X|.B \-I.X|
|00003140| 61 6e 64 20 74 68 65 20 | 5c 66 49 69 6e 63 6c 75 |and the |\fIinclu|
|00003150| 64 65 20 64 69 72 2e 5c | 66 52 0a 58 2e 49 50 20 |de dir.\|fR.X.IP |
|00003160| 5c 66 42 5c 2d 6c 5c 66 | 52 0a 58 46 6f 72 63 65 |\fB\-l\f|R.XForce|
|00003170| 20 74 68 65 20 6d 61 6b | 65 66 69 6c 65 20 74 6f | the mak|efile to|
|00003180| 20 62 65 20 61 20 6c 69 | 62 72 61 72 79 20 6d 61 | be a li|brary ma|
|00003190| 6b 65 66 69 6c 65 2e 0a | 58 2e 49 50 20 22 5c 66 |kefile..|X.IP "\f|
|000031a0| 42 5c 2d 46 20 5c 66 49 | 74 65 6d 70 6c 61 74 65 |B\-F \fI|template|
|000031b0| 5c 66 52 22 0a 58 53 70 | 65 63 69 66 79 20 61 6e |\fR".XSp|ecify an|
|000031c0| 20 61 6c 74 65 72 6e 61 | 74 69 76 65 20 6d 61 6b | alterna|tive mak|
|000031d0| 65 66 69 6c 65 0a 58 2e | 49 20 74 65 6d 70 6c 61 |efile.X.|I templa|
|000031e0| 74 65 0a 58 66 69 6c 65 | 20 6e 61 6d 65 2e 20 54 |te.Xfile| name. T|
|000031f0| 68 65 20 64 65 66 61 75 | 6c 74 20 70 72 6f 67 72 |he defau|lt progr|
|00003200| 61 6d 20 6d 61 6b 65 66 | 69 6c 65 20 74 65 6d 70 |am makef|ile temp|
|00003210| 6c 61 74 65 20 69 73 20 | 60 70 2e 4d 61 6b 65 66 |late is |`p.Makef|
|00003220| 69 6c 65 27 0a 58 61 6e | 64 20 74 68 65 20 64 65 |ile'.Xan|d the de|
|00003230| 66 61 75 6c 74 20 6c 69 | 62 72 61 72 79 20 6d 61 |fault li|brary ma|
|00003240| 6b 65 66 69 6c 65 20 74 | 65 6d 70 6c 61 74 65 20 |kefile t|emplate |
|00003250| 69 73 20 60 6c 2e 4d 61 | 6b 65 66 69 6c 65 27 2e |is `l.Ma|kefile'.|
|00003260| 0a 58 2e 49 20 4d 6b 6d | 66 0a 58 6e 6f 72 6d 61 |.X.I Mkm|f.Xnorma|
|00003270| 6c 6c 79 20 6c 6f 6f 6b | 73 20 66 6f 72 0a 58 2e |lly look|s for.X.|
|00003280| 49 20 74 65 6d 70 6c 61 | 74 65 20 0a 58 69 6e 20 |I templa|te .Xin |
|00003290| 2f 75 73 72 2f 6e 65 77 | 2f 6c 69 62 20 6f 72 20 |/usr/new|/lib or |
|000032a0| 24 50 52 4f 4a 45 43 54 | 2f 6c 69 62 2e 20 48 6f |$PROJECT|/lib. Ho|
|000032b0| 77 65 76 65 72 2c 0a 58 | 2e 49 20 74 65 6d 70 6c |wever,.X|.I templ|
|000032c0| 61 74 65 0a 58 63 61 6e | 20 62 65 20 73 70 65 63 |ate.Xcan| be spec|
|000032d0| 69 66 69 65 64 20 61 73 | 20 61 6e 20 61 62 73 6f |ified as| an abso|
|000032e0| 6c 75 74 65 20 70 61 74 | 68 6e 61 6d 65 2e 0a 58 |lute pat|hname..X|
|000032f0| 2e 53 48 20 46 49 4c 45 | 53 0a 58 2e 6e 66 0a 58 |.SH FILE|S.X.nf.X|
|00003300| 2e 74 61 20 5c 77 27 2f | 75 73 72 2f 6e 65 77 2f |.ta \w'/|usr/new/|
|00003310| 6c 69 62 2f 70 2e 4d 61 | 6b 65 66 69 6c 65 27 75 |lib/p.Ma|kefile'u|
|00003320| 2b 2e 35 69 0a 58 2f 75 | 73 72 2f 6e 65 77 2f 6c |+.5i.X/u|sr/new/l|
|00003330| 69 62 2f 70 2e 4d 61 6b | 65 66 69 6c 65 09 53 74 |ib/p.Mak|efile.St|
|00003340| 61 6e 64 61 72 64 20 70 | 72 6f 67 72 61 6d 20 6d |andard p|rogram m|
|00003350| 61 6b 65 66 69 6c 65 20 | 74 65 6d 70 6c 61 74 65 |akefile |template|
|00003360| 2e 0a 58 2f 75 73 72 2f | 6e 65 77 2f 6c 69 62 2f |..X/usr/|new/lib/|
|00003370| 6c 2e 4d 61 6b 65 66 69 | 6c 65 09 53 74 61 6e 64 |l.Makefi|le.Stand|
|00003380| 61 72 64 20 6c 69 62 72 | 61 72 79 20 6d 61 6b 65 |ard libr|ary make|
|00003390| 66 69 6c 65 20 74 65 6d | 70 6c 61 74 65 2e 0a 58 |file tem|plate..X|
|000033a0| 24 50 52 4f 4a 45 43 54 | 2f 6c 69 62 2f 70 2e 4d |$PROJECT|/lib/p.M|
|000033b0| 61 6b 65 66 69 6c 65 09 | 55 73 65 72 2d 64 65 66 |akefile.|User-def|
|000033c0| 69 6e 65 64 20 70 72 6f | 67 72 61 6d 20 6d 61 6b |ined pro|gram mak|
|000033d0| 65 66 69 6c 65 20 74 65 | 6d 70 6c 61 74 65 2e 0a |efile te|mplate..|
|000033e0| 58 24 50 52 4f 4a 45 43 | 54 2f 6c 69 62 2f 6c 2e |X$PROJEC|T/lib/l.|
|000033f0| 4d 61 6b 65 66 69 6c 65 | 09 55 73 65 72 2d 64 65 |Makefile|.User-de|
|00003400| 66 69 6e 65 64 20 6c 69 | 62 72 61 72 79 20 6d 61 |fined li|brary ma|
|00003410| 6b 65 66 69 6c 65 20 74 | 65 6d 70 6c 61 74 65 2e |kefile t|emplate.|
|00003420| 0a 58 2e 66 69 0a 58 2e | 44 54 0a 58 2e 53 48 20 |.X.fi.X.|DT.X.SH |
|00003430| 22 53 45 45 20 41 4c 53 | 4f 22 0a 58 61 72 28 31 |"SEE ALS|O".Xar(1|
|00003440| 29 2c 20 63 74 61 67 73 | 28 31 29 2c 20 65 78 28 |), ctags|(1), ex(|
|00003450| 31 29 2c 20 6c 64 28 31 | 29 2c 20 6c 73 28 31 29 |1), ld(1|), ls(1)|
|00003460| 2c 20 6d 61 6b 65 28 31 | 29 0a 58 2e 73 70 0a 58 |, make(1|).X.sp.X|
|00003470| 46 65 6c 64 6d 61 6e 2c | 20 53 2e 49 2e 2c 20 22 |Feldman,| S.I., "|
|00003480| 4d 61 6b 65 20 5c 2d 20 | 41 20 50 72 6f 67 72 61 |Make \- |A Progra|
|00003490| 6d 20 66 6f 72 20 4d 61 | 69 6e 74 61 69 6e 69 6e |m for Ma|intainin|
|000034a0| 67 20 43 6f 6d 70 75 74 | 65 72 20 50 72 6f 67 72 |g Comput|er Progr|
|000034b0| 61 6d 73 22 0a 58 2e 73 | 70 0a 58 57 61 6c 64 65 |ams".X.s|p.XWalde|
|000034c0| 6e 2c 20 4b 2e 2c 20 22 | 41 75 74 6f 6d 61 74 69 |n, K., "|Automati|
|000034d0| 63 20 47 65 6e 65 72 61 | 74 69 6f 6e 20 6f 66 20 |c Genera|tion of |
|000034e0| 4d 61 6b 65 20 44 65 70 | 65 6e 64 65 6e 63 69 65 |Make Dep|endencie|
|000034f0| 73 22 2c 20 5c 66 49 53 | 6f 66 74 77 61 72 65 5c |s", \fIS|oftware\|
|00003500| 2d 50 72 61 63 74 69 63 | 65 0a 58 61 6e 64 20 45 |-Practic|e.Xand E|
|00003510| 78 70 65 72 69 65 6e 63 | 65 5c 66 50 2c 20 76 6f |xperienc|e\fP, vo|
|00003520| 6c 2e 20 31 34 2c 20 6e | 6f 2e 20 36 2c 20 70 70 |l. 14, n|o. 6, pp|
|00003530| 2e 20 35 37 35 2d 35 38 | 35 2c 20 4a 75 6e 65 20 |. 575-58|5, June |
|00003540| 31 39 38 34 2e 0a 58 2e | 53 48 20 44 49 41 47 4e |1984..X.|SH DIAGN|
|00003550| 4f 53 54 49 43 53 0a 58 | 45 78 69 74 20 73 74 61 |OSTICS.X|Exit sta|
|00003560| 74 75 73 20 30 20 69 73 | 20 6e 6f 72 6d 61 6c 2e |tus 0 is| normal.|
|00003570| 20 45 78 69 74 20 73 74 | 61 74 75 73 20 31 20 69 | Exit st|atus 1 i|
|00003580| 6e 64 69 63 61 74 65 73 | 20 61 6e 20 65 72 72 6f |ndicates| an erro|
|00003590| 72 2e 0a 58 2e 53 48 20 | 41 55 54 48 4f 52 0a 58 |r..X.SH |AUTHOR.X|
|000035a0| 50 65 74 65 72 20 4a 2e | 20 4e 69 63 6b 6c 69 6e |Peter J.| Nicklin|
|000035b0| 0a 58 2e 53 48 20 42 55 | 47 53 0a 58 54 68 65 20 |.X.SH BU|GS.XThe |
|000035c0| 6e 61 6d 65 20 6f 66 20 | 74 68 65 20 6d 61 6b 65 |name of |the make|
|000035d0| 66 69 6c 65 20 69 73 20 | 69 6e 63 6c 75 64 65 64 |file is |included|
|000035e0| 20 61 73 20 61 20 6d 61 | 63 72 6f 20 64 65 66 69 | as a ma|cro defi|
|000035f0| 6e 69 74 69 6f 6e 20 77 | 69 74 68 69 6e 20 74 68 |nition w|ithin th|
|00003600| 65 0a 58 6d 61 6b 65 66 | 69 6c 65 20 61 6e 64 20 |e.Xmakef|ile and |
|00003610| 6d 75 73 74 20 62 65 20 | 63 68 61 6e 67 65 64 20 |must be |changed |
|00003620| 69 66 20 74 68 65 20 6d | 61 6b 65 66 69 6c 65 20 |if the m|akefile |
|00003630| 69 73 20 72 65 6e 61 6d | 65 64 2e 0a 58 2e 4c 50 |is renam|ed..X.LP|
|00003640| 0a 58 53 69 6e 63 65 20 | 65 78 65 63 75 74 61 62 |.XSince |executab|
|00003650| 6c 65 20 66 69 6c 65 73 | 20 61 72 65 20 64 65 70 |le files| are dep|
|00003660| 65 6e 64 65 6e 74 20 6f | 6e 20 6c 69 62 72 61 72 |endent o|n librar|
|00003670| 69 65 73 2c 20 73 74 61 | 6e 64 61 72 64 20 6c 69 |ies, sta|ndard li|
|00003680| 62 72 61 72 79 0a 58 61 | 62 62 72 65 76 69 61 74 |brary.Xa|bbreviat|
|00003690| 69 6f 6e 73 20 6d 75 73 | 74 20 62 65 20 65 78 70 |ions mus|t be exp|
|000036a0| 61 6e 64 65 64 20 74 6f | 20 66 75 6c 6c 20 70 61 |anded to| full pa|
|000036b0| 74 68 6e 61 6d 65 73 20 | 77 69 74 68 69 6e 20 74 |thnames |within t|
|000036c0| 68 65 20 4c 49 42 53 20 | 6d 61 63 72 6f 0a 58 64 |he LIBS |macro.Xd|
|000036d0| 65 66 69 6e 69 74 69 6f | 6e 20 69 6e 20 74 68 65 |efinitio|n in the|
|000036e0| 20 6d 61 6b 65 66 69 6c | 65 2e 0a 58 2e 4c 50 0a | makefil|e..X.LP.|
|000036f0| 58 47 65 6e 65 72 61 74 | 65 64 20 64 65 70 65 6e |XGenerat|ed depen|
|00003700| 64 65 6e 63 79 20 69 6e | 66 6f 72 6d 61 74 69 6f |dency in|formatio|
|00003710| 6e 20 61 70 70 65 61 72 | 73 20 61 66 74 65 72 20 |n appear|s after |
|00003720| 61 20 6c 69 6e 65 20 69 | 6e 20 74 68 65 20 6d 61 |a line i|n the ma|
|00003730| 6b 65 66 69 6c 65 0a 58 | 62 65 67 69 6e 6e 69 6e |kefile.X|beginnin|
|00003740| 67 20 77 69 74 68 20 60 | 23 23 23 27 2e 20 54 68 |g with `|###'. Th|
|00003750| 69 73 20 6c 69 6e 65 20 | 6d 75 73 74 0a 58 2e 42 |is line |must.X.B|
|00003760| 20 6e 6f 74 0a 58 62 65 | 20 72 65 6d 6f 76 65 64 | not.Xbe| removed|
|00003770| 2c 20 6e 6f 72 20 6d 75 | 73 74 20 61 6e 79 20 6f |, nor mu|st any o|
|00003780| 74 68 65 72 20 69 6e 66 | 6f 72 6d 61 74 69 6f 6e |ther inf|ormation|
|00003790| 20 62 65 20 69 6e 73 65 | 72 74 65 64 20 69 6e 20 | be inse|rted in |
|000037a0| 74 68 65 20 6d 61 6b 65 | 66 69 6c 65 0a 58 62 65 |the make|file.Xbe|
|000037b0| 6c 6f 77 20 74 68 69 73 | 20 6c 69 6e 65 2e 0a 40 |low this| line..@|
|000037c0| 5c 45 6e 64 5c 6f 66 5c | 46 69 6c 65 5c 0a 65 6c |\End\of\|File\.el|
|000037d0| 73 65 0a 20 20 65 63 68 | 6f 20 22 73 68 61 72 3a |se. ech|o "shar:|
|000037e0| 20 57 69 6c 6c 20 6e 6f | 74 20 6f 76 65 72 20 77 | Will no|t over w|
|000037f0| 72 69 74 65 20 6d 61 6e | 2f 6d 61 6e 6e 2f 6d 6b |rite man|/mann/mk|
|00003800| 6d 66 2e 6e 22 0a 66 69 | 0a 69 66 20 60 74 65 73 |mf.n".fi|.if `tes|
|00003810| 74 20 21 20 2d 73 20 6d | 61 6e 2f 6d 61 6e 6e 2f |t ! -s m|an/mann/|
|00003820| 4d 61 6b 65 66 69 6c 65 | 60 0a 74 68 65 6e 0a 65 |Makefile|`.then.e|
|00003830| 63 68 6f 20 22 78 20 2d | 20 6d 61 6e 2f 6d 61 6e |cho "x -| man/man|
|00003840| 6e 2f 4d 61 6b 65 66 69 | 6c 65 22 0a 73 65 64 20 |n/Makefi|le".sed |
|00003850| 27 73 2f 5e 58 2f 2f 27 | 20 3e 20 6d 61 6e 2f 6d |'s/^X//'| > man/m|
|00003860| 61 6e 6e 2f 4d 61 6b 65 | 66 69 6c 65 20 3c 3c 20 |ann/Make|file << |
|00003870| 27 40 5c 45 6e 64 5c 6f | 66 5c 46 69 6c 65 5c 27 |'@\End\o|f\File\'|
|00003880| 0a 58 23 44 45 53 54 09 | 20 20 20 20 20 20 3d 20 |.X#DEST.| = |
|00003890| 24 28 44 45 53 54 44 49 | 52 29 2f 75 73 72 2f 6e |$(DESTDI|R)/usr/n|
|000038a0| 65 77 2f 6d 61 6e 2f 6d | 61 6e 6e 0a 58 44 45 53 |ew/man/m|ann.XDES|
|000038b0| 54 09 20 20 20 20 20 20 | 3d 20 24 28 44 45 53 54 |T. |= $(DEST|
|000038c0| 44 49 52 29 2f 6d 61 6e | 2f 6d 61 6e 6e 0a 58 0a |DIR)/man|/mann.X.|
|000038d0| 58 4d 41 4b 45 46 49 4c | 45 20 20 20 20 20 20 3d |XMAKEFIL|E =|
|000038e0| 20 4d 61 6b 65 66 69 6c | 65 0a 58 0a 58 50 52 49 | Makefil|e.X.XPRI|
|000038f0| 4e 54 09 20 20 20 20 20 | 20 3d 20 76 74 72 6f 66 |NT. | = vtrof|
|00003900| 66 20 2d 6d 61 6e 0a 58 | 0a 58 53 52 43 53 09 20 |f -man.X|.XSRCS. |
|00003910| 20 20 20 20 20 3d 20 6d | 6b 6d 66 2e 6e 0a 58 0a | = m|kmf.n.X.|
|00003920| 58 53 55 46 46 49 58 09 | 20 20 20 20 20 20 3d 20 |XSUFFIX.| = |
|00003930| 2e 6e 3a 73 0a 58 0a 58 | 56 45 52 53 49 4f 4e 09 |.n:s.X.X|VERSION.|
|00003940| 20 20 20 20 20 20 3d 20 | 56 34 42 53 44 0a 58 0a | = |V4BSD.X.|
|00003950| 58 61 6c 6c 3a 3b 0a 58 | 0a 58 63 6c 65 61 6e 3a |Xall:;.X|.Xclean:|
|00003960| 3b 0a 58 0a 58 63 6f 3a | 3b 0a 58 0a 58 64 65 70 |;.X.Xco:|;.X.Xdep|
|00003970| 65 6e 64 3a 3b 0a 58 0a | 58 64 69 66 66 3a 3b 0a |end:;.X.|Xdiff:;.|
|00003980| 58 0a 58 69 6e 64 65 78 | 3a 3b 0a 58 0a 58 69 6e |X.Xindex|:;.X.Xin|
|00003990| 73 74 61 6c 6c 3a 3b 09 | 40 65 63 68 6f 20 49 6e |stall:;.|@echo In|
|000039a0| 73 74 61 6c 6c 69 6e 67 | 20 24 28 53 52 43 53 29 |stalling| $(SRCS)|
|000039b0| 20 69 6e 20 24 28 44 45 | 53 54 29 0a 58 09 09 40 | in $(DE|ST).X..@|
|000039c0| 69 6e 73 74 61 6c 6c 20 | 2d 6f 20 6a 77 6d 20 2d |install |-o jwm -|
|000039d0| 67 20 73 72 63 20 2d 6d | 20 36 34 34 20 2d 63 20 |g src -m| 644 -c |
|000039e0| 24 28 53 52 43 53 29 20 | 24 28 44 45 53 54 29 0a |$(SRCS) |$(DEST).|
|000039f0| 58 09 09 40 6c 73 20 2d | 6c 67 20 24 28 44 45 53 |X..@ls -|lg $(DES|
|00003a00| 54 29 2f 24 28 53 52 43 | 53 29 0a 58 0a 58 6c 69 |T)/$(SRC|S).X.Xli|
|00003a10| 6e 74 3a 3b 0a 58 0a 58 | 70 72 69 6e 74 3a 09 09 |nt:;.X.X|print:..|
|00003a20| 24 28 53 52 43 53 29 0a | 58 09 09 40 24 28 50 52 |$(SRCS).|X..@$(PR|
|00003a30| 49 4e 54 29 20 24 3f 0a | 58 09 09 40 74 6f 75 63 |INT) $?.|X..@touc|
|00003a40| 68 20 70 72 69 6e 74 0a | 58 0a 58 74 61 67 73 3a |h print.|X.Xtags:|
|00003a50| 3b 0a 58 0a 58 75 70 64 | 61 74 65 3a 09 09 24 28 |;.X.Xupd|ate:..$(|
|00003a60| 53 52 43 53 29 0a 58 09 | 09 40 65 63 68 6f 20 49 |SRCS).X.|.@echo I|
|00003a70| 6e 73 74 61 6c 6c 69 6e | 67 20 24 3f 20 69 6e 20 |nstallin|g $? in |
|00003a80| 24 28 44 45 53 54 29 0a | 58 09 09 40 63 70 20 24 |$(DEST).|X..@cp $|
|00003a90| 3f 20 24 28 44 45 53 54 | 29 0a 58 23 23 23 0a 40 |? $(DEST|).X###.@|
|00003aa0| 5c 45 6e 64 5c 6f 66 5c | 46 69 6c 65 5c 0a 65 6c |\End\of\|File\.el|
|00003ab0| 73 65 0a 20 20 65 63 68 | 6f 20 22 73 68 61 72 3a |se. ech|o "shar:|
|00003ac0| 20 57 69 6c 6c 20 6e 6f | 74 20 6f 76 65 72 20 77 | Will no|t over w|
|00003ad0| 72 69 74 65 20 6d 61 6e | 2f 6d 61 6e 6e 2f 4d 61 |rite man|/mann/Ma|
|00003ae0| 6b 65 66 69 6c 65 22 0a | 66 69 0a 69 66 20 60 74 |kefile".|fi.if `t|
|00003af0| 65 73 74 20 21 20 2d 64 | 20 73 72 63 60 0a 74 68 |est ! -d| src`.th|
|00003b00| 65 6e 0a 20 20 6d 6b 64 | 69 72 20 73 72 63 0a 20 |en. mkd|ir src. |
|00003b10| 20 65 63 68 6f 20 22 6d | 6b 64 69 72 20 73 72 63 | echo "m|kdir src|
|00003b20| 22 0a 66 69 0a 69 66 20 | 60 74 65 73 74 20 21 20 |".fi.if |`test ! |
|00003b30| 2d 73 20 73 72 63 2f 4d | 61 6b 65 66 69 6c 65 60 |-s src/M|akefile`|
|00003b40| 0a 74 68 65 6e 0a 65 63 | 68 6f 20 22 78 20 2d 20 |.then.ec|ho "x - |
|00003b50| 73 72 63 2f 4d 61 6b 65 | 66 69 6c 65 22 0a 73 65 |src/Make|file".se|
|00003b60| 64 20 27 73 2f 5e 58 2f | 2f 27 20 3e 20 73 72 63 |d 's/^X/|/' > src|
|00003b70| 2f 4d 61 6b 65 66 69 6c | 65 20 3c 3c 20 27 40 5c |/Makefil|e << '@\|
|00003b80| 45 6e 64 5c 6f 66 5c 46 | 69 6c 65 5c 27 0a 58 50 |End\of\F|ile\'.XP|
|00003b90| 52 4f 47 52 41 4d 09 20 | 20 20 20 20 20 3d 20 6d |ROGRAM. | = m|
|00003ba0| 6b 6d 66 0a 58 0a 58 23 | 44 45 53 54 09 20 20 20 |kmf.X.X#|DEST. |
|00003bb0| 20 20 20 3d 20 2f 75 73 | 72 2f 6e 65 77 2f 62 69 | = /us|r/new/bi|
|00003bc0| 6e 0a 58 44 45 53 54 09 | 20 20 20 20 20 20 3d 20 |n.XDEST.| = |
|00003bd0| 24 28 44 45 53 54 44 49 | 52 29 2f 62 69 6e 0a 58 |$(DESTDI|R)/bin.X|
|00003be0| 0a 58 53 52 43 44 45 53 | 54 09 20 20 20 20 20 20 |.XSRCDES|T. |
|00003bf0| 3d 20 73 72 63 2f 6d 6b | 6d 66 2f 73 72 63 0a 58 |= src/mk|mf/src.X|
|00003c00| 0a 58 4d 41 4e 44 49 52 | 09 20 20 20 20 20 20 3d |.XMANDIR|. =|
|00003c10| 20 2f 75 73 72 2f 6e 65 | 77 2f 6d 61 6e 2f 6d 61 | /usr/ne|w/man/ma|
|00003c20| 6e 31 0a 58 0a 58 4d 41 | 4e 55 41 4c 09 20 20 20 |n1.X.XMA|NUAL. |
|00003c30| 20 20 20 3d 0a 58 0a 58 | 48 4f 4d 45 44 49 52 09 | =.X.X|HOMEDIR.|
|00003c40| 20 20 20 20 20 20 3d 20 | 24 28 48 4f 4d 45 29 0a | = |$(HOME).|
|00003c50| 58 0a 58 23 43 46 4c 41 | 47 53 09 20 20 20 20 20 |X.X#CFLA|GS. |
|00003c60| 20 3d 20 2d 67 20 2d 44 | 24 28 56 45 52 53 49 4f | = -g -D|$(VERSIO|
|00003c70| 4e 29 0a 58 43 46 4c 41 | 47 53 09 20 20 20 20 20 |N).XCFLA|GS. |
|00003c80| 20 3d 20 2d 4f 20 2d 44 | 24 28 56 45 52 53 49 4f | = -O -D|$(VERSIO|
|00003c90| 4e 29 20 2d 44 4f 52 49 | 47 49 4e 41 4c 0a 58 0a |N) -DORI|GINAL.X.|
|00003ca0| 58 56 45 52 53 49 4f 4e | 09 20 20 20 20 20 20 3d |XVERSION|. =|
|00003cb0| 20 56 34 42 53 44 0a 58 | 0a 58 4c 49 42 53 09 20 | V4BSD.X|.XLIBS. |
|00003cc0| 20 20 20 20 20 3d 0a 58 | 0a 58 23 49 46 4c 41 47 | =.X|.X#IFLAG|
|00003cd0| 53 09 20 20 20 20 20 20 | 3d 20 2d 67 20 73 72 63 |S. |= -g src|
|00003ce0| 20 2d 6f 20 6a 77 6d 20 | 2d 63 0a 58 49 46 4c 41 | -o jwm |-c.XIFLA|
|00003cf0| 47 53 09 20 20 20 20 20 | 20 3d 20 2d 67 20 73 72 |GS. | = -g sr|
|00003d00| 63 20 2d 6f 20 6c 6a 7a | 20 2d 63 0a 58 0a 58 59 |c -o ljz| -c.X.XY|
|00003d10| 46 4c 41 47 53 09 20 20 | 20 20 20 20 3d 20 2d 64 |FLAGS. | = -d|
|00003d20| 0a 58 0a 58 4c 46 4c 41 | 47 53 09 20 20 20 20 20 |.X.XLFLA|GS. |
|00003d30| 20 3d 0a 58 0a 58 4c 44 | 46 4c 41 47 53 09 20 20 | =.X.XLD|FLAGS. |
|00003d40| 20 20 20 20 3d 20 24 28 | 43 46 4c 41 47 53 29 0a | = $(|CFLAGS).|
|00003d50| 58 0a 58 4c 49 4e 4b 45 | 52 09 20 20 20 20 20 20 |X.XLINKE|R. |
|00003d60| 3d 20 63 63 0a 58 0a 58 | 4d 41 4b 45 46 49 4c 45 |= cc.X.X|MAKEFILE|
|00003d70| 20 20 20 20 20 20 3d 20 | 4d 61 6b 65 66 69 6c 65 | = |Makefile|
|00003d80| 0a 58 0a 58 45 58 54 48 | 44 52 53 09 20 20 20 20 |.X.XEXTH|DRS. |
|00003d90| 20 20 3d 0a 58 0a 58 48 | 44 52 53 09 20 20 20 20 | =.X.XH|DRS. |
|00003da0| 20 20 3d 20 4d 6b 6d 66 | 2e 68 20 5c 0a 58 09 09 | = Mkmf|.h \.X..|
|00003db0| 64 65 66 61 75 6c 74 72 | 75 6c 2e 68 20 5c 0a 58 |defaultr|ul.h \.X|
|00003dc0| 09 09 64 65 66 61 75 6c | 74 73 66 78 2e 68 20 5c |..defaul|tsfx.h \|
|00003dd0| 0a 58 09 09 64 6c 69 73 | 74 2e 68 20 5c 0a 58 09 |.X..dlis|t.h \.X.|
|00003de0| 09 67 65 74 61 72 67 2e | 68 20 5c 0a 58 09 09 68 |.getarg.|h \.X..h|
|00003df0| 61 73 68 2e 68 20 5c 0a | 58 09 09 6d 61 63 72 6f |ash.h \.|X..macro|
|00003e00| 2e 68 20 5c 0a 58 09 09 | 6e 75 6c 6c 2e 68 20 5c |.h \.X..|null.h \|
|00003e10| 0a 58 09 09 70 61 74 68 | 2e 68 20 5c 0a 58 09 09 |.X..path|.h \.X..|
|00003e20| 72 75 6c 65 2e 68 20 5c | 0a 58 09 09 73 63 63 73 |rule.h \|.X..sccs|
|00003e30| 69 64 2e 68 20 5c 0a 58 | 09 09 73 6c 69 73 74 2e |id.h \.X|..slist.|
|00003e40| 68 20 5c 0a 58 09 09 73 | 70 6d 73 2e 68 20 5c 0a |h \.X..s|pms.h \.|
|00003e50| 58 09 09 73 75 66 66 69 | 78 2e 68 20 5c 0a 58 09 |X..suffi|x.h \.X.|
|00003e60| 09 73 79 73 74 65 6d 2e | 68 20 5c 0a 58 09 09 74 |.system.|h \.X..t|
|00003e70| 61 72 67 65 74 2e 68 20 | 5c 0a 58 09 09 79 65 73 |arget.h |\.X..yes|
|00003e80| 6e 6f 2e 68 0a 58 0a 58 | 4f 42 4a 53 09 20 20 20 |no.h.X.X|OBJS. |
|00003e90| 20 20 20 3d 20 4d 6b 6d | 66 2e 6f 20 5c 0a 58 09 | = Mkm|f.o \.X.|
|00003ea0| 09 62 61 64 6f 70 74 2e | 6f 20 5c 0a 58 09 09 62 |.badopt.|o \.X..b|
|00003eb0| 75 69 6c 64 6c 69 73 74 | 2e 6f 20 5c 0a 58 09 09 |uildlist|.o \.X..|
|00003ec0| 64 65 70 65 6e 64 2e 6f | 20 5c 0a 58 09 09 64 6c |depend.o| \.X..dl|
|00003ed0| 69 73 74 2e 6f 20 5c 0a | 58 09 09 65 64 69 74 6d |ist.o \.|X..editm|
|00003ee0| 66 2e 6f 20 5c 0a 58 09 | 09 67 65 74 63 77 70 2e |f.o \.X.|.getcwp.|
|00003ef0| 6f 20 5c 0a 58 09 09 67 | 65 74 70 72 6f 6a 65 63 |o \.X..g|etprojec|
|00003f00| 74 2e 6f 20 5c 0a 58 09 | 09 68 61 73 68 2e 6f 20 |t.o \.X.|.hash.o |
|00003f10| 5c 0a 58 09 09 69 6f 6c | 69 6e 2e 6f 20 5c 0a 58 |\.X..iol|in.o \.X|
|00003f20| 09 09 6d 61 63 72 6f 2e | 6f 20 5c 0a 58 09 09 6d |..macro.|o \.X..m|
|00003f30| 69 73 63 2e 6f 20 5c 0a | 58 09 09 6d 75 73 74 66 |isc.o \.|X..mustf|
|00003f40| 6f 70 65 6e 2e 6f 20 5c | 0a 58 09 09 6f 70 74 70 |open.o \|.X..optp|
|00003f50| 61 74 68 2e 6f 20 5c 0a | 58 09 09 70 61 74 68 63 |ath.o \.|X..pathc|
|00003f60| 61 74 2e 6f 20 5c 0a 58 | 09 09 70 61 74 68 68 65 |at.o \.X|..pathhe|
|00003f70| 61 64 2e 6f 20 5c 0a 58 | 09 09 70 70 65 72 72 6f |ad.o \.X|..pperro|
|00003f80| 72 2e 6f 20 5c 0a 58 09 | 09 72 75 6c 65 2e 6f 20 |r.o \.X.|.rule.o |
|00003f90| 5c 0a 58 09 09 73 6c 61 | 70 70 65 6e 64 2e 6f 20 |\.X..sla|ppend.o |
|00003fa0| 5c 0a 58 09 09 73 6c 69 | 6e 69 74 2e 6f 20 5c 0a |\.X..sli|nit.o \.|
|00003fb0| 58 09 09 73 6c 73 6f 72 | 74 2e 6f 20 5c 0a 58 09 |X..slsor|t.o \.X.|
|00003fc0| 09 73 74 72 70 63 70 79 | 2e 6f 20 5c 0a 58 09 09 |.strpcpy|.o \.X..|
|00003fd0| 73 74 72 73 61 76 2e 6f | 20 5c 0a 58 09 09 73 75 |strsav.o| \.X..su|
|00003fe0| 66 66 69 78 2e 6f 20 5c | 0a 58 09 09 75 73 61 67 |ffix.o \|.X..usag|
|00003ff0| 65 2e 6f 20 5c 0a 58 09 | 09 77 61 72 6e 2e 6f 20 |e.o \.X.|.warn.o |
|00004000| 5c 0a 58 09 09 77 61 72 | 6e 32 2e 6f 20 5c 0a 58 |\.X..war|n2.o \.X|
|00004010| 09 09 77 61 72 6e 73 2e | 6f 0a 58 0a 58 53 52 43 |..warns.|o.X.XSRC|
|00004020| 53 09 20 20 20 20 20 20 | 3d 20 4d 6b 6d 66 2e 63 |S. |= Mkmf.c|
|00004030| 20 5c 0a 58 09 09 62 61 | 64 6f 70 74 2e 63 20 5c | \.X..ba|dopt.c \|
|00004040| 0a 58 09 09 62 75 69 6c | 64 6c 69 73 74 2e 63 20 |.X..buil|dlist.c |
|00004050| 5c 0a 58 09 09 64 65 70 | 65 6e 64 2e 63 20 5c 0a |\.X..dep|end.c \.|
|00004060| 58 09 09 64 6c 69 73 74 | 2e 63 20 5c 0a 58 09 09 |X..dlist|.c \.X..|
|00004070| 65 64 69 74 6d 66 2e 63 | 20 5c 0a 58 09 09 67 65 |editmf.c| \.X..ge|
|00004080| 74 63 77 70 2e 63 20 5c | 0a 58 09 09 67 65 74 70 |tcwp.c \|.X..getp|
|00004090| 72 6f 6a 65 63 74 2e 63 | 20 5c 0a 58 09 09 68 61 |roject.c| \.X..ha|
|000040a0| 73 68 2e 63 20 5c 0a 58 | 09 09 69 6f 6c 69 6e 2e |sh.c \.X|..iolin.|
|000040b0| 63 20 5c 0a 58 09 09 6d | 61 63 72 6f 2e 63 20 5c |c \.X..m|acro.c \|
|000040c0| 0a 58 09 09 6d 69 73 63 | 2e 63 20 5c 0a 58 09 09 |.X..misc|.c \.X..|
|000040d0| 6d 75 73 74 66 6f 70 65 | 6e 2e 63 20 5c 0a 58 09 |mustfope|n.c \.X.|
|000040e0| 09 6f 70 74 70 61 74 68 | 2e 63 20 5c 0a 58 09 09 |.optpath|.c \.X..|
|000040f0| 70 61 74 68 63 61 74 2e | 63 20 5c 0a 58 09 09 70 |pathcat.|c \.X..p|
|00004100| 61 74 68 68 65 61 64 2e | 63 20 5c 0a 58 09 09 70 |athhead.|c \.X..p|
|00004110| 70 65 72 72 6f 72 2e 63 | 20 5c 0a 58 09 09 72 75 |perror.c| \.X..ru|
|00004120| 6c 65 2e 63 20 5c 0a 58 | 09 09 73 6c 61 70 70 65 |le.c \.X|..slappe|
|00004130| 6e 64 2e 63 20 5c 0a 58 | 09 09 73 6c 69 6e 69 74 |nd.c \.X|..slinit|
|00004140| 2e 63 20 5c 0a 58 09 09 | 73 6c 73 6f 72 74 2e 63 |.c \.X..|slsort.c|
|00004150| 20 5c 0a 58 09 09 73 74 | 72 70 63 70 79 2e 63 20 | \.X..st|rpcpy.c |
|00004160| 5c 0a 58 09 09 73 74 72 | 73 61 76 2e 63 20 5c 0a |\.X..str|sav.c \.|
|00004170| 58 09 09 73 75 66 66 69 | 78 2e 63 20 5c 0a 58 09 |X..suffi|x.c \.X.|
|00004180| 09 75 73 61 67 65 2e 63 | 20 5c 0a 58 09 09 77 61 |.usage.c| \.X..wa|
|00004190| 72 6e 2e 63 20 5c 0a 58 | 09 09 77 61 72 6e 32 2e |rn.c \.X|..warn2.|
|000041a0| 63 20 5c 0a 58 09 09 77 | 61 72 6e 73 2e 63 0a 58 |c \.X..w|arns.c.X|
|000041b0| 0a 58 44 49 53 54 52 49 | 42 09 20 20 20 20 20 20 |.XDISTRI|B. |
|000041c0| 3d 20 24 28 4d 41 4b 45 | 46 49 4c 45 29 20 24 28 |= $(MAKE|FILE) $(|
|000041d0| 53 52 43 53 29 20 24 28 | 48 44 52 53 29 20 24 28 |SRCS) $(|HDRS) $(|
|000041e0| 45 58 54 48 44 52 53 29 | 20 24 28 4d 41 4e 55 41 |EXTHDRS)| $(MANUA|
|000041f0| 4c 29 0a 58 0a 58 57 4f | 52 4b 49 4e 47 53 45 54 |L).X.XWO|RKINGSET|
|00004200| 20 20 20 20 3d 20 24 28 | 44 49 53 54 52 49 42 29 | = $(|DISTRIB)|
|00004210| 0a 58 0a 58 53 48 41 52 | 09 20 20 20 20 20 20 3d |.X.XSHAR|. =|
|00004220| 20 24 28 50 52 4f 47 52 | 41 4d 29 2e 73 68 61 72 | $(PROGR|AM).shar|
|00004230| 0a 58 0a 58 24 28 50 52 | 4f 47 52 41 4d 29 3a 20 |.X.X$(PR|OGRAM): |
|00004240| 20 20 20 20 24 28 4f 42 | 4a 53 29 0a 58 09 09 40 | $(OB|JS).X..@|
|00004250| 72 6d 20 2d 66 20 24 28 | 50 52 4f 47 52 41 4d 29 |rm -f $(|PROGRAM)|
|00004260| 20 63 6f 72 65 0a 58 09 | 09 40 65 63 68 6f 20 22 | core.X.|.@echo "|
|00004270| 4c 69 6e 6b 69 6e 67 20 | 5c 60 24 28 50 52 4f 47 |Linking |\`$(PROG|
|00004280| 52 41 4d 29 27 20 2e 2e | 2e 22 0a 58 09 09 40 24 |RAM)' ..|.".X..@$|
|00004290| 28 4c 49 4e 4b 45 52 29 | 20 24 28 4c 44 46 4c 41 |(LINKER)| $(LDFLA|
|000042a0| 47 53 29 20 24 28 4f 42 | 4a 53 29 20 24 28 4c 49 |GS) $(OB|JS) $(LI|
|000042b0| 42 53 29 20 2d 6f 20 24 | 28 50 52 4f 47 52 41 4d |BS) -o $|(PROGRAM|
|000042c0| 29 0a 58 0a 58 69 6e 73 | 74 61 6c 6c 3a 09 24 28 |).X.Xins|tall:.$(|
|000042d0| 44 45 53 54 29 2f 24 28 | 50 52 4f 47 52 41 4d 29 |DEST)/$(|PROGRAM)|
|000042e0| 20 24 28 4d 41 4e 44 49 | 52 29 2f 24 28 4d 41 4e | $(MANDI|R)/$(MAN|
|000042f0| 55 41 4c 29 0a 58 09 09 | 40 65 63 68 6f 20 22 49 |UAL).X..|@echo "I|
|00004300| 6e 73 74 61 6c 6c 61 74 | 69 6f 6e 20 63 6f 6d 70 |nstallat|ion comp|
|00004310| 6c 65 74 65 64 2e 22 0a | 58 0a 58 63 6c 65 61 6e |leted.".|X.Xclean|
|00004320| 3a 3b 09 09 40 72 6d 20 | 2d 66 20 24 28 4f 42 4a |:;..@rm |-f $(OBJ|
|00004330| 53 29 20 24 28 50 52 4f | 47 52 41 4d 29 20 63 6f |S) $(PRO|GRAM) co|
|00004340| 72 65 20 2a 2e 6f 75 74 | 20 2e 23 2a 0a 58 0a 58 |re *.out| .#*.X.X|
|00004350| 64 65 70 65 6e 64 3a 3b | 09 40 72 6d 20 2d 66 20 |depend:;|.@rm -f |
|00004360| 2e 23 2a 0a 58 09 09 40 | 6d 6b 6d 66 20 2d 66 20 |.#*.X..@|mkmf -f |
|00004370| 24 28 4d 41 4b 45 46 49 | 4c 45 29 20 50 52 4f 47 |$(MAKEFI|LE) PROG|
|00004380| 52 41 4d 3d 24 28 50 52 | 4f 47 52 41 4d 29 20 5c |RAM=$(PR|OGRAM) \|
|00004390| 0a 58 09 09 27 44 45 53 | 54 3d 24 24 28 48 4f 4d |.X..'DES|T=$$(HOM|
|000043a0| 45 44 49 52 29 2f 62 69 | 6e 27 20 5c 0a 58 09 09 |EDIR)/bi|n' \.X..|
|000043b0| 48 4f 4d 45 44 49 52 3d | 60 65 63 68 6f 20 24 24 |HOMEDIR=|`echo $$|
|000043c0| 48 4f 4d 45 60 0a 58 0a | 58 73 68 61 72 3a 3a 09 |HOME`.X.|Xshar::.|
|000043d0| 09 24 28 53 48 41 52 29 | 0a 58 0a 58 24 28 53 48 |.$(SHAR)|.X.X$(SH|
|000043e0| 41 52 29 3a 09 24 28 44 | 49 53 54 52 49 42 29 0a |AR):.$(D|ISTRIB).|
|000043f0| 58 09 09 40 72 6d 20 2d | 66 20 24 28 53 48 41 52 |X..@rm -|f $(SHAR|
|00004400| 29 0a 58 09 09 73 68 61 | 72 20 24 28 53 48 41 52 |).X..sha|r $(SHAR|
|00004410| 29 20 24 28 44 49 53 54 | 52 49 42 29 0a 58 09 09 |) $(DIST|RIB).X..|
|00004420| 40 6c 73 20 2d 6c 67 73 | 20 24 28 53 48 41 52 29 |@ls -lgs| $(SHAR)|
|00004430| 0a 58 0a 58 74 61 67 73 | 3a 09 09 24 28 48 44 52 |.X.Xtags|:..$(HDR|
|00004440| 53 29 20 24 28 53 52 43 | 53 29 0a 58 09 09 40 63 |S) $(SRC|S).X..@c|
|00004450| 74 61 67 73 20 24 28 48 | 44 52 53 29 20 24 28 53 |tags $(H|DRS) $(S|
|00004460| 52 43 53 29 0a 58 0a 58 | 6d 61 6e 75 61 6c 3a 09 |RCS).X.X|manual:.|
|00004470| 09 24 28 4d 41 4e 44 49 | 52 29 2f 24 28 4d 41 4e |.$(MANDI|R)/$(MAN|
|00004480| 55 41 4c 29 0a 58 0a 58 | 6c 63 6f 75 6e 74 3a 3b |UAL).X.X|lcount:;|
|00004490| 09 40 63 73 74 61 74 20 | 2d 73 20 24 28 48 44 52 |.@cstat |-s $(HDR|
|000044a0| 53 29 20 24 28 53 52 43 | 53 29 20 24 28 4d 41 4b |S) $(SRC|S) $(MAK|
|000044b0| 45 46 49 4c 45 29 0a 58 | 0a 58 73 72 63 6c 69 73 |EFILE).X|.Xsrclis|
|000044c0| 74 3a 3b 09 40 65 63 68 | 6f 20 24 28 44 49 53 54 |t:;.@ech|o $(DIST|
|000044d0| 52 49 42 29 20 3e 20 73 | 72 63 6c 69 73 74 0a 58 |RIB) > s|rclist.X|
|000044e0| 0a 58 62 61 63 6b 75 70 | 3a 09 09 72 65 6e 6f 69 |.Xbackup|:..renoi|
|000044f0| 72 0a 58 0a 58 72 65 6e | 6f 69 72 3a 3b 09 40 72 |r.X.Xren|oir:;.@r|
|00004500| 64 69 73 74 20 2d 63 79 | 77 20 24 28 57 4f 52 4b |dist -cy|w $(WORK|
|00004510| 49 4e 47 53 45 54 29 20 | 24 40 3a 24 28 53 52 43 |INGSET) |$@:$(SRC|
|00004520| 44 45 53 54 29 0a 58 0a | 58 64 6f 75 67 66 69 72 |DEST).X.|Xdougfir|
|00004530| 3a 3b 09 40 72 64 69 73 | 74 20 2d 63 79 77 20 24 |:;.@rdis|t -cyw $|
|00004540| 28 57 4f 52 4b 49 4e 47 | 53 45 54 29 20 24 40 3a |(WORKING|SET) $@:|
|00004550| 24 28 53 52 43 44 45 53 | 54 29 0a 58 0a 58 65 72 |$(SRCDES|T).X.Xer|
|00004560| 6f 73 3a 3b 09 09 40 72 | 64 69 73 74 20 2d 63 79 |os:;..@r|dist -cy|
|00004570| 77 20 24 28 57 4f 52 4b | 49 4e 47 53 45 54 29 20 |w $(WORK|INGSET) |
|00004580| 24 40 3a 2f 75 73 72 2f | 74 6d 70 2f 6a 77 6d 2f |$@:/usr/|tmp/jwm/|
|00004590| 24 28 53 52 43 44 45 53 | 54 29 0a 58 0a 58 66 69 |$(SRCDES|T).X.Xfi|
|000045a0| 72 3a 3b 09 09 40 72 64 | 69 73 74 20 2d 63 79 77 |r:;..@rd|ist -cyw|
|000045b0| 20 24 28 57 4f 52 4b 49 | 4e 47 53 45 54 29 20 24 | $(WORKI|NGSET) $|
|000045c0| 40 3a 2f 66 69 72 2f 6a | 77 6d 2f 24 28 53 52 43 |@:/fir/j|wm/$(SRC|
|000045d0| 44 45 53 54 29 0a 58 0a | 58 24 28 44 45 53 54 29 |DEST).X.|X$(DEST)|
|000045e0| 2f 24 28 50 52 4f 47 52 | 41 4d 29 3a 20 24 28 50 |/$(PROGR|AM): $(P|
|000045f0| 52 4f 47 52 41 4d 29 0a | 58 09 09 40 69 6e 73 74 |ROGRAM).|X..@inst|
|00004600| 61 6c 6c 20 24 28 49 46 | 4c 41 47 53 29 20 2d 73 |all $(IF|LAGS) -s|
|00004610| 20 2d 6d 20 30 37 37 35 | 20 24 28 50 52 4f 47 52 | -m 0775| $(PROGR|
|00004620| 41 4d 29 20 24 28 44 45 | 53 54 29 0a 58 09 09 40 |AM) $(DE|ST).X..@|
|00004630| 6c 73 20 2d 6c 67 20 24 | 28 44 45 53 54 29 2f 24 |ls -lg $|(DEST)/$|
|00004640| 28 50 52 4f 47 52 41 4d | 29 0a 58 0a 58 24 28 4d |(PROGRAM|).X.X$(M|
|00004650| 41 4e 44 49 52 29 2f 24 | 28 4d 41 4e 55 41 4c 29 |ANDIR)/$|(MANUAL)|
|00004660| 3a 20 24 28 4d 41 4e 55 | 41 4c 29 0a 58 09 09 69 |: $(MANU|AL).X..i|
|00004670| 6e 73 74 61 6c 6c 20 24 | 28 49 46 4c 41 47 53 29 |nstall $|(IFLAGS)|
|00004680| 20 2d 6d 20 30 36 34 34 | 20 24 28 4d 41 4e 55 41 | -m 0644| $(MANUA|
|00004690| 4c 29 20 24 28 4d 41 4e | 44 49 52 29 0a 58 09 09 |L) $(MAN|DIR).X..|
|000046a0| 40 6c 73 20 2d 6c 67 73 | 20 24 28 4d 41 4e 44 49 |@ls -lgs| $(MANDI|
|000046b0| 52 29 2f 24 28 4d 41 4e | 55 41 4c 29 0a 58 23 23 |R)/$(MAN|UAL).X##|
|000046c0| 23 0a 58 4d 6b 6d 66 2e | 6f 3a 20 73 63 63 73 69 |#.XMkmf.|o: sccsi|
|000046d0| 64 2e 68 20 4d 6b 6d 66 | 2e 68 20 67 65 74 61 72 |d.h Mkmf|.h getar|
|000046e0| 67 2e 68 20 68 61 73 68 | 2e 68 20 6e 75 6c 6c 2e |g.h hash|.h null.|
|000046f0| 68 20 70 61 74 68 2e 68 | 20 74 61 72 67 65 74 2e |h path.h| target.|
|00004700| 68 20 73 6c 69 73 74 2e | 68 20 5c 0a 58 09 73 75 |h slist.|h \.X.su|
|00004710| 66 66 69 78 2e 68 20 73 | 79 73 74 65 6d 2e 68 20 |ffix.h s|ystem.h |
|00004720| 79 65 73 6e 6f 2e 68 20 | 64 65 66 61 75 6c 74 72 |yesno.h |defaultr|
|00004730| 75 6c 2e 68 20 64 65 66 | 61 75 6c 74 73 66 78 2e |ul.h def|aultsfx.|
|00004740| 68 0a 58 62 61 64 6f 70 | 74 2e 6f 3a 20 6e 75 6c |h.Xbadop|t.o: nul|
|00004750| 6c 2e 68 0a 58 62 75 69 | 6c 64 6c 69 73 74 2e 6f |l.h.Xbui|ldlist.o|
|00004760| 3a 20 4d 6b 6d 66 2e 68 | 20 68 61 73 68 2e 68 20 |: Mkmf.h| hash.h |
|00004770| 6e 75 6c 6c 2e 68 20 70 | 61 74 68 2e 68 20 73 6c |null.h p|ath.h sl|
|00004780| 69 73 74 2e 68 20 73 75 | 66 66 69 78 2e 68 20 73 |ist.h su|ffix.h s|
|00004790| 79 73 74 65 6d 2e 68 20 | 79 65 73 6e 6f 2e 68 0a |ystem.h |yesno.h.|
|000047a0| 58 64 65 70 65 6e 64 2e | 6f 3a 20 4d 6b 6d 66 2e |Xdepend.|o: Mkmf.|
|000047b0| 68 20 64 6c 69 73 74 2e | 68 20 68 61 73 68 2e 68 |h dlist.|h hash.h|
|000047c0| 20 6d 61 63 72 6f 2e 68 | 20 6e 75 6c 6c 2e 68 20 | macro.h| null.h |
|000047d0| 70 61 74 68 2e 68 20 73 | 6c 69 73 74 2e 68 20 73 |path.h s|list.h s|
|000047e0| 79 73 74 65 6d 2e 68 20 | 5c 0a 58 09 79 65 73 6e |ystem.h |\.X.yesn|
|000047f0| 6f 2e 68 0a 58 64 6c 69 | 73 74 2e 6f 3a 20 4d 6b |o.h.Xdli|st.o: Mk|
|00004800| 6d 66 2e 68 20 64 6c 69 | 73 74 2e 68 20 68 61 73 |mf.h dli|st.h has|
|00004810| 68 2e 68 20 6e 75 6c 6c | 2e 68 20 73 6c 69 73 74 |h.h null|.h slist|
|00004820| 2e 68 20 79 65 73 6e 6f | 2e 68 0a 58 65 64 69 74 |.h yesno|.h.Xedit|
|00004830| 6d 66 2e 6f 3a 20 4d 6b | 6d 66 2e 68 20 64 6c 69 |mf.o: Mk|mf.h dli|
|00004840| 73 74 2e 68 20 68 61 73 | 68 2e 68 20 6d 61 63 72 |st.h has|h.h macr|
|00004850| 6f 2e 68 20 6e 75 6c 6c | 2e 68 20 73 6c 69 73 74 |o.h null|.h slist|
|00004860| 2e 68 20 73 79 73 74 65 | 6d 2e 68 20 79 65 73 6e |.h syste|m.h yesn|
|00004870| 6f 2e 68 0a 58 67 65 74 | 63 77 70 2e 6f 3a 20 6e |o.h.Xget|cwp.o: n|
|00004880| 75 6c 6c 2e 68 0a 58 67 | 65 74 70 72 6f 6a 65 63 |ull.h.Xg|etprojec|
|00004890| 74 2e 6f 3a 20 6e 75 6c | 6c 2e 68 0a 58 68 61 73 |t.o: nul|l.h.Xhas|
|000048a0| 68 2e 6f 3a 20 6e 75 6c | 6c 2e 68 20 68 61 73 68 |h.o: nul|l.h hash|
|000048b0| 2e 68 20 6d 61 63 72 6f | 2e 68 0a 58 69 6f 6c 69 |.h macro|.h.Xioli|
|000048c0| 6e 2e 6f 3a 20 79 65 73 | 6e 6f 2e 68 0a 58 6d 61 |n.o: yes|no.h.Xma|
|000048d0| 63 72 6f 2e 6f 3a 20 4d | 6b 6d 66 2e 68 20 68 61 |cro.o: M|kmf.h ha|
|000048e0| 73 68 2e 68 20 6d 61 63 | 72 6f 2e 68 20 6e 75 6c |sh.h mac|ro.h nul|
|000048f0| 6c 2e 68 20 73 6c 69 73 | 74 2e 68 20 79 65 73 6e |l.h slis|t.h yesn|
|00004900| 6f 2e 68 0a 58 6d 69 73 | 63 2e 6f 3a 20 4d 6b 6d |o.h.Xmis|c.o: Mkm|
|00004910| 66 2e 68 20 68 61 73 68 | 2e 68 20 6d 61 63 72 6f |f.h hash|.h macro|
|00004920| 2e 68 20 6e 75 6c 6c 2e | 68 20 70 61 74 68 2e 68 |.h null.|h path.h|
|00004930| 20 74 61 72 67 65 74 2e | 68 20 73 70 6d 73 2e 68 | target.|h spms.h|
|00004940| 20 73 75 66 66 69 78 2e | 68 20 5c 0a 58 09 73 79 | suffix.|h \.X.sy|
|00004950| 73 74 65 6d 2e 68 20 79 | 65 73 6e 6f 2e 68 0a 58 |stem.h y|esno.h.X|
|00004960| 6f 70 74 70 61 74 68 2e | 6f 3a 20 70 61 74 68 2e |optpath.|o: path.|
|00004970| 68 0a 58 70 61 74 68 63 | 61 74 2e 6f 3a 20 70 61 |h.Xpathc|at.o: pa|
|00004980| 74 68 2e 68 0a 58 70 61 | 74 68 68 65 61 64 2e 6f |th.h.Xpa|thhead.o|
|00004990| 3a 20 6e 75 6c 6c 2e 68 | 20 70 61 74 68 2e 68 0a |: null.h| path.h.|
|000049a0| 58 72 75 6c 65 2e 6f 3a | 20 4d 6b 6d 66 2e 68 20 |Xrule.o:| Mkmf.h |
|000049b0| 6e 75 6c 6c 2e 68 20 72 | 75 6c 65 2e 68 20 73 6c |null.h r|ule.h sl|
|000049c0| 69 73 74 2e 68 20 73 75 | 66 66 69 78 2e 68 20 73 |ist.h su|ffix.h s|
|000049d0| 79 73 74 65 6d 2e 68 20 | 79 65 73 6e 6f 2e 68 0a |ystem.h |yesno.h.|
|000049e0| 58 73 6c 61 70 70 65 6e | 64 2e 6f 3a 20 6d 61 63 |Xslappen|d.o: mac|
|000049f0| 72 6f 2e 68 20 6e 75 6c | 6c 2e 68 20 73 6c 69 73 |ro.h nul|l.h slis|
|00004a00| 74 2e 68 0a 58 73 6c 69 | 6e 69 74 2e 6f 3a 20 6e |t.h.Xsli|nit.o: n|
|00004a10| 75 6c 6c 2e 68 20 73 6c | 69 73 74 2e 68 0a 58 73 |ull.h sl|ist.h.Xs|
|00004a20| 6c 73 6f 72 74 2e 6f 3a | 20 6e 75 6c 6c 2e 68 20 |lsort.o:| null.h |
|00004a30| 73 6c 69 73 74 2e 68 20 | 79 65 73 6e 6f 2e 68 0a |slist.h |yesno.h.|
|00004a40| 58 73 74 72 73 61 76 2e | 6f 3a 20 6e 75 6c 6c 2e |Xstrsav.|o: null.|
|00004a50| 68 0a 58 73 75 66 66 69 | 78 2e 6f 3a 20 4d 6b 6d |h.Xsuffi|x.o: Mkm|
|00004a60| 66 2e 68 20 68 61 73 68 | 2e 68 20 6d 61 63 72 6f |f.h hash|.h macro|
|00004a70| 2e 68 20 6e 75 6c 6c 2e | 68 20 73 75 66 66 69 78 |.h null.|h suffix|
|00004a80| 2e 68 20 79 65 73 6e 6f | 2e 68 0a 58 75 73 61 67 |.h yesno|.h.Xusag|
|00004a90| 65 2e 6f 3a 20 6e 75 6c | 6c 2e 68 0a 58 77 61 72 |e.o: nul|l.h.Xwar|
|00004aa0| 6e 2e 6f 3a 20 6e 75 6c | 6c 2e 68 0a 58 77 61 72 |n.o: nul|l.h.Xwar|
|00004ab0| 6e 32 2e 6f 3a 20 6e 75 | 6c 6c 2e 68 0a 58 77 61 |n2.o: nu|ll.h.Xwa|
|00004ac0| 72 6e 73 2e 6f 3a 20 6e | 75 6c 6c 2e 68 0a 40 5c |rns.o: n|ull.h.@\|
|00004ad0| 45 6e 64 5c 6f 66 5c 46 | 69 6c 65 5c 0a 65 6c 73 |End\of\F|ile\.els|
|00004ae0| 65 0a 20 20 65 63 68 6f | 20 22 73 68 61 72 3a 20 |e. echo| "shar: |
|00004af0| 57 69 6c 6c 20 6e 6f 74 | 20 6f 76 65 72 20 77 72 |Will not| over wr|
|00004b00| 69 74 65 20 73 72 63 2f | 4d 61 6b 65 66 69 6c 65 |ite src/|Makefile|
|00004b10| 22 0a 66 69 0a 69 66 20 | 60 74 65 73 74 20 21 20 |".fi.if |`test ! |
|00004b20| 2d 73 20 73 72 63 2f 4d | 6b 6d 66 2e 63 60 0a 74 |-s src/M|kmf.c`.t|
|00004b30| 68 65 6e 0a 65 63 68 6f | 20 22 78 20 2d 20 73 72 |hen.echo| "x - sr|
|00004b40| 63 2f 4d 6b 6d 66 2e 63 | 22 0a 73 65 64 20 27 73 |c/Mkmf.c|".sed 's|
|00004b50| 2f 5e 58 2f 2f 27 20 3e | 20 73 72 63 2f 4d 6b 6d |/^X//' >| src/Mkm|
|00004b60| 66 2e 63 20 3c 3c 20 27 | 40 5c 45 6e 64 5c 6f 66 |f.c << '|@\End\of|
|00004b70| 5c 46 69 6c 65 5c 27 0a | 58 73 74 61 74 69 63 20 |\File\'.|Xstatic |
|00004b80| 63 68 61 72 20 2a 72 63 | 73 69 64 20 3d 20 22 24 |char *rc|sid = "$|
|00004b90| 48 65 61 64 65 72 3a 20 | 4d 6b 6d 66 2e 63 2c 76 |Header: |Mkmf.c,v|
|00004ba0| 20 31 2e 37 20 38 36 2f | 30 31 2f 31 32 20 30 30 | 1.7 86/|01/12 00|
|00004bb0| 3a 34 38 3a 32 36 20 6c | 65 70 72 65 61 75 20 45 |:48:26 l|epreau E|
|00004bc0| 78 70 20 24 22 3b 0a 58 | 23 69 6e 63 6c 75 64 65 |xp $";.X|#include|
|00004bd0| 20 22 73 63 63 73 69 64 | 2e 68 22 0a 58 2f 2a 0a | "sccsid|.h".X/*.|
|00004be0| 58 20 2a 20 6d 6b 6d 66 | 20 2d 20 6d 61 6b 65 66 |X * mkmf| - makef|
|00004bf0| 69 6c 65 20 65 64 69 74 | 6f 72 0a 58 20 2a 0a 58 |ile edit|or.X *.X|
|00004c00| 20 2a 20 41 75 74 68 6f | 72 3a 20 50 65 74 65 72 | * Autho|r: Peter|
|00004c10| 20 4a 2e 20 4e 69 63 6b | 6c 69 6e 0a 58 20 2a 2f | J. Nick|lin.X */|
|00004c20| 0a 58 23 69 6e 63 6c 75 | 64 65 20 22 4d 6b 6d 66 |.X#inclu|de "Mkmf|
|00004c30| 2e 68 22 0a 58 23 69 6e | 63 6c 75 64 65 20 22 67 |.h".X#in|clude "g|
|00004c40| 65 74 61 72 67 2e 68 22 | 0a 58 23 69 6e 63 6c 75 |etarg.h"|.X#inclu|
|00004c50| 64 65 20 22 68 61 73 68 | 2e 68 22 0a 58 23 69 6e |de "hash|.h".X#in|
|00004c60| 63 6c 75 64 65 20 22 6e | 75 6c 6c 2e 68 22 0a 58 |clude "n|ull.h".X|
|00004c70| 23 69 6e 63 6c 75 64 65 | 20 22 70 61 74 68 2e 68 |#include| "path.h|
|00004c80| 22 0a 58 23 69 6e 63 6c | 75 64 65 20 22 74 61 72 |".X#incl|ude "tar|
|00004c90| 67 65 74 2e 68 22 0a 58 | 23 69 6e 63 6c 75 64 65 |get.h".X|#include|
|00004ca0| 20 22 73 6c 69 73 74 2e | 68 22 0a 58 23 69 6e 63 | "slist.|h".X#inc|
|00004cb0| 6c 75 64 65 20 22 73 75 | 66 66 69 78 2e 68 22 0a |lude "su|ffix.h".|
|00004cc0| 58 23 69 6e 63 6c 75 64 | 65 20 22 73 79 73 74 65 |X#includ|e "syste|
|00004cd0| 6d 2e 68 22 0a 58 23 69 | 6e 63 6c 75 64 65 20 22 |m.h".X#i|nclude "|
|00004ce0| 79 65 73 6e 6f 2e 68 22 | 0a 58 0a 58 63 68 61 72 |yesno.h"|.X.Xchar|
|00004cf0| 20 2a 4c 5f 4d 41 4b 45 | 46 49 4c 45 20 3d 20 22 | *L_MAKE|FILE = "|
|00004d00| 6c 2e 4d 61 6b 65 66 69 | 6c 65 22 3b 09 2f 2a 20 |l.Makefi|le";./* |
|00004d10| 64 65 66 61 75 6c 74 20 | 6c 69 62 72 61 72 79 20 |default |library |
|00004d20| 6d 61 6b 65 66 69 6c 65 | 20 74 65 6d 70 6c 61 74 |makefile| templat|
|00004d30| 65 20 2a 2f 0a 58 63 68 | 61 72 20 4f 42 4a 53 46 |e */.Xch|ar OBJSF|
|00004d40| 58 5b 53 55 46 46 49 58 | 53 49 5a 45 5d 20 3d 20 |X[SUFFIX|SIZE] = |
|00004d50| 22 2e 6f 22 3b 09 09 2f | 2a 20 64 65 66 61 75 6c |".o";../|* defaul|
|00004d60| 74 20 6f 62 6a 65 63 74 | 20 73 75 66 66 69 78 20 |t object| suffix |
|00004d70| 2a 2f 0a 58 63 68 61 72 | 20 2a 50 5f 4d 41 4b 45 |*/.Xchar| *P_MAKE|
|00004d80| 46 49 4c 45 20 3d 20 22 | 70 2e 4d 61 6b 65 66 69 |FILE = "|p.Makefi|
|00004d90| 6c 65 22 3b 09 2f 2a 20 | 64 65 66 61 75 6c 74 20 |le";./* |default |
|00004da0| 70 72 6f 67 72 61 6d 20 | 6d 61 6b 65 66 69 6c 65 |program |makefile|
|00004db0| 20 74 65 6d 70 6c 61 74 | 65 20 2a 2f 0a 58 63 68 | templat|e */.Xch|
|00004dc0| 61 72 20 2a 50 47 4e 20 | 3d 20 22 6d 6b 6d 66 22 |ar *PGN |= "mkmf"|
|00004dd0| 3b 09 09 09 2f 2a 20 70 | 72 6f 67 72 61 6d 20 6e |;.../* p|rogram n|
|00004de0| 61 6d 65 20 2a 2f 0a 58 | 63 68 61 72 20 69 64 69 |ame */.X|char idi|
|00004df0| 72 5b 38 30 39 36 5d 3b | 09 09 09 2f 2a 20 61 64 |r[8096];|.../* ad|
|00004e00| 64 69 74 69 6f 6e 61 6c | 20 69 6e 63 6c 75 64 65 |ditional| include|
|00004e10| 20 64 69 72 65 63 74 6f | 72 69 65 73 2e 20 2a 2f | directo|ries. */|
|00004e20| 0a 58 69 6e 74 20 64 61 | 73 68 49 20 3d 20 30 3b |.Xint da|shI = 0;|
|00004e30| 09 09 09 09 2f 2a 20 64 | 6f 20 61 64 64 69 74 69 |..../* d|o additi|
|00004e40| 6f 6e 61 6c 20 69 6e 63 | 2e 20 64 69 72 73 3f 20 |onal inc|. dirs? |
|00004e50| 2a 2f 0a 58 69 6e 74 20 | 43 46 4c 41 47 20 3d 20 |*/.Xint |CFLAG = |
|00004e60| 59 45 53 3b 09 09 09 2f | 2a 20 6d 61 6b 65 66 69 |YES;.../|* makefi|
|00004e70| 6c 65 20 63 72 65 61 74 | 69 6f 6e 20 6d 65 73 73 |le creat|ion mess|
|00004e80| 61 67 65 20 66 6c 61 67 | 20 2a 2f 0a 58 69 6e 74 |age flag| */.Xint|
|00004e90| 20 41 46 4c 41 47 20 3d | 20 4e 4f 3b 09 09 09 09 | AFLAG =| NO;....|
|00004ea0| 2f 2a 20 61 63 63 65 70 | 74 20 73 72 63 20 66 69 |/* accep|t src fi|
|00004eb0| 6c 65 73 20 77 2f 20 6c | 65 61 64 69 6e 67 20 64 |les w/ l|eading d|
|00004ec0| 6f 74 73 3f 20 2a 2f 0a | 58 69 6e 74 20 44 45 50 |ots? */.|Xint DEP|
|00004ed0| 45 4e 44 20 3d 20 31 3b | 09 09 09 09 2f 2a 20 64 |END = 1;|..../* d|
|00004ee0| 65 70 65 6e 64 65 6e 63 | 79 20 61 6e 61 6c 79 73 |ependenc|y analys|
|00004ef0| 69 73 3f 20 2a 2f 0a 58 | 53 4c 49 53 54 20 2a 48 |is? */.X|SLIST *H|
|00004f00| 45 41 44 4c 49 53 54 3b | 09 09 09 2f 2a 20 68 65 |EADLIST;|.../* he|
|00004f10| 61 64 65 72 20 66 69 6c | 65 20 6e 61 6d 65 20 6c |ader fil|e name l|
|00004f20| 69 73 74 20 2a 2f 0a 58 | 53 4c 49 53 54 20 2a 4c |ist */.X|SLIST *L|
|00004f30| 49 42 4c 49 53 54 3b 09 | 09 09 09 2f 2a 20 6c 69 |IBLIST;.|.../* li|
|00004f40| 62 72 61 72 79 20 70 61 | 74 68 6e 61 6d 65 20 6c |brary pa|thname l|
|00004f50| 69 73 74 20 2a 2f 0a 58 | 53 4c 49 53 54 20 2a 53 |ist */.X|SLIST *S|
|00004f60| 52 43 4c 49 53 54 3b 09 | 09 09 09 2f 2a 20 73 6f |RCLIST;.|.../* so|
|00004f70| 75 72 63 65 20 66 69 6c | 65 20 6e 61 6d 65 20 6c |urce fil|e name l|
|00004f80| 69 73 74 20 2a 2f 0a 58 | 48 41 53 48 20 2a 4d 44 |ist */.X|HASH *MD|
|00004f90| 45 46 54 41 42 4c 45 3b | 09 09 09 2f 2a 20 6d 61 |EFTABLE;|.../* ma|
|00004fa0| 63 72 6f 20 64 65 66 69 | 6e 69 74 69 6f 6e 20 74 |cro defi|nition t|
|00004fb0| 61 62 6c 65 20 2a 2f 0a | 58 0a 58 63 68 61 72 20 |able */.|X.Xchar |
|00004fc0| 2a 44 45 46 52 55 4c 45 | 5b 5d 20 3d 09 09 09 2f |*DEFRULE|[] =.../|
|00004fd0| 2a 20 64 65 66 61 75 6c | 74 20 70 72 65 70 72 6f |* defaul|t prepro|
|00004fe0| 63 65 73 73 6f 72 20 72 | 75 6c 65 73 20 2a 2f 0a |cessor r|ules */.|
|00004ff0| 58 09 7b 0a 58 23 69 6e | 63 6c 75 64 65 20 22 64 |X.{.X#in|clude "d|
|00005000| 65 66 61 75 6c 74 72 75 | 6c 2e 68 22 0a 58 09 4e |efaultru|l.h".X.N|
|00005010| 55 4c 4c 0a 58 09 7d 3b | 0a 58 0a 58 53 55 46 46 |ULL.X.};|.X.XSUFF|
|00005020| 49 58 20 44 45 46 53 46 | 58 5b 5d 20 3d 09 09 09 |IX DEFSF|X[] =...|
|00005030| 2f 2a 20 64 65 66 61 75 | 6c 74 20 73 75 66 66 69 |/* defau|lt suffi|
|00005040| 78 20 6c 69 73 74 20 2a | 2f 0a 58 09 7b 0a 58 23 |x list *|/.X.{.X#|
|00005050| 69 6e 63 6c 75 64 65 20 | 22 64 65 66 61 75 6c 74 |include |"default|
|00005060| 73 66 78 2e 68 22 0a 58 | 09 4e 55 4c 4c 2c 20 30 |sfx.h".X|.NULL, 0|
|00005070| 0a 58 09 7d 3b 0a 58 0a | 58 6d 61 69 6e 28 61 72 |.X.};.X.|Xmain(ar|
|00005080| 67 63 2c 20 61 72 67 76 | 29 0a 58 09 69 6e 74 20 |gc, argv|).X.int |
|00005090| 61 72 67 63 3b 0a 58 09 | 63 68 61 72 20 2a 2a 61 |argc;.X.|char **a|
|000050a0| 72 67 76 3b 0a 58 7b 0a | 58 09 63 68 61 72 20 2a |rgv;.X{.|X.char *|
|000050b0| 6d 66 6e 61 6d 65 20 3d | 20 4e 55 4c 4c 3b 09 09 |mfname =| NULL;..|
|000050c0| 2f 2a 20 6d 61 6b 65 66 | 69 6c 65 20 6e 61 6d 65 |/* makef|ile name|
|000050d0| 20 2a 2f 0a 58 09 63 68 | 61 72 20 6d 66 70 61 74 | */.X.ch|ar mfpat|
|000050e0| 68 5b 50 41 54 48 53 49 | 5a 45 5d 3b 09 09 2f 2a |h[PATHSI|ZE];../*|
|000050f0| 20 6d 61 6b 65 66 69 6c | 65 20 74 65 6d 70 6c 61 | makefil|e templa|
|00005100| 74 65 20 70 61 74 68 6e | 61 6d 65 20 2a 2f 0a 58 |te pathn|ame */.X|
|00005110| 09 48 41 53 48 42 4c 4b | 20 2a 68 74 62 3b 09 09 |.HASHBLK| *htb;..|
|00005120| 09 2f 2a 20 68 61 73 68 | 20 74 61 62 6c 65 20 62 |./* hash| table b|
|00005130| 6c 6f 63 6b 20 2a 2f 0a | 58 09 48 41 53 48 42 4c |lock */.|X.HASHBL|
|00005140| 4b 20 2a 68 74 69 6e 73 | 74 61 6c 6c 28 29 3b 09 |K *htins|tall();.|
|00005150| 09 2f 2a 20 69 6e 73 74 | 61 6c 6c 20 68 61 73 68 |./* inst|all hash|
|00005160| 20 74 61 62 6c 65 20 65 | 6e 74 72 79 20 2a 2f 0a | table e|ntry */.|
|00005170| 58 09 48 41 53 48 42 4c | 4b 20 2a 68 74 6c 6f 6f |X.HASHBL|K *htloo|
|00005180| 6b 75 70 28 29 3b 09 09 | 2f 2a 20 66 69 6e 64 20 |kup();..|/* find |
|00005190| 68 61 73 68 20 74 61 62 | 6c 65 20 65 6e 74 72 79 |hash tab|le entry|
|000051a0| 20 2a 2f 0a 58 09 69 6e | 74 20 62 75 69 6c 64 6c | */.X.in|t buildl|
|000051b0| 69 62 6c 69 73 74 28 29 | 3b 09 09 2f 2a 20 62 75 |iblist()|;../* bu|
|000051c0| 69 6c 64 20 6c 69 73 74 | 20 6f 66 20 6c 69 62 72 |ild list| of libr|
|000051d0| 61 72 79 20 70 61 74 68 | 6e 61 6d 65 73 20 2a 2f |ary path|names */|
|000051e0| 0a 58 09 69 6e 74 20 62 | 75 69 6c 64 72 75 6c 65 |.X.int b|uildrule|
|000051f0| 74 61 62 6c 65 28 29 3b | 09 09 2f 2a 20 62 75 69 |table();|../* bui|
|00005200| 6c 64 20 74 61 62 6c 65 | 20 6f 66 20 70 72 65 70 |ld table| of prep|
|00005210| 72 6f 63 65 73 73 6f 72 | 20 72 75 6c 65 73 20 2a |rocessor| rules *|
|00005220| 2f 0a 58 09 69 6e 74 20 | 62 75 69 6c 64 73 66 78 |/.X.int |buildsfx|
|00005230| 74 61 62 6c 65 28 29 3b | 09 09 2f 2a 20 62 75 69 |table();|../* bui|
|00005240| 6c 64 20 74 61 62 6c 65 | 20 6f 66 20 73 75 66 66 |ld table| of suff|
|00005250| 69 78 65 73 20 2a 2f 0a | 58 09 69 6e 74 20 62 75 |ixes */.|X.int bu|
|00005260| 69 6c 64 73 72 63 6c 69 | 73 74 28 29 3b 09 09 2f |ildsrcli|st();../|
|00005270| 2a 20 62 75 69 6c 64 20 | 6c 69 73 74 20 6f 66 20 |* build |list of |
|00005280| 73 6f 75 72 63 65 20 66 | 69 6c 65 20 6e 61 6d 65 |source f|ile name|
|00005290| 73 20 2a 2f 0a 58 09 69 | 6e 74 20 66 69 6e 64 6d |s */.X.i|nt findm|
|000052a0| 66 28 29 3b 09 09 09 2f | 2a 20 66 69 6e 64 20 6d |f();.../|* find m|
|000052b0| 61 6b 65 66 69 6c 65 20 | 2a 2f 0a 58 09 69 6e 74 |akefile |*/.X.int|
|000052c0| 20 73 74 61 74 75 73 20 | 3d 20 30 3b 09 09 09 2f | status |= 0;.../|
|000052d0| 2a 20 65 78 69 74 20 73 | 74 61 74 75 73 20 2a 2f |* exit s|tatus */|
|000052e0| 0a 58 09 69 6e 74 20 73 | 74 6f 72 65 6d 61 63 72 |.X.int s|toremacr|
|000052f0| 6f 28 29 3b 09 09 2f 2a | 20 73 74 6f 72 65 20 6d |o();../*| store m|
|00005300| 61 63 72 6f 20 64 65 66 | 69 6e 69 74 69 6f 6e 20 |acro def|inition |
|00005310| 2a 2f 0a 58 09 73 68 6f | 72 74 20 69 66 6c 61 67 |*/.X.sho|rt iflag|
|00005320| 20 3d 20 4e 4f 3b 09 09 | 2f 2a 20 69 6e 74 65 72 | = NO;..|/* inter|
|00005330| 61 63 74 69 76 65 20 66 | 6c 61 67 20 2a 2f 0a 58 |active f|lag */.X|
|00005340| 09 54 41 52 47 45 54 20 | 74 61 72 67 65 74 3b 09 |.TARGET |target;.|
|00005350| 09 09 2f 2a 20 74 79 70 | 65 20 6f 66 20 6d 61 6b |../* typ|e of mak|
|00005360| 65 66 69 6c 65 20 74 61 | 72 67 65 74 20 2a 2f 0a |efile ta|rget */.|
|00005370| 58 09 76 6f 69 64 20 61 | 6e 73 77 65 72 28 29 3b |X.void a|nswer();|
|00005380| 09 09 09 2f 2a 20 69 6e | 73 74 61 6c 6c 20 61 6e |.../* in|stall an|
|00005390| 73 77 65 72 20 69 6e 20 | 6d 61 63 72 6f 20 64 65 |swer in |macro de|
|000053a0| 66 20 74 61 62 6c 65 20 | 2a 2f 0a 58 09 76 6f 69 |f table |*/.X.voi|
|000053b0| 64 20 65 64 69 74 6d 66 | 28 29 3b 09 09 09 2f 2a |d editmf|();.../*|
|000053c0| 20 65 64 69 74 20 6d 61 | 6b 65 66 69 6c 65 20 2a | edit ma|kefile *|
|000053d0| 2f 0a 58 0a 58 09 74 61 | 72 67 65 74 2e 74 79 70 |/.X.X.ta|rget.typ|
|000053e0| 65 20 3d 20 74 61 72 67 | 65 74 2e 64 65 73 74 20 |e = targ|et.dest |
|000053f0| 3d 20 56 55 4e 4b 4e 4f | 57 4e 3b 0a 58 0a 58 09 |= VUNKNO|WN;.X.X.|
|00005400| 7b 0a 58 09 72 65 67 69 | 73 74 65 72 20 63 68 61 |{.X.regi|ster cha|
|00005410| 72 20 2a 73 3b 09 09 2f | 2a 20 6f 70 74 69 6f 6e |r *s;../|* option|
|00005420| 20 70 6f 69 6e 74 65 72 | 20 2a 2f 0a 58 09 77 68 | pointer| */.X.wh|
|00005430| 69 6c 65 20 28 2d 2d 61 | 72 67 63 20 3e 20 30 20 |ile (--a|rgc > 0 |
|00005440| 26 26 20 2a 2a 2b 2b 61 | 72 67 76 20 3d 3d 20 27 |&& **++a|rgv == '|
|00005450| 2d 27 29 0a 58 09 09 7b | 0a 58 09 09 66 6f 72 20 |-').X..{|.X..for |
|00005460| 28 73 20 3d 20 61 72 67 | 76 5b 30 5d 2b 31 3b 20 |(s = arg|v[0]+1; |
|00005470| 2a 73 20 21 3d 20 27 5c | 30 27 3b 20 73 2b 2b 29 |*s != '\|0'; s++)|
|00005480| 0a 58 09 09 09 73 77 69 | 74 63 68 20 28 2a 73 29 |.X...swi|tch (*s)|
|00005490| 0a 58 09 09 09 09 7b 0a | 58 09 09 09 09 63 61 73 |.X....{.|X....cas|
|000054a0| 65 20 27 46 27 3a 0a 58 | 09 09 09 09 09 50 5f 4d |e 'F':.X|.....P_M|
|000054b0| 41 4b 45 46 49 4c 45 20 | 3d 20 4c 5f 4d 41 4b 45 |AKEFILE |= L_MAKE|
|000054c0| 46 49 4c 45 20 3d 20 47 | 45 54 41 52 47 28 73 29 |FILE = G|ETARG(s)|
|000054d0| 3b 0a 58 09 09 09 09 09 | 69 66 20 28 50 5f 4d 41 |;.X.....|if (P_MA|
|000054e0| 4b 45 46 49 4c 45 3d 3d | 4e 55 4c 4c 20 7c 7c 20 |KEFILE==|NULL || |
|000054f0| 2a 50 5f 4d 41 4b 45 46 | 49 4c 45 3d 3d 27 5c 30 |*P_MAKEF|ILE=='\0|
|00005500| 27 29 0a 58 09 09 09 09 | 09 09 7b 0a 58 09 09 09 |').X....|..{.X...|
|00005510| 09 09 09 77 61 72 6e 28 | 22 6d 69 73 73 69 6e 67 |...warn(|"missing|
|00005520| 20 74 65 6d 70 6c 61 74 | 65 20 6e 61 6d 65 22 29 | templat|e name")|
|00005530| 3b 0a 58 09 09 09 09 09 | 09 73 74 61 74 75 73 20 |;.X.....|.status |
|00005540| 3d 20 31 3b 0a 58 09 09 | 09 09 09 09 7d 0a 58 09 |= 1;.X..|....}.X.|
|00005550| 09 09 09 09 67 6f 74 6f | 20 65 6e 64 66 6f 72 3b |....goto| endfor;|
|00005560| 0a 58 09 09 09 09 63 61 | 73 65 20 27 49 27 3a 0a |.X....ca|se 'I':.|
|00005570| 58 09 09 09 09 09 2f 2a | 20 63 68 65 63 6b 20 66 |X...../*| check f|
|00005580| 6f 72 20 61 6e 20 61 72 | 67 75 6d 65 6e 74 2e 20 |or an ar|gument. |
|00005590| 2a 2f 0a 58 09 09 09 09 | 09 69 66 20 28 2a 28 73 |*/.X....|.if (*(s|
|000055a0| 20 2b 20 31 29 20 3d 3d | 20 27 5c 30 27 29 20 7b | + 1) ==| '\0') {|
|000055b0| 0a 58 09 09 09 09 09 09 | 77 61 72 6e 28 22 6e 75 |.X......|warn("nu|
|000055c0| 6c 6c 20 69 6e 63 6c 75 | 64 65 20 64 69 72 65 63 |ll inclu|de direc|
|000055d0| 74 6f 72 79 20 74 6f 20 | 2d 49 22 29 3b 0a 58 09 |tory to |-I");.X.|
|000055e0| 09 09 09 09 09 73 74 61 | 74 75 73 20 3d 20 31 3b |.....sta|tus = 1;|
|000055f0| 0a 58 09 09 09 09 09 7d | 20 65 6c 73 65 20 69 66 |.X.....}| else if|
|00005600| 20 28 64 61 73 68 49 29 | 20 7b 0a 58 09 09 09 09 | (dashI)| {.X....|
|00005610| 09 09 73 74 72 63 61 74 | 28 69 64 69 72 2c 20 22 |..strcat|(idir, "|
|00005620| 20 22 29 3b 0a 58 09 09 | 09 09 09 09 73 74 72 63 | ");.X..|....strc|
|00005630| 61 74 28 69 64 69 72 2c | 20 61 72 67 76 5b 30 5d |at(idir,| argv[0]|
|00005640| 29 3b 0a 58 09 09 09 09 | 09 7d 20 65 6c 73 65 20 |);.X....|.} else |
|00005650| 7b 0a 58 09 09 09 09 09 | 09 64 61 73 68 49 20 3d |{.X.....|.dashI =|
|00005660| 20 31 3b 0a 58 09 09 09 | 09 09 09 73 74 72 63 70 | 1;.X...|...strcp|
|00005670| 79 28 69 64 69 72 2c 20 | 61 72 67 76 5b 30 5d 29 |y(idir, |argv[0])|
|00005680| 3b 0a 58 09 09 09 09 09 | 7d 0a 58 09 09 09 09 09 |;.X.....|}.X.....|
|00005690| 67 6f 74 6f 20 65 6e 64 | 66 6f 72 3b 0a 58 09 09 |goto end|for;.X..|
|000056a0| 09 09 63 61 73 65 20 27 | 61 27 3a 0a 58 09 09 09 |..case '|a':.X...|
|000056b0| 09 09 41 46 4c 41 47 20 | 3d 20 59 45 53 3b 0a 58 |..AFLAG |= YES;.X|
|000056c0| 09 09 09 09 09 62 72 65 | 61 6b 3b 0a 58 09 09 09 |.....bre|ak;.X...|
|000056d0| 09 63 61 73 65 20 27 63 | 27 3a 0a 58 09 09 09 09 |.case 'c|':.X....|
|000056e0| 09 43 46 4c 41 47 20 3d | 20 4e 4f 3b 0a 58 09 09 |.CFLAG =| NO;.X..|
|000056f0| 09 09 09 62 72 65 61 6b | 3b 0a 58 09 09 09 09 63 |...break|;.X....c|
|00005700| 61 73 65 20 27 64 27 3a | 0a 58 09 09 09 09 09 2f |ase 'd':|.X...../|
|00005710| 2a 20 74 75 72 6e 20 4f | 46 46 20 64 65 70 65 6e |* turn O|FF depen|
|00005720| 64 65 6e 63 79 20 61 6e | 61 6c 79 73 69 73 20 2a |dency an|alysis *|
|00005730| 2f 0a 58 09 09 09 09 09 | 44 45 50 45 4e 44 20 3d |/.X.....|DEPEND =|
|00005740| 20 30 3b 0a 58 09 09 09 | 09 09 62 72 65 61 6b 3b | 0;.X...|..break;|
|00005750| 0a 58 09 09 09 09 63 61 | 73 65 20 27 66 27 3a 0a |.X....ca|se 'f':.|
|00005760| 58 09 09 09 09 09 6d 66 | 6e 61 6d 65 20 3d 20 47 |X.....mf|name = G|
|00005770| 45 54 41 52 47 28 73 29 | 3b 0a 58 09 09 09 09 09 |ETARG(s)|;.X.....|
|00005780| 69 66 20 28 6d 66 6e 61 | 6d 65 20 3d 3d 20 4e 55 |if (mfna|me == NU|
|00005790| 4c 4c 20 7c 7c 20 2a 6d | 66 6e 61 6d 65 20 3d 3d |LL || *m|fname ==|
|000057a0| 20 27 5c 30 27 29 0a 58 | 09 09 09 09 09 09 7b 0a | '\0').X|......{.|
|000057b0| 58 09 09 09 09 09 09 77 | 61 72 6e 28 22 6d 69 73 |X......w|arn("mis|
|000057c0| 73 69 6e 67 20 6d 61 6b | 65 66 69 6c 65 20 6e 61 |sing mak|efile na|
|000057d0| 6d 65 22 29 3b 0a 58 09 | 09 09 09 09 09 73 74 61 |me");.X.|.....sta|
|000057e0| 74 75 73 20 3d 20 31 3b | 0a 58 09 09 09 09 09 09 |tus = 1;|.X......|
|000057f0| 7d 0a 58 09 09 09 09 09 | 67 6f 74 6f 20 65 6e 64 |}.X.....|goto end|
|00005800| 66 6f 72 3b 0a 58 09 09 | 09 09 63 61 73 65 20 27 |for;.X..|..case '|
|00005810| 69 27 3a 0a 58 09 09 09 | 09 09 69 66 6c 61 67 20 |i':.X...|..iflag |
|00005820| 3d 20 59 45 53 3b 0a 58 | 09 09 09 09 09 62 72 65 |= YES;.X|.....bre|
|00005830| 61 6b 3b 0a 58 09 09 09 | 09 63 61 73 65 20 27 6c |ak;.X...|.case 'l|
|00005840| 27 3a 0a 58 09 09 09 09 | 09 74 61 72 67 65 74 2e |':.X....|.target.|
|00005850| 74 79 70 65 20 3d 20 56 | 4c 49 42 52 41 52 59 3b |type = V|LIBRARY;|
|00005860| 0a 58 09 09 09 09 09 62 | 72 65 61 6b 3b 0a 58 09 |.X.....b|reak;.X.|
|00005870| 09 09 09 64 65 66 61 75 | 6c 74 3a 0a 58 09 09 09 |...defau|lt:.X...|
|00005880| 09 09 62 61 64 6f 70 74 | 28 2a 2a 61 72 67 76 2c |..badopt|(**argv,|
|00005890| 20 2a 73 29 3b 0a 58 09 | 09 09 09 09 73 74 61 74 | *s);.X.|....stat|
|000058a0| 75 73 20 3d 20 31 3b 0a | 58 09 09 09 09 09 67 6f |us = 1;.|X.....go|
|000058b0| 74 6f 20 65 6e 64 66 6f | 72 3b 0a 58 09 09 09 09 |to endfo|r;.X....|
|000058c0| 7d 0a 58 09 09 65 6e 64 | 66 6f 72 3a 20 63 6f 6e |}.X..end|for: con|
|000058d0| 74 69 6e 75 65 3b 0a 58 | 09 09 7d 0a 58 09 7d 0a |tinue;.X|..}.X.}.|
|000058e0| 58 09 0a 58 09 2f 2a 20 | 69 6e 69 74 69 61 6c 69 |X..X./* |initiali|
|000058f0| 7a 65 20 6d 61 63 72 6f | 20 64 65 66 69 6e 69 74 |ze macro| definit|
|00005900| 69 6f 6e 20 74 61 62 6c | 65 20 2a 2f 0a 58 09 4d |ion tabl|e */.X.M|
|00005910| 44 45 46 54 41 42 4c 45 | 20 3d 20 68 74 69 6e 69 |DEFTABLE| = htini|
|00005920| 74 28 4d 44 45 46 54 41 | 42 4c 45 53 49 5a 45 29 |t(MDEFTA|BLESIZE)|
|00005930| 3b 0a 58 0a 58 09 2f 2a | 20 67 65 74 20 63 6f 6d |;.X.X./*| get com|
|00005940| 6d 61 6e 64 20 6c 69 6e | 65 20 6d 61 63 72 6f 20 |mand lin|e macro |
|00005950| 64 65 66 69 6e 69 74 69 | 6f 6e 73 20 2a 2f 0a 58 |definiti|ons */.X|
|00005960| 09 66 6f 72 20 28 3b 20 | 61 72 67 63 20 3e 20 30 |.for (; |argc > 0|
|00005970| 3b 20 61 72 67 63 2d 2d | 2c 20 61 72 67 76 2b 2b |; argc--|, argv++|
|00005980| 29 0a 58 09 09 69 66 20 | 28 73 74 6f 72 65 6d 61 |).X..if |(storema|
|00005990| 63 72 6f 28 2a 61 72 67 | 76 29 20 3d 3d 20 4e 4f |cro(*arg|v) == NO|
|000059a0| 29 0a 58 09 09 09 7b 0a | 58 09 09 09 77 61 72 6e |).X...{.|X...warn|
|000059b0| 73 28 22 25 73 20 6e 6f | 74 20 61 20 6d 61 63 72 |s("%s no|t a macr|
|000059c0| 6f 20 64 65 66 69 6e 69 | 74 69 6f 6e 22 2c 20 2a |o defini|tion", *|
|000059d0| 61 72 67 76 29 3b 0a 58 | 09 09 09 73 74 61 74 75 |argv);.X|...statu|
|000059e0| 73 20 3d 20 31 3b 0a 58 | 09 09 09 7d 0a 58 0a 58 |s = 1;.X|...}.X.X|
|000059f0| 09 2f 2a 20 61 64 64 20 | 74 68 65 20 61 64 64 69 |./* add |the addi|
|00005a00| 74 69 6f 6e 61 6c 20 69 | 6e 63 6c 75 64 65 20 64 |tional i|nclude d|
|00005a10| 69 72 73 2c 20 69 66 20 | 65 78 74 61 6e 74 2e 20 |irs, if |extant. |
|00005a20| 2a 2f 0a 58 09 69 66 20 | 28 64 61 73 68 49 20 26 |*/.X.if |(dashI &|
|00005a30| 26 20 68 74 69 6e 73 74 | 61 6c 6c 28 4d 4d 4f 52 |& htinst|all(MMOR|
|00005a40| 45 49 4e 43 44 49 52 53 | 2c 20 69 64 69 72 2c 20 |EINCDIRS|, idir, |
|00005a50| 56 52 45 41 44 4f 4e 4c | 59 2c 20 4d 44 45 46 54 |VREADONL|Y, MDEFT|
|00005a60| 41 42 4c 45 29 20 3d 3d | 20 4e 55 4c 4c 29 0a 58 |ABLE) ==| NULL).X|
|00005a70| 09 09 73 74 61 74 75 73 | 20 3d 20 31 3b 0a 58 0a |..status| = 1;.X.|
|00005a80| 58 09 69 66 20 28 73 74 | 61 74 75 73 20 3d 3d 20 |X.if (st|atus == |
|00005a90| 31 29 0a 58 09 09 7b 0a | 58 09 09 75 73 61 67 65 |1).X..{.|X..usage|
|00005aa0| 28 22 5b 2d 63 64 69 6c | 5d 20 5b 2d 66 20 6d 61 |("[-cdil|] [-f ma|
|00005ab0| 6b 65 66 69 6c 65 5d 20 | 5b 2d 46 20 74 65 6d 70 |kefile] |[-F temp|
|00005ac0| 6c 61 74 65 5d 20 5b 2d | 49 69 6e 63 6c 75 64 65 |late] [-|Iinclude|
|00005ad0| 20 64 69 72 5d 20 5b 6d | 61 63 72 6f 6e 61 6d 65 | dir] [m|acroname|
|00005ae0| 3d 76 61 6c 75 65 2e 2e | 2e 5d 22 29 3b 0a 58 09 |=value..|.]");.X.|
|00005af0| 09 65 78 69 74 28 31 29 | 3b 0a 58 09 09 7d 0a 58 |.exit(1)|;.X..}.X|
|00005b00| 0a 58 0a 58 09 2f 2a 20 | 64 65 74 65 72 6d 69 6e |.X.X./* |determin|
|00005b10| 65 20 74 68 65 20 6d 61 | 6b 65 66 69 6c 65 20 6e |e the ma|kefile n|
|00005b20| 61 6d 65 20 2a 2f 0a 58 | 09 69 66 20 28 6d 66 6e |ame */.X|.if (mfn|
|00005b30| 61 6d 65 20 3d 3d 20 4e | 55 4c 4c 29 0a 58 09 09 |ame == N|ULL).X..|
|00005b40| 69 66 20 28 28 68 74 62 | 20 3d 20 68 74 6c 6f 6f |if ((htb| = htloo|
|00005b50| 6b 75 70 28 4d 4d 41 4b | 45 46 49 4c 45 2c 20 4d |kup(MMAK|EFILE, M|
|00005b60| 44 45 46 54 41 42 4c 45 | 29 29 20 21 3d 20 4e 55 |DEFTABLE|)) != NU|
|00005b70| 4c 4c 29 0a 58 09 09 09 | 6d 66 6e 61 6d 65 20 3d |LL).X...|mfname =|
|00005b80| 20 68 74 62 2d 3e 68 5f | 64 65 66 3b 0a 58 09 09 | htb->h_|def;.X..|
|00005b90| 65 6c 73 65 20 69 66 20 | 28 46 49 4c 45 58 49 53 |else if |(FILEXIS|
|00005ba0| 54 28 22 6d 61 6b 65 66 | 69 6c 65 22 29 29 0a 58 |T("makef|ile")).X|
|00005bb0| 09 09 09 6d 66 6e 61 6d | 65 20 3d 20 22 6d 61 6b |...mfnam|e = "mak|
|00005bc0| 65 66 69 6c 65 22 3b 0a | 58 09 09 65 6c 73 65 20 |efile";.|X..else |
|00005bd0| 69 66 20 28 46 49 4c 45 | 58 49 53 54 28 22 4d 61 |if (FILE|XIST("Ma|
|00005be0| 6b 65 66 69 6c 65 22 29 | 29 0a 58 09 09 09 6d 66 |kefile")|).X...mf|
|00005bf0| 6e 61 6d 65 20 3d 20 22 | 4d 61 6b 65 66 69 6c 65 |name = "|Makefile|
|00005c00| 22 3b 0a 58 09 09 65 6c | 73 65 0a 58 09 09 09 6d |";.X..el|se.X...m|
|00005c10| 66 6e 61 6d 65 20 3d 20 | 22 4d 61 6b 65 66 69 6c |fname = |"Makefil|
|00005c20| 65 22 3b 0a 58 09 69 66 | 20 28 68 74 69 6e 73 74 |e";.X.if| (htinst|
|00005c30| 61 6c 6c 28 4d 4d 41 4b | 45 46 49 4c 45 2c 20 6d |all(MMAK|EFILE, m|
|00005c40| 66 6e 61 6d 65 2c 20 56 | 52 45 41 44 57 52 49 54 |fname, V|READWRIT|
|00005c50| 45 2c 20 4d 44 45 46 54 | 41 42 4c 45 29 20 3d 3d |E, MDEFT|ABLE) ==|
|00005c60| 20 4e 55 4c 4c 29 0a 58 | 09 09 65 78 69 74 28 31 | NULL).X|..exit(1|
|00005c70| 29 3b 0a 58 0a 58 0a 58 | 09 2f 2a 20 66 69 6e 64 |);.X.X.X|./* find|
|00005c80| 20 74 68 65 20 6d 61 6b | 65 66 69 6c 65 20 28 74 | the mak|efile (t|
|00005c90| 65 6d 70 6c 61 74 65 29 | 20 61 6e 64 20 6c 6f 61 |emplate)| and loa|
|00005ca0| 64 20 75 73 65 66 75 6c | 20 6d 61 63 72 6f 20 64 |d useful| macro d|
|00005cb0| 65 66 69 6e 69 74 69 6f | 6e 73 20 2a 2f 0a 58 09 |efinitio|ns */.X.|
|00005cc0| 69 66 20 28 74 61 72 67 | 65 74 2e 74 79 70 65 20 |if (targ|et.type |
|00005cd0| 3d 3d 20 56 55 4e 4b 4e | 4f 57 4e 29 0a 58 09 09 |== VUNKN|OWN).X..|
|00005ce0| 7b 0a 58 09 09 69 66 20 | 28 68 74 6c 6f 6f 6b 75 |{.X..if |(htlooku|
|00005cf0| 70 28 4d 50 52 4f 47 52 | 41 4d 2c 20 4d 44 45 46 |p(MPROGR|AM, MDEF|
|00005d00| 54 41 42 4c 45 29 20 21 | 3d 20 4e 55 4c 4c 29 0a |TABLE) !|= NULL).|
|00005d10| 58 09 09 09 74 61 72 67 | 65 74 2e 74 79 70 65 20 |X...targ|et.type |
|00005d20| 3d 20 56 50 52 4f 47 52 | 41 4d 3b 0a 58 09 09 65 |= VPROGR|AM;.X..e|
|00005d30| 6c 73 65 20 69 66 20 28 | 68 74 6c 6f 6f 6b 75 70 |lse if (|htlookup|
|00005d40| 28 4d 4c 49 42 52 41 52 | 59 2c 20 4d 44 45 46 54 |(MLIBRAR|Y, MDEFT|
|00005d50| 41 42 4c 45 29 20 21 3d | 20 4e 55 4c 4c 29 0a 58 |ABLE) !=| NULL).X|
|00005d60| 09 09 09 74 61 72 67 65 | 74 2e 74 79 70 65 20 3d |...targe|t.type =|
|00005d70| 20 56 4c 49 42 52 41 52 | 59 3b 0a 58 09 09 7d 0a | VLIBRAR|Y;.X..}.|
|00005d80| 58 09 69 66 20 28 66 69 | 6e 64 6d 66 28 6d 66 6e |X.if (fi|ndmf(mfn|
|00005d90| 61 6d 65 2c 20 6d 66 70 | 61 74 68 2c 20 26 74 61 |ame, mfp|ath, &ta|
|00005da0| 72 67 65 74 29 20 3d 3d | 20 4e 4f 29 0a 58 09 09 |rget) ==| NO).X..|
|00005db0| 65 78 69 74 28 31 29 3b | 0a 58 09 0a 58 0a 58 09 |exit(1);|.X..X.X.|
|00005dc0| 2f 2a 20 69 6e 74 65 72 | 61 63 74 69 76 65 20 6f |/* inter|active o|
|00005dd0| 70 74 69 6f 6e 20 2a 2f | 0a 58 09 69 66 20 28 69 |ption */|.X.if (i|
|00005de0| 66 6c 61 67 20 3d 3d 20 | 59 45 53 29 0a 58 09 09 |flag == |YES).X..|
|00005df0| 7b 0a 58 09 09 69 66 20 | 28 68 74 6c 6f 6f 6b 75 |{.X..if |(htlooku|
|00005e00| 70 28 4d 50 52 4f 47 52 | 41 4d 2c 20 4d 44 45 46 |p(MPROGR|AM, MDEF|
|00005e10| 54 41 42 4c 45 29 20 3d | 3d 20 4e 55 4c 4c 20 26 |TABLE) =|= NULL &|
|00005e20| 26 0a 58 09 09 20 20 20 | 20 68 74 6c 6f 6f 6b 75 |&.X.. | htlooku|
|00005e30| 70 28 4d 4c 49 42 52 41 | 52 59 2c 20 4d 44 45 46 |p(MLIBRA|RY, MDEF|
|00005e40| 54 41 42 4c 45 29 20 3d | 3d 20 4e 55 4c 4c 29 0a |TABLE) =|= NULL).|
|00005e50| 58 09 09 09 69 66 20 28 | 74 61 72 67 65 74 2e 74 |X...if (|target.t|
|00005e60| 79 70 65 20 3d 3d 20 56 | 50 52 4f 47 52 41 4d 29 |ype == V|PROGRAM)|
|00005e70| 0a 58 09 09 09 09 7b 0a | 58 09 09 09 09 70 72 69 |.X....{.|X....pri|
|00005e80| 6e 74 66 28 22 70 72 6f | 67 72 61 6d 20 6e 61 6d |ntf("pro|gram nam|
|00005e90| 65 3f 20 22 29 3b 0a 58 | 09 09 09 09 61 6e 73 77 |e? ");.X|....answ|
|00005ea0| 65 72 28 4d 50 52 4f 47 | 52 41 4d 2c 20 56 52 45 |er(MPROG|RAM, VRE|
|00005eb0| 41 44 57 52 49 54 45 29 | 3b 0a 58 09 09 09 09 7d |ADWRITE)|;.X....}|
|00005ec0| 0a 58 09 09 09 65 6c 73 | 65 20 69 66 20 28 74 61 |.X...els|e if (ta|
|00005ed0| 72 67 65 74 2e 74 79 70 | 65 20 3d 3d 20 56 4c 49 |rget.typ|e == VLI|
|00005ee0| 42 52 41 52 59 29 0a 58 | 09 09 09 09 7b 0a 58 09 |BRARY).X|....{.X.|
|00005ef0| 09 09 09 70 72 69 6e 74 | 66 28 22 6c 69 62 72 61 |...print|f("libra|
|00005f00| 72 79 20 6e 61 6d 65 3f | 20 22 29 3b 0a 58 09 09 |ry name?| ");.X..|
|00005f10| 09 09 61 6e 73 77 65 72 | 28 4d 4c 49 42 52 41 52 |..answer|(MLIBRAR|
|00005f20| 59 2c 20 56 52 45 41 44 | 57 52 49 54 45 29 3b 0a |Y, VREAD|WRITE);.|
|00005f30| 58 09 09 09 09 7d 0a 58 | 09 09 69 66 20 28 68 74 |X....}.X|..if (ht|
|00005f40| 6c 6f 6f 6b 75 70 28 4d | 44 45 53 54 44 49 52 2c |lookup(M|DESTDIR,|
|00005f50| 20 4d 44 45 46 54 41 42 | 4c 45 29 20 3d 3d 20 4e | MDEFTAB|LE) == N|
|00005f60| 55 4c 4c 20 26 26 20 74 | 61 72 67 65 74 2e 64 65 |ULL && t|arget.de|
|00005f70| 73 74 20 3d 3d 20 56 44 | 45 53 54 44 49 52 29 0a |st == VD|ESTDIR).|
|00005f80| 58 09 09 09 7b 0a 58 09 | 09 09 70 72 69 6e 74 66 |X...{.X.|..printf|
|00005f90| 28 22 64 65 73 74 69 6e | 61 74 69 6f 6e 20 64 69 |("destin|ation di|
|00005fa0| 72 65 63 74 6f 72 79 3f | 20 22 29 3b 0a 58 09 09 |rectory?| ");.X..|
|00005fb0| 09 61 6e 73 77 65 72 28 | 4d 44 45 53 54 44 49 52 |.answer(|MDESTDIR|
|00005fc0| 2c 20 56 52 45 41 44 57 | 52 49 54 45 29 3b 0a 58 |, VREADW|RITE);.X|
|00005fd0| 09 09 09 7d 0a 58 09 09 | 7d 0a 58 0a 58 09 2f 2a |...}.X..|}.X.X./*|
|00005fe0| 20 62 75 69 6c 64 20 74 | 68 65 20 73 75 66 66 69 | build t|he suffi|
|00005ff0| 78 20 74 61 62 6c 65 20 | 2a 2f 0a 58 09 69 66 20 |x table |*/.X.if |
|00006000| 28 62 75 69 6c 64 73 66 | 78 74 61 62 6c 65 28 29 |(buildsf|xtable()|
|00006010| 20 3d 3d 20 4e 4f 29 0a | 58 09 09 65 78 69 74 28 | == NO).|X..exit(|
|00006020| 31 29 3b 0a 58 0a 58 09 | 2f 2a 20 62 75 69 6c 64 |1);.X.X.|/* build|
|00006030| 20 74 68 65 20 72 75 6c | 65 20 74 61 62 6c 65 20 | the rul|e table |
|00006040| 2a 2f 0a 58 09 69 66 20 | 28 62 75 69 6c 64 72 75 |*/.X.if |(buildru|
|00006050| 6c 65 74 61 62 6c 65 28 | 29 20 3d 3d 20 4e 4f 29 |letable(|) == NO)|
|00006060| 0a 58 09 09 65 78 69 74 | 28 31 29 3b 0a 58 0a 58 |.X..exit|(1);.X.X|
|00006070| 09 2f 2a 20 62 75 69 6c | 64 20 74 68 65 20 73 6f |./* buil|d the so|
|00006080| 75 72 63 65 20 63 6f 64 | 65 20 61 6e 64 20 68 65 |urce cod|e and he|
|00006090| 61 64 65 72 20 66 69 6c | 65 20 6e 61 6d 65 20 6c |ader fil|e name l|
|000060a0| 69 73 74 73 20 2a 2f 0a | 58 09 69 66 20 28 62 75 |ists */.|X.if (bu|
|000060b0| 69 6c 64 73 72 63 6c 69 | 73 74 28 29 20 3d 3d 20 |ildsrcli|st() == |
|000060c0| 4e 4f 29 0a 58 09 09 65 | 78 69 74 28 31 29 3b 0a |NO).X..e|xit(1);.|
|000060d0| 58 09 0a 58 0a 58 09 2f | 2a 20 62 75 69 6c 64 20 |X..X.X./|* build |
|000060e0| 74 68 65 20 6c 69 62 72 | 61 72 79 20 70 61 74 68 |the libr|ary path|
|000060f0| 6e 61 6d 65 20 6c 69 73 | 74 20 2a 2f 0a 58 09 69 |name lis|t */.X.i|
|00006100| 66 20 28 62 75 69 6c 64 | 6c 69 62 6c 69 73 74 28 |f (build|liblist(|
|00006110| 29 20 3d 3d 20 4e 4f 29 | 0a 58 09 09 65 78 69 74 |) == NO)|.X..exit|
|00006120| 28 31 29 3b 0a 58 0a 58 | 0a 58 09 2f 2a 20 65 64 |(1);.X.X|.X./* ed|
|00006130| 69 74 20 6d 61 6b 65 66 | 69 6c 65 20 2a 2f 0a 58 |it makef|ile */.X|
|00006140| 09 65 64 69 74 6d 66 28 | 6d 66 6e 61 6d 65 2c 20 |.editmf(|mfname, |
|00006150| 6d 66 70 61 74 68 29 3b | 0a 58 0a 58 09 65 78 69 |mfpath);|.X.X.exi|
|00006160| 74 28 30 29 3b 0a 58 7d | 0a 40 5c 45 6e 64 5c 6f |t(0);.X}|.@\End\o|
|00006170| 66 5c 46 69 6c 65 5c 0a | 65 6c 73 65 0a 20 20 65 |f\File\.|else. e|
|00006180| 63 68 6f 20 22 73 68 61 | 72 3a 20 57 69 6c 6c 20 |cho "sha|r: Will |
|00006190| 6e 6f 74 20 6f 76 65 72 | 20 77 72 69 74 65 20 73 |not over| write s|
|000061a0| 72 63 2f 4d 6b 6d 66 2e | 63 22 0a 66 69 0a 69 66 |rc/Mkmf.|c".fi.if|
|000061b0| 20 60 74 65 73 74 20 21 | 20 2d 73 20 73 72 63 2f | `test !| -s src/|
|000061c0| 62 61 64 6f 70 74 2e 63 | 60 0a 74 68 65 6e 0a 65 |badopt.c|`.then.e|
|000061d0| 63 68 6f 20 22 78 20 2d | 20 73 72 63 2f 62 61 64 |cho "x -| src/bad|
|000061e0| 6f 70 74 2e 63 22 0a 73 | 65 64 20 27 73 2f 5e 58 |opt.c".s|ed 's/^X|
|000061f0| 2f 2f 27 20 3e 20 73 72 | 63 2f 62 61 64 6f 70 74 |//' > sr|c/badopt|
|00006200| 2e 63 20 3c 3c 20 27 40 | 5c 45 6e 64 5c 6f 66 5c |.c << '@|\End\of\|
|00006210| 46 69 6c 65 5c 27 0a 58 | 2f 2a 20 24 48 65 61 64 |File\'.X|/* $Head|
|00006220| 65 72 3a 20 62 61 64 6f | 70 74 2e 63 2c 76 20 31 |er: bado|pt.c,v 1|
|00006230| 2e 32 20 38 35 2f 30 34 | 2f 30 32 20 30 37 3a 34 |.2 85/04|/02 07:4|
|00006240| 35 3a 34 33 20 6e 69 63 | 6b 6c 69 6e 20 45 78 70 |5:43 nic|klin Exp|
|00006250| 20 24 20 2a 2f 0a 58 0a | 58 2f 2a 0a 58 20 2a 20 | $ */.X.|X/*.X * |
|00006260| 41 75 74 68 6f 72 3a 20 | 50 65 74 65 72 20 4a 2e |Author: |Peter J.|
|00006270| 20 4e 69 63 6b 6c 69 6e | 0a 58 20 2a 2f 0a 58 0a | Nicklin|.X */.X.|
|00006280| 58 2f 2a 0a 58 20 2a 20 | 62 61 64 6f 70 74 28 29 |X/*.X * |badopt()|
|00006290| 20 70 6c 61 63 65 73 20 | 61 20 22 62 61 64 20 6f | places |a "bad o|
|000062a0| 70 74 69 6f 6e 22 20 65 | 72 72 6f 72 20 6d 65 73 |ption" e|rror mes|
|000062b0| 73 61 67 65 20 6f 6e 20 | 74 68 65 20 73 74 61 6e |sage on |the stan|
|000062c0| 64 61 72 64 20 65 72 72 | 6f 72 0a 58 20 2a 20 6f |dard err|or.X * o|
|000062d0| 75 74 70 75 74 20 73 74 | 72 65 61 6d 20 73 74 64 |utput st|ream std|
|000062e0| 65 72 72 2e 0a 58 20 2a | 2f 0a 58 23 69 6e 63 6c |err..X *|/.X#incl|
|000062f0| 75 64 65 20 3c 73 74 64 | 69 6f 2e 68 3e 0a 58 23 |ude <std|io.h>.X#|
|00006300| 69 6e 63 6c 75 64 65 20 | 22 6e 75 6c 6c 2e 68 22 |include |"null.h"|
|00006310| 0a 58 0a 58 65 78 74 65 | 72 6e 20 63 68 61 72 20 |.X.Xexte|rn char |
|00006320| 2a 50 47 4e 3b 09 09 09 | 2f 2a 20 70 72 6f 67 72 |*PGN;...|/* progr|
|00006330| 61 6d 20 6e 61 6d 65 20 | 2a 2f 0a 58 0a 58 62 61 |am name |*/.X.Xba|
|00006340| 64 6f 70 74 28 73 69 67 | 6e 2c 20 63 29 0a 58 09 |dopt(sig|n, c).X.|
|00006350| 63 68 61 72 20 63 3b 09 | 09 09 09 2f 2a 20 6f 66 |char c;.|.../* of|
|00006360| 66 65 6e 64 69 6e 67 20 | 6f 70 74 69 6f 6e 20 2a |fending |option *|
|00006370| 2f 0a 58 09 63 68 61 72 | 20 73 69 67 6e 3b 09 09 |/.X.char| sign;..|
|00006380| 09 2f 2a 20 27 2b 27 20 | 6f 72 20 27 2d 27 20 73 |./* '+' |or '-' s|
|00006390| 69 67 6e 20 70 72 65 63 | 65 64 69 6e 67 20 6f 70 |ign prec|eding op|
|000063a0| 74 69 6f 6e 20 2a 2f 0a | 58 7b 0a 58 09 69 66 20 |tion */.|X{.X.if |
|000063b0| 28 50 47 4e 20 21 3d 20 | 4e 55 4c 4c 20 26 26 20 |(PGN != |NULL && |
|000063c0| 2a 50 47 4e 20 21 3d 20 | 27 5c 30 27 29 0a 58 09 |*PGN != |'\0').X.|
|000063d0| 09 66 70 72 69 6e 74 66 | 28 73 74 64 65 72 72 2c |.fprintf|(stderr,|
|000063e0| 20 22 25 73 3a 20 22 2c | 20 50 47 4e 29 3b 0a 58 | "%s: ",| PGN);.X|
|000063f0| 09 66 70 72 69 6e 74 66 | 28 73 74 64 65 72 72 2c |.fprintf|(stderr,|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.