home *** CD-ROM | disk | FTP | other *** search
/ Geek Gadgets 1 / ADE-1.bin / ade-dist / jove-4.16-diffs.gz / jove-4.16-diffs
Text File  |  1996-10-13  |  100KB  |  2,862 lines

  1. This file contains patches that transform the baseline version into
  2. the amiga version.  Assuming that you have unarchived the baseline
  3. version in the current directory, just run the command:
  4.  
  5.     patch -p1 -E -b .pbak <diff-file
  6.  
  7. where 'diff-file' is this patch file.  After running patch you should
  8. remove all the generated *.pbak files, and look for any *.rej files
  9. that indicate a problem patching the baseline source.
  10.  
  11. diff -rup --new-file baseline/bsd/jove/Makefile amiga/bsd/jove/Makefile
  12. --- baseline/bsd/jove/Makefile    Mon Mar 18 21:44:33 1996
  13. +++ amiga/bsd/jove/Makefile    Wed Dec 31 17:00:00 1969
  14. @@ -1,601 +0,0 @@
  15. -########################################################################
  16. -# This program is Copyright (C) 1986-1996 by Jonathan Payne.  JOVE is  #
  17. -# provided to you without charge, and with no warranty.  You may give  #
  18. -# away copies of JOVE, including sources, provided that this notice is #
  19. -# included in all the files.                                           #
  20. -########################################################################
  21. -
  22. -# TMPDIR is where the tmp files get stored, usually /tmp or /usr/tmp.  If
  23. -# your system, or reboot, removes files in /tmp, but not those in /usr/tmp,
  24. -# then it makes sense to make TMPDIR be /usr/tmp.
  25. -# But if you want to recover buffers on system crashes, you should create a
  26. -# directory that doesn't get cleaned upon reboot, and use that instead.
  27. -# You would probably want to clean out that directory periodically with
  28. -# /etc/cron.
  29. -# RECDIR is the directory in which RECOVER looks for JOVE's tempfiles.
  30. -#
  31. -# JOVEHOME is the directory in which pieces of JOVE are kept.  It is only used
  32. -#    in the default definitions of SHAREDIR, LIBDIR, BINDIR, and MANDIR.
  33. -# SHAREDIR is for online documentation, and the system-wide jove.rc file.
  34. -# LIBDIR is for the PORTSRV and RECOVER programs.
  35. -# BINDIR is where to put the executables JOVE and TEACHJOVE.
  36. -# MANDIR is where the manual pages go for JOVE, RECOVER and TEACHJOVE.
  37. -# MANEXT is the extension for the man pages, e.g., jove.1 or jove.l or jove.m.
  38. -# DFLTSHELL is the default shell invoked by JOVE and TEACHJOVE.
  39. -#
  40. -# If they don't exist, this makefile will try to create the directories
  41. -# LIBDIR and SHAREDIR.  All others must already exist.
  42. -
  43. -SHELL = /bin/sh
  44. -TMPDIR = /usr/tmp
  45. -RECDIR = /usr/preserve
  46. -
  47. -JOVEHOME = /usr/local
  48. -SHAREDIR = $(JOVEHOME)/lib/jove
  49. -LIBDIR = $(JOVEHOME)/lib/jove
  50. -BINDIR = $(JOVEHOME)/bin
  51. -MANDIR = $(JOVEHOME)/man/man$(MANEXT)
  52. -MANEXT = 1
  53. -DFLTSHELL = /bin/csh
  54. -
  55. -# The install commands of BSD and System V differ in unpleasant ways:
  56. -# -c: copy (BSD); -c dir: destination directory (SysV)
  57. -# -s: strip (BSD); -s: suppress messages (SysV)
  58. -# Also, the destination specification is very different.
  59. -# The result is that the System V install command must not be used.
  60. -# If you know that /bin/install is the BSD program, you can use it.
  61. -# "cp" will work reasonably well, but be aware that any links continue
  62. -# referencing the old file with new contents.
  63. -
  64. -INSTALLFLAGS = # -g bin -o root
  65. -
  66. -# to install executable files
  67. -XINSTALL=cp
  68. -#XINSTALL=/usr/ucb/install $(INSTALLFLAGS) -c -m 755 # -s
  69. -
  70. -# to install text files
  71. -TINSTALL=cp
  72. -#TINSTALL=/usr/ucb/install $(INSTALLFLAGS) -c -m 644
  73. -
  74. -# These should all just be right if the above ones are.
  75. -# You will confuse JOVE if you move anything from LIBDIR or SHAREDIR.
  76. -
  77. -JOVE = $(BINDIR)/jove
  78. -TEACHJOVE = $(BINDIR)/teachjove
  79. -RECOVER = $(LIBDIR)/recover
  80. -PORTSRV = $(LIBDIR)/portsrv
  81. -JOVERC = $(SHAREDIR)/jove.rc
  82. -TERMSDIR = $(SHAREDIR)
  83. -CMDS.DOC = $(SHAREDIR)/cmds.doc
  84. -TEACH-JOVE = $(SHAREDIR)/teach-jove
  85. -JOVEM = $(MANDIR)/jove.$(MANEXT)
  86. -TEACHJOVEM = $(MANDIR)/teachjove.$(MANEXT)
  87. -XJOVEM = $(MANDIR)/xjove.$(MANEXT)
  88. -JOVETOOLM = $(MANDIR)/jovetool.$(MANEXT)
  89. -
  90. -# Select optimization level (flags passed to compiling and linking steps).
  91. -# On most systems, -g for debugging, -O for optimization.
  92. -# On the official Sun ANSI C compiler and the standard System V Release 4
  93. -# compiler, adding -Xa -v will increase compiler checking.
  94. -# On DEC OSF/1, -std1 -O
  95. -
  96. -OPTFLAGS = -O
  97. -
  98. -# For making dependencies under BSD systems
  99. -DEPENDFLAG = -M
  100. -# or, using the official Sun ANSI C compiler
  101. -# DEPENDFLAG = -xM
  102. -
  103. -# Select the right libraries for your system.
  104. -#    2.10BSD:LIBS = -ltermcap
  105. -#    v7:    LIBS = -ltermcap
  106. -#    4.1BSD:    LIBS = -ltermcap -ljobs
  107. -#    4.2BSD:    LIBS = -ltermcap
  108. -#    4.3BSD:    LIBS = -ltermcap
  109. -#    SysV Rel. 2: LIBS = -lcurses
  110. -#    SCO Xenix: LIBS = -ltermcap -lx
  111. -#    SCO: LIBS = -lcurses
  112. -#    AIX on the R6000s: LIBS = -lcurses -ltermcap -ls
  113. -#    MIPS: LIBS = -ltermcap
  114. -
  115. -LIBS = -ltermcap
  116. -
  117. -#    2.10BSD:LDFLAGS =
  118. -#    v7:    LDFLAGS =
  119. -#    4.1BSD:    LDFLAGS =
  120. -#    4.2BSD:    LDFLAGS =
  121. -#    4.3BSD:    LDFLAGS =
  122. -#    SysV Rel. 2: LDFLAGS = -Ml
  123. -#    SCO Xenix: LDFLAGS = -Ml -F 3000
  124. -#    SCO Unix: LDFLAGS =
  125. -#    AIX Unix: LDFLAGS = -bloadmap:$@.map # only if loadmap
  126. -#
  127. -# To optimize the use of the address spaces, add to the LDFLAGS:
  128. -#    PDP-11 with separate I&D: -i
  129. -#    PDP-11 without separate I&D: -n
  130. -
  131. -
  132. -LDFLAGS =
  133. -
  134. -# define a symbol for your OS if it hasn't got one.  See sysdep.h.
  135. -# Jove has very few defaults, you will almost certainly need to define
  136. -# *something*.
  137. -#
  138. -#    Apple A/UX on macIIs        SYSDEFS=-DA_UX
  139. -#    BSD4.2,4.3            SYSDEFS=-DBSD4
  140. -#    BSDI, 386BSD, BSD4.4        SYSDEFS=-DBSDPOSIX
  141. -#    Consensys V4            SYSDEFS=-DSYSVR4 -DGRANTPT_BUG
  142. -#    DEC OSF R1.3MK            SYSDEFS=-DSYSVR4
  143. -#    DEC OSF/1 V1.3            SYSDEFS=-BSDPOSIX -DNO_TIOCREMOTE -DNO_TIOCSIGNAL
  144. -#    DEC OSF/1 V2.0 and later    SYSDEFS=-DSYSVR4
  145. -#    DEC Ultrix 4.2            SYSDEFS=-DBSDPOSIX
  146. -#    DEC Ultrix 4.3            SYSDEFS=-DBSDPOSIX -DJVDISABLE=255
  147. -#    DG AViiON 5.3R4            SYSDEFS=-DSYSVR4 -DBSD_SIGS
  148. -#    HP/UX 8 or 9            SYSDEFS=-DHPUX -Ac
  149. -#    IBM RS6000s            SYSDEFS=-DAIX3_2
  150. -#    Irix 3.3-4.0.5            SYSDEFS=-DIRIX -DIRIX4
  151. -#    Irix 5.0 onwards        SYSDEFS=-DIRIX -prototypes
  152. -#    LINUX                SYSDEFS=-DBSDPOSIX
  153. -#    MIPS RiscOS4.x            SYSDEFS=-systype bsd43 -DBSD4
  154. -#    SCO Unix            SYSDEFS=-DSCO
  155. -#    SunOS3.x            SYSDEFS=-DSUNOS3
  156. -#    SunOS4.0*            SYSDEFS=-DSUNOS40
  157. -#    SunOS4.1*            SYSDEFS=-DSUNOS41
  158. -#    SunOS5.0/Solaris 2.0        SYSDEFS=-DSYSVR4 -DGRANTPT_BUG
  159. -#    SunOS5.[1234]/Solaris 2.[1234]    SYSDEFS=-DSYSVR4
  160. -#    Sys III, Sys V R 2,3        SYSDEFS=-DSYSV
  161. -#    Sys V Release 4.0        SYSDEFS=-DSYSVR4 -DGRANTPT_BUG
  162. -#    Sys V Release 4.?        SYSDEFS=-DSYSVR4
  163. -#
  164. -# Some systems based on System V release 4 have a bug affecting interactive
  165. -# processes.  This bug can be worked around by defining GRANTPT_BUG.
  166. -# Read the explanation of GRANTPT_BUG in sysdep.doc.
  167. -#
  168. -# Some of the MIPS based Ultrix (upto 4.2 at least), RiscOS and Irix (up to
  169. -# 3.3 at least) also need -DMIPS_CC_BUG.
  170. -#
  171. -# Some (all?) versions of the HPUX C compiler have a bug in handling forward
  172. -# struct tag declarations.  Using the -Ac flag in place of -Ae will avoid
  173. -# this problem (and reduce the compiler's error checking, unfortunately).
  174. -#
  175. -# Add -DUSE_EXIT if you're profiling or using purify (this causes Jove
  176. -# to exit using exit(), instead of _exit()).
  177. -#
  178. -# You can just say 'make SYSDEFS=-Dwhatever' on these systems.
  179. -
  180. -SYSDEFS =
  181. -
  182. -# for SCO Xenix, set
  183. -#    MEMFLAGS = -Mle
  184. -#    CFLAGS = -LARGE -O -F 3000 -K -Mle  (say -Mle2 for an 80286)
  185. -
  186. -CFLAGS = $(OPTFLAGS) $(SYSDEFS)
  187. -
  188. -# For SYSVR4 (/usr/ucb/cc will NOT work because of setjmp.h):
  189. -# CC = /usr/bin/cc
  190. -# To use the SunPro compiler under SunOS 4.n:
  191. -# CC = acc
  192. -# To use the official Sun compiler under Solaris 2.n:
  193. -# CC = /opt/SUNWspro/bin/cc
  194. -# For DG AViiON, expect compile errors unless you use the GNU C compiler:
  195. -# CC=gcc
  196. -
  197. -# Load invocation of cc.
  198. -# LDCC = purify $(CC)
  199. -
  200. -LDCC = $(CC)
  201. -
  202. -# For cross compiling Jove, set CC to the cross compiler, and LOCALCC
  203. -# to the local C compiler. LOCALCC will be used for compiling setmaps,
  204. -# which is run as part of the compilation to generate the keymaps.
  205. -# Set LOCALCFLAGS and LOCALLDFLAGS appropriately too. For Xenix, note
  206. -# that LOCALCFLAGS must be set to $(MEMFLAGS)
  207. -
  208. -LOCALCC = $(CC)
  209. -LOCALCFLAGS = $(CFLAGS)    # $(MEMFLAGS)
  210. -LOCALLDFLAGS = $(LDFLAGS)
  211. -
  212. -# Objects are grouped into overlays for the benefit of (at least) 2.xBSD.
  213. -
  214. -BASESEG = commands.o keys.o argcount.o ask.o buf.o jctype.o delete.o \
  215. -      disp.o insert.o io.o jove.o marks.o misc.o re.o \
  216. -      screen.o termcap.o unix.o util.o vars.o list.o keymaps.o \
  217. -      mouse.o
  218. -OVLAY1 = abbrev.o rec.o paragraph.o fmt.o
  219. -OVLAY2 = c.o wind.o fp.o move.o
  220. -OVLAY3 = extend.o macros.o
  221. -OVLAY4 = iproc.o reapp.o
  222. -OVLAY5 = proc.o scandir.o term.o case.o
  223. -
  224. -OBJECTS = $(BASESEG) $(OVLAY1) $(OVLAY2) $(OVLAY3) $(OVLAY4) $(OVLAY5)
  225. -
  226. -NROFF = nroff
  227. -TROFF = troff -Tpost
  228. -TROFFPOST = | /usr/lib/lp/postscript/dpost - >troff.out.ps
  229. -
  230. -MANUALS = $(JOVEM) $(TEACHJOVEM) $(XJOVEM) $(JOVETOOLM)
  231. -
  232. -C_SRC = commands.c commands.tab abbrev.c argcount.c ask.c buf.c c.c case.c jctype.c \
  233. -    delete.c disp.c extend.c fp.c fmt.c insert.c io.c iproc.c \
  234. -    jove.c list.c macros.c marks.c misc.c move.c paragraph.c \
  235. -    proc.c re.c reapp.c rec.c scandir.c screen.c term.c termcap.c unix.c \
  236. -    util.c vars.c vars.tab wind.c msgetch.c mac.c keymaps.c ibmpcdos.c \
  237. -    mouse.c win32.c
  238. -
  239. -SOURCES = $(C_SRC) portsrv.c recover.c setmaps.c teachjove.c
  240. -
  241. -HEADERS = abbrev.h argcount.h ask.h buf.h c.h case.h chars.h commands.h \
  242. -    jctype.h dataobj.h delete.h disp.h extend.h externs.h \
  243. -    fmt.h fp.h insert.h io.h iproc.h jove.h \
  244. -    keymaps.h list.h mac.h macros.h marks.h \
  245. -    misc.h mouse.h move.h paragraph.h proc.h \
  246. -    re.h reapp.h rec.h recover.h resource.h scandir.h screen.h \
  247. -    select.h sysdep.h sysprocs.h temp.h term.h ttystate.h \
  248. -    tune.h util.h vars.h version.h wind.h
  249. -
  250. -DOCTERMS =    doc/jove.rc.sun doc/keychart.sun \
  251. -    doc/jove.rc.sun-cmd doc/keychart.sun-cmd \
  252. -    doc/jove.rc.vt100 doc/keychart.vt100 \
  253. -    doc/jove.rc.wyse doc/keychart.wyse \
  254. -    doc/jove.rc.xterm doc/keychart.xterm \
  255. -    doc/jove.rc.z29 doc/keychart.z29 \
  256. -    doc/jove.rc.3022 doc/keychart.3022 \
  257. -    doc/keychart. \
  258. -    doc/XTermresource
  259. -
  260. -DOCS =    doc/README doc/teach-jove doc/jove.qref \
  261. -    doc/intro.nr doc/cmds.macros.nr doc/cmds.nr doc/contents.nr \
  262. -    doc/jove.nr doc/teachjove.nr doc/xjove.nr doc/jovetool.nr \
  263. -    doc/jove.rc doc/example.rc $(DOCTERMS)
  264. -
  265. -MISC =    Makefile Makefile.bcc Makefile.msc Makefile.wat Makefile.zor \
  266. -    README README.dos README.mac README.w32 sysdep.doc tune.doc
  267. -
  268. -SUPPORT = teachjove.c recover.c setmaps.c portsrv.c keys.txt \
  269. -    menumaps.txt mjovers.Hqx jjoveico.uue jjove.rc
  270. -
  271. -BACKUPS = $(HEADERS) $(C_SRC) $(SUPPORT) $(MISC)
  272. -
  273. -all:    jjove recover teachjove portsrv doc/cmds.doc
  274. -
  275. -jjove:    $(OBJECTS)
  276. -    $(LDCC) $(LDFLAGS) $(OPTFLAGS) -o jjove $(OBJECTS) $(LIBS)
  277. -    @-size jjove
  278. -
  279. -# For 2.xBSD: link jove as a set of overlays.  Not tested recently.
  280. -
  281. -ovjove:    $(OBJECTS)
  282. -    ld $(LDFLAGS) $(OPTFLAGS) -X /lib/crt0.o \
  283. -        -Z $(OVLAY1) \
  284. -        -Z $(OVLAY2) \
  285. -        -Z $(OVLAY3) \
  286. -        -Z $(OVLAY4) \
  287. -        -Z $(OVLAY5) \
  288. -        -Y $(BASESEG) \
  289. -        -o jjove $(LIBS) -lc
  290. -    @-size jjove
  291. -
  292. -# portsrv is only needed if IPROCS are implemented using PIPEPROCS
  293. -# Making PORTSRVINST null will supress building and installing portsrv.
  294. -
  295. -PORTSRVINST=$(PORTSRV)
  296. -
  297. -portsrv:    portsrv.o
  298. -    $(CC) $(LDFLAGS) $(OPTFLAGS) -o portsrv portsrv.o $(LIBS)
  299. -
  300. -recover:    recover.o
  301. -    $(CC) $(LDFLAGS) $(OPTFLAGS) -o recover recover.o $(LIBS)
  302. -
  303. -teachjove:    teachjove.o
  304. -    $(CC) $(LDFLAGS) $(OPTFLAGS) -o teachjove teachjove.o $(LIBS)
  305. -
  306. -# don't optimize setmaps.c because it produces bad code in some places
  307. -# for some reason
  308. -
  309. -setmaps:    setmaps.o
  310. -    $(LOCALCC) $(LOCALLDFLAGS) -o setmaps setmaps.o
  311. -
  312. -setmaps.o:    setmaps.c
  313. -    $(LOCALCC) $(LOCALCFLAGS) -c setmaps.c
  314. -
  315. -keys.c:    setmaps keys.txt
  316. -    ./setmaps < keys.txt > keys.c
  317. -
  318. -keys.o:    keys.c tune.h sysdep.h jove.h keymaps.h dataobj.h commands.h
  319. -
  320. -paths.h: Makefile
  321. -    -rm -f paths.h
  322. -    @echo "/* Changes should be made in Makefile, not to this file! */" > paths.h
  323. -    @echo "" >> paths.h
  324. -    @echo \#define TMPDIR \"$(TMPDIR)\" >> paths.h
  325. -    @echo \#define RECDIR \"$(RECDIR)\" >> paths.h
  326. -    @echo \#define LIBDIR \"$(LIBDIR)\" >> paths.h
  327. -    @echo \#define SHAREDIR \"$(SHAREDIR)\" >> paths.h
  328. -    @echo \#define DFLTSHELL \"$(DFLTSHELL)\" >> paths.h
  329. -
  330. -makexjove:
  331. -    ( cd xjove ; make CC="$(CC)" OPTFLAGS="$(OPTFLAGS)" SYSDEFS="$(SYSDEFS)" $(TOOLMAKEEXTRAS) xjove )
  332. -
  333. -installxjove:
  334. -    ( cd xjove ; make CC="$(CC)" OPTFLAGS="$(OPTFLAGS)" SYSDEFS="$(SYSDEFS)" XINSTALL="$(XINSTALL)" BINDIR="$(BINDIR)" INSTALLFLAGS="$(INSTALLFLAGS)" $(TOOLMAKEEXTRAS) installxjove )
  335. -
  336. -makejovetool:
  337. -    ( cd xjove ; make CC="$(CC)" OPTFLAGS="$(OPTFLAGS)" SYSDEFS="$(SYSDEFS)" DEFINES=-DSUNVIEW $(TOOLMAKEEXTRAS) jovetool )
  338. -
  339. -installjovetool:
  340. -    ( cd xjove ; make CC="$(CC)" OPTFLAGS="$(OPTFLAGS)" SYSDEFS="$(SYSDEFS)" DEFINES=-DSUNVIEW XINSTALL="$(XINSTALL)" BINDIR="$(BINDIR)" INSTALLFLAGS="$(INSTALLFLAGS)" $(TOOLMAKEEXTRAS) installjovetool )
  341. -
  342. -install: $(LIBDIR) $(SHAREDIR) \
  343. -     $(TEACH-JOVE) $(CMDS.DOC) $(TERMSDIR)docs \
  344. -     $(PORTSRVINST) $(RECOVER) $(JOVE) $(TEACHJOVE) $(MANUALS)
  345. -    $(TINSTALL) doc/jove.rc $(JOVERC)
  346. -    @echo See the README about changes to /etc/rc or /etc/rc.local
  347. -    @echo so that the system recovers jove files on reboot after a crash
  348. -
  349. -$(LIBDIR)::
  350. -    test -d $(LIBDIR) || mkdir $(LIBDIR)
  351. -
  352. -$(SHAREDIR)::
  353. -    test -d $(SHAREDIR) || mkdir $(SHAREDIR)
  354. -
  355. -$(TEACH-JOVE): doc/teach-jove
  356. -    $(TINSTALL) doc/teach-jove $(TEACH-JOVE)
  357. -
  358. -doc/cmds.doc:    doc/cmds.macros.nr doc/cmds.nr
  359. -    $(NROFF) doc/cmds.macros.nr doc/cmds.nr > doc/cmds.doc
  360. -
  361. -doc/jove.man:    doc/intro.nr doc/cmds.nr
  362. -    ( cd doc; tbl intro.nr | $(NROFF) -ms - cmds.nr >jove.man )
  363. -
  364. -troff-man:
  365. -    ( cd doc; tbl intro.nr | $(TROFF) -ms - cmds.nr contents.nr $(TROFFPOST) )
  366. -
  367. -$(CMDS.DOC): doc/cmds.doc
  368. -    $(TINSTALL) doc/cmds.doc $(CMDS.DOC)
  369. -
  370. -$(JOVERC): doc/jove.rc
  371. -    $(TINSTALL) doc/jove.rc $(JOVERC)
  372. -
  373. -$(TERMSDIR)docs: $(DOCTERMS)
  374. -    $(TINSTALL) $(DOCTERMS) $(TERMSDIR)
  375. -
  376. -$(PORTSRV): portsrv
  377. -    $(XINSTALL) portsrv $(PORTSRV)
  378. -
  379. -$(RECOVER): recover
  380. -    $(XINSTALL) recover $(RECOVER)
  381. -
  382. -$(JOVE): jjove
  383. -    $(XINSTALL) jjove $(JOVE)
  384. -
  385. -$(TEACHJOVE): teachjove
  386. -    $(XINSTALL) teachjove $(TEACHJOVE)
  387. -
  388. -$(JOVEM): doc/jove.nr
  389. -    @sed -e 's;<TMPDIR>;$(TMPDIR);' \
  390. -         -e 's;<LIBDIR>;$(LIBDIR);' \
  391. -         -e 's;<SHAREDIR>;$(SHAREDIR);' \
  392. -         -e 's;<SHELL>;$(DFLTSHELL);' doc/jove.nr > /tmp/jove.nr
  393. -    $(TINSTALL) /tmp/jove.nr $(JOVEM)
  394. -    rm /tmp/jove.nr
  395. -
  396. -# doc/jove.doc is the formatted manpage (only needed by DOS)
  397. -# Building it should be like building $(JOVEM) except that we
  398. -# don't know what to substitue for <TMPDIR> etc. because they
  399. -# are not fixed yet, and because we must do the formatting.
  400. -
  401. -doc/jove.doc: doc/jove.nr
  402. -    $(NROFF) -man doc/jove.nr >doc/jove.doc
  403. -
  404. -$(TEACHJOVEM): doc/teachjove.nr
  405. -    @sed -e 's;<TMPDIR>;$(TMPDIR);' \
  406. -         -e 's;<LIBDIR>;$(LIBDIR);' \
  407. -         -e 's;<SHAREDIR>;$(SHAREDIR);' \
  408. -         -e 's;<SHELL>;$(DFLTSHELL);' doc/teachjove.nr > /tmp/teachjove.nr
  409. -    $(TINSTALL) /tmp/teachjove.nr $(TEACHJOVEM)
  410. -    rm /tmp/teachjove.nr
  411. -
  412. -$(XJOVEM): doc/xjove.nr
  413. -    $(TINSTALL) doc/xjove.nr $(XJOVEM)
  414. -
  415. -$(JOVETOOLM): doc/jovetool.nr
  416. -    @sed -e 's;<MANDIR>;$(MANDIR);' \
  417. -         -e 's;<MANEXT>;$(MANEXT);' doc/jovetool.nr > /tmp/jovetool.nr
  418. -    $(TINSTALL) /tmp/jovetool.nr $(JOVETOOLM)
  419. -    rm /tmp/jovetool.nr
  420. -
  421. -echo:
  422. -    @echo $(C-FILES) $(HEADERS)
  423. -
  424. -lint:
  425. -    lint -n $(C_SRC) keys.c
  426. -    @echo Done
  427. -
  428. -tags:    $(C_SRC) $(HEADERS)
  429. -    ctags -w $(C_SRC) $(HEADERS)
  430. -
  431. -# .filelist is a trick to get around a make limit:
  432. -# the list of files is too long to fit in a command generated by make
  433. -# The actual contents of the file depend only on Makefile, but by
  434. -# adding extra dependencies, dependants of .filelist can have shorter
  435. -# dependency lists.  Note: since we have no list of xjove files,
  436. -# we alway force a make of xjove/.filelist.  This forces .filelist
  437. -# to be rebuilt every time it is needed.
  438. -
  439. -.filelist:    $(BACKUPS) $(DOCS) .xjfilelist
  440. -    @ls $(BACKUPS) >.filelist
  441. -    @ls $(DOCS) >>.filelist
  442. -    @sed -e 's=^=xjove/=' xjove/.filelist >>.filelist
  443. -
  444. -.xjfilelist:
  445. -    @( cd xjove ; make .filelist )
  446. -
  447. -# override CIFLAGS with something like:
  448. -# CIFLAGS="-m'some reason for change' -u4.14.10.n -q"
  449. -
  450. -ciall:    .filelist
  451. -    ci $(CIFLAGS) `cat .filelist`
  452. -
  453. -coall:    .filelist
  454. -    co $(BACKUPS) `cat .filelist`
  455. -
  456. -jove.shar:    .filelist
  457. -    shar .filelist > jove.shar
  458. -
  459. -tar:
  460. -    @tar cvf - `find . -type f -print | \
  461. -        egrep -v '(,v|\.o|jjove|portsrv|setmaps|~)$$' | \
  462. -        sort`
  463. -
  464. -backup.Z: .filelist
  465. -    rm -f backup backup.Z
  466. -    tar cf backup `cat .filelist`
  467. -    compress backup
  468. -
  469. -backup.gz: .filelist
  470. -    rm -f backup backup.gz
  471. -    tar cf backup `cat .filelist`
  472. -    gzip backup
  473. -
  474. -tape-backup:    .filelist
  475. -    tar cf /dev/rst8 `cat .filelist`
  476. -
  477. -# System V sum can be made to match BSD with a -r flag.
  478. -# To get this effect, override with SUM = sum -r
  479. -SUM = sum
  480. -
  481. -checksum:    .filelist
  482. -    $(SUM) `cat .filelist`
  483. -
  484. -# MSDOS isn't a full-fledged development environment.
  485. -# Preparing a distribution for MSDOS involves discarding some things
  486. -# and pre-building others.  All should have \n converted to CR LF
  487. -# but zoo doesn't do this.
  488. -# From SUPPORT: only setmaps.c and keys.txt [would like teachjove.c, recover.c]
  489. -# From MISC: all but Makefile and README.mac
  490. -# Preformatted documentation. [would like a joverc]
  491. -# tags
  492. -
  493. -DOSSRC = $(HEADERS) $(C_SRC) setmaps.c keys.txt \
  494. -    Makefile.bcc Makefile.msc Makefile.wat Makefile.zor \
  495. -    README README.dos README.w32 sysdep.doc tune.doc \
  496. -    jjoveico.uue jjove.rc \
  497. -    doc/cmds.doc doc/jove.man doc/jove.doc tags
  498. -
  499. -jovedoss.zoo:    $(DOSSRC) jjove.ico
  500. -    -rm -f jovedoss.zoo
  501. -    zoo a jovedoss.zoo $(DOSSRC) jjove.ico
  502. -
  503. -jovedoss.zip:    $(DOSSRC) jjove.ico
  504. -    -rm -f jovedoss.zip
  505. -    zip -k jovedoss.zip jjove.ico -l $(DOSSRC)
  506. -
  507. -jjove.ico:    jjoveico.uue
  508. -    uudecode jjoveico.uue
  509. -
  510. -touch:
  511. -    touch $(OBJECTS)
  512. -
  513. -clean:
  514. -    rm -f a.out core *.o keys.c jjove portsrv recover setmaps \
  515. -        teachjove paths.h \#* *~ make.log *.map jjove.ico \
  516. -        doc/cmds.doc doc/jove.man doc/jove.doc doc/troff.out.ps \
  517. -        jjove.pure_* tags ID .filelist
  518. -
  519. -cleanall: clean
  520. -    ( cd xjove ; make clean )
  521. -
  522. -clobber: clean
  523. -    rm -f *.orig *.rej
  524. -    ( cd xjove ; make clobber )
  525. -
  526. -# This version only works under 4.3BSD
  527. -dependbsd:
  528. -    @echo '"make depend" only works under 4.3BSD'
  529. -    sed -e '/^# DO NOT DELETE THIS LINE/q' Makefile >Makefile.new
  530. -    for i in ${SOURCES} ; do \
  531. -        $(CC) ${CFLAGS} ${DEPENDFLAG} $$i | \
  532. -        awk ' /[/]usr[/]include/ { next } \
  533. -            { if ($$1 != prev) \
  534. -            { if (rec != "") print rec; rec = $$0; prev = $$1; } \
  535. -            else { if (length(rec $$2) > 78) { print rec; rec = $$0; } \
  536. -            else rec = rec " " $$2 } } \
  537. -            END { print rec } ' >>Makefile.new; \
  538. -    done
  539. -    echo '# DEPENDENCIES MUST END AT END OF FILE' >>Makefile.new
  540. -    echo '# IF YOU PUT STUFF HERE IT WILL GO AWAY' >>Makefile.new
  541. -    echo '# see "make depend" above' >>Makefile.new
  542. -    @echo 'New makefile is in "Makefile.new".  Move it to "Makefile".'
  543. -
  544. -# This version should work with any UNIX
  545. -# It records all dependencies, including ones that are #ifdef'ed out.
  546. -# It assumes that only jove.h and tune.h include other headers
  547. -
  548. -depend:
  549. -    @sed -e '/^# DO NOT DELETE THIS LINE/q' Makefile >Makefile.new
  550. -    for i in tune.h jove.h ${SOURCES} ; do \
  551. -        ( ( echo "$$i:"; sed -n -e 's/^#[     ]*include[     ]*"\([^"]*\)".*/\1/p' $$i ) | \
  552. -        sed -e 's/^jove\.h$$/$$(JOVE_H)/' -e 's/^tune\.h$$/$$(TUNE_H)/' \
  553. -            -e 's/^jove\.h:$$/JOVE_H = jove.h/' -e 's/^tune\.h:$$/TUNE_H = tune.h/' \
  554. -            -e 's/\.c:$$/.o:/' | \
  555. -        tr "\012" "\040" ; echo ) | sed -e 's/ $$//' -e '/:$$/d' >>Makefile.new ; \
  556. -    done
  557. -    @echo '# DEPENDENCIES MUST END AT END OF FILE' >>Makefile.new
  558. -    @echo '# IF YOU PUT STUFF HERE IT WILL GO AWAY' >>Makefile.new
  559. -    @echo '# see "make depend" above' >>Makefile.new
  560. -    @if cmp -s Makefile Makefile.new ; \
  561. -        then echo '*** Makefile is already up to date' ; \
  562. -        else echo '*** New makefile is in "Makefile.new".  Move it to "Makefile".' ; \
  563. -    fi
  564. -
  565. -# DO NOT DELETE THIS LINE -- "make depend" uses it
  566. -TUNE_H = tune.h sysdep.h
  567. -JOVE_H = jove.h $(TUNE_H) buf.h io.h dataobj.h keymaps.h argcount.h util.h externs.h
  568. -commands.o: $(JOVE_H) jctype.h extend.h macros.h mouse.h abbrev.h c.h case.h commands.h delete.h disp.h insert.h sysprocs.h iproc.h marks.h misc.h move.h paragraph.h proc.h reapp.h wind.h commands.tab
  569. -abbrev.o: $(JOVE_H) fp.h jctype.h abbrev.h ask.h commands.h delete.h insert.h disp.h fmt.h move.h wind.h
  570. -argcount.o: $(JOVE_H) jctype.h
  571. -ask.o: $(JOVE_H) jctype.h chars.h disp.h fp.h scandir.h screen.h ask.h delete.h insert.h extend.h fmt.h marks.h move.h mac.h
  572. -buf.o: $(JOVE_H) jctype.h disp.h ask.h extend.h fmt.h insert.h macros.h marks.h move.h sysprocs.h proc.h wind.h fp.h iproc.h mac.h
  573. -c.o: $(JOVE_H) re.h c.h jctype.h disp.h delete.h insert.h fmt.h marks.h misc.h move.h paragraph.h
  574. -case.o: $(JOVE_H) disp.h case.h jctype.h marks.h move.h
  575. -jctype.o: $(JOVE_H) jctype.h
  576. -delete.o: $(JOVE_H) jctype.h disp.h delete.h insert.h marks.h move.h
  577. -disp.o: $(JOVE_H) jctype.h chars.h fp.h disp.h ask.h extend.h fmt.h insert.h sysprocs.h iproc.h move.h macros.h screen.h term.h wind.h mac.h
  578. -extend.o: $(JOVE_H) fp.h jctype.h chars.h commands.h disp.h re.h ask.h extend.h fmt.h insert.h move.h sysprocs.h proc.h vars.h mac.h
  579. -fp.o: $(JOVE_H) fp.h jctype.h disp.h fmt.h mac.h
  580. -fmt.o: $(JOVE_H) chars.h fp.h jctype.h disp.h extend.h fmt.h mac.h
  581. -insert.o: $(JOVE_H) jctype.h list.h chars.h disp.h abbrev.h ask.h c.h delete.h insert.h fmt.h macros.h marks.h misc.h move.h paragraph.h screen.h sysprocs.h proc.h wind.h re.h
  582. -io.o: $(JOVE_H) list.h fp.h jctype.h disp.h scandir.h ask.h fmt.h insert.h marks.h sysprocs.h proc.h wind.h rec.h mac.h re.h temp.h
  583. -iproc.o: $(JOVE_H) re.h jctype.h disp.h fp.h sysprocs.h iproc.h ask.h extend.h fmt.h insert.h marks.h move.h proc.h wind.h select.h ttystate.h
  584. -jove.o: $(JOVE_H) fp.h jctype.h chars.h disp.h re.h reapp.h sysprocs.h rec.h ask.h extend.h fmt.h macros.h marks.h mouse.h paths.h proc.h screen.h term.h version.h wind.h iproc.h select.h mac.h
  585. -list.o: $(JOVE_H) list.h
  586. -macros.o: $(JOVE_H) jctype.h fp.h chars.h disp.h ask.h commands.h macros.h extend.h fmt.h
  587. -marks.o: $(JOVE_H) fmt.h marks.h disp.h
  588. -misc.o: $(JOVE_H) jctype.h disp.h ask.h c.h delete.h insert.h extend.h fmt.h marks.h misc.h move.h paragraph.h
  589. -move.o: $(JOVE_H) re.h chars.h jctype.h disp.h move.h screen.h
  590. -paragraph.o: $(JOVE_H) jctype.h disp.h delete.h insert.h fmt.h marks.h misc.h move.h paragraph.h re.h
  591. -proc.o: $(JOVE_H) jctype.h fp.h re.h disp.h sysprocs.h ask.h delete.h extend.h fmt.h insert.h iproc.h marks.h misc.h move.h proc.h wind.h
  592. -re.o: $(JOVE_H) re.h jctype.h ask.h disp.h fmt.h marks.h
  593. -reapp.o: $(JOVE_H) fp.h re.h jctype.h chars.h disp.h ask.h fmt.h marks.h reapp.h wind.h mac.h
  594. -rec.o: $(JOVE_H) fp.h sysprocs.h rec.h fmt.h recover.h
  595. -scandir.o: $(JOVE_H) scandir.h
  596. -screen.o: $(JOVE_H) fp.h chars.h jctype.h disp.h extend.h fmt.h term.h mac.h screen.h wind.h
  597. -term.o: $(JOVE_H) term.h fp.h
  598. -termcap.o: $(JOVE_H) term.h disp.h fmt.h fp.h jctype.h screen.h
  599. -unix.o: $(JOVE_H) fp.h chars.h term.h ttystate.h util.h
  600. -util.o: $(JOVE_H) jctype.h disp.h fp.h ask.h chars.h fmt.h insert.h macros.h marks.h move.h rec.h mac.h
  601. -vars.o: $(JOVE_H) extend.h vars.h abbrev.h ask.h c.h jctype.h disp.h insert.h sysprocs.h iproc.h mac.h mouse.h paragraph.h proc.h re.h reapp.h rec.h screen.h term.h ttystate.h wind.h vars.tab
  602. -wind.o: $(JOVE_H) chars.h disp.h ask.h extend.h commands.h mac.h reapp.h wind.h screen.h
  603. -msgetch.o: $(JOVE_H) chars.h disp.h
  604. -mac.o: $(TUNE_H) $(JOVE_H) mac.h ask.h chars.h disp.h extend.h fp.h commands.h fmt.h marks.h misc.h move.h screen.h scandir.h term.h vars.h version.h wind.h
  605. -keymaps.o: $(JOVE_H) list.h fp.h jctype.h chars.h disp.h re.h ask.h commands.h macros.h extend.h fmt.h screen.h vars.h sysprocs.h iproc.h
  606. -ibmpcdos.o: $(JOVE_H) fp.h chars.h screen.h term.h
  607. -mouse.o: $(JOVE_H) disp.h misc.h ask.h delete.h fmt.h insert.h marks.h move.h wind.h term.h jctype.h mouse.h xjove/mousemsg.h
  608. -win32.o: $(JOVE_H) fp.h chars.h screen.h disp.h
  609. -portsrv.o: $(JOVE_H) sysprocs.h iproc.h
  610. -recover.o: $(JOVE_H) temp.h sysprocs.h rec.h paths.h recover.h scandir.c jctype.h
  611. -setmaps.o: $(JOVE_H) chars.h commands.h vars.h commands.tab vars.tab
  612. -teachjove.o: $(TUNE_H) paths.h
  613. -# DEPENDENCIES MUST END AT END OF FILE
  614. -# IF YOU PUT STUFF HERE IT WILL GO AWAY
  615. -# see "make depend" above
  616. diff -rup --new-file baseline/bsd/jove/Makefile.in amiga/bsd/jove/Makefile.in
  617. --- baseline/bsd/jove/Makefile.in    Wed Dec 31 17:00:00 1969
  618. +++ amiga/bsd/jove/Makefile.in    Sat Sep 28 00:00:00 1996
  619. @@ -0,0 +1,589 @@
  620. +########################################################################
  621. +# This program is Copyright (C) 1986-1996 by Jonathan Payne.  JOVE is  #
  622. +# provided to you without charge, and with no warranty.  You may give  #
  623. +# away copies of JOVE, including sources, provided that this notice is #
  624. +# included in all the files.                                           #
  625. +########################################################################
  626. +
  627. +# TMPDIR is where the tmp files get stored, usually /tmp or /usr/tmp.  If
  628. +# your system, or reboot, removes files in /tmp, but not those in /usr/tmp,
  629. +# then it makes sense to make TMPDIR be /usr/tmp.
  630. +# But if you want to recover buffers on system crashes, you should create a
  631. +# directory that doesn't get cleaned upon reboot, and use that instead.
  632. +# You would probably want to clean out that directory periodically with
  633. +# /etc/cron.
  634. +# RECDIR is the directory in which RECOVER looks for JOVE's tempfiles.
  635. +#
  636. +# JOVEHOME is the directory in which pieces of JOVE are kept.  It is only used
  637. +#    in the default definitions of SHAREDIR, LIBDIR, BINDIR, and MANDIR.
  638. +# SHAREDIR is for online documentation, and the system-wide jove.rc file.
  639. +# LIBDIR is for the PORTSRV and RECOVER programs.
  640. +# BINDIR is where to put the executables JOVE and TEACHJOVE.
  641. +# MANDIR is where the manual pages go for JOVE, RECOVER and TEACHJOVE.
  642. +# MANEXT is the extension for the man pages, e.g., jove.1 or jove.l or jove.m.
  643. +# DFLTSHELL is the default shell invoked by JOVE and TEACHJOVE.
  644. +#
  645. +# If they don't exist, this makefile will try to create the directories
  646. +# LIBDIR and SHAREDIR.  All others must already exist.
  647. +
  648. +srcdir =    @srcdir@
  649. +VPATH =        @srcdir@
  650. +
  651. +prefix =    @prefix@
  652. +exec_prefix =    @exec_prefix@
  653. +
  654. +bindir =    $(exec_prefix)/bin
  655. +libdir =    $(exec_prefix)/lib
  656. +incdir =    $(prefix)/include
  657. +infodir =    $(prefix)/info
  658. +
  659. +INSTALL =    @INSTALL@
  660. +INSTALL_PROGRAM = @INSTALL_PROGRAM@
  661. +INSTALL_DATA =    @INSTALL_DATA@
  662. +
  663. +SHELL = /bin/sh
  664. +TMPDIR = /tmp
  665. +RECDIR = /tmp/preserve
  666. +
  667. +JOVEHOME = @prefix@
  668. +SHAREDIR = $(JOVEHOME)/lib/jove
  669. +LIBDIR = $(JOVEHOME)/lib/jove
  670. +BINDIR = $(JOVEHOME)/bin
  671. +MANDIR = $(JOVEHOME)/man/man$(MANEXT)
  672. +MANEXT = 1
  673. +DFLTSHELL = /bin/sh
  674. +
  675. +# Select optimization level (flags passed to compiling and linking steps).
  676. +# On most systems, -g for debugging, -O for optimization.
  677. +# On the official Sun ANSI C compiler and the standard System V Release 4
  678. +# compiler, adding -Xa -v will increase compiler checking.
  679. +# On DEC OSF/1, -std1 -O
  680. +
  681. +OPTFLAGS =
  682. +
  683. +# For making dependencies under BSD systems
  684. +DEPENDFLAG = -M
  685. +# or, using the official Sun ANSI C compiler
  686. +# DEPENDFLAG = -xM
  687. +
  688. +# Select the right libraries for your system.
  689. +#    2.10BSD:LIBS = -ltermcap
  690. +#    v7:    LIBS = -ltermcap
  691. +#    4.1BSD:    LIBS = -ltermcap -ljobs
  692. +#    4.2BSD:    LIBS = -ltermcap
  693. +#    4.3BSD:    LIBS = -ltermcap
  694. +#    SysV Rel. 2: LIBS = -lcurses
  695. +#    SCO Xenix: LIBS = -ltermcap -lx
  696. +#    SCO: LIBS = -lcurses
  697. +#    AIX on the R6000s: LIBS = -lcurses -ltermcap -ls
  698. +#    MIPS: LIBS = -ltermcap
  699. +
  700. +LIBS = -lcurses
  701. +
  702. +#    2.10BSD:LDFLAGS =
  703. +#    v7:    LDFLAGS =
  704. +#    4.1BSD:    LDFLAGS =
  705. +#    4.2BSD:    LDFLAGS =
  706. +#    4.3BSD:    LDFLAGS =
  707. +#    SysV Rel. 2: LDFLAGS = -Ml
  708. +#    SCO Xenix: LDFLAGS = -Ml -F 3000
  709. +#    SCO Unix: LDFLAGS =
  710. +#    AIX Unix: LDFLAGS = -bloadmap:$@.map # only if loadmap
  711. +#
  712. +# To optimize the use of the address spaces, add to the LDFLAGS:
  713. +#    PDP-11 with separate I&D: -i
  714. +#    PDP-11 without separate I&D: -n
  715. +
  716. +
  717. +LDFLAGS =
  718. +
  719. +# define a symbol for your OS if it hasn't got one.  See sysdep.h.
  720. +# Jove has very few defaults, you will almost certainly need to define
  721. +# *something*.
  722. +#
  723. +#    Apple A/UX on macIIs        SYSDEFS=-DA_UX
  724. +#    BSD4.2,4.3            SYSDEFS=-DBSD4
  725. +#    BSDI, 386BSD, BSD4.4        SYSDEFS=-DBSDPOSIX
  726. +#    Consensys V4            SYSDEFS=-DSYSVR4 -DGRANTPT_BUG
  727. +#    DEC OSF R1.3MK            SYSDEFS=-DSYSVR4
  728. +#    DEC OSF/1 V1.3            SYSDEFS=-BSDPOSIX -DNO_TIOCREMOTE -DNO_TIOCSIGNAL
  729. +#    DEC OSF/1 V2.0 and later    SYSDEFS=-DSYSVR4
  730. +#    DEC Ultrix 4.2            SYSDEFS=-DBSDPOSIX
  731. +#    DEC Ultrix 4.3            SYSDEFS=-DBSDPOSIX -DJVDISABLE=255
  732. +#    DG AViiON 5.3R4            SYSDEFS=-DSYSVR4 -DBSD_SIGS
  733. +#    HP/UX 8 or 9            SYSDEFS=-DHPUX -Ac
  734. +#    IBM RS6000s            SYSDEFS=-DAIX3_2
  735. +#    Irix 3.3-4.0.5            SYSDEFS=-DIRIX -DIRIX4
  736. +#    Irix 5.0 onwards        SYSDEFS=-DIRIX -prototypes
  737. +#    LINUX                SYSDEFS=-DBSDPOSIX
  738. +#    MIPS RiscOS4.x            SYSDEFS=-systype bsd43 -DBSD4
  739. +#    SCO Unix            SYSDEFS=-DSCO
  740. +#    SunOS3.x            SYSDEFS=-DSUNOS3
  741. +#    SunOS4.0*            SYSDEFS=-DSUNOS40
  742. +#    SunOS4.1*            SYSDEFS=-DSUNOS41
  743. +#    SunOS5.0/Solaris 2.0        SYSDEFS=-DSYSVR4 -DGRANTPT_BUG
  744. +#    SunOS5.[1234]/Solaris 2.[1234]    SYSDEFS=-DSYSVR4
  745. +#    Sys III, Sys V R 2,3        SYSDEFS=-DSYSV
  746. +#    Sys V Release 4.0        SYSDEFS=-DSYSVR4 -DGRANTPT_BUG
  747. +#    Sys V Release 4.?        SYSDEFS=-DSYSVR4
  748. +#
  749. +# Some systems based on System V release 4 have a bug affecting interactive
  750. +# processes.  This bug can be worked around by defining GRANTPT_BUG.
  751. +# Read the explanation of GRANTPT_BUG in sysdep.doc.
  752. +#
  753. +# Some of the MIPS based Ultrix (upto 4.2 at least), RiscOS and Irix (up to
  754. +# 3.3 at least) also need -DMIPS_CC_BUG.
  755. +#
  756. +# Some (all?) versions of the HPUX C compiler have a bug in handling forward
  757. +# struct tag declarations.  Using the -Ac flag in place of -Ae will avoid
  758. +# this problem (and reduce the compiler's error checking, unfortunately).
  759. +#
  760. +# Add -DUSE_EXIT if you're profiling or using purify (this causes Jove
  761. +# to exit using exit(), instead of _exit()).
  762. +#
  763. +# You can just say 'make SYSDEFS=-Dwhatever' on these systems.
  764. +
  765. +SYSDEFS =
  766. +
  767. +# for SCO Xenix, set
  768. +#    MEMFLAGS = -Mle
  769. +#    OUR_CFLAGS = -LARGE -O -F 3000 -K -Mle  (say -Mle2 for an 80286)
  770. +
  771. +CFLAGS = @CFLAGS@
  772. +INCLUDES = -I. -I$(srcdir)
  773. +OUR_CFLAGS = $(OPTFLAGS) $(SYSDEFS) $(CFLAGS) $(INCLUDES)
  774. +
  775. +# For SYSVR4 (/usr/ucb/cc will NOT work because of setjmp.h):
  776. +# CC = /usr/bin/cc
  777. +# To use the SunPro compiler under SunOS 4.n:
  778. +# CC = acc
  779. +# To use the official Sun compiler under Solaris 2.n:
  780. +# CC = /opt/SUNWspro/bin/cc
  781. +# For DG AViiON, expect compile errors unless you use the GNU C compiler:
  782. +# CC=gcc
  783. +
  784. +# Load invocation of cc.
  785. +# LDCC = purify $(CC)
  786. +
  787. +CC = @CC@
  788. +LDCC = $(CC)
  789. +
  790. +# For cross compiling Jove, set CC to the cross compiler, and LOCALCC
  791. +# to the local C compiler. LOCALCC will be used for compiling setmaps,
  792. +# which is run as part of the compilation to generate the keymaps.
  793. +# Set LOCALCFLAGS and LOCALLDFLAGS appropriately too. For Xenix, note
  794. +# that LOCALCFLAGS must be set to $(MEMFLAGS)
  795. +
  796. +LOCALCC = $(CC)
  797. +LOCALCFLAGS = $(OUR_CFLAGS)    # $(MEMFLAGS)
  798. +LOCALLDFLAGS = $(LDFLAGS)
  799. +
  800. +# Objects are grouped into overlays for the benefit of (at least) 2.xBSD.
  801. +
  802. +BASESEG = commands.o keys.o argcount.o ask.o buf.o jctype.o delete.o \
  803. +      disp.o insert.o io.o jove.o marks.o misc.o re.o \
  804. +      screen.o termcap.o unix.o util.o vars.o list.o keymaps.o \
  805. +      mouse.o
  806. +OVLAY1 = abbrev.o rec.o paragraph.o fmt.o
  807. +OVLAY2 = c.o wind.o fp.o move.o
  808. +OVLAY3 = extend.o macros.o
  809. +OVLAY4 = iproc.o reapp.o
  810. +OVLAY5 = proc.o scandir.o term.o case.o
  811. +
  812. +OBJECTS = $(BASESEG) $(OVLAY1) $(OVLAY2) $(OVLAY3) $(OVLAY4) $(OVLAY5)
  813. +
  814. +NROFF = nroff
  815. +TROFF = troff -Tpost
  816. +TROFFPOST = | dpost - >troff.out.ps
  817. +
  818. +MANUALS = jove.$(MANEXT) teachjove.$(MANEXT) jovetool.$(MANEXT)
  819. +
  820. +C_SRC = commands.c commands.tab abbrev.c argcount.c ask.c buf.c c.c case.c jctype.c \
  821. +    delete.c disp.c extend.c fp.c fmt.c insert.c io.c iproc.c \
  822. +    jove.c list.c macros.c marks.c misc.c move.c paragraph.c \
  823. +    proc.c re.c reapp.c rec.c scandir.c screen.c term.c termcap.c unix.c \
  824. +    util.c vars.c vars.tab wind.c msgetch.c mac.c keymaps.c ibmpcdos.c \
  825. +    mouse.c win32.c
  826. +
  827. +SOURCES = $(C_SRC) portsrv.c recover.c setmaps.c teachjove.c
  828. +
  829. +HEADERS = abbrev.h argcount.h ask.h buf.h c.h case.h chars.h commands.h \
  830. +    jctype.h dataobj.h delete.h disp.h extend.h externs.h \
  831. +    fmt.h fp.h insert.h io.h iproc.h jove.h \
  832. +    keymaps.h list.h mac.h macros.h marks.h \
  833. +    misc.h mouse.h move.h paragraph.h proc.h \
  834. +    re.h reapp.h rec.h recover.h resource.h scandir.h screen.h \
  835. +    select.h sysdep.h sysprocs.h temp.h term.h ttystate.h \
  836. +    tune.h util.h vars.h version.h wind.h
  837. +
  838. +DOCTERMS =    $(srcdir)/doc/jove.rc.sun $(srcdir)/doc/keychart.sun \
  839. +    $(srcdir)/doc/jove.rc.sun-cmd $(srcdir)/doc/keychart.sun-cmd \
  840. +    $(srcdir)/doc/jove.rc.vt100 $(srcdir)/doc/keychart.vt100 \
  841. +    $(srcdir)/doc/jove.rc.wyse $(srcdir)/doc/keychart.wyse \
  842. +    $(srcdir)/doc/jove.rc.xterm $(srcdir)/doc/keychart.xterm \
  843. +    $(srcdir)/doc/jove.rc.z29 $(srcdir)/doc/keychart.z29 \
  844. +    $(srcdir)/doc/jove.rc.3022 $(srcdir)/doc/keychart.3022 \
  845. +    $(srcdir)/doc/XTermresource
  846. +
  847. +DOCS =    $(srcdir)/doc/README $(srcdir)/doc/teach-jove $(srcdir)/doc/jove.qref \
  848. +    $(srcdir)/doc/intro.nr $(srcdir)/doc/cmds.macros.nr $(srcdir)/doc/cmds.nr $(srcdir)/doc/contents.nr \
  849. +    $(srcdir)/doc/jove.nr $(srcdir)/doc/teachjove.nr $(srcdir)/doc/xjove.nr $(srcdir)/doc/jovetool.nr \
  850. +    $(srcdir)/doc/jove.rc $(srcdir)/doc/example.rc $(DOCTERMS)
  851. +
  852. +MISC =    Makefile Makefile.bcc Makefile.msc Makefile.wat Makefile.zor \
  853. +    README README.dos README.mac README.w32 sysdep.doc tune.doc
  854. +
  855. +SUPPORT = teachjove.c recover.c setmaps.c portsrv.c keys.txt \
  856. +    menumaps.txt mjovers.Hqx jjoveico.uue jjove.rc
  857. +
  858. +BACKUPS = $(HEADERS) $(C_SRC) $(SUPPORT) $(MISC)
  859. +
  860. +.c.o:
  861. +    $(CC) -c $(OUR_CFLAGS) $<
  862. +
  863. +all:    jjove recover teachjove portsrv cmds.doc $(MANUALS)
  864. +
  865. +jjove:    $(OBJECTS)
  866. +    $(LDCC) $(LDFLAGS) $(OPTFLAGS) -o jjove $(OBJECTS) $(LIBS)
  867. +    @-size jjove
  868. +
  869. +# For 2.xBSD: link jove as a set of overlays.  Not tested recently.
  870. +
  871. +ovjove:    $(OBJECTS)
  872. +    ld $(LDFLAGS) $(OPTFLAGS) -X /lib/crt0.o \
  873. +        -Z $(OVLAY1) \
  874. +        -Z $(OVLAY2) \
  875. +        -Z $(OVLAY3) \
  876. +        -Z $(OVLAY4) \
  877. +        -Z $(OVLAY5) \
  878. +        -Y $(BASESEG) \
  879. +        -o jjove $(LIBS) -lc
  880. +    @-size jjove
  881. +
  882. +portsrv:    portsrv.o
  883. +    $(CC) $(LDFLAGS) $(OPTFLAGS) -o portsrv portsrv.o $(LIBS)
  884. +
  885. +recover:    recover.o
  886. +    $(CC) $(LDFLAGS) $(OPTFLAGS) -o recover recover.o $(LIBS)
  887. +
  888. +teachjove:    teachjove.o
  889. +    $(CC) $(LDFLAGS) $(OPTFLAGS) -o teachjove teachjove.o $(LIBS)
  890. +
  891. +# don't optimize setmaps.c because it produces bad code in some places
  892. +# for some reason
  893. +
  894. +setmaps:    setmaps.o
  895. +    $(LOCALCC) $(LOCALLDFLAGS) -o setmaps setmaps.o
  896. +
  897. +setmaps.o:    setmaps.c
  898. +    $(LOCALCC) $(LOCALCFLAGS) -c $(srcdir)/setmaps.c
  899. +
  900. +keys.c:    setmaps keys.txt
  901. +    ./setmaps < $(srcdir)/keys.txt > keys.c
  902. +
  903. +keys.o:    keys.c tune.h sysdep.h jove.h keymaps.h dataobj.h commands.h
  904. +
  905. +paths.h: Makefile
  906. +    -rm -f paths.h
  907. +    @echo "/* Changes should be made in Makefile, not to this file! */" > paths.h
  908. +    @echo "" >> paths.h
  909. +    @echo \#define TMPDIR \"$(TMPDIR)\" >> paths.h
  910. +    @echo \#define RECDIR \"$(RECDIR)\" >> paths.h
  911. +    @echo \#define LIBDIR \"$(LIBDIR)\" >> paths.h
  912. +    @echo \#define SHAREDIR \"$(SHAREDIR)\" >> paths.h
  913. +    @echo \#define DFLTSHELL \"$(DFLTSHELL)\" >> paths.h
  914. +
  915. +makexjove:
  916. +    ( cd xjove ; make CC="$(CC)" OPTFLAGS="$(OPTFLAGS)" SYSDEFS="$(SYSDEFS)" $(TOOLMAKEEXTRAS) xjove )
  917. +
  918. +installxjove:
  919. +    ( cd xjove ; make CC="$(CC)" OPTFLAGS="$(OPTFLAGS)" SYSDEFS="$(SYSDEFS)" INSTALL_PROGRAM="$(INSTALL_PROGRAM)" BINDIR="$(BINDIR)" INSTALLFLAGS="$(INSTALLFLAGS)" $(TOOLMAKEEXTRAS) installxjove )
  920. +
  921. +makejovetool:
  922. +    ( cd xjove ; make CC="$(CC)" OPTFLAGS="$(OPTFLAGS)" SYSDEFS="$(SYSDEFS)" DEFINES=-DSUNVIEW $(TOOLMAKEEXTRAS) jovetool )
  923. +
  924. +installjovetool:
  925. +    ( cd xjove ; make CC="$(CC)" OPTFLAGS="$(OPTFLAGS)" SYSDEFS="$(SYSDEFS)" DEFINES=-DSUNVIEW INSTALL_PROGRAM="$(INSTALL_PROGRAM)" BINDIR="$(BINDIR)" INSTALLFLAGS="$(INSTALLFLAGS)" $(TOOLMAKEEXTRAS) installjovetool )
  926. +
  927. +install: $(LIBDIR) $(SHAREDIR) \
  928. +     install-teach-jove install-cmds-doc install-sharedir-docs \
  929. +     install-portsrv install-recover install-jove install-teachjove \
  930. +     install-jove-man install-teachjove-man install-xjove-man \
  931. +     install-jovetool-man
  932. +    $(INSTALL_DATA) $(srcdir)/doc/jove.rc $(SHAREDIR)/jove.rc
  933. +    @echo See the README about changes to /etc/rc or /etc/rc.local
  934. +    @echo so that the system recovers jove files on reboot after a crash
  935. +
  936. +$(LIBDIR)::
  937. +    test -d $(LIBDIR) || mkdir $(LIBDIR)
  938. +
  939. +$(SHAREDIR)::
  940. +    test -d $(SHAREDIR) || mkdir $(SHAREDIR)
  941. +
  942. +install-teach-jove: teachjove
  943. +    $(INSTALL_DATA) teachjove $(SHAREDIR)/teach-jove
  944. +
  945. +cmds.doc:    $(srcdir)/doc/cmds.macros.nr doc/cmds.nr
  946. +    $(NROFF) $(srcdir)/doc/cmds.macros.nr $(srcdir)/doc/cmds.nr > $@
  947. +
  948. +jove.man:    doc/intro.nr doc/cmds.nr
  949. +    tbl $(srcdir)/doc/intro.nr | $(NROFF) -ms - $(srcdir)/doc/cmds.nr >$@
  950. +
  951. +troff-man:
  952. +    tbl $(srcdir)/doc/intro.nr | $(TROFF) -ms - $(srcdir)/doc/cmds.nr $(srcdir)/doc/contents.nr $(TROFFPOST)
  953. +
  954. +install-cmds-doc: cmds.doc
  955. +    $(INSTALL_DATA) cmds.doc $(SHAREDIR)/cmds.doc
  956. +
  957. +$(SHAREDIR)/jove.rc: doc/jove.rc
  958. +    $(INSTALL_DATA) $(srcdir)/doc/jove.rc $(SHAREDIR)/jove.rc
  959. +
  960. +install-sharedir-docs: $(DOCTERMS)
  961. +    for i in $(DOCTERMS) ; do \
  962. +      $(INSTALL_DATA) $$i $(SHAREDIR) ; \
  963. +    done
  964. +
  965. +install-portsrv: portsrv
  966. +    $(INSTALL_PROGRAM) portsrv $(LIBDIR)/portsrv
  967. +
  968. +install-recover: recover
  969. +    $(INSTALL_PROGRAM) recover $(LIBDIR)/recover
  970. +
  971. +install-jove: jjove
  972. +    $(INSTALL_PROGRAM) jjove $(BINDIR)/jove
  973. +
  974. +install-teachjove: teachjove
  975. +    $(INSTALL_PROGRAM) teachjove $(BINDIR)/$(TEACHJOVE)
  976. +
  977. +jove.$(MANEXT): doc/jove.nr
  978. +    @sed -e 's;<TMPDIR>;$(TMPDIR);' \
  979. +         -e 's;<LIBDIR>;$(LIBDIR);' \
  980. +         -e 's;<SHAREDIR>;$(SHAREDIR);' \
  981. +         -e 's;<SHELL>;$(DFLTSHELL);' $(srcdir)/doc/jove.nr > $@
  982. +
  983. +install-jove-man: jove.$(MANEXT)
  984. +    $(INSTALL_DATA) $? $(MANDIR)/jove.$(MANEXT)
  985. +
  986. +
  987. +# doc/jove.doc is the formatted manpage (only needed by DOS)
  988. +# Building it should be like building $(MANDIR)/jove.$(MANEXT) except that we
  989. +# don't know what to substitue for <TMPDIR> etc. because they
  990. +# are not fixed yet, and because we must do the formatting.
  991. +
  992. +jove.doc: doc/jove.nr
  993. +    $(NROFF) -man $(srcdir)/doc/jove.nr >$@
  994. +
  995. +teachjove.$(MANEXT): doc/teachjove.nr
  996. +    @sed -e 's;<TMPDIR>;$(TMPDIR);' \
  997. +         -e 's;<LIBDIR>;$(LIBDIR);' \
  998. +         -e 's;<SHAREDIR>;$(SHAREDIR);' \
  999. +         -e 's;<SHELL>;$(DFLTSHELL);' $(srcdir)/doc/teachjove.nr >$@
  1000. +
  1001. +install-teachjove-man: teachjove.$(MANEXT)
  1002. +    $(INSTALL_DATA) $? $(MANDIR)/teachjove.$(MANEXT)
  1003. +
  1004. +install-xjove-man:
  1005. +    $(INSTALL_DATA) $(srcdir)/doc/xjove.nr $(MANDIR)/xjove.$(MANEXT)
  1006. +
  1007. +jovetool.$(MANEXT): doc/jovetool.nr
  1008. +    @sed -e 's;<MANDIR>;$(MANDIR);' \
  1009. +         -e 's;<MANEXT>;$(MANEXT);' $(srcdir)/doc/jovetool.nr > $@
  1010. +
  1011. +install-jovetool-man: jovetool.$(MANEXT)
  1012. +    $(INSTALL_DATA) $? $(MANDIR)/jovetool.$(MANEXT)
  1013. +
  1014. +echo:
  1015. +    @echo $(C-FILES) $(HEADERS)
  1016. +
  1017. +lint:
  1018. +    lint -n $(C_SRC) keys.c
  1019. +    @echo Done
  1020. +
  1021. +tags:    $(C_SRC) $(HEADERS)
  1022. +    ctags -w $(C_SRC) $(HEADERS)
  1023. +
  1024. +# .filelist is a trick to get around a make limit:
  1025. +# the list of files is too long to fit in a command generated by make
  1026. +# The actual contents of the file depend only on Makefile, but by
  1027. +# adding extra dependencies, dependants of .filelist can have shorter
  1028. +# dependency lists.  Note: since we have no list of xjove files,
  1029. +# we alway force a make of xjove/.filelist.  This forces .filelist
  1030. +# to be rebuilt every time it is needed.
  1031. +
  1032. +.filelist:    $(BACKUPS) $(DOCS) .xjfilelist
  1033. +    @ls $(BACKUPS) >.filelist
  1034. +    @ls $(DOCS) >>.filelist
  1035. +    @sed -e 's=^=xjove/=' xjove/.filelist >>.filelist
  1036. +
  1037. +.xjfilelist:
  1038. +    @( cd xjove ; make .filelist )
  1039. +
  1040. +# override CIFLAGS with something like:
  1041. +# CIFLAGS="-m'some reason for change' -u4.14.10.n -q"
  1042. +
  1043. +ciall:    .filelist
  1044. +    ci $(CIFLAGS) `cat .filelist`
  1045. +
  1046. +coall:    .filelist
  1047. +    co $(BACKUPS) `cat .filelist`
  1048. +
  1049. +jove.shar:    .filelist
  1050. +    shar .filelist > jove.shar
  1051. +
  1052. +tar:
  1053. +    @tar cvf - `find . -type f -print | \
  1054. +        egrep -v '(,v|\.o|jjove|portsrv|setmaps|~)$$' | \
  1055. +        sort`
  1056. +
  1057. +backup.Z: .filelist
  1058. +    rm -f backup backup.Z
  1059. +    tar cf backup `cat .filelist`
  1060. +    compress backup
  1061. +
  1062. +backup.gz: .filelist
  1063. +    rm -f backup backup.gz
  1064. +    tar cf backup `cat .filelist`
  1065. +    gzip backup
  1066. +
  1067. +tape-backup:    .filelist
  1068. +    tar cf /dev/rst8 `cat .filelist`
  1069. +
  1070. +# System V sum can be made to match BSD with a -r flag.
  1071. +# To get this effect, override with SUM = sum -r
  1072. +SUM = sum
  1073. +
  1074. +checksum:    .filelist
  1075. +    $(SUM) `cat .filelist`
  1076. +
  1077. +# MSDOS isn't a full-fledged development environment.
  1078. +# Preparing a distribution for MSDOS involves discarding some things
  1079. +# and pre-building others.  All should have \n converted to CR LF
  1080. +# but zoo doesn't do this.
  1081. +# From SUPPORT: only setmaps.c and keys.txt [would like teachjove.c, recover.c]
  1082. +# From MISC: all but Makefile and README.mac
  1083. +# Preformatted documentation. [would like a joverc]
  1084. +# tags
  1085. +
  1086. +DOSSRC = $(HEADERS) $(C_SRC) setmaps.c keys.txt \
  1087. +    Makefile.bcc Makefile.msc Makefile.wat Makefile.zor \
  1088. +    README README.dos README.w32 sysdep.doc tune.doc \
  1089. +    jjoveico.uue jjove.rc \
  1090. +    cmds.doc jove.man jove.doc tags
  1091. +
  1092. +jovedoss.zoo:    $(DOSSRC) jjove.ico
  1093. +    -rm -f jovedoss.zoo
  1094. +    zoo a jovedoss.zoo $(DOSSRC) jjove.ico
  1095. +
  1096. +jovedoss.zip:    $(DOSSRC) jjove.ico
  1097. +    -rm -f jovedoss.zip
  1098. +    zip -k jovedoss.zip jjove.ico -l $(DOSSRC)
  1099. +
  1100. +jjove.ico:    jjoveico.uue
  1101. +    uudecode jjoveico.uue
  1102. +
  1103. +touch:
  1104. +    touch $(OBJECTS)
  1105. +
  1106. +clean:
  1107. +    rm -f a.out core *.o keys.c jjove portsrv recover setmaps \
  1108. +        teachjove paths.h \#* *~ make.log *.map jjove.ico \
  1109. +        cmds.doc jove.man jove.doc troff.out.ps \
  1110. +        jjove.pure_* tags ID .filelist
  1111. +
  1112. +cleanall: clean
  1113. +    ( cd xjove ; make clean )
  1114. +
  1115. +clobber: clean
  1116. +    rm -f *.orig *.rej
  1117. +    ( cd xjove ; make clobber )
  1118. +
  1119. +# This version only works under 4.3BSD
  1120. +dependbsd:
  1121. +    @echo '"make depend" only works under 4.3BSD'
  1122. +    sed -e '/^# DO NOT DELETE THIS LINE/q' Makefile >Makefile.new
  1123. +    for i in ${SOURCES} ; do \
  1124. +        $(CC) ${OUR_CFLAGS} ${DEPENDFLAG} $$i | \
  1125. +        awk ' /[/]usr[/]include/ { next } \
  1126. +            { if ($$1 != prev) \
  1127. +            { if (rec != "") print rec; rec = $$0; prev = $$1; } \
  1128. +            else { if (length(rec $$2) > 78) { print rec; rec = $$0; } \
  1129. +            else rec = rec " " $$2 } } \
  1130. +            END { print rec } ' >>Makefile.new; \
  1131. +    done
  1132. +    echo '# DEPENDENCIES MUST END AT END OF FILE' >>Makefile.new
  1133. +    echo '# IF YOU PUT STUFF HERE IT WILL GO AWAY' >>Makefile.new
  1134. +    echo '# see "make depend" above' >>Makefile.new
  1135. +    @echo 'New makefile is in "Makefile.new".  Move it to "Makefile".'
  1136. +
  1137. +# This version should work with any UNIX
  1138. +# It records all dependencies, including ones that are #ifdef'ed out.
  1139. +# It assumes that only jove.h and tune.h include other headers
  1140. +
  1141. +depend:
  1142. +    @sed -e '/^# DO NOT DELETE THIS LINE/q' Makefile >Makefile.new
  1143. +    for i in tune.h jove.h ${SOURCES} ; do \
  1144. +        ( ( echo "$$i:"; sed -n -e 's/^#[     ]*include[     ]*"\([^"]*\)".*/\1/p' $$i ) | \
  1145. +        sed -e 's/^jove\.h$$/$$(JOVE_H)/' -e 's/^tune\.h$$/$$(TUNE_H)/' \
  1146. +            -e 's/^jove\.h:$$/JOVE_H = jove.h/' -e 's/^tune\.h:$$/TUNE_H = tune.h/' \
  1147. +            -e 's/\.c:$$/.o:/' | \
  1148. +        tr "\012" "\040" ; echo ) | sed -e 's/ $$//' -e '/:$$/d' >>Makefile.new ; \
  1149. +    done
  1150. +    @echo '# DEPENDENCIES MUST END AT END OF FILE' >>Makefile.new
  1151. +    @echo '# IF YOU PUT STUFF HERE IT WILL GO AWAY' >>Makefile.new
  1152. +    @echo '# see "make depend" above' >>Makefile.new
  1153. +    @if cmp -s Makefile Makefile.new ; \
  1154. +        then echo '*** Makefile is already up to date' ; \
  1155. +        else echo '*** New makefile is in "Makefile.new".  Move it to "Makefile".' ; \
  1156. +    fi
  1157. +
  1158. +# DO NOT DELETE THIS LINE -- "make depend" uses it
  1159. +TUNE_H = tune.h sysdep.h
  1160. +JOVE_H = jove.h $(TUNE_H) buf.h io.h dataobj.h keymaps.h argcount.h util.h externs.h
  1161. +commands.o: $(JOVE_H) jctype.h extend.h macros.h mouse.h abbrev.h c.h case.h commands.h delete.h disp.h insert.h sysprocs.h iproc.h marks.h misc.h move.h paragraph.h proc.h reapp.h wind.h commands.tab
  1162. +abbrev.o: $(JOVE_H) fp.h jctype.h abbrev.h ask.h commands.h delete.h insert.h disp.h fmt.h move.h wind.h
  1163. +argcount.o: $(JOVE_H) jctype.h
  1164. +ask.o: $(JOVE_H) jctype.h chars.h disp.h fp.h scandir.h screen.h ask.h delete.h insert.h extend.h fmt.h marks.h move.h mac.h
  1165. +buf.o: $(JOVE_H) jctype.h disp.h ask.h extend.h fmt.h insert.h macros.h marks.h move.h sysprocs.h proc.h wind.h fp.h iproc.h mac.h
  1166. +c.o: $(JOVE_H) re.h c.h jctype.h disp.h delete.h insert.h fmt.h marks.h misc.h move.h paragraph.h
  1167. +case.o: $(JOVE_H) disp.h case.h jctype.h marks.h move.h
  1168. +jctype.o: $(JOVE_H) jctype.h
  1169. +delete.o: $(JOVE_H) jctype.h disp.h delete.h insert.h marks.h move.h
  1170. +disp.o: $(JOVE_H) jctype.h chars.h fp.h disp.h ask.h extend.h fmt.h insert.h sysprocs.h iproc.h move.h macros.h screen.h term.h wind.h mac.h
  1171. +extend.o: $(JOVE_H) fp.h jctype.h chars.h commands.h disp.h re.h ask.h extend.h fmt.h insert.h move.h sysprocs.h proc.h vars.h mac.h
  1172. +fp.o: $(JOVE_H) fp.h jctype.h disp.h fmt.h mac.h
  1173. +fmt.o: $(JOVE_H) chars.h fp.h jctype.h disp.h extend.h fmt.h mac.h
  1174. +insert.o: $(JOVE_H) jctype.h list.h chars.h disp.h abbrev.h ask.h c.h delete.h insert.h fmt.h macros.h marks.h misc.h move.h paragraph.h screen.h sysprocs.h proc.h wind.h re.h
  1175. +io.o: $(JOVE_H) list.h fp.h jctype.h disp.h scandir.h ask.h fmt.h insert.h marks.h sysprocs.h proc.h wind.h rec.h mac.h re.h temp.h
  1176. +iproc.o: $(JOVE_H) re.h jctype.h disp.h fp.h sysprocs.h iproc.h ask.h extend.h fmt.h insert.h marks.h move.h proc.h wind.h select.h ttystate.h
  1177. +jove.o: $(JOVE_H) fp.h jctype.h chars.h disp.h re.h reapp.h sysprocs.h rec.h ask.h extend.h fmt.h macros.h marks.h mouse.h paths.h proc.h screen.h term.h version.h wind.h iproc.h select.h mac.h
  1178. +list.o: $(JOVE_H) list.h
  1179. +macros.o: $(JOVE_H) jctype.h fp.h chars.h disp.h ask.h commands.h macros.h extend.h fmt.h
  1180. +marks.o: $(JOVE_H) fmt.h marks.h disp.h
  1181. +misc.o: $(JOVE_H) jctype.h disp.h ask.h c.h delete.h insert.h extend.h fmt.h marks.h misc.h move.h paragraph.h
  1182. +move.o: $(JOVE_H) re.h chars.h jctype.h disp.h move.h screen.h
  1183. +paragraph.o: $(JOVE_H) jctype.h disp.h delete.h insert.h fmt.h marks.h misc.h move.h paragraph.h re.h
  1184. +proc.o: $(JOVE_H) jctype.h fp.h re.h disp.h sysprocs.h ask.h delete.h extend.h fmt.h insert.h iproc.h marks.h misc.h move.h proc.h wind.h
  1185. +re.o: $(JOVE_H) re.h jctype.h ask.h disp.h fmt.h marks.h
  1186. +reapp.o: $(JOVE_H) fp.h re.h jctype.h chars.h disp.h ask.h fmt.h marks.h reapp.h wind.h mac.h
  1187. +rec.o: $(JOVE_H) fp.h sysprocs.h rec.h fmt.h recover.h
  1188. +scandir.o: $(JOVE_H) scandir.h
  1189. +screen.o: $(JOVE_H) fp.h chars.h jctype.h disp.h extend.h fmt.h term.h mac.h screen.h wind.h
  1190. +term.o: $(JOVE_H) term.h fp.h
  1191. +termcap.o: $(JOVE_H) term.h disp.h fmt.h fp.h jctype.h screen.h
  1192. +unix.o: $(JOVE_H) fp.h chars.h term.h ttystate.h util.h
  1193. +util.o: $(JOVE_H) jctype.h disp.h fp.h ask.h chars.h fmt.h insert.h macros.h marks.h move.h rec.h mac.h
  1194. +vars.o: $(JOVE_H) extend.h vars.h abbrev.h ask.h c.h jctype.h disp.h insert.h sysprocs.h iproc.h mac.h mouse.h paragraph.h proc.h re.h reapp.h rec.h screen.h term.h ttystate.h wind.h vars.tab
  1195. +wind.o: $(JOVE_H) chars.h disp.h ask.h extend.h commands.h mac.h reapp.h wind.h screen.h
  1196. +msgetch.o: $(JOVE_H) chars.h disp.h
  1197. +mac.o: $(TUNE_H) $(JOVE_H) mac.h ask.h chars.h disp.h extend.h fp.h commands.h fmt.h marks.h misc.h move.h screen.h scandir.h term.h vars.h version.h wind.h
  1198. +keymaps.o: $(JOVE_H) list.h fp.h jctype.h chars.h disp.h re.h ask.h commands.h macros.h extend.h fmt.h screen.h vars.h sysprocs.h iproc.h
  1199. +ibmpcdos.o: $(JOVE_H) fp.h chars.h screen.h term.h
  1200. +mouse.o: $(JOVE_H) disp.h misc.h ask.h delete.h fmt.h insert.h marks.h move.h wind.h term.h jctype.h mouse.h xjove/mousemsg.h
  1201. +win32.o: $(JOVE_H) fp.h chars.h screen.h disp.h
  1202. +portsrv.o: $(JOVE_H) sysprocs.h iproc.h
  1203. +recover.o: $(JOVE_H) temp.h sysprocs.h rec.h paths.h recover.h scandir.c jctype.h
  1204. +setmaps.o: $(JOVE_H) chars.h commands.h vars.h commands.tab vars.tab
  1205. +teachjove.o: $(TUNE_H) paths.h
  1206. +# DEPENDENCIES MUST END AT END OF FILE
  1207. +# IF YOU PUT STUFF HERE IT WILL GO AWAY
  1208. +# see "make depend" above
  1209. diff -rup --new-file baseline/bsd/jove/Product-Info amiga/bsd/jove/Product-Info
  1210. --- baseline/bsd/jove/Product-Info    Wed Dec 31 17:00:00 1969
  1211. +++ amiga/bsd/jove/Product-Info    Sat Sep 28 00:00:00 1996
  1212. @@ -0,0 +1,61 @@
  1213. +.name
  1214. +jove
  1215. +.fullname
  1216. +Jonathans Own Version of Emacs
  1217. +.type
  1218. +Text Editing
  1219. +.short
  1220. +Small but very useful EMACS like editor.
  1221. +.description
  1222. +JOVE stands for Jonathan's Own Version of Emacs.
  1223. +
  1224. +JOVE is an advanced, self-documenting, customizable real-time display
  1225. +editor.  It (and this tutorial introduction) are based on the original
  1226. +EMACS editor and user manual written at M.I.T. by Richard Stallman+.
  1227. +
  1228. +Although JOVE is meant to be compatible with EMACS, and indeed many of
  1229. +the basic commands are very similar, there are some major differences
  1230. +between the two editors, and you should not rely on their behaving
  1231. +identically.
  1232. +
  1233. +JOVE is considered a display editor because normally the text being
  1234. +edited is visible on the screen and is updated automatically as you
  1235. +type your commands.
  1236. +
  1237. +It's considered a real-time editor because the display is updated very
  1238. +frequently, usually after each character or pair of characters you
  1239. +type.  This minimizes the amount of information you must keep in your
  1240. +head as you edit.
  1241. +
  1242. +JOVE is advanced because it provides facilities that go beyond simple
  1243. +insertion and deletion: filling of text; automatic indentations of
  1244. +programs; view more than one file at once; and dealing in terms of
  1245. +characters, words, lines, sentences and paragraphs.  It is much easier
  1246. +to type one command meaning "go to the end of the paragraph" than to
  1247. +find the desired spot with repetition of simpler commands.
  1248. +
  1249. +Self-documenting means that at almost any time you can easily find out
  1250. +what a command does, or to find all the commands that pertain to a
  1251. +topic.
  1252. +
  1253. +Customizable means that you can change the definition of JOVE commands
  1254. +in little ways.  For example, you can rearrange the command set; if
  1255. +you prefer to use arrow keys for the four basic cursor motion commands
  1256. +(up, down, left and right), you can.  Another sort of customization is
  1257. +writing new commands by combining built in commands.
  1258. +.version
  1259. +4.16
  1260. +.author
  1261. +Jonathan Payne
  1262. +.distribution
  1263. +Copyrighted but Freely Redistributable
  1264. +.email
  1265. +jpayne@sun.com
  1266. +.source
  1267. +Includes source.
  1268. +.docs
  1269. +README
  1270. +.described-by
  1271. +Fred Fish (fnf@fishpond.cygnus.com)
  1272. +.submittal
  1273. +From BSD-Lite source distribution.
  1274. diff -rup --new-file baseline/bsd/jove/README.amiga amiga/bsd/jove/README.amiga
  1275. --- baseline/bsd/jove/README.amiga    Wed Dec 31 17:00:00 1969
  1276. +++ amiga/bsd/jove/README.amiga    Sat Sep 28 00:00:00 1996
  1277. @@ -0,0 +1,6 @@
  1278. +This is a very crude "compile and go" port of Jove.
  1279. +I'll leave it to an interested party to clean it up
  1280. +and make it more "Amiga friendly".
  1281. +
  1282. +-Fred  ><>
  1283. + 11-Jan-95
  1284. diff -rup --new-file baseline/bsd/jove/configure amiga/bsd/jove/configure
  1285. --- baseline/bsd/jove/configure    Wed Dec 31 17:00:00 1969
  1286. +++ amiga/bsd/jove/configure    Mon Sep 30 22:30:40 1996
  1287. @@ -0,0 +1,1075 @@
  1288. +#! /bin/sh
  1289. +
  1290. +# Guess values for system-dependent variables and create Makefiles.
  1291. +# Generated automatically using autoconf version 2.10 
  1292. +# Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
  1293. +#
  1294. +# This configure script is free software; the Free Software Foundation
  1295. +# gives unlimited permission to copy, distribute and modify it.
  1296. +
  1297. +# Defaults:
  1298. +ac_help=
  1299. +ac_default_prefix=/usr/local
  1300. +# Any additions from configure.in:
  1301. +
  1302. +# Initialize some variables set by options.
  1303. +# The variables have the same names as the options, with
  1304. +# dashes changed to underlines.
  1305. +build=NONE
  1306. +cache_file=./config.cache
  1307. +exec_prefix=NONE
  1308. +host=NONE
  1309. +no_create=
  1310. +nonopt=NONE
  1311. +no_recursion=
  1312. +prefix=NONE
  1313. +program_prefix=NONE
  1314. +program_suffix=NONE
  1315. +program_transform_name=s,x,x,
  1316. +silent=
  1317. +site=
  1318. +srcdir=
  1319. +target=NONE
  1320. +verbose=
  1321. +x_includes=NONE
  1322. +x_libraries=NONE
  1323. +bindir='${exec_prefix}/bin'
  1324. +sbindir='${exec_prefix}/sbin'
  1325. +libexecdir='${exec_prefix}/libexec'
  1326. +datadir='${prefix}/share'
  1327. +sysconfdir='${prefix}/etc'
  1328. +sharedstatedir='${prefix}/com'
  1329. +localstatedir='${prefix}/var'
  1330. +libdir='${exec_prefix}/lib'
  1331. +includedir='${prefix}/include'
  1332. +oldincludedir='/usr/include'
  1333. +infodir='${prefix}/info'
  1334. +guidedir='${prefix}/guide'
  1335. +psdir='${prefix}/ps'
  1336. +dvidir='${prefix}/dvi'
  1337. +mandir='${prefix}/man'
  1338. +
  1339. +# Initialize some other variables.
  1340. +subdirs=
  1341. +MFLAGS= MAKEFLAGS=
  1342. +
  1343. +ac_prev=
  1344. +for ac_option
  1345. +do
  1346. +
  1347. +  # If the previous option needs an argument, assign it.
  1348. +  if test -n "$ac_prev"; then
  1349. +    eval "$ac_prev=\$ac_option"
  1350. +    ac_prev=
  1351. +    continue
  1352. +  fi
  1353. +
  1354. +  case "$ac_option" in
  1355. +  -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
  1356. +  *) ac_optarg= ;;
  1357. +  esac
  1358. +
  1359. +  # Accept the important Cygnus configure options, so we can diagnose typos.
  1360. +
  1361. +  case "$ac_option" in
  1362. +
  1363. +  -bindir | --bindir | --bindi | --bind | --bin | --bi)
  1364. +    ac_prev=bindir ;;
  1365. +  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
  1366. +    bindir="$ac_optarg" ;;
  1367. +
  1368. +  -build | --build | --buil | --bui | --bu)
  1369. +    ac_prev=build ;;
  1370. +  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
  1371. +    build="$ac_optarg" ;;
  1372. +
  1373. +  -cache-file | --cache-file | --cache-fil | --cache-fi \
  1374. +  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
  1375. +    ac_prev=cache_file ;;
  1376. +  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
  1377. +  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
  1378. +    cache_file="$ac_optarg" ;;
  1379. +
  1380. +  -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
  1381. +    ac_prev=datadir ;;
  1382. +  -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
  1383. +  | --da=*)
  1384. +    datadir="$ac_optarg" ;;
  1385. +
  1386. +  -disable-* | --disable-*)
  1387. +    ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
  1388. +    # Reject names that are not valid shell variable names.
  1389. +    if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
  1390. +      { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
  1391. +    fi
  1392. +    ac_feature=`echo $ac_feature| sed 's/-/_/g'`
  1393. +    eval "enable_${ac_feature}=no" ;;
  1394. +
  1395. +  -enable-* | --enable-*)
  1396. +    ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
  1397. +    # Reject names that are not valid shell variable names.
  1398. +    if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
  1399. +      { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
  1400. +    fi
  1401. +    ac_feature=`echo $ac_feature| sed 's/-/_/g'`
  1402. +    case "$ac_option" in
  1403. +      *=*) ;;
  1404. +      *) ac_optarg=yes ;;
  1405. +    esac
  1406. +    eval "enable_${ac_feature}='$ac_optarg'" ;;
  1407. +
  1408. +  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
  1409. +  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
  1410. +  | --exec | --exe | --ex)
  1411. +    ac_prev=exec_prefix ;;
  1412. +  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
  1413. +  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
  1414. +  | --exec=* | --exe=* | --ex=*)
  1415. +    exec_prefix="$ac_optarg" ;;
  1416. +
  1417. +  -gas | --gas | --ga | --g)
  1418. +    # Obsolete; use --with-gas.
  1419. +    with_gas=yes ;;
  1420. +
  1421. +  -help | --help | --hel | --he)
  1422. +    # Omit some internal or obsolete options to make the list less imposing.
  1423. +    # This message is too long to be a string in the A/UX 3.1 sh.
  1424. +    cat << EOF
  1425. +Usage: configure [options] [host]
  1426. +Options: [defaults in brackets after descriptions]
  1427. +Configuration:
  1428. +  --cache-file=FILE       cache test results in FILE
  1429. +  --help                  print this message
  1430. +  --no-create             do not create output files
  1431. +  --quiet, --silent       do not print \`checking...' messages
  1432. +  --version               print the version of autoconf that created configure
  1433. +Directory and file names:
  1434. +  --prefix=PREFIX         install architecture-independent files in PREFIX
  1435. +                          [$ac_default_prefix]
  1436. +  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
  1437. +                          [same as prefix]
  1438. +  --bindir=DIR            user executables in DIR [EPREFIX/bin]
  1439. +  --sbindir=DIR           system admin executables in DIR [EPREFIX/sbin]
  1440. +  --libexecdir=DIR        program executables in DIR [EPREFIX/libexec]
  1441. +  --datadir=DIR           read-only architecture-independent data in DIR
  1442. +                          [PREFIX/share]
  1443. +  --sysconfdir=DIR        read-only single-machine data in DIR [PREFIX/etc]
  1444. +  --sharedstatedir=DIR    modifiable architecture-independent data in DIR
  1445. +                          [PREFIX/com]
  1446. +  --localstatedir=DIR     modifiable single-machine data in DIR [PREFIX/var]
  1447. +  --libdir=DIR            object code libraries in DIR [EPREFIX/lib]
  1448. +  --includedir=DIR        C header files in DIR [PREFIX/include]
  1449. +  --oldincludedir=DIR     C header files for non-gcc in DIR [/usr/include]
  1450. +  --infodir=DIR           info documentation in DIR [PREFIX/info]
  1451. +  --guidedir=DIR          Amigaguide documentation in DIR [PREFIX/guide]
  1452. +  --psdir=DIR             postscript documentation in DIR [PREFIX/ps]
  1453. +  --dvidir=DIR            TeX dvi documentation in DIR [PREFIX/dvi]
  1454. +  --mandir=DIR            man documentation in DIR [PREFIX/man]
  1455. +  --srcdir=DIR            find the sources in DIR [configure dir or ..]
  1456. +  --program-prefix=PREFIX prepend PREFIX to installed program names
  1457. +  --program-suffix=SUFFIX append SUFFIX to installed program names
  1458. +  --program-transform-name=PROGRAM
  1459. +                          run sed PROGRAM on installed program names
  1460. +EOF
  1461. +    cat << EOF
  1462. +Host type:
  1463. +  --build=BUILD           configure for building on BUILD [BUILD=HOST]
  1464. +  --host=HOST             configure for HOST [guessed]
  1465. +  --target=TARGET         configure for TARGET [TARGET=HOST]
  1466. +Features and packages:
  1467. +  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
  1468. +  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
  1469. +  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
  1470. +  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
  1471. +  --x-includes=DIR        X include files are in DIR
  1472. +  --x-libraries=DIR       X library files are in DIR
  1473. +EOF
  1474. +    if test -n "$ac_help"; then
  1475. +      echo "--enable and --with options recognized:$ac_help"
  1476. +    fi
  1477. +    exit 0 ;;
  1478. +
  1479. +  -host | --host | --hos | --ho)
  1480. +    ac_prev=host ;;
  1481. +  -host=* | --host=* | --hos=* | --ho=*)
  1482. +    host="$ac_optarg" ;;
  1483. +
  1484. +  -includedir | --includedir | --includedi | --included | --include \
  1485. +  | --includ | --inclu | --incl | --inc)
  1486. +    ac_prev=includedir ;;
  1487. +  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
  1488. +  | --includ=* | --inclu=* | --incl=* | --inc=*)
  1489. +    includedir="$ac_optarg" ;;
  1490. +
  1491. +  -infodir | --infodir | --infodi | --infod | --info | --inf)
  1492. +    ac_prev=infodir ;;
  1493. +  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
  1494. +    infodir="$ac_optarg" ;;
  1495. +
  1496. + -guidedir | --guidedir | --guidedi | --guided | --guide | --gui)
  1497. +   ac_prev=guidedir ;;
  1498. + -guidedir=* | --guidedir=* | --guidedi=* | --guided=* | --guide=* |--gui=*)+    guidedir="$ac_optarg" ;;
  1499. +
  1500. + -psdir | --psdir | --psdi | --psd | --ps)
  1501. +   ac_prev=psdir ;;
  1502. + -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)+    psdir="$ac_optarg" ;;
  1503. +
  1504. + -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
  1505. +   ac_prev=dvidir ;;
  1506. + -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* |--dv=*)+    dvidir="$ac_optarg" ;;
  1507. +
  1508. +  -libdir | --libdir | --libdi | --libd)
  1509. +    ac_prev=libdir ;;
  1510. +  -libdir=* | --libdir=* | --libdi=* | --libd=*)
  1511. +    libdir="$ac_optarg" ;;
  1512. +
  1513. +  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
  1514. +  | --libexe | --libex | --libe)
  1515. +    ac_prev=libexecdir ;;
  1516. +  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
  1517. +  | --libexe=* | --libex=* | --libe=*)
  1518. +    libexecdir="$ac_optarg" ;;
  1519. +
  1520. +  -localstatedir | --localstatedir | --localstatedi | --localstated \
  1521. +  | --localstate | --localstat | --localsta | --localst \
  1522. +  | --locals | --local | --loca | --loc | --lo)
  1523. +    ac_prev=localstatedir ;;
  1524. +  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
  1525. +  | --localstate=* | --localstat=* | --localsta=* | --localst=* \
  1526. +  | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
  1527. +    localstatedir="$ac_optarg" ;;
  1528. +
  1529. +  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
  1530. +    ac_prev=mandir ;;
  1531. +  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
  1532. +    mandir="$ac_optarg" ;;
  1533. +
  1534. +  -nfp | --nfp | --nf)
  1535. +    # Obsolete; use --without-fp.
  1536. +    with_fp=no ;;
  1537. +
  1538. +  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  1539. +  | --no-cr | --no-c)
  1540. +    no_create=yes ;;
  1541. +
  1542. +  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
  1543. +  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
  1544. +    no_recursion=yes ;;
  1545. +
  1546. +  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
  1547. +  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
  1548. +  | --oldin | --oldi | --old | --ol | --o)
  1549. +    ac_prev=oldincludedir ;;
  1550. +  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
  1551. +  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
  1552. +  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
  1553. +    oldincludedir="$ac_optarg" ;;
  1554. +
  1555. +  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
  1556. +    ac_prev=prefix ;;
  1557. +  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
  1558. +    prefix="$ac_optarg" ;;
  1559. +
  1560. +  -program-prefix | --program-prefix | --program-prefi | --program-pref \
  1561. +  | --program-pre | --program-pr | --program-p)
  1562. +    ac_prev=program_prefix ;;
  1563. +  -program-prefix=* | --program-prefix=* | --program-prefi=* \
  1564. +  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
  1565. +    program_prefix="$ac_optarg" ;;
  1566. +
  1567. +  -program-suffix | --program-suffix | --program-suffi | --program-suff \
  1568. +  | --program-suf | --program-su | --program-s)
  1569. +    ac_prev=program_suffix ;;
  1570. +  -program-suffix=* | --program-suffix=* | --program-suffi=* \
  1571. +  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
  1572. +    program_suffix="$ac_optarg" ;;
  1573. +
  1574. +  -program-transform-name | --program-transform-name \
  1575. +  | --program-transform-nam | --program-transform-na \
  1576. +  | --program-transform-n | --program-transform- \
  1577. +  | --program-transform | --program-transfor \
  1578. +  | --program-transfo | --program-transf \
  1579. +  | --program-trans | --program-tran \
  1580. +  | --progr-tra | --program-tr | --program-t)
  1581. +    ac_prev=program_transform_name ;;
  1582. +  -program-transform-name=* | --program-transform-name=* \
  1583. +  | --program-transform-nam=* | --program-transform-na=* \
  1584. +  | --program-transform-n=* | --program-transform-=* \
  1585. +  | --program-transform=* | --program-transfor=* \
  1586. +  | --program-transfo=* | --program-transf=* \
  1587. +  | --program-trans=* | --program-tran=* \
  1588. +  | --progr-tra=* | --program-tr=* | --program-t=*)
  1589. +    program_transform_name="$ac_optarg" ;;
  1590. +
  1591. +  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  1592. +  | -silent | --silent | --silen | --sile | --sil)
  1593. +    silent=yes ;;
  1594. +
  1595. +  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
  1596. +    ac_prev=sbindir ;;
  1597. +  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
  1598. +  | --sbi=* | --sb=*)
  1599. +    sbindir="$ac_optarg" ;;
  1600. +
  1601. +  -sharedstatedir | --sharedstatedir | --sharedstatedi \
  1602. +  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
  1603. +  | --sharedst | --shareds | --shared | --share | --shar \
  1604. +  | --sha | --sh)
  1605. +    ac_prev=sharedstatedir ;;
  1606. +  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
  1607. +  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
  1608. +  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
  1609. +  | --sha=* | --sh=*)
  1610. +    sharedstatedir="$ac_optarg" ;;
  1611. +
  1612. +  -site | --site | --sit)
  1613. +    ac_prev=site ;;
  1614. +  -site=* | --site=* | --sit=*)
  1615. +    site="$ac_optarg" ;;
  1616. +
  1617. +  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
  1618. +    ac_prev=srcdir ;;
  1619. +  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
  1620. +    srcdir="$ac_optarg" ;;
  1621. +
  1622. +  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
  1623. +  | --syscon | --sysco | --sysc | --sys | --sy)
  1624. +    ac_prev=sysconfdir ;;
  1625. +  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
  1626. +  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
  1627. +    sysconfdir="$ac_optarg" ;;
  1628. +
  1629. +  -target | --target | --targe | --targ | --tar | --ta | --t)
  1630. +    ac_prev=target ;;
  1631. +  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
  1632. +    target="$ac_optarg" ;;
  1633. +
  1634. +  -v | -verbose | --verbose | --verbos | --verbo | --verb)
  1635. +    verbose=yes ;;
  1636. +
  1637. +  -version | --version | --versio | --versi | --vers)
  1638. +    echo "configure generated by autoconf version 2.10"
  1639. +    exit 0 ;;
  1640. +
  1641. +  -with-* | --with-*)
  1642. +    ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
  1643. +    # Reject names that are not valid shell variable names.
  1644. +    if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
  1645. +      { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
  1646. +    fi
  1647. +    ac_package=`echo $ac_package| sed 's/-/_/g'`
  1648. +    case "$ac_option" in
  1649. +      *=*) ;;
  1650. +      *) ac_optarg=yes ;;
  1651. +    esac
  1652. +    eval "with_${ac_package}='$ac_optarg'" ;;
  1653. +
  1654. +  -without-* | --without-*)
  1655. +    ac_package=`echo $ac_option|sed -e 's/-*without-//'`
  1656. +    # Reject names that are not valid shell variable names.
  1657. +    if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
  1658. +      { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
  1659. +    fi
  1660. +    ac_package=`echo $ac_package| sed 's/-/_/g'`
  1661. +    eval "with_${ac_package}=no" ;;
  1662. +
  1663. +  --x)
  1664. +    # Obsolete; use --with-x.
  1665. +    with_x=yes ;;
  1666. +
  1667. +  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
  1668. +  | --x-incl | --x-inc | --x-in | --x-i)
  1669. +    ac_prev=x_includes ;;
  1670. +  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
  1671. +  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
  1672. +    x_includes="$ac_optarg" ;;
  1673. +
  1674. +  -x-libraries | --x-libraries | --x-librarie | --x-librari \
  1675. +  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
  1676. +    ac_prev=x_libraries ;;
  1677. +  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
  1678. +  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
  1679. +    x_libraries="$ac_optarg" ;;
  1680. +
  1681. +  -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
  1682. +    ;;
  1683. +
  1684. +  *)
  1685. +    if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
  1686. +      echo "configure: warning: $ac_option: invalid host type" 1>&2
  1687. +    fi
  1688. +    if test "x$nonopt" != xNONE; then
  1689. +      { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
  1690. +    fi
  1691. +    nonopt="$ac_option"
  1692. +    ;;
  1693. +
  1694. +  esac
  1695. +done
  1696. +
  1697. +if test -n "$ac_prev"; then
  1698. +  { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
  1699. +fi
  1700. +
  1701. +trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
  1702. +
  1703. +# File descriptor usage:
  1704. +# 0 standard input
  1705. +# 1 file creation
  1706. +# 2 errors and warnings
  1707. +# 3 some systems may open it to /dev/tty
  1708. +# 4 used on the Kubota Titan
  1709. +# 6 checking for... messages and results
  1710. +# 5 compiler messages saved in config.log
  1711. +if test "$silent" = yes; then
  1712. +  exec 6>/dev/null
  1713. +else
  1714. +  exec 6>&1
  1715. +fi
  1716. +exec 5>./config.log
  1717. +
  1718. +echo "\
  1719. +This file contains any messages produced by compilers while
  1720. +running configure, to aid debugging if configure makes a mistake.
  1721. +" 1>&5
  1722. +
  1723. +# Strip out --no-create and --no-recursion so they do not pile up.
  1724. +# Also quote any args containing shell metacharacters.
  1725. +ac_configure_args=
  1726. +for ac_arg
  1727. +do
  1728. +  case "$ac_arg" in
  1729. +  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  1730. +  | --no-cr | --no-c) ;;
  1731. +  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
  1732. +  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
  1733. +  *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
  1734. +  ac_configure_args="$ac_configure_args '$ac_arg'" ;;
  1735. +  *) ac_configure_args="$ac_configure_args $ac_arg" ;;
  1736. +  esac
  1737. +done
  1738. +
  1739. +# NLS nuisances.
  1740. +# Only set LANG and LC_ALL to C if already set.
  1741. +# These must not be set unconditionally because not all systems understand
  1742. +# e.g. LANG=C (notably SCO).
  1743. +if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
  1744. +if test "${LANG+set}"   = set; then LANG=C;   export LANG;   fi
  1745. +
  1746. +# confdefs.h avoids OS command line length limits that DEFS can exceed.
  1747. +rm -rf conftest* confdefs.h
  1748. +# AIX cpp loses on an empty file, so make sure it contains at least a newline.
  1749. +echo > confdefs.h
  1750. +
  1751. +# A filename unique to this package, relative to the directory that
  1752. +# configure is in, which we can look for to find out if srcdir is correct.
  1753. +ac_unique_file=jove.h
  1754. +
  1755. +# Find the source files, if location was not specified.
  1756. +if test -z "$srcdir"; then
  1757. +  ac_srcdir_defaulted=yes
  1758. +  # Try the directory containing this script, then its parent.
  1759. +  ac_prog=$0
  1760. +  ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
  1761. +  test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
  1762. +  srcdir=$ac_confdir
  1763. +  if test ! -r $srcdir/$ac_unique_file; then
  1764. +    srcdir=..
  1765. +  fi
  1766. +else
  1767. +  ac_srcdir_defaulted=no
  1768. +fi
  1769. +if test ! -r $srcdir/$ac_unique_file; then
  1770. +  if test "$ac_srcdir_defaulted" = yes; then
  1771. +    { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
  1772. +  else
  1773. +    { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
  1774. +  fi
  1775. +fi
  1776. +srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
  1777. +
  1778. +# Prefer explicitly selected file to automatically selected ones.
  1779. +if test -z "$CONFIG_SITE"; then
  1780. +  if test "x$prefix" != xNONE; then
  1781. +    CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
  1782. +  else
  1783. +    CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
  1784. +  fi
  1785. +fi
  1786. +for ac_site_file in $CONFIG_SITE; do
  1787. +  if test -r "$ac_site_file"; then
  1788. +    echo "loading site script $ac_site_file"
  1789. +    . "$ac_site_file"
  1790. +  fi
  1791. +done
  1792. +
  1793. +if test -r "$cache_file"; then
  1794. +  echo "loading cache $cache_file"
  1795. +  . $cache_file
  1796. +else
  1797. +  echo "creating cache $cache_file"
  1798. +  > $cache_file
  1799. +fi
  1800. +
  1801. +ac_ext=c
  1802. +# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
  1803. +ac_cpp='$CPP $CPPFLAGS'
  1804. +ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
  1805. +ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
  1806. +
  1807. +if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
  1808. +  # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
  1809. +  if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
  1810. +    ac_n= ac_c='
  1811. +' ac_t='    '
  1812. +  else
  1813. +    ac_n=-n ac_c= ac_t=
  1814. +  fi
  1815. +else
  1816. +  ac_n= ac_c='\c' ac_t=
  1817. +fi
  1818. +
  1819. +
  1820. +
  1821. +# Extract the first word of "gcc", so it can be a program name with args.
  1822. +set dummy gcc; ac_word=$2
  1823. +echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
  1824. +if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
  1825. +  echo $ac_n "(cached) $ac_c" 1>&6
  1826. +else
  1827. +  if test -n "$CC"; then
  1828. +  ac_cv_prog_CC="$CC" # Let the user override the test.
  1829. +else
  1830. +  IFS="${IFS=     }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
  1831. +  for ac_dir in $PATH; do
  1832. +    test -z "$ac_dir" && ac_dir=.
  1833. +    if test -f $ac_dir/$ac_word; then
  1834. +      ac_cv_prog_CC="gcc"
  1835. +      break
  1836. +    fi
  1837. +  done
  1838. +  IFS="$ac_save_ifs"
  1839. +fi
  1840. +fi
  1841. +CC="$ac_cv_prog_CC"
  1842. +if test -n "$CC"; then
  1843. +  echo "$ac_t""$CC" 1>&6
  1844. +else
  1845. +  echo "$ac_t""no" 1>&6
  1846. +fi
  1847. +
  1848. +if test -z "$CC"; then
  1849. +  # Extract the first word of "cc", so it can be a program name with args.
  1850. +set dummy cc; ac_word=$2
  1851. +echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
  1852. +if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
  1853. +  echo $ac_n "(cached) $ac_c" 1>&6
  1854. +else
  1855. +  if test -n "$CC"; then
  1856. +  ac_cv_prog_CC="$CC" # Let the user override the test.
  1857. +else
  1858. +  IFS="${IFS=     }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
  1859. +  ac_prog_rejected=no
  1860. +  for ac_dir in $PATH; do
  1861. +    test -z "$ac_dir" && ac_dir=.
  1862. +    if test -f $ac_dir/$ac_word; then
  1863. +      if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
  1864. +        ac_prog_rejected=yes
  1865. +    continue
  1866. +      fi
  1867. +      ac_cv_prog_CC="cc"
  1868. +      break
  1869. +    fi
  1870. +  done
  1871. +  IFS="$ac_save_ifs"
  1872. +if test $ac_prog_rejected = yes; then
  1873. +  # We found a bogon in the path, so make sure we never use it.
  1874. +  set dummy $ac_cv_prog_CC
  1875. +  shift
  1876. +  if test $# -gt 0; then
  1877. +    # We chose a different compiler from the bogus one.
  1878. +    # However, it has the same basename, so the bogon will be chosen
  1879. +    # first if we set CC to just the basename; use the full file name.
  1880. +    shift
  1881. +    set dummy "$ac_dir/$ac_word" "$@"
  1882. +    shift
  1883. +    ac_cv_prog_CC="$@"
  1884. +  fi
  1885. +fi
  1886. +fi
  1887. +fi
  1888. +CC="$ac_cv_prog_CC"
  1889. +if test -n "$CC"; then
  1890. +  echo "$ac_t""$CC" 1>&6
  1891. +else
  1892. +  echo "$ac_t""no" 1>&6
  1893. +fi
  1894. +
  1895. +  test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
  1896. +fi
  1897. +
  1898. +echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
  1899. +if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
  1900. +  echo $ac_n "(cached) $ac_c" 1>&6
  1901. +else
  1902. +  cat > conftest.c <<EOF
  1903. +#ifdef __GNUC__
  1904. +  yes;
  1905. +#endif
  1906. +EOF
  1907. +if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:621: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
  1908. +  ac_cv_prog_gcc=yes
  1909. +else
  1910. +  ac_cv_prog_gcc=no
  1911. +fi
  1912. +fi
  1913. +
  1914. +echo "$ac_t""$ac_cv_prog_gcc" 1>&6
  1915. +if test $ac_cv_prog_gcc = yes; then
  1916. +  GCC=yes
  1917. +  if test "${CFLAGS+set}" != set; then
  1918. +    echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
  1919. +if eval "test \"`echo '$''{'ac_cv_prog_gcc_g'+set}'`\" = set"; then
  1920. +  echo $ac_n "(cached) $ac_c" 1>&6
  1921. +else
  1922. +  echo 'void f(){}' > conftest.c
  1923. +if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
  1924. +  ac_cv_prog_gcc_g=yes
  1925. +else
  1926. +  ac_cv_prog_gcc_g=no
  1927. +fi
  1928. +rm -f conftest*
  1929. +
  1930. +fi
  1931. +
  1932. +echo "$ac_t""$ac_cv_prog_gcc_g" 1>&6
  1933. +    if test $ac_cv_prog_gcc_g = yes; then
  1934. +      CFLAGS="-g -O2"
  1935. +    else
  1936. +      CFLAGS="-O2"
  1937. +    fi
  1938. +  fi
  1939. +else
  1940. +  GCC=
  1941. +  test "${CFLAGS+set}" = set || CFLAGS="-g"
  1942. +fi
  1943. +
  1944. +echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
  1945. +# On Suns, sometimes $CPP names a directory.
  1946. +if test -n "$CPP" && test -d "$CPP"; then
  1947. +  CPP=
  1948. +fi
  1949. +if test -z "$CPP"; then
  1950. +if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
  1951. +  echo $ac_n "(cached) $ac_c" 1>&6
  1952. +else
  1953. +    # This must be in double quotes, not single quotes, because CPP may get
  1954. +  # substituted into the Makefile and "${CC-cc}" will confuse make.
  1955. +  CPP="${CC-cc} -E"
  1956. +  # On the NeXT, cc -E runs the code through the compiler's parser,
  1957. +  # not just through cpp.
  1958. +  cat > conftest.$ac_ext <<EOF
  1959. +#line 673 "configure"
  1960. +#include "confdefs.h"
  1961. +#include <assert.h>
  1962. +Syntax Error
  1963. +EOF
  1964. +ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  1965. +{ (eval echo configure:679: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  1966. +ac_err=`grep -v '^ *+' conftest.out`
  1967. +if test -z "$ac_err"; then
  1968. +  :
  1969. +else
  1970. +  echo "$ac_err" >&5
  1971. +  rm -rf conftest*
  1972. +  CPP="${CC-cc} -E -traditional-cpp"
  1973. +  cat > conftest.$ac_ext <<EOF
  1974. +#line 688 "configure"
  1975. +#include "confdefs.h"
  1976. +#include <assert.h>
  1977. +Syntax Error
  1978. +EOF
  1979. +ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  1980. +{ (eval echo configure:694: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  1981. +ac_err=`grep -v '^ *+' conftest.out`
  1982. +if test -z "$ac_err"; then
  1983. +  :
  1984. +else
  1985. +  echo "$ac_err" >&5
  1986. +  rm -rf conftest*
  1987. +  CPP=/lib/cpp
  1988. +fi
  1989. +rm -f conftest*
  1990. +fi
  1991. +rm -f conftest*
  1992. +  ac_cv_prog_CPP="$CPP"
  1993. +fi
  1994. +  CPP="$ac_cv_prog_CPP"
  1995. +else
  1996. +  ac_cv_prog_CPP="$CPP"
  1997. +fi
  1998. +echo "$ac_t""$CPP" 1>&6
  1999. +
  2000. +if test $ac_cv_prog_gcc = yes; then
  2001. +    echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
  2002. +if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
  2003. +  echo $ac_n "(cached) $ac_c" 1>&6
  2004. +else
  2005. +    ac_pattern="Autoconf.*'x'"
  2006. +  cat > conftest.$ac_ext <<EOF
  2007. +#line 721 "configure"
  2008. +#include "confdefs.h"
  2009. +#include <sgtty.h>
  2010. +Autoconf TIOCGETP
  2011. +EOF
  2012. +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  2013. +  egrep "$ac_pattern" >/dev/null 2>&1; then
  2014. +  rm -rf conftest*
  2015. +  ac_cv_prog_gcc_traditional=yes
  2016. +else
  2017. +  rm -rf conftest*
  2018. +  ac_cv_prog_gcc_traditional=no
  2019. +fi
  2020. +rm -f conftest*
  2021. +
  2022. +
  2023. +  if test $ac_cv_prog_gcc_traditional = no; then
  2024. +    cat > conftest.$ac_ext <<EOF
  2025. +#line 739 "configure"
  2026. +#include "confdefs.h"
  2027. +#include <termio.h>
  2028. +Autoconf TCGETA
  2029. +EOF
  2030. +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  2031. +  egrep "$ac_pattern" >/dev/null 2>&1; then
  2032. +  rm -rf conftest*
  2033. +  ac_cv_prog_gcc_traditional=yes
  2034. +fi
  2035. +rm -f conftest*
  2036. +
  2037. +  fi
  2038. +fi
  2039. +
  2040. +echo "$ac_t""$ac_cv_prog_gcc_traditional" 1>&6
  2041. +  if test $ac_cv_prog_gcc_traditional = yes; then
  2042. +    CC="$CC -traditional"
  2043. +  fi
  2044. +fi
  2045. +
  2046. +ac_aux_dir=
  2047. +for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
  2048. +  if test -f $ac_dir/install-sh; then
  2049. +    ac_aux_dir=$ac_dir
  2050. +    ac_install_sh="$ac_aux_dir/install-sh -c"
  2051. +    break
  2052. +  elif test -f $ac_dir/install.sh; then
  2053. +    ac_aux_dir=$ac_dir
  2054. +    ac_install_sh="$ac_aux_dir/install.sh -c"
  2055. +    break
  2056. +  fi
  2057. +done
  2058. +if test -z "$ac_aux_dir"; then
  2059. +  { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
  2060. +fi
  2061. +ac_config_guess=$ac_aux_dir/config.guess
  2062. +ac_config_sub=$ac_aux_dir/config.sub
  2063. +ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
  2064. +
  2065. +# Find a good install program.  We prefer a C program (faster),
  2066. +# so one script is as good as another.  But avoid the broken or
  2067. +# incompatible versions:
  2068. +# SysV /etc/install, /usr/sbin/install
  2069. +# SunOS /usr/etc/install
  2070. +# IRIX /sbin/install
  2071. +# AIX /bin/install
  2072. +# AmigaOS /c/install
  2073. +# AFS /usr/afsws/bin/install, which mishandles nonexistent args
  2074. +# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
  2075. +# ./install, which can be erroneously created by make from ./install.sh.
  2076. +echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
  2077. +if test -z "$INSTALL"; then
  2078. +if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
  2079. +  echo $ac_n "(cached) $ac_c" 1>&6
  2080. +else
  2081. +    IFS="${IFS=     }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
  2082. +  for ac_dir in $PATH; do
  2083. +    # Account for people who put trailing slashes in PATH elements.
  2084. +    case "$ac_dir/" in
  2085. +    /|./|.//|/etc/*|/c/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
  2086. +    *)
  2087. +      # OSF1 and SCO ODT 3.0 have their own names for install.
  2088. +      for ac_prog in ginstall installbsd scoinst install; do
  2089. +        if test -f $ac_dir/$ac_prog; then
  2090. +      if test $ac_prog = install &&
  2091. +            grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
  2092. +        # AIX install.  It has an incompatible calling convention.
  2093. +        # OSF/1 installbsd also uses dspmsg, but is usable.
  2094. +        :
  2095. +      else
  2096. +        ac_cv_path_install="$ac_dir/$ac_prog -c"
  2097. +        break 2
  2098. +      fi
  2099. +    fi
  2100. +      done
  2101. +      ;;
  2102. +    esac
  2103. +  done
  2104. +  IFS="$ac_save_ifs"
  2105. +
  2106. +fi
  2107. +  if test "${ac_cv_path_install+set}" = set; then
  2108. +    INSTALL="$ac_cv_path_install"
  2109. +  else
  2110. +    # As a last resort, use the slow shell script.  We don't cache a
  2111. +    # path for INSTALL within a source directory, because that will
  2112. +    # break other packages using the cache if that directory is
  2113. +    # removed, or if the path is relative.
  2114. +    INSTALL="$ac_install_sh"
  2115. +  fi
  2116. +fi
  2117. +echo "$ac_t""$INSTALL" 1>&6
  2118. +
  2119. +# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
  2120. +# It thinks the first close brace ends the variable substitution.
  2121. +test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
  2122. +
  2123. +test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
  2124. +
  2125. +# Extract the first word of "ranlib", so it can be a program name with args.
  2126. +set dummy ranlib; ac_word=$2
  2127. +echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
  2128. +if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
  2129. +  echo $ac_n "(cached) $ac_c" 1>&6
  2130. +else
  2131. +  if test -n "$RANLIB"; then
  2132. +  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
  2133. +else
  2134. +  IFS="${IFS=     }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
  2135. +  for ac_dir in $PATH; do
  2136. +    test -z "$ac_dir" && ac_dir=.
  2137. +    if test -f $ac_dir/$ac_word; then
  2138. +      ac_cv_prog_RANLIB="ranlib"
  2139. +      break
  2140. +    fi
  2141. +  done
  2142. +  IFS="$ac_save_ifs"
  2143. +  test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
  2144. +fi
  2145. +fi
  2146. +RANLIB="$ac_cv_prog_RANLIB"
  2147. +if test -n "$RANLIB"; then
  2148. +  echo "$ac_t""$RANLIB" 1>&6
  2149. +else
  2150. +  echo "$ac_t""no" 1>&6
  2151. +fi
  2152. +
  2153. +
  2154. +trap '' 1 2 15
  2155. +cat > confcache <<\EOF
  2156. +# This file is a shell script that caches the results of configure
  2157. +# tests run on this system so they can be shared between configure
  2158. +# scripts and configure runs.  It is not useful on other systems.
  2159. +# If it contains results you don't want to keep, you may remove or edit it.
  2160. +#
  2161. +# By default, configure uses ./config.cache as the cache file,
  2162. +# creating it if it does not exist already.  You can give configure
  2163. +# the --cache-file=FILE option to use a different cache file; that is
  2164. +# what configure does when it calls configure scripts in
  2165. +# subdirectories, so they share the cache.
  2166. +# Giving --cache-file=/dev/null disables caching, for debugging configure.
  2167. +# config.status only pays attention to the cache file if you give it the
  2168. +# --recheck option to rerun configure.
  2169. +#
  2170. +EOF
  2171. +# Ultrix sh set writes to stderr and can't be redirected directly,
  2172. +# and sets the high bit in the cache file unless we assign to the vars.
  2173. +(set) 2>&1 |
  2174. +  sed -n "s/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=\${\1='\2'}/p" \
  2175. +  >> confcache
  2176. +if cmp -s $cache_file confcache; then
  2177. +  :
  2178. +else
  2179. +  if test -w $cache_file; then
  2180. +    echo "updating cache $cache_file"
  2181. +    cat confcache > $cache_file
  2182. +  else
  2183. +    echo "not updating unwritable cache $cache_file"
  2184. +  fi
  2185. +fi
  2186. +rm -f confcache
  2187. +
  2188. +trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
  2189. +
  2190. +test "x$prefix" = xNONE && prefix=$ac_default_prefix
  2191. +# Let make expand exec_prefix.
  2192. +test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
  2193. +
  2194. +# Any assignment to VPATH causes Sun make to only execute
  2195. +# the first set of double-colon rules, so remove it if not needed.
  2196. +# If there is a colon in the path, we need to keep it.
  2197. +if test "x$srcdir" = x.; then
  2198. +  ac_vpsub='/^[     ]*VPATH[     ]*=[^:]*$/d'
  2199. +fi
  2200. +
  2201. +trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
  2202. +
  2203. +# Transform confdefs.h into DEFS.
  2204. +# Protect against shell expansion while executing Makefile rules.
  2205. +# Protect against Makefile macro expansion.
  2206. +cat > conftest.defs <<\EOF
  2207. +s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%-D\1=\2%g
  2208. +s%[     `~#$^&*(){}\\|;'"<>?]%\\&%g
  2209. +s%\[%\\&%g
  2210. +s%\]%\\&%g
  2211. +s%\$%$$%g
  2212. +EOF
  2213. +DEFS=`sed -f conftest.defs confdefs.h | tr '\012' ' '`
  2214. +rm -f conftest.defs
  2215. +
  2216. +
  2217. +# Without the "./", some shells look in PATH for config.status.
  2218. +: ${CONFIG_STATUS=./config.status}
  2219. +
  2220. +echo creating $CONFIG_STATUS
  2221. +# Some systems, like AmigaOS, won't allow you to remove a script that is
  2222. +# being executed, so just move it out of the way instead.
  2223. +if test -f $CONFIG_STATUS; then mv $CONFIG_STATUS $CONFIG_STATUS.old; else true; fi
  2224. +cat > $CONFIG_STATUS <<EOF
  2225. +#! /bin/sh
  2226. +# Generated automatically by configure.
  2227. +# Run this file to recreate the current configuration.
  2228. +# This directory was configured as follows,
  2229. +# on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
  2230. +#
  2231. +# $0 $ac_configure_args
  2232. +#
  2233. +# Compiler output produced by configure, useful for debugging
  2234. +# configure, is in ./config.log if it exists.
  2235. +
  2236. +ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
  2237. +for ac_option
  2238. +do
  2239. +  case "\$ac_option" in
  2240. +  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
  2241. +    echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
  2242. +    exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
  2243. +  -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
  2244. +    echo "$CONFIG_STATUS generated by autoconf version 2.10"
  2245. +    exit 0 ;;
  2246. +  -help | --help | --hel | --he | --h)
  2247. +    echo "\$ac_cs_usage"; exit 0 ;;
  2248. +  *) echo "\$ac_cs_usage"; exit 1 ;;
  2249. +  esac
  2250. +done
  2251. +
  2252. +ac_given_srcdir=$srcdir
  2253. +ac_given_INSTALL="$INSTALL"
  2254. +
  2255. +trap 'rm -fr `echo "Makefile" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
  2256. +EOF
  2257. +cat >> $CONFIG_STATUS <<EOF
  2258. +
  2259. +# Protect against being on the right side of a sed subst in config.status.
  2260. +sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
  2261. + s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
  2262. +$ac_vpsub
  2263. +$extrasub
  2264. +s%@CFLAGS@%$CFLAGS%g
  2265. +s%@CPPFLAGS@%$CPPFLAGS%g
  2266. +s%@CXXFLAGS@%$CXXFLAGS%g
  2267. +s%@DEFS@%$DEFS%g
  2268. +s%@LDFLAGS@%$LDFLAGS%g
  2269. +s%@LIBS@%$LIBS%g
  2270. +s%@exec_prefix@%$exec_prefix%g
  2271. +s%@prefix@%$prefix%g
  2272. +s%@program_transform_name@%$program_transform_name%g
  2273. +s%@bindir@%$bindir%g
  2274. +s%@sbindir@%$sbindir%g
  2275. +s%@libexecdir@%$libexecdir%g
  2276. +s%@datadir@%$datadir%g
  2277. +s%@sysconfdir@%$sysconfdir%g
  2278. +s%@sharedstatedir@%$sharedstatedir%g
  2279. +s%@localstatedir@%$localstatedir%g
  2280. +s%@libdir@%$libdir%g
  2281. +s%@includedir@%$includedir%g
  2282. +s%@oldincludedir@%$oldincludedir%g
  2283. +s%@infodir@%$infodir%g
  2284. +s%@guidedir@%$guidedir%g
  2285. +s%@psdir@%$psdir%g
  2286. +s%@dvidir@%$dvidir%g
  2287. +s%@mandir@%$mandir%g
  2288. +s%@CC@%$CC%g
  2289. +s%@CPP@%$CPP%g
  2290. +s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
  2291. +s%@INSTALL_DATA@%$INSTALL_DATA%g
  2292. +s%@RANLIB@%$RANLIB%g
  2293. +
  2294. +CEOF
  2295. +EOF
  2296. +cat >> $CONFIG_STATUS <<EOF
  2297. +
  2298. +CONFIG_FILES=\${CONFIG_FILES-"Makefile"}
  2299. +EOF
  2300. +cat >> $CONFIG_STATUS <<\EOF
  2301. +for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
  2302. +  # Support "outfile[:infile]", defaulting infile="outfile.in".
  2303. +  case "$ac_file" in
  2304. +  *:*) ac_file_in=`echo "$ac_file"|sed 's%.*:%%'`
  2305. +       ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
  2306. +  *) ac_file_in="${ac_file}.in" ;;
  2307. +  esac
  2308. +
  2309. +  # Adjust relative srcdir, etc. for subdirectories.
  2310. +
  2311. +  # Remove last slash and all that follows it.  Not all systems have dirname.
  2312. +  ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
  2313. +  if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
  2314. +    # The file is in a subdirectory.
  2315. +    test ! -d "$ac_dir" && mkdir "$ac_dir"
  2316. +    ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
  2317. +    # A "../" for each directory in $ac_dir_suffix.
  2318. +    ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
  2319. +  else
  2320. +    ac_dir_suffix= ac_dots=
  2321. +  fi
  2322. +
  2323. +  case "$ac_given_srcdir" in
  2324. +  .)  srcdir=.
  2325. +      if test -z "$ac_dots"; then top_srcdir=.
  2326. +      else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
  2327. +  /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
  2328. +  *) # Relative path.
  2329. +    srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
  2330. +    top_srcdir="$ac_dots$ac_given_srcdir" ;;
  2331. +  esac
  2332. +
  2333. +  case "$ac_given_INSTALL" in
  2334. +  [/$]*) INSTALL="$ac_given_INSTALL" ;;
  2335. +  *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
  2336. +  esac
  2337. +  echo creating "$ac_file"
  2338. +  rm -f "$ac_file"
  2339. +  configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
  2340. +  case "$ac_file" in
  2341. +  *Makefile*) ac_comsub="1i\\
  2342. +# $configure_input" ;;
  2343. +  *) ac_comsub= ;;
  2344. +  esac
  2345. +  sed -e "$ac_comsub
  2346. +s%@configure_input@%$configure_input%g
  2347. +s%@srcdir@%$srcdir%g
  2348. +s%@top_srcdir@%$top_srcdir%g
  2349. +s%@INSTALL@%$INSTALL%g
  2350. +" -f conftest.subs $ac_given_srcdir/$ac_file_in > $ac_file
  2351. +fi; done
  2352. +rm -f conftest.subs
  2353. +
  2354. +
  2355. +
  2356. +exit 0
  2357. +EOF
  2358. +chmod +x $CONFIG_STATUS
  2359. +rm -f CONFIG.STATUS.old
  2360. +rm -fr confdefs* $ac_clean_files
  2361. +test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
  2362. +
  2363. diff -rup --new-file baseline/bsd/jove/configure.in amiga/bsd/jove/configure.in
  2364. --- baseline/bsd/jove/configure.in    Wed Dec 31 17:00:00 1969
  2365. +++ amiga/bsd/jove/configure.in    Sat Sep 28 00:00:00 1996
  2366. @@ -0,0 +1,9 @@
  2367. +dnl Process this file with autoconf to produce a configure script.
  2368. +AC_INIT(jove.h)
  2369. +
  2370. +AC_PROG_CC
  2371. +AC_GCC_TRADITIONAL
  2372. +AC_PROG_INSTALL
  2373. +AC_PROG_RANLIB
  2374. +
  2375. +AC_OUTPUT(Makefile)
  2376. diff -rup --new-file baseline/bsd/jove/externs.h amiga/bsd/jove/externs.h
  2377. --- baseline/bsd/jove/externs.h    Thu Mar  7 10:34:42 1996
  2378. +++ amiga/bsd/jove/externs.h    Sat Sep 28 00:00:00 1996
  2379. @@ -21,7 +21,7 @@ extern SSIZE_T
  2380.      read proto((int /*fd*/, UnivPtr /*buf*/, size_t /*nbytes*/)),
  2381.      write proto((int /*fd*/, UnivConstPtr /*buf*/, size_t /*nbytes*/));
  2382.  
  2383. -extern long    lseek proto((int /*fd*/, long /*offset*/, int /*whence*/));
  2384. +extern off_t    lseek proto((int /*fd*/, off_t /*offset*/, int /*whence*/));
  2385.  extern time_t    time proto((time_t *));
  2386.  
  2387.  extern void
  2388. @@ -93,12 +93,13 @@ extern char    *getcwd proto((char *, size_
  2389.  
  2390.  extern int    access proto((const char */*path*/, int /*mode*/));
  2391.  # ifndef W_OK
  2392. -#  define W_OK    2
  2393. -#  define X_OK    1
  2394. +#  define R_OK    0x04
  2395. +#  define W_OK    0x02
  2396. +#  define X_OK    0x01
  2397.  #  define F_OK    0
  2398.  # endif
  2399.  
  2400. -extern int    creat proto((const char */*path*/, int /*mode*/));
  2401. +extern int    creat proto((const char */*path*/, mode_t /*mode*/));
  2402.      /* open may have an optional third argument, int mode */
  2403.  extern int    open proto((const char */*path*/, int /*flags*/, ...));
  2404.  
  2405. @@ -135,8 +136,8 @@ extern int    pipe proto((int *));
  2406.  extern int    close proto((int));
  2407.  extern int    dup proto((int));
  2408.  extern int    dup2 proto((int /*old_fd*/, int /*new_fd*/));
  2409. -extern long    lseek proto((int /*fd*/, long /*offset*/, int /*whence*/));
  2410. -extern int    fchmod proto((int /*fd*/, int /*mode*/));
  2411. +extern off_t    lseek proto((int /*fd*/, off_t /*offset*/, int /*whence*/));
  2412. +extern int    fchmod proto((int /*fd*/, mode_t /*mode*/));
  2413.  extern int    chown proto((const char *, int, int));
  2414.  
  2415.  extern int    unlink proto((const char */*path*/));
  2416. diff -rup --new-file baseline/bsd/jove/install.sh amiga/bsd/jove/install.sh
  2417. --- baseline/bsd/jove/install.sh    Wed Dec 31 17:00:00 1969
  2418. +++ amiga/bsd/jove/install.sh    Sat Sep 28 00:00:00 1996
  2419. @@ -0,0 +1,119 @@
  2420. +#!/bin/sh
  2421. +
  2422. +#
  2423. +# install - install a program, script, or datafile
  2424. +# This comes from X11R5; it is not part of GNU.
  2425. +#
  2426. +# $XConsortium: install.sh,v 1.2 89/12/18 14:47:22 jim Exp $
  2427. +#
  2428. +# This script is compatible with the BSD install script, but was written
  2429. +# from scratch.
  2430. +#
  2431. +
  2432. +
  2433. +# set DOITPROG to echo to test this script
  2434. +
  2435. +# Don't use :- since 4.3BSD and earlier shells don't like it.
  2436. +doit="${DOITPROG-}"
  2437. +
  2438. +
  2439. +# put in absolute paths if you don't have them in your path; or use env. vars.
  2440. +
  2441. +mvprog="${MVPROG-mv}"
  2442. +cpprog="${CPPROG-cp}"
  2443. +chmodprog="${CHMODPROG-chmod}"
  2444. +chownprog="${CHOWNPROG-chown}"
  2445. +chgrpprog="${CHGRPPROG-chgrp}"
  2446. +stripprog="${STRIPPROG-strip}"
  2447. +rmprog="${RMPROG-rm}"
  2448. +
  2449. +instcmd="$mvprog"
  2450. +chmodcmd=""
  2451. +chowncmd=""
  2452. +chgrpcmd=""
  2453. +stripcmd=""
  2454. +rmcmd="$rmprog -f"
  2455. +mvcmd="$mvprog"
  2456. +src=""
  2457. +dst=""
  2458. +
  2459. +while [ x"$1" != x ]; do
  2460. +    case $1 in
  2461. +    -c) instcmd="$cpprog"
  2462. +        shift
  2463. +        continue;;
  2464. +
  2465. +    -m) chmodcmd="$chmodprog $2"
  2466. +        shift
  2467. +        shift
  2468. +        continue;;
  2469. +
  2470. +    -o) chowncmd="$chownprog $2"
  2471. +        shift
  2472. +        shift
  2473. +        continue;;
  2474. +
  2475. +    -g) chgrpcmd="$chgrpprog $2"
  2476. +        shift
  2477. +        shift
  2478. +        continue;;
  2479. +
  2480. +    -s) stripcmd="$stripprog"
  2481. +        shift
  2482. +        continue;;
  2483. +
  2484. +    *)  if [ x"$src" = x ]
  2485. +        then
  2486. +        src=$1
  2487. +        else
  2488. +        dst=$1
  2489. +        fi
  2490. +        shift
  2491. +        continue;;
  2492. +    esac
  2493. +done
  2494. +
  2495. +if [ x"$src" = x ]
  2496. +then
  2497. +    echo "install:  no input file specified"
  2498. +    exit 1
  2499. +fi
  2500. +
  2501. +if [ x"$dst" = x ]
  2502. +then
  2503. +    echo "install:  no destination specified"
  2504. +    exit 1
  2505. +fi
  2506. +
  2507. +
  2508. +# If destination is a directory, append the input filename; if your system
  2509. +# does not like double slashes in filenames, you may need to add some logic
  2510. +
  2511. +if [ -d $dst ]
  2512. +then
  2513. +    dst="$dst"/`basename $src`
  2514. +fi
  2515. +
  2516. +# Make a temp file name in the proper directory.
  2517. +
  2518. +dstdir=`dirname $dst`
  2519. +dsttmp=$dstdir/#inst.$$#
  2520. +
  2521. +# Move or copy the file name to the temp name
  2522. +
  2523. +$doit $instcmd $src $dsttmp
  2524. +
  2525. +# and set any options; do chmod last to preserve setuid bits
  2526. +
  2527. +if [ x"$chowncmd" != x ]; then $doit $chowncmd $dsttmp; fi
  2528. +if [ x"$chgrpcmd" != x ]; then $doit $chgrpcmd $dsttmp; fi
  2529. +if [ x"$stripcmd" != x ]; then $doit $stripcmd $dsttmp; fi
  2530. +if [ x"$chmodcmd" != x ]; then $doit $chmodcmd $dsttmp; fi
  2531. +
  2532. +# Now rename the file to the real destination.
  2533. +
  2534. +$doit $rmcmd $dst
  2535. +$doit $mvcmd $dsttmp $dst
  2536. +
  2537. +
  2538. +exit 0
  2539. diff -rup --new-file baseline/bsd/jove/jove.c amiga/bsd/jove/jove.c
  2540. --- baseline/bsd/jove/jove.c    Thu Mar  7 10:34:42 1996
  2541. +++ amiga/bsd/jove/jove.c    Sat Sep 28 00:00:00 1996
  2542. @@ -1535,7 +1535,7 @@ bool    dousr;
  2543.          (void) joverc(Joverc);    /* system wide jove.rc */
  2544.      }
  2545.  
  2546. -    if (dousr) {
  2547. +    if (dousr && HomeDir != NULL) {
  2548.  #ifdef MSFILESYSTEM
  2549.          /* We don't want to run the same rc file twice */
  2550.          if (!dosys || strcmp(HomeDir, ShareDir) != 0) {
  2551. diff -rup --new-file baseline/bsd/jove/manifests/bin amiga/bsd/jove/manifests/bin
  2552. --- baseline/bsd/jove/manifests/bin    Wed Dec 31 17:00:00 1969
  2553. +++ amiga/bsd/jove/manifests/bin    Wed Oct  9 21:06:04 1996
  2554. @@ -0,0 +1,29 @@
  2555. +bin/jove
  2556. +bin/teachjove
  2557. +lib/jove/XTermresource
  2558. +lib/jove/cmds.doc
  2559. +lib/jove/jove.rc
  2560. +lib/jove/jove.rc.3022
  2561. +lib/jove/jove.rc.sun
  2562. +lib/jove/jove.rc.sun-cmd
  2563. +lib/jove/jove.rc.vt100
  2564. +lib/jove/jove.rc.wyse
  2565. +lib/jove/jove.rc.xterm
  2566. +lib/jove/jove.rc.z29
  2567. +lib/jove/kbd
  2568. +lib/jove/keychart.3022
  2569. +lib/jove/keychart.sun
  2570. +lib/jove/keychart.sun-cmd
  2571. +lib/jove/keychart.vt100
  2572. +lib/jove/keychart.wyse
  2573. +lib/jove/keychart.xterm
  2574. +lib/jove/keychart.z29
  2575. +lib/jove/portsrv
  2576. +lib/jove/recover
  2577. +lib/jove/teach-jove
  2578. +man/cat1/jove.0
  2579. +man/cat1/teachjove.0
  2580. +man/man1/jove.1
  2581. +man/man1/jovetool.1
  2582. +man/man1/teachjove.1
  2583. +man/man1/xjove.1
  2584. diff -rup --new-file baseline/bsd/jove/manifests/src amiga/bsd/jove/manifests/src
  2585. --- baseline/bsd/jove/manifests/src    Wed Dec 31 17:00:00 1969
  2586. +++ amiga/bsd/jove/manifests/src    Mon Sep 30 12:59:32 1996
  2587. @@ -0,0 +1,163 @@
  2588. +bsd/jove/Makefile.bcc
  2589. +bsd/jove/Makefile.in
  2590. +bsd/jove/Makefile.msc
  2591. +bsd/jove/Makefile.wat
  2592. +bsd/jove/Makefile.zor
  2593. +bsd/jove/Product-Info
  2594. +bsd/jove/README
  2595. +bsd/jove/README.amiga
  2596. +bsd/jove/README.dos
  2597. +bsd/jove/README.mac
  2598. +bsd/jove/README.w32
  2599. +bsd/jove/abbrev.c
  2600. +bsd/jove/abbrev.h
  2601. +bsd/jove/argcount.c
  2602. +bsd/jove/argcount.h
  2603. +bsd/jove/ask.c
  2604. +bsd/jove/ask.h
  2605. +bsd/jove/buf.c
  2606. +bsd/jove/buf.h
  2607. +bsd/jove/c.c
  2608. +bsd/jove/c.h
  2609. +bsd/jove/case.c
  2610. +bsd/jove/case.h
  2611. +bsd/jove/chars.h
  2612. +bsd/jove/commands.c
  2613. +bsd/jove/commands.h
  2614. +bsd/jove/commands.tab
  2615. +bsd/jove/configure
  2616. +bsd/jove/configure.in
  2617. +bsd/jove/dataobj.h
  2618. +bsd/jove/delete.c
  2619. +bsd/jove/delete.h
  2620. +bsd/jove/disp.c
  2621. +bsd/jove/disp.h
  2622. +bsd/jove/doc/README
  2623. +bsd/jove/doc/XTermresource
  2624. +bsd/jove/doc/cmds.macros.nr
  2625. +bsd/jove/doc/cmds.nr
  2626. +bsd/jove/doc/contents.nr
  2627. +bsd/jove/doc/example.rc
  2628. +bsd/jove/doc/intro.nr
  2629. +bsd/jove/doc/jove.nr
  2630. +bsd/jove/doc/jove.qref
  2631. +bsd/jove/doc/jove.rc
  2632. +bsd/jove/doc/jove.rc.3022
  2633. +bsd/jove/doc/jove.rc.sun
  2634. +bsd/jove/doc/jove.rc.sun-cmd
  2635. +bsd/jove/doc/jove.rc.vt100
  2636. +bsd/jove/doc/jove.rc.wyse
  2637. +bsd/jove/doc/jove.rc.xterm
  2638. +bsd/jove/doc/jove.rc.z29
  2639. +bsd/jove/doc/jovetool.nr
  2640. +bsd/jove/doc/keychart.
  2641. +bsd/jove/doc/keychart.3022
  2642. +bsd/jove/doc/keychart.sun
  2643. +bsd/jove/doc/keychart.sun-cmd
  2644. +bsd/jove/doc/keychart.vt100
  2645. +bsd/jove/doc/keychart.wyse
  2646. +bsd/jove/doc/keychart.xterm
  2647. +bsd/jove/doc/keychart.z29
  2648. +bsd/jove/doc/teach-jove
  2649. +bsd/jove/doc/teachjove.nr
  2650. +bsd/jove/doc/xjove.nr
  2651. +bsd/jove/extend.c
  2652. +bsd/jove/extend.h
  2653. +bsd/jove/externs.h
  2654. +bsd/jove/fmt.c
  2655. +bsd/jove/fmt.h
  2656. +bsd/jove/fp.c
  2657. +bsd/jove/fp.h
  2658. +bsd/jove/ibmpcdos.c
  2659. +bsd/jove/insert.c
  2660. +bsd/jove/insert.h
  2661. +bsd/jove/install.sh
  2662. +bsd/jove/io.c
  2663. +bsd/jove/io.h
  2664. +bsd/jove/iproc.c
  2665. +bsd/jove/iproc.h
  2666. +bsd/jove/jctype.c
  2667. +bsd/jove/jctype.h
  2668. +bsd/jove/jjove.rc
  2669. +bsd/jove/jjoveico.uue
  2670. +bsd/jove/jove.c
  2671. +bsd/jove/jove.h
  2672. +bsd/jove/keymaps.c
  2673. +bsd/jove/keymaps.h
  2674. +bsd/jove/keys.txt
  2675. +bsd/jove/list.c
  2676. +bsd/jove/list.h
  2677. +bsd/jove/mac.c
  2678. +bsd/jove/mac.h
  2679. +bsd/jove/macros.c
  2680. +bsd/jove/macros.h
  2681. +bsd/jove/manifests/bin
  2682. +bsd/jove/manifests/src
  2683. +bsd/jove/marks.c
  2684. +bsd/jove/marks.h
  2685. +bsd/jove/menumaps.txt
  2686. +bsd/jove/misc.c
  2687. +bsd/jove/misc.h
  2688. +bsd/jove/mjovers.Hqx
  2689. +bsd/jove/mouse.c
  2690. +bsd/jove/mouse.h
  2691. +bsd/jove/move.c
  2692. +bsd/jove/move.h
  2693. +bsd/jove/msgetch.c
  2694. +bsd/jove/paragraph.c
  2695. +bsd/jove/paragraph.h
  2696. +bsd/jove/portsrv.c
  2697. +bsd/jove/proc.c
  2698. +bsd/jove/proc.h
  2699. +bsd/jove/re.c
  2700. +bsd/jove/re.h
  2701. +bsd/jove/reapp.c
  2702. +bsd/jove/reapp.h
  2703. +bsd/jove/rec.c
  2704. +bsd/jove/rec.h
  2705. +bsd/jove/recover.c
  2706. +bsd/jove/recover.h
  2707. +bsd/jove/resource.h
  2708. +bsd/jove/scandir.c
  2709. +bsd/jove/scandir.h
  2710. +bsd/jove/screen.c
  2711. +bsd/jove/screen.h
  2712. +bsd/jove/select.h
  2713. +bsd/jove/setmaps.c
  2714. +bsd/jove/sysdep.doc
  2715. +bsd/jove/sysdep.h
  2716. +bsd/jove/sysprocs.h
  2717. +bsd/jove/teachjove.c
  2718. +bsd/jove/temp.h
  2719. +bsd/jove/term.c
  2720. +bsd/jove/term.h
  2721. +bsd/jove/termcap.c
  2722. +bsd/jove/ttystate.h
  2723. +bsd/jove/tune.doc
  2724. +bsd/jove/tune.h
  2725. +bsd/jove/unix.c
  2726. +bsd/jove/util.c
  2727. +bsd/jove/util.h
  2728. +bsd/jove/vars.c
  2729. +bsd/jove/vars.h
  2730. +bsd/jove/vars.tab
  2731. +bsd/jove/version.h
  2732. +bsd/jove/win32.c
  2733. +bsd/jove/wind.c
  2734. +bsd/jove/wind.h
  2735. +bsd/jove/xjove/Makefile
  2736. +bsd/jove/xjove/README
  2737. +bsd/jove/xjove/copy.cursor
  2738. +bsd/jove/xjove/cut.cursor
  2739. +bsd/jove/xjove/exts.h
  2740. +bsd/jove/xjove/jove.cursor
  2741. +bsd/jove/xjove/jove.icon
  2742. +bsd/jove/xjove/jovemenu.c
  2743. +bsd/jove/xjove/jovetool.c
  2744. +bsd/jove/xjove/jovewindows.c
  2745. +bsd/jove/xjove/jovewindows.h
  2746. +bsd/jove/xjove/mousemsg.h
  2747. +bsd/jove/xjove/paste.cursor
  2748. +bsd/jove/xjove/xjove.c
  2749. +bsd/jove/xjove/xjovewindows.c
  2750. +bsd/jove/xjove/xjovewindows.h
  2751. diff -rup --new-file baseline/bsd/jove/portsrv.c amiga/bsd/jove/portsrv.c
  2752. --- baseline/bsd/jove/portsrv.c    Thu Mar  7 10:34:43 1996
  2753. +++ amiga/bsd/jove/portsrv.c    Sat Sep 28 00:00:00 1996
  2754. @@ -70,7 +70,7 @@ kbd_process()
  2755.          lump.header.nbytes = n;
  2756.          /* It is not clear what we can do if this write fails */
  2757.          do ; while (write(1, (UnivPtr) &lump, sizeof(struct header) + n) < 0
  2758. -            && errno = EINTR);
  2759. +            && errno == EINTR);
  2760.      }
  2761.  }
  2762.  
  2763. @@ -85,7 +85,7 @@ UnivConstPtr    ptr;
  2764.  size_t    n;
  2765.  {
  2766.      /* It is not clear what we can do if this write fails */
  2767. -    do ; while (write(1, ptr, n) < 0 && errno = EINTR);
  2768. +    do ; while (write(1, ptr, n) < 0 && errno == EINTR);
  2769.  }
  2770.  
  2771.  private void
  2772. @@ -155,7 +155,7 @@ char    **argv;
  2773.          byte_copy((UnivConstPtr) &pid, (UnivPtr) lump.data, sizeof(pid_t));
  2774.          /* It is not clear what we can do if this write fails */
  2775.          do ; while (write(1, (UnivConstPtr) &lump, sizeof(struct header) + sizeof(pid_t)) < 0
  2776. -            && errno = EINTR);
  2777. +            && errno == EINTR);
  2778.  
  2779.          /* read proc's output and send it to jove */
  2780.          read_pipe(p[0]);
  2781. @@ -181,7 +181,7 @@ char    **argv;
  2782.          /* It is not clear what we can do if this write fails */
  2783.          do ; while (write(1, (UnivConstPtr) &lump,
  2784.              sizeof(struct header) + sizeof(wait_status_t)) < 0
  2785. -                && errno = EINTR);
  2786. +                && errno == EINTR);
  2787.      }
  2788.  }
  2789.  
  2790. diff -rup --new-file baseline/bsd/jove/sysdep.h amiga/bsd/jove/sysdep.h
  2791. --- baseline/bsd/jove/sysdep.h    Mon Mar 18 21:44:33 1996
  2792. +++ amiga/bsd/jove/sysdep.h    Sat Sep 28 00:00:00 1996
  2793. @@ -348,6 +348,10 @@
  2794.  # define STACK_DECL    unsigned int _stklen = 0x2000;        /* Borland's way of specifying stack size */
  2795.  #endif
  2796.  
  2797. +#ifdef __amigaos__
  2798. +# define TERMIOS    1
  2799. +#endif
  2800. +
  2801.  /* All the systems marked with XXX_ are ones that this version of Jove (4.16)
  2802.   * has not been tested on.  4.15 was the transition from implicit #ifdefs
  2803.   * scattered throughout the code to feature-based ifdefs that MUST be
  2804. diff -rup --new-file baseline/bsd/jove/sysprocs.h amiga/bsd/jove/sysprocs.h
  2805. --- baseline/bsd/jove/sysprocs.h    Thu Mar  7 10:34:43 1996
  2806. +++ amiga/bsd/jove/sysprocs.h    Sat Sep 28 00:00:00 1996
  2807. @@ -33,7 +33,9 @@
  2808.  
  2809.  #else /*!POSIX_PROCS*/
  2810.  
  2811. +#ifndef __amigaos__
  2812.   typedef int    pid_t;
  2813. +#endif
  2814.  
  2815.  # ifdef BSD_WAIT
  2816.  
  2817. diff -rup --new-file baseline/bsd/jove/teachjove.c amiga/bsd/jove/teachjove.c
  2818. --- baseline/bsd/jove/teachjove.c    Thu Mar  7 10:34:43 1996
  2819. +++ amiga/bsd/jove/teachjove.c    Sat Sep 28 00:00:00 1996
  2820. @@ -62,8 +62,12 @@ char    *argv[];
  2821.      /* ??? "teach-jove" is too long for MSDOS */
  2822.      (void) sprintf(teachjove, "%s/teach-jove", ShareDir);
  2823.      if ((home = getenv("HOME")) == NULL) {
  2824. +#ifdef __amigaos__
  2825. +          home = "/tmp";
  2826. +#else
  2827.          printf("teachjove: cannot find your home!\n");
  2828.          exit(-1);
  2829. +#endif
  2830.      }
  2831.      /* ??? "teach-jove" is too long for MSDOS */
  2832.      (void) sprintf(fname, "%s/teach-jove", home);
  2833. diff -rup --new-file baseline/bsd/jove/termcap.c amiga/bsd/jove/termcap.c
  2834. --- baseline/bsd/jove/termcap.c    Fri Mar  8 14:46:40 1996
  2835. +++ amiga/bsd/jove/termcap.c    Sat Sep 28 00:00:00 1996
  2836. @@ -176,7 +176,12 @@ getTERM()
  2837.      || strcmp(termname, "network") == 0)
  2838.      {
  2839.          int    len;
  2840. +#ifdef __amigaos__
  2841. +          putstr("No TERM environment variable set, recommend \"setenv TERM=amiga\"\n");
  2842. +        putstr("Enter terminal type (e.g, amiga): ");
  2843. +#else
  2844.          putstr("Enter terminal type (e.g, vt100): ");
  2845. +#endif
  2846.          flushscreen();
  2847.          len = read(0, (UnivPtr) termnmbuf, sizeof(termnmbuf));
  2848.          termnmbuf[len > 1? len - 1 : 0] = '\0';
  2849. diff -rup --new-file baseline/bsd/jove/util.h amiga/bsd/jove/util.h
  2850. --- baseline/bsd/jove/util.h    Thu Mar  7 10:34:43 1996
  2851. +++ amiga/bsd/jove/util.h    Sat Sep 28 00:00:00 1996
  2852. @@ -67,6 +67,9 @@ extern void
  2853.      ins_c proto((DAPchar c,char *buf,int atchar,int num,int max)),
  2854.      len_error proto((int flag)),
  2855.      linecopy proto((char *onto,int atchar,char *from)),
  2856. +#if 0
  2857. +    make_argv proto((char * *argv, va_list ap)),
  2858. +#endif
  2859.      modify proto((void)),
  2860.      diverge proto((Buffer *buf, bool d)),
  2861.      null_ncpy proto((char *to, const char *from, size_t n)),
  2862.