home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 October / usenetsourcesnewsgroupsinfomagicoctober1994disk2.iso / misc / volume30 / gnuplot3 / patch02b / patch.4
Encoding:
Text File  |  1992-06-19  |  44.3 KB  |  1,219 lines

  1. diff -rc gnuplot/graphics.c gnuplot3.2/graphics.c
  2. *** gnuplot/graphics.c    Mon Sep  9 13:13:19 1991
  3. --- gnuplot3.2/graphics.c    Wed Mar 25 07:59:41 1992
  4. ***************
  5. *** 1,6 ****
  6.   /* GNUPLOT - graphics.c */
  7.   /*
  8. !  * Copyright (C) 1986, 1987, 1990, 1991   Thomas Williams, Colin Kelley
  9.    *
  10.    * Permission to use, copy, and distribute this software and its
  11.    * documentation for any purpose with or without fee is hereby granted, 
  12. --- 1,10 ----
  13. + #ifndef lint
  14. + static char *RCSid = "$Id: graphics.c,v 3.26 92/03/24 22:34:25 woo Exp Locker: woo $";
  15. + #endif
  16.   /* GNUPLOT - graphics.c */
  17.   /*
  18. !  * Copyright (C) 1986, 1987, 1990, 1991, 1992   Thomas Williams, Colin Kelley
  19.    *
  20.    * Permission to use, copy, and distribute this software and its
  21.    * documentation for any purpose with or without fee is hereby granted, 
  22. ***************
  23. *** 27,37 ****
  24.    *       Gershon Elber and many others.
  25.    * 
  26.    * Send your comments or suggestions to 
  27. !  *  pixar!info-gnuplot@sun.com.
  28.    * This is a mailing list; to join it send a note to 
  29. !  *  pixar!info-gnuplot-request@sun.com.  
  30.    * Send bug reports to
  31. !  *  pixar!bug-gnuplot@sun.com.
  32.    */
  33.   
  34.   #include <stdio.h>
  35. --- 31,41 ----
  36.    *       Gershon Elber and many others.
  37.    * 
  38.    * Send your comments or suggestions to 
  39. !  *  info-gnuplot@ames.arc.nasa.gov.
  40.    * This is a mailing list; to join it send a note to 
  41. !  *  info-gnuplot-request@ames.arc.nasa.gov.  
  42.    * Send bug reports to
  43. !  *  bug-gnuplot@ames.arc.nasa.gov.
  44.    */
  45.   
  46.   #include <stdio.h>
  47. ***************
  48. *** 1262,1268 ****
  49.               }
  50.               else if((end - start) >= 5)
  51.               {
  52. !             lstart = 4; /* 3 per decade */
  53.               linc = 3;
  54.               }
  55.               else
  56. --- 1266,1272 ----
  57.               }
  58.               else if((end - start) >= 5)
  59.               {
  60. !             lstart = 2; /* 4 per decade */
  61.               linc = 3;
  62.               }
  63.               else
  64. ***************
  65. *** 1270,1276 ****
  66.               lstart = 2; /* 9 per decade */
  67.               linc = 1;
  68.               }
  69. !             for (ltic = 2; ltic <= 9; ltic++) {
  70.                   lticplace = ticplace+log10((double)ltic);
  71.                   if ( inrange(lticplace,ticmin,ticmax) )
  72.                       ytick(lticplace, "\0", incr, 0.5);
  73. --- 1274,1280 ----
  74.               lstart = 2; /* 9 per decade */
  75.               linc = 1;
  76.               }
  77. !             for (ltic = lstart; ltic <= 9; ltic += linc) {
  78.                   lticplace = ticplace+log10((double)ltic);
  79.                   if ( inrange(lticplace,ticmin,ticmax) )
  80.                       ytick(lticplace, "\0", incr, 0.5);
  81. ***************
  82. *** 1313,1319 ****
  83.               }
  84.               else if((end - start) >= 5)
  85.               {
  86. !             lstart = 4; /* 3 per decade */
  87.               linc = 3;
  88.               }
  89.               else
  90. --- 1317,1323 ----
  91.               }
  92.               else if((end - start) >= 5)
  93.               {
  94. !             lstart = 2; /* 4 per decade */
  95.               linc = 3;
  96.               }
  97.               else
  98. diff -rc gnuplot/help.c gnuplot3.2/help.c
  99. *** gnuplot/help.c    Sun Jan  5 21:33:17 1992
  100. --- gnuplot3.2/help.c    Wed Mar 25 07:59:42 1992
  101. ***************
  102. *** 1,6 ****
  103.   /* GNUPLOT - help.c */
  104.   /*
  105. !  * Copyright (C) 1986, 1987, 1990, 1991   Thomas Williams, Colin Kelley
  106.    *
  107.    * Permission to use, copy, and distribute this software and its
  108.    * documentation for any purpose with or without fee is hereby granted, 
  109. --- 1,10 ----
  110. + #ifndef lint
  111. + static char *RCSid = "$Id: help.c,v 3.26 92/03/24 22:34:24 woo Exp Locker: woo $";
  112. + #endif
  113.   /* GNUPLOT - help.c */
  114.   /*
  115. !  * Copyright (C) 1986, 1987, 1990, 1991, 1992   Thomas Williams, Colin Kelley
  116.    *
  117.    * Permission to use, copy, and distribute this software and its
  118.    * documentation for any purpose with or without fee is hereby granted, 
  119. ***************
  120. *** 27,37 ****
  121.    *       Gershon Elber and many others.
  122.    * 
  123.    * Send your comments or suggestions to 
  124. !  *  pixar!info-gnuplot@sun.com.
  125.    * This is a mailing list; to join it send a note to 
  126. !  *  pixar!info-gnuplot-request@sun.com.  
  127.    * Send bug reports to
  128. !  *  pixar!bug-gnuplot@sun.com.
  129.    */
  130.   
  131.   #include <stdio.h>
  132. --- 31,41 ----
  133.    *       Gershon Elber and many others.
  134.    * 
  135.    * Send your comments or suggestions to 
  136. !  *  info-gnuplot@ames.arc.nasa.gov.
  137.    * This is a mailing list; to join it send a note to 
  138. !  *  info-gnuplot-request@ames.arc.nasa.gov.  
  139.    * Send bug reports to
  140. !  *  bug-gnuplot@ames.arc.nasa.gov.
  141.    */
  142.   
  143.   #include <stdio.h>
  144. diff -rc gnuplot/help.h gnuplot3.2/help.h
  145. *** gnuplot/help.h    Thu Jul 18 11:58:45 1991
  146. --- gnuplot3.2/help.h    Wed Mar 25 07:59:43 1992
  147. ***************
  148. *** 1,6 ****
  149.   /* GNUPLOT - help.h */
  150.   /*
  151. !  * Copyright (C) 1986, 1987, 1990, 1991   Thomas Williams, Colin Kelley
  152.    *
  153.    * Permission to use, copy, and distribute this software and its
  154.    * documentation for any purpose with or without fee is hereby granted, 
  155. --- 1,10 ----
  156. + /*
  157. +  * $Id: help.h,v 3.26 92/03/24 22:34:14 woo Exp Locker: woo $
  158. +  */
  159.   /* GNUPLOT - help.h */
  160.   /*
  161. !  * Copyright (C) 1986, 1987, 1990, 1991, 1992   Thomas Williams, Colin Kelley
  162.    *
  163.    * Permission to use, copy, and distribute this software and its
  164.    * documentation for any purpose with or without fee is hereby granted, 
  165. ***************
  166. *** 27,37 ****
  167.    *       Gershon Elber and many others.
  168.    * 
  169.    * Send your comments or suggestions to 
  170. !  *  pixar!info-gnuplot@sun.com.
  171.    * This is a mailing list; to join it send a note to 
  172. !  *  pixar!info-gnuplot-request@sun.com.  
  173.    * Send bug reports to
  174. !  *  pixar!bug-gnuplot@sun.com.
  175.    */
  176.   
  177.   /* Exit status returned by help() */
  178. --- 31,41 ----
  179.    *       Gershon Elber and many others.
  180.    * 
  181.    * Send your comments or suggestions to 
  182. !  *  info-gnuplot@ames.arc.nasa.gov.
  183.    * This is a mailing list; to join it send a note to 
  184. !  *  info-gnuplot-request@ames.arc.nasa.gov.  
  185.    * Send bug reports to
  186. !  *  bug-gnuplot@ames.arc.nasa.gov.
  187.    */
  188.   
  189.   /* Exit status returned by help() */
  190. diff -rc gnuplot/internal.c gnuplot3.2/internal.c
  191. *** gnuplot/internal.c    Sun Jan  5 21:33:18 1992
  192. --- gnuplot3.2/internal.c    Wed Mar 25 07:59:44 1992
  193. ***************
  194. *** 1,6 ****
  195.   /* GNUPLOT - internal.c */
  196.   /*
  197. !  * Copyright (C) 1986, 1987, 1990, 1991   Thomas Williams, Colin Kelley
  198.    *
  199.    * Permission to use, copy, and distribute this software and its
  200.    * documentation for any purpose with or without fee is hereby granted, 
  201. --- 1,10 ----
  202. + #ifndef lint
  203. + static char *RCSid = "$Id: internal.c,v 3.26 92/03/24 22:34:29 woo Exp Locker: woo $";
  204. + #endif
  205.   /* GNUPLOT - internal.c */
  206.   /*
  207. !  * Copyright (C) 1986, 1987, 1990, 1991, 1992   Thomas Williams, Colin Kelley
  208.    *
  209.    * Permission to use, copy, and distribute this software and its
  210.    * documentation for any purpose with or without fee is hereby granted, 
  211. ***************
  212. *** 27,37 ****
  213.    *       Gershon Elber and many others.
  214.    * 
  215.    * Send your comments or suggestions to 
  216. !  *  pixar!info-gnuplot@sun.com.
  217.    * This is a mailing list; to join it send a note to 
  218. !  *  pixar!info-gnuplot-request@sun.com.  
  219.    * Send bug reports to
  220. !  *  pixar!bug-gnuplot@sun.com.
  221.    */
  222.   
  223.   #include <math.h>
  224. --- 31,41 ----
  225.    *       Gershon Elber and many others.
  226.    * 
  227.    * Send your comments or suggestions to 
  228. !  *  info-gnuplot@ames.arc.nasa.gov.
  229.    * This is a mailing list; to join it send a note to 
  230. !  *  info-gnuplot-request@ames.arc.nasa.gov.  
  231.    * Send bug reports to
  232. !  *  bug-gnuplot@ames.arc.nasa.gov.
  233.    */
  234.   
  235.   #include <math.h>
  236. diff -rc gnuplot/lasergnu gnuplot3.2/lasergnu
  237. *** gnuplot/lasergnu    Tue Sep 10 07:39:25 1991
  238. --- gnuplot3.2/lasergnu    Wed Mar 25 07:59:45 1992
  239. ***************
  240. *** 1,5 ****
  241. --- 1,8 ----
  242.   #!/bin/csh -f
  243.   #
  244. + # $Id: lasergnu,v 3.26 92/03/24 22:37:01 woo Exp Locker: woo $
  245. + #
  246. + #
  247.   # Print gnuplot output on an Imagen or Postscript laser printer.
  248.   
  249.   set print_banner = on    # Print a banner page unless told otherwise.
  250. diff -rc gnuplot/makefile.amg gnuplot3.2/makefile.amg
  251. *** gnuplot/makefile.amg    Thu Sep 12 12:04:16 1991
  252. --- gnuplot3.2/makefile.amg    Wed Mar 25 07:59:46 1992
  253. ***************
  254. *** 1,4 ****
  255. --- 1,8 ----
  256.   # Makefile for SAS/C 5.10 on the Amiga
  257. + #
  258. + # $Id: makefile.amg,v 3.26 92/03/24 22:36:53 woo Exp Locker: woo $
  259. + #
  260. + #
  261.   
  262.   CC = lc
  263.   
  264. ***************
  265. *** 22,28 ****
  266.       term/eepic.trm term/epson.trm term/fig.trm term/hp26.trm \
  267.       term/hp2648.trm term/hpgl.trm term/hpljii.trm term/vws.trm
  268.   CSOURCE6 = term/impcodes.h term/imagen.trm term/object.h \
  269. !     term/iris4d.trm term/kyo.trm term/latex.trm term/pc.trm \
  270.       term/amiga.trm
  271.   CSOURCE7 = term/post.trm term/qms.trm term/regis.trm term/sun.trm \
  272.       term/t410x.trm term/tek.trm term/unixpc.trm term/unixplot.trm \
  273. --- 26,32 ----
  274.       term/eepic.trm term/epson.trm term/fig.trm term/hp26.trm \
  275.       term/hp2648.trm term/hpgl.trm term/hpljii.trm term/vws.trm
  276.   CSOURCE6 = term/impcodes.h term/imagen.trm term/object.h \
  277. !     term/iris4d.trm term/kyo.trm term/latex.trm term/pbm.trm term/pc.trm \
  278.       term/amiga.trm
  279.   CSOURCE7 = term/post.trm term/qms.trm term/regis.trm term/sun.trm \
  280.       term/t410x.trm term/tek.trm term/unixpc.trm term/unixplot.trm \
  281. diff -rc gnuplot/makefile.ami gnuplot3.2/makefile.ami
  282. *** gnuplot/makefile.ami    Fri Sep 20 11:31:32 1991
  283. --- gnuplot3.2/makefile.ami    Wed Mar 25 07:59:47 1992
  284. ***************
  285. *** 1,4 ****
  286. --- 1,7 ----
  287.   #
  288. + # $Id: makefile.ami,v 3.26 92/03/24 22:36:54 woo Exp Locker: woo $
  289. + #
  290. + #
  291.   #   Makefile for the Amiga             Pat R. Empleo
  292.   #                                      Sept 1991
  293.   #      Manx Aztec C 5.2 beta version
  294. ***************
  295. *** 12,18 ****
  296.   # where to install help file gnuplot.gih
  297.   HELPDEST=GNUPLOT:docs/gnuplot.gih
  298.   # Where to send email about bugs and comments (locally)
  299. ! EMAIL="pixar\!bug-gnuplot@sun.com"
  300.   
  301.   #
  302.   # Manx Aztec C v5.2 compiler options
  303. --- 15,21 ----
  304.   # where to install help file gnuplot.gih
  305.   HELPDEST=GNUPLOT:docs/gnuplot.gih
  306.   # Where to send email about bugs and comments (locally)
  307. ! EMAIL="bug-gnuplot@ames.arc.nasa.gov"
  308.   
  309.   #
  310.   # Manx Aztec C v5.2 compiler options
  311. ***************
  312. *** 52,58 ****
  313.       term/hp26.trm term/hp2648.trm term/hpgl.trm term/hpljii.trm \
  314.       term/apollo.trm term/gpr.trm
  315.   CSOURCE6 = term/impcodes.h term/imagen.trm term/object.h \
  316. !     term/iris4d.trm term/kyo.trm term/latex.trm term/pc.trm 
  317.   CSOURCE7 = term/post.trm term/qms.trm term/regis.trm term/sun.trm \
  318.       term/t410x.trm term/tek.trm term/unixpc.trm term/unixplot.trm \
  319.       term/v384.trm term/x11.trm term/bigfig.trm term/vws.trm gnuplot_x11.c
  320. --- 55,61 ----
  321.       term/hp26.trm term/hp2648.trm term/hpgl.trm term/hpljii.trm \
  322.       term/apollo.trm term/gpr.trm
  323.   CSOURCE6 = term/impcodes.h term/imagen.trm term/object.h \
  324. !     term/iris4d.trm term/kyo.trm term/latex.trm term/pbm.trm term/pc.trm 
  325.   CSOURCE7 = term/post.trm term/qms.trm term/regis.trm term/sun.trm \
  326.       term/t410x.trm term/tek.trm term/unixpc.trm term/unixplot.trm \
  327.       term/v384.trm term/x11.trm term/bigfig.trm term/vws.trm gnuplot_x11.c
  328. diff -rc gnuplot/makefile.msc gnuplot3.2/makefile.msc
  329. *** gnuplot/makefile.msc    Tue Sep 17 08:20:52 1991
  330. --- gnuplot3.2/makefile.msc    Wed Mar 25 07:59:48 1992
  331. ***************
  332. *** 1,3 ****
  333. --- 1,6 ----
  334. + #
  335. + # $Id: makefile.msc,v 3.26 92/03/24 22:36:31 woo Exp Locker: woo $
  336. + #
  337.   # Make file for use with Microsoft C  Version 5.10
  338.   # and Microsoft Program Maintenance Utility  Version 4.07
  339.   # 
  340. ***************
  341. *** 27,33 ****
  342.       term\eepic.trm term\epson.trm term\fig.trm term\hp26.trm \
  343.       term\hp2648.trm term\hpgl.trm term\hpljii.trm 
  344.   CSOURCE6 = term\impcodes.h term\imagen.trm term\object.h \
  345. !     term\iris4d.trm term\kyo.trm term\latex.trm term\pc.trm 
  346.   CSOURCE7 = term\post.trm term\qms.trm term\regis.trm term\sun.trm \
  347.       term\t410x.trm term\tek.trm term\unixpc.trm term\unixplot.trm \
  348.       term\v384.trm term\x11.trm
  349. --- 30,36 ----
  350.       term\eepic.trm term\epson.trm term\fig.trm term\hp26.trm \
  351.       term\hp2648.trm term\hpgl.trm term\hpljii.trm 
  352.   CSOURCE6 = term\impcodes.h term\imagen.trm term\object.h \
  353. !     term\iris4d.trm term\kyo.trm term\latex.trm term/pbm.trm term\pc.trm 
  354.   CSOURCE7 = term\post.trm term\qms.trm term\regis.trm term\sun.trm \
  355.       term\t410x.trm term\tek.trm term\unixpc.trm term\unixplot.trm \
  356.       term\v384.trm term\x11.trm
  357. diff -rc gnuplot/makefile.tc gnuplot3.2/makefile.tc
  358. *** gnuplot/makefile.tc    Sat Aug 17 13:51:36 1991
  359. --- gnuplot3.2/makefile.tc    Wed Mar 25 07:59:48 1992
  360. ***************
  361. *** 1,3 ****
  362. --- 1,7 ----
  363. + #
  364. + # $Id: makefile.tc,v 3.26 92/03/24 22:36:32 woo Exp Locker: woo $
  365. + #
  366. + #
  367.   # make file for Borland C++ 2.0/Turbo C++ 1.0/Turbo C 2.0
  368.   # uses Borland proprietry overlay manager
  369.   # Modified from the TurboC makefile by Maurice Castro
  370. ***************
  371. *** 51,57 ****
  372.       term\eepic.trm term\epson.trm term\fig.trm term\hp26.trm \
  373.       term\hp2648.trm term\hpgl.trm term\hpljii.trm 
  374.   CSOURCE6 = term\impcodes.h term\imagen.trm term\object.h \
  375. !     term\iris4d.trm term\kyo.trm term\latex.trm term\pc.trm 
  376.   CSOURCE7 = term\post.trm term\qms.trm term\regis.trm term\sun.trm \
  377.       term\t410x.trm term\tek.trm term\unixpc.trm term\unixplot.trm \
  378.       term\v384.trm term\x11.trm
  379. --- 55,61 ----
  380.       term\eepic.trm term\epson.trm term\fig.trm term\hp26.trm \
  381.       term\hp2648.trm term\hpgl.trm term\hpljii.trm 
  382.   CSOURCE6 = term\impcodes.h term\imagen.trm term\object.h \
  383. !     term\iris4d.trm term\kyo.trm term\latex.trm term/pbm.trm term\pc.trm 
  384.   CSOURCE7 = term\post.trm term\qms.trm term\regis.trm term\sun.trm \
  385.       term\t410x.trm term\tek.trm term\unixpc.trm term\unixplot.trm \
  386.       term\v384.trm term\x11.trm
  387. diff -rc gnuplot/makefile.unx gnuplot3.2/makefile.unx
  388. *** gnuplot/makefile.unx    Sun Jan  5 21:33:19 1992
  389. --- gnuplot3.2/makefile.unx    Tue May  5 21:48:58 1992
  390. ***************
  391. *** 1,6 ****
  392.   ############################################################
  393.   #
  394. ! # GNUPLOT 3.0 Makefile (Unix X11 Motif/Athena support) for
  395.   #  Apollo/Sun/Dec5000/IBMrs6000/HP9000/SGI/3B1/386IX/Cray
  396.   #
  397.   # Original version by:
  398. --- 1,9 ----
  399. + #
  400. + # $Id: makefile.unx,v 3.26 92/03/24 22:36:48 woo Exp Locker: woo $
  401. + #
  402.   ############################################################
  403.   #
  404. ! # GNUPLOT 3.2 Makefile (Unix X11 support) for
  405.   #  Apollo/Sun/Dec5000/IBMrs6000/HP9000/SGI/3B1/386IX/Cray
  406.   #
  407.   # Original version by:
  408. ***************
  409. *** 19,30 ****
  410.   # directory where to install executables on 'make install'
  411.   DEST=/usr/local/bin
  412.   # directory for installing man page on 'make man_install'.
  413. ! MANDEST=/usr/man/manl
  414.   # where to install help file gnuplot.gih
  415.   HELPDEST=/usr/local/lib/gnuplot.gih
  416.   #HELPDEST=docs/gnuplot.gih
  417.   # Where to send email about bugs and comments (locally)
  418. ! EMAIL=bug-gnuplot%pixar.uucp@sun.com
  419.   
  420.   ############################################################
  421.   #>>> Choose your C compiler and basic compiler flags.
  422. --- 22,33 ----
  423.   # directory where to install executables on 'make install'
  424.   DEST=/usr/local/bin
  425.   # directory for installing man page on 'make man_install'.
  426. ! MANDEST=/usr/local/man/manl
  427.   # where to install help file gnuplot.gih
  428.   HELPDEST=/usr/local/lib/gnuplot.gih
  429.   #HELPDEST=docs/gnuplot.gih
  430.   # Where to send email about bugs and comments (locally)
  431. ! EMAIL=bug-gnuplot@ames.arc.nasa.gov
  432.   
  433.   ############################################################
  434.   #>>> Choose your C compiler and basic compiler flags.
  435. ***************
  436. *** 31,36 ****
  437. --- 34,43 ----
  438.   CC     = cc # the C compiler
  439.   COPTS  = -O # -O if you trust your compiler's optimizer
  440.   LD     =$(CC) $(CFLAGS)        # default loading command
  441. + NPROC  = 2
  442. + RCSOLD = 3.25
  443. + RCSVER = 3.26
  444. + RCSCOM = "gnuplot3.2  release6"
  445.   
  446.   ############################################################
  447.   #>>> Choose some optional features. 
  448. ***************
  449. *** 40,46 ****
  450.   #   Otherwise, your normal terminal editing is all you get.
  451.   #   Some machines will not support this, and they will turn this
  452.   #   option off (for example, apollos running SR10.2 or SR10.3 and
  453. ! #   loaded with BSD4.3 instead of SYS5). 
  454.   # NOCWDRC:
  455.   #   If NOCWDRC is defined, then any .gnuplot in the current directory
  456.   #   is not read on startup. This is a security consideration
  457. --- 47,56 ----
  458.   #   Otherwise, your normal terminal editing is all you get.
  459.   #   Some machines will not support this, and they will turn this
  460.   #   option off (for example, apollos running SR10.2 or SR10.3 and
  461. ! #   loaded with BSD4.3 instead of SYS5). Note: problems with 
  462. ! #   gnuplot prompts have been noted when this feature is selected
  463. ! #   on IBM RS/6000 AIX, and compile errors are encountered on
  464. ! #   Sequent Dynix 3 and Convex OS 9.0.
  465.   # NOCWDRC:
  466.   #   If NOCWDRC is defined, then any .gnuplot in the current directory
  467.   #   is not read on startup. This is a security consideration
  468. ***************
  469. *** 54,97 ****
  470.   # tailoring to your site.
  471.   # Use lasergnu_install to install lasergnu.
  472.   # Use lasergnu_noinstall to not install lasergnu (default).
  473. ! LASERGNU = lasergnu_noinstall
  474.   
  475.   ############################################################
  476.   # X11 support
  477.   #
  478.   
  479. ! #>>> List your X11 libraries#
  480. ! # standard MIT X11 R4:                      -lXaw -lXmu -lXt -lXext -lX11
  481. ! # Apollo DomainOS 10.3 (R3/Athena):         -L/usr/lib/X11 -lXaw -lXmu -lXt -lX11
  482. ! # Apollo DomainOS 10.3 (R3/Motif):          -L/usr/lib/X11 -lXm -lXtm -lX11
  483. ! # IBM RS/6000 AIX 3.1 (R3/Athena):          -L/usr/lpp/X11/Xamples/lib/Xmu \
  484. ! #                                           -L/usr/lpp/X11/Xamples/lib/Xaw \
  485. ! #                                           -lXaw -lXmu -lXt -lXext -lX11
  486. ! # IBM RS/6000 AIX 3.1 (R3/Motif):           -lXm -lXt -lX11
  487. ! # HP 9000/375 HP-UX 6.5 and 7.0 (R3/Motif): -lXm -lXt -lX11
  488. ! # Interactive 386/ix with T.Roell X386 and network support:
  489. ! #                                           -lXaw -lXm -lXt -lXext -lX11 -linet -lpt
  490. ! X11LIBS = -lXaw -lXmu -lXt -lXext -lX11
  491.   
  492. ! #>>> List your X11 include directories
  493. ! # standard MIT X11 R4: -I/usr/include/X11   -I/usr/include/X11/Xaw 
  494. ! # Apollo DomainOS 10.3 (R3/Athena):         -I/usr/include/X11
  495. ! # Apollo DomainOS 10.3 (R3/Motif):          -I/usr/include/Xm
  496. ! # IBM RS/6000 AIX 3.1 (R3/Athena):          -I/usr/include/X11 \
  497. ! #                                           -I/usr/lpp/X11/Xamples/lib/Xaw \
  498. ! #                                           -I/usr/lpp/X11/Xamples/lib/Xaw/X11
  499. ! # IBM RS/6000 AIX 3.1 (R3/Motif):           -I/usr/include/Xm
  500. ! # HP 9000/375 HP-UX 6.5 and 7.0 (R3/Motif): -I/usr/include/Xm
  501. ! # HP 9000/700 HP-UX 8.0 (R4):               -I/usr/include/X11R4 \
  502. ! #                                           -I/usr/include/X11R4/X11/Xaw
  503. ! X11INCLUDES = -I/usr/include/X11 -I/usr/include/X11/Xaw
  504.   
  505.   #>>> You shouldn't have to change these, since they are controlled by
  506.   #>>> Machine dependent definitions below.
  507.   #       Compile option for plot.c and TERMFLAGS, to include X11 support
  508.   PLOTXFLAG = -DX11
  509. - #          this can add to CFLAGS for X11 compilations. Probably needs no change.
  510. - X11FLAGS = 
  511.   #       make gnuplot_x11 by default
  512.   GNUPLOT_X11 = gnuplot_x11
  513.   #       install gnuplot_x11 by default
  514. --- 64,90 ----
  515.   # tailoring to your site.
  516.   # Use lasergnu_install to install lasergnu.
  517.   # Use lasergnu_noinstall to not install lasergnu (default).
  518. ! LASERGNU = lasergnu_install
  519.   
  520.   ############################################################
  521.   # X11 support
  522.   #
  523.   
  524. ! #>>> List your X11 libraries
  525. ! X11LIBS = -lX11
  526.   
  527. ! #>>> List where the X11 include directory is found (if other than /usr/include)
  528. ! X11INCLUDES =
  529.   
  530. + #>>> List additional CFLAGS for X11 compilation
  531. + # -DOLD_SELECT if you have an old 4.2 BSD OS (e.g. Sun OS 3.5) and
  532. + #   encounter compile error for missing include file <sys/select.h>
  533. + X11FLAGS = 
  534.   #>>> You shouldn't have to change these, since they are controlled by
  535.   #>>> Machine dependent definitions below.
  536.   #       Compile option for plot.c and TERMFLAGS, to include X11 support
  537.   PLOTXFLAG = -DX11
  538.   #       make gnuplot_x11 by default
  539.   GNUPLOT_X11 = gnuplot_x11
  540.   #       install gnuplot_x11 by default
  541. ***************
  542. *** 124,129 ****
  543. --- 117,125 ----
  544.   #    this is needed by HP-UX and Cray Unicos systems.
  545.   #  -DULTRIX_KLUDGE if you run X windows on Ultrix and experience the
  546.   #    "every other plot" problem.
  547. + #  -DCRIPPLED_SELECT if "select errors" are encountered with X. This
  548. + #    option is needed on SVR3 platforms with incomplete support for
  549. + #    the BSD select() system call
  550.   #  -Dunix is required to explicitly define "unix" for SCO and IBM
  551.   #          RS/6000 running AIX 3.1 
  552.   #  -fswitch if you are compiling on a Sun3 (or even -f68881)
  553. ***************
  554. *** 130,136 ****
  555.   #    (but -fswitch is buggy on some systems, so watch out)
  556.   
  557.   # Defaults in case the user types 'make All' directly
  558. ! # Should match X11R4_FLAGS's CFLAGS definition
  559.   CFLAGS = $(COPTS) $(OPTIONS)
  560.   
  561.   ############################################################
  562. --- 126,132 ----
  563.   #    (but -fswitch is buggy on some systems, so watch out)
  564.   
  565.   # Defaults in case the user types 'make All' directly
  566. ! # Should match X11_FLAGS's CFLAGS definition
  567.   CFLAGS = $(COPTS) $(OPTIONS)
  568.   
  569.   ############################################################
  570. ***************
  571. *** 150,156 ****
  572.   # -DUNIXPC      unixpc (ATT 3b1 or ATT 7300)
  573.   # -DUNIXPLOT    unixplot
  574.   # -DX11         X11 Window System (This is $(PLOTXFLAG))
  575. ! TERMFLAGS = -Iterm -DUNIXPLOT $(PLOTXFLAG)
  576.   
  577.   ############################################################
  578.   # Library explanations. 
  579. --- 146,152 ----
  580.   # -DUNIXPC      unixpc (ATT 3b1 or ATT 7300)
  581.   # -DUNIXPLOT    unixplot
  582.   # -DX11         X11 Window System (This is $(PLOTXFLAG))
  583. ! TERMFLAGS = -Iterm -DUNIXPLOT $(PLOTXFLAG) 
  584.   
  585.   ############################################################
  586.   # Library explanations. 
  587. ***************
  588. *** 163,172 ****
  589.   #  -lccgi if -DCGI in TERMFLAGS
  590.   LIBS = -lm -lplot
  591.   
  592.   ############################################################
  593.   # Machine-dependent settings.
  594.   #
  595. ! X11R4_FLAGS = \
  596.              CFLAGS="$(COPTS) $(OPTIONS)" \
  597.              LIBS="$(LIBS)" X11FLAGS="$(X11FLAGS)" X11INCLUDES="$(X11INCLUDES)" \
  598.              X11LIBS="$(X11LIBS)" \
  599. --- 159,175 ----
  600.   #  -lccgi if -DCGI in TERMFLAGS
  601.   LIBS = -lm -lplot
  602.   
  603. + ####################################################################
  604. + # List of object files except version.o
  605. + OBJS = bitmap.o command.o contour.o eval.o graphics.o graph3d.o help.o \
  606. +        internal.o misc.o parse.o plot.o readline.o scanner.o \
  607. +        setshow.o standard.o term.o util.o  
  608. + NEXTOBJS = EPSView.o EpsViewer.o
  609.   ############################################################
  610.   # Machine-dependent settings.
  611.   #
  612. ! X11_FLAGS = \
  613.              CFLAGS="$(COPTS) $(OPTIONS)" \
  614.              LIBS="$(LIBS)" X11FLAGS="$(X11FLAGS)" X11INCLUDES="$(X11INCLUDES)" \
  615.              X11LIBS="$(X11LIBS)" \
  616. ***************
  617. *** 174,188 ****
  618.              X11INSTALL="$(X11INSTALL)" \
  619.              TERMFLAGS="$(TERMFLAGS)"
  620.   
  621. - X11R4_M_FLAGS = \
  622. -            CFLAGS="$(COPTS) $(OPTIONS)" \
  623. -            LIBS="$(LIBS)" X11FLAGS="-DMOTIF -D_NO_PROTO" \
  624. -            X11INCLUDES="-I/usr/include/Xm" \
  625. -            X11LIBS="-lXm -lXt -lX11" \
  626. -            PLOTXFLAG="$(PLOTXFLAG)" GNUPLOT_X11=$(GNUPLOT_X11) \
  627. -            X11INSTALL="$(X11INSTALL)" \
  628. -            TERMFLAGS="$(TERMFLAGS)"
  629.   DEC_FLAGS = \
  630.              CFLAGS="$(COPTS) $(OPTIONS) " \
  631.              LIBS="$(LIBS)" X11FLAGS="$(X11FLAGS)" X11INCLUDES="$(X11INCLUDES)" \
  632. --- 177,182 ----
  633. ***************
  634. *** 191,239 ****
  635.              X11INSTALL="$(X11INSTALL)" \
  636.              TERMFLAGS="$(TERMFLAGS) -DULTRIX_KLUDGE"
  637.   
  638. - DEC_M_FLAGS = \
  639. -            CFLAGS="$(COPTS) $(OPTIONS)" \
  640. -            LIBS="$(LIBS)" X11FLAGS="-DMOTIF -D_NO_PROTO" \
  641. -            X11INCLUDES="-I/usr/include/Xm" \
  642. -            X11LIBS="-lXm -lXt -lX11" \
  643. -            PLOTXFLAG="$(PLOTXFLAG)" GNUPLOT_X11=$(GNUPLOT_X11) \
  644. -            X11INSTALL="$(X11INSTALL)" \
  645. -            TERMFLAGS="$(TERMFLAGS)  -DULTRIX_KLUDGE"
  646.   APOLLO_FLAGS = \
  647.              CFLAGS="$(COPTS) $(OPTIONS)  -DGAMMA=lgamma" \
  648.              LIBS="$(LIBS)" X11FLAGS="$(X11FLAGS)" \
  649.              X11INCLUDES="$(X11INCLUDES)" \
  650. !            X11LIBS="-L/usr/lib/X11 -lXaw -lXmu -lXt -lX11" \
  651.              PLOTXFLAG="$(PLOTXFLAG)" GNUPLOT_X11=$(GNUPLOT_X11) \
  652.              X11INSTALL="$(X11INSTALL)" \
  653.              TERMFLAGS="$(TERMFLAGS) -DAPOLLO -DGPR"
  654.   
  655. - APOLLO_M_FLAGS = \
  656. -            CFLAGS="$(COPTS) $(OPTIONS)  -DGAMMA=lgamma" \
  657. -            LIBS="$(LIBS)" X11FLAGS="-DMOTIF" X11INCLUDES="-I/usr/include/Xm" \
  658. -            X11LIBS="-L/usr/lib/X11 -lXm -lXt -lX11" \
  659. -            PLOTXFLAG="$(PLOTXFLAG)" GNUPLOT_X11=$(GNUPLOT_X11) \
  660. -            TERMFLAGS="$(TERMFLAGS) -DAPOLLO -DGPR"
  661.   HP_FLAGS = \
  662. !            CFLAGS="$(COPTS) $(OPTIONS) -DMEMSET -DMEMCPY  -DGETCWD" \
  663.              LIBS="-lm" X11FLAGS="$(X11FLAGS)" \
  664. !            X11INCLUDES="-I/usr/include/X11R4 -I/usr/include/X11R4/X11/Xaw" \
  665. !            X11LIBS="-L/usr/lib/X11R4 -lXaw -lXmu -lXt -lXext -lX11" \
  666.              PLOTXFLAG="$(PLOTXFLAG)" GNUPLOT_X11=$(GNUPLOT_X11) \
  667.              X11INSTALL="$(X11INSTALL)" \
  668.              TERMFLAGS="-Iterm -DX11"
  669.   
  670. - HP_M_FLAGS = \
  671. -            CFLAGS="$(COPTS) $(OPTIONS) -DMEMSET -DMEMCPY -DGETCWD" \
  672. -            LIBS="-lm" X11FLAGS="-DMOTIF -D_NO_PROTO" \
  673. -            X11INCLUDES="-I/usr/include/Motif1.1 -I/usr/include/Motif1.1/Xm -I/usr/include/X11R4" \
  674. -            X11LIBS="-L/usr/lib/Motif1.1 -L/usr/lib/X11R4 -lXm -lXt -lX11" \
  675. -            PLOTXFLAG="$(PLOTXFLAG)" GNUPLOT_X11=$(GNUPLOT_X11) \
  676. -            X11INSTALL="$(X11INSTALL)" \
  677. -            TERMFLAGS=" -Iterm -DX11"
  678.   SUN_FLAGS = \
  679.              CFLAGS="$(COPTS) $(OPTIONS)" \
  680.              LIBS="-lsuntool -lsunwindow -lpixrect $(LIBS)" \
  681. --- 185,208 ----
  682.              X11INSTALL="$(X11INSTALL)" \
  683.              TERMFLAGS="$(TERMFLAGS) -DULTRIX_KLUDGE"
  684.   
  685.   APOLLO_FLAGS = \
  686.              CFLAGS="$(COPTS) $(OPTIONS)  -DGAMMA=lgamma" \
  687.              LIBS="$(LIBS)" X11FLAGS="$(X11FLAGS)" \
  688.              X11INCLUDES="$(X11INCLUDES)" \
  689. !            X11LIBS="-L/usr/lib/X11 -lX11" \
  690.              PLOTXFLAG="$(PLOTXFLAG)" GNUPLOT_X11=$(GNUPLOT_X11) \
  691.              X11INSTALL="$(X11INSTALL)" \
  692.              TERMFLAGS="$(TERMFLAGS) -DAPOLLO -DGPR"
  693.   
  694.   HP_FLAGS = \
  695. !            CFLAGS="+O1 $(OPTIONS) -DMEMSET -DMEMCPY  -DGETCWD" \
  696.              LIBS="-lm" X11FLAGS="$(X11FLAGS)" \
  697. !            X11INCLUDES="-I/usr/include/X11R4" \
  698. !            X11LIBS="-L/usr/lib/X11R4 -lX11" \
  699.              PLOTXFLAG="$(PLOTXFLAG)" GNUPLOT_X11=$(GNUPLOT_X11) \
  700.              X11INSTALL="$(X11INSTALL)" \
  701.              TERMFLAGS="-Iterm -DX11"
  702.   
  703.   SUN_FLAGS = \
  704.              CFLAGS="$(COPTS) $(OPTIONS)" \
  705.              LIBS="-lsuntool -lsunwindow -lpixrect $(LIBS)" \
  706. ***************
  707. *** 252,258 ****
  708.              TERMFLAGS="$(TERMFLAGS) -DSUN"
  709.   
  710.   SGI_FLAGS = \
  711. !            CFLAGS="$(COPTS) $(OPTIONS)" \
  712.              LIBS="-lgl_s -lm" X11FLAGS=" " X11INCLUDES=" " \
  713.              X11LIBS=" " \
  714.              PLOTXFLAG=" " GNUPLOT_X11=" " X11INSTALL=x11_noinstall \
  715. --- 221,227 ----
  716.              TERMFLAGS="$(TERMFLAGS) -DSUN"
  717.   
  718.   SGI_FLAGS = \
  719. !            CFLAGS="$(COPTS) $(OPTIONS) -DGETCWD -DNOVFORK" \
  720.              LIBS="-lgl_s -lm" X11FLAGS=" " X11INCLUDES=" " \
  721.              X11LIBS=" " \
  722.              PLOTXFLAG=" " GNUPLOT_X11=" " X11INSTALL=x11_noinstall \
  723. ***************
  724. *** 259,268 ****
  725.              TERMFLAGS="-Iterm -DIRIS4D"
  726.   
  727.   SGIX11_FLAGS = \
  728. !            CFLAGS="$(COPTS) $(OPTIONS)" \
  729.              LIBS="-lgl_s -lm -lc_s" X11FLAGS="$(X11FLAGS)" \
  730. !            X11INCLUDES="-I/usr/include/X11 -I/usr/include/X11/Xaw" \
  731. !            X11LIBS="-L/usr/lib/X11 -lXaw -lXmu -lXt -lXext -lX11" \
  732.               PLOTXFLAG="$(PLOTXFLAG)" GNUPLOT_X11=$(GNUPLOT_X11) \
  733.               X11INSTALL="$(X11INSTALL)" \
  734.              TERMFLAGS="-Iterm -DX11 -DIRIS4D"
  735. --- 228,237 ----
  736.              TERMFLAGS="-Iterm -DIRIS4D"
  737.   
  738.   SGIX11_FLAGS = \
  739. !            CFLAGS="$(COPTS) $(OPTIONS) -DGETCWD -DNOVFORK" \
  740.              LIBS="-lgl_s -lm -lc_s" X11FLAGS="$(X11FLAGS)" \
  741. !            X11INCLUDES="$(X11INCLUDES)" \
  742. !            X11LIBS="-L/usr/lib/X11 -lX11" \
  743.               PLOTXFLAG="$(PLOTXFLAG)" GNUPLOT_X11=$(GNUPLOT_X11) \
  744.               X11INSTALL="$(X11INSTALL)" \
  745.              TERMFLAGS="-Iterm -DX11 -DIRIS4D"
  746. ***************
  747. *** 297,331 ****
  748.   AIX_FLAGS = \
  749.              CFLAGS="$(COPTS) $(OPTIONS) -Dunix -DNOVFORK" \
  750.              LIBS="$(LIBS)" X11FLAGS="$(X11FLAGS)" \
  751. !            X11INCLUDES="-I/usr/include/X11 -I/usr/lpp/X11/Xamples/lib/Xaw -I/usr/lpp/X11/Xamples/lib/Xaw/X11" \
  752. !            X11LIBS="-L/usr/lpp/X11/Xamples/lib/Xmu -L/usr/lpp/X11/Xamples/lib/Xaw -lXaw -lXmu -lXt -lXext -lX11" \
  753.              PLOTXFLAG="$(PLOTXFLAG)" GNUPLOT_X11=$(GNUPLOT_X11) \
  754.              X11INSTALL="$(X11INSTALL)" \
  755.              TERMFLAGS="$(TERMFLAGS)"
  756.   
  757. - AIX_M_FLAGS = \
  758. -            CFLAGS="$(COPTS) $(OPTIONS) -Dunix -DNOVFORK" \
  759. -            LIBS="$(LIBS)" X11FLAGS="-DMOTIF" X11INCLUDES="-I/usr/include/Xm" \
  760. -            X11LIBS="-lXm -lXt -lX11" \
  761. -            PLOTXFLAG="$(PLOTXFLAG)" GNUPLOT_X11=$(GNUPLOT_X11) \
  762. -            X11INSTALL="$(X11INSTALL)" \
  763. -            TERMFLAGS="$(TERMFLAGS)"
  764.   NEXT_FLAGS = \
  765.              CFLAGS="$(COPTS) -DGAMMA=lgamma -DNEXT" \
  766. !            LIBS="-lm" X11FLAGS="$(X11FLAGS)" \
  767.              X11INCLUDES=" " X11LIBS=" " PLOTXFLAG=" " \
  768.              GNUPLOT_X11=" " X11INSTALL=x11_noinstall \
  769. !            TERMFLAGS="-Iterm"
  770.   
  771.   NEXT_X11_FLAGS = \
  772.              CFLAGS="$(COPTS) -DGAMMA=lgamma -DNEXT" \
  773. !            LIBS="-lm" \
  774. !            X11LIBS="-L/usr/lib/X11 -lXaw -lXmu -lXt -lX11" \
  775.              X11INCLUDES="$(X11INCLUDES)" X11FLAGS="$(X11FLAGS)" \
  776.              PLOTXFLAG="$(PLOTXFLAG)" GNUPLOT_X11=$(GNUPLOT_X11) \
  777.              X11INSTALL="$(X11INSTALL)" \
  778. !            TERMFLAGS="-Iterm -DX11"
  779.   
  780.   CRAY_FLAGS = \
  781.          CFLAGS="$(COPTS) $(OPTIONS) -DGETCWD -DNOVFORK" \
  782. --- 266,293 ----
  783.   AIX_FLAGS = \
  784.              CFLAGS="$(COPTS) $(OPTIONS) -Dunix -DNOVFORK" \
  785.              LIBS="$(LIBS)" X11FLAGS="$(X11FLAGS)" \
  786. !            X11INCLUDES="$(X11INCLUDES)" \
  787. !            X11LIBS="$(X11LIBS)" \
  788.              PLOTXFLAG="$(PLOTXFLAG)" GNUPLOT_X11=$(GNUPLOT_X11) \
  789.              X11INSTALL="$(X11INSTALL)" \
  790.              TERMFLAGS="$(TERMFLAGS)"
  791.   
  792.   NEXT_FLAGS = \
  793.              CFLAGS="$(COPTS) -DGAMMA=lgamma -DNEXT" \
  794. !            LIBS="-lNeXT_s -lsys_s -lm" \
  795. !            X11FLAGS="$(X11FLAGS)" \
  796.              X11INCLUDES=" " X11LIBS=" " PLOTXFLAG=" " \
  797.              GNUPLOT_X11=" " X11INSTALL=x11_noinstall \
  798. !            TERMFLAGS="-Iterm" OBJS=" $(OBJS) $(NEXTOBJS)"
  799.   
  800.   NEXT_X11_FLAGS = \
  801.              CFLAGS="$(COPTS) -DGAMMA=lgamma -DNEXT" \
  802. !            LIBS="-lNeXT_s -lsys_s -lm" \
  803. !            X11LIBS="-L/usr/lib/X11 -lX11" \
  804.              X11INCLUDES="$(X11INCLUDES)" X11FLAGS="$(X11FLAGS)" \
  805.              PLOTXFLAG="$(PLOTXFLAG)" GNUPLOT_X11=$(GNUPLOT_X11) \
  806.              X11INSTALL="$(X11INSTALL)" \
  807. !            TERMFLAGS="-Iterm -DX11" OBJS=" $(OBJS) $(NEXTOBJS)"
  808.   
  809.   CRAY_FLAGS = \
  810.          CFLAGS="$(COPTS) $(OPTIONS) -DGETCWD -DNOVFORK" \
  811. ***************
  812. *** 335,340 ****
  813. --- 297,303 ----
  814.          PLOTXFLAG=" " GNUPLOT_X11=" " \
  815.          X11INSTALL=x11_noinstall \
  816.          TERMFLAGS="-Iterm"
  817.   CRAY_X11_FLAGS = \
  818.          CFLAGS="$(COPTS) $(OPTIONS) -DGETCWD -DNOVFORK" \
  819.          LIBS="-lm" X11FLAGS="$(X11FLAGS)" \
  820. ***************
  821. *** 343,354 ****
  822.          PLOTXFLAG="$(PLOTXFLAG)" GNUPLOT_X11="$(GNUPLOT_X11)" \
  823.          X11INSTALL=$(X11INSTALL) \
  824.          TERMFLAGS="-Iterm -DX11"
  825.   ####################################################################
  826. - # List of object files except version.o
  827. - OBJS = bitmap.o command.o contour.o eval.o graphics.o graph3d.o help.o \
  828. -        internal.o misc.o parse.o plot.o readline.o scanner.o \
  829. -        setshow.o standard.o term.o util.o  
  830. - ####################################################################
  831.   # List of source files
  832.   # Used for makeing shar files, lint, and some dependencies.
  833.   DIRS = term demo docs docs/latextut
  834. --- 306,330 ----
  835.          PLOTXFLAG="$(PLOTXFLAG)" GNUPLOT_X11="$(GNUPLOT_X11)" \
  836.          X11INSTALL=$(X11INSTALL) \
  837.          TERMFLAGS="-Iterm -DX11"
  838. + PTX_X11_FLAGS = \
  839. +        CFLAGS="$(COPTS) $(OPTIONS) -DGETCWD -DMEMSET -DMEMCPY -DCRIPPLED_SELECT" \
  840. +        LIBS="-lm -lplot" X11FLAGS="$(X11FLAGS)" \
  841. +        X11INCLUDES="$(X11INCLUDES)" \
  842. +        X11LIBS="-lX11 -lseq -lsocket -linet -lnsl" \
  843. +        PLOTXFLAG="$(PLOTXFLAG)" GNUPLOT_X11="$(GNUPLOT_X11)" \
  844. +        X11INSTALL=$(X11INSTALL) \
  845. +        TERMFLAGS="$(TERMFLAGS)"
  846. + CONVEX_X11_FLAGS = \
  847. +            CFLAGS="$(COPTS) $(OPTIONS) -DHUGE=8.9e307" \
  848. +            LIBS="$(LIBS)" X11FLAGS="$(X11FLAGS)" X11INCLUDES="$(X11INCLUDES)" \
  849. +            X11LIBS="$(X11LIBS)" \
  850. +            PLOTXFLAG="$(PLOTXFLAG)" GNUPLOT_X11=$(GNUPLOT_X11) \
  851. +            X11INSTALL="$(X11INSTALL)" \
  852. +            TERMFLAGS="$(TERMFLAGS)"
  853.   ####################################################################
  854.   # List of source files
  855.   # Used for makeing shar files, lint, and some dependencies.
  856.   DIRS = term demo docs docs/latextut
  857. ***************
  858. *** 360,372 ****
  859.   CSOURCE5 = term/amiga.trm term/aed.trm term/cgi.trm term/dumb.trm term/dxf.trm \
  860.       term/dxy.trm term/eepic.trm term/epson.trm term/fig.trm \
  861.       term/hp26.trm term/hp2648.trm term/hpgl.trm term/hpljii.trm \
  862. !     term/apollo.trm term/gpr.trm
  863.   CSOURCE6 = term/impcodes.h term/imagen.trm term/object.h \
  864. !     term/iris4d.trm term/kyo.trm term/latex.trm term/pc.trm 
  865.   CSOURCE7 = term/post.trm term/qms.trm term/regis.trm term/sun.trm \
  866.       term/t410x.trm term/tek.trm term/unixpc.trm term/unixplot.trm \
  867.       term/v384.trm term/x11.trm term/bigfig.trm term/vws.trm gnuplot_x11.c
  868.   CSOURCE8 = contour.c
  869.   # not C code, but still needed
  870.   
  871.   DEMOS = demo/1.dat demo/2.dat demo/3.dat demo/contours.demo demo/controls.demo \
  872. --- 336,349 ----
  873.   CSOURCE5 = term/amiga.trm term/aed.trm term/cgi.trm term/dumb.trm term/dxf.trm \
  874.       term/dxy.trm term/eepic.trm term/epson.trm term/fig.trm \
  875.       term/hp26.trm term/hp2648.trm term/hpgl.trm term/hpljii.trm \
  876. !     term/apollo.trm term/gpr.trm term/ai.trm term/next.trm
  877.   CSOURCE6 = term/impcodes.h term/imagen.trm term/object.h \
  878. !     term/iris4d.trm term/kyo.trm term/latex.trm term/pbm.trm term/pc.trm 
  879.   CSOURCE7 = term/post.trm term/qms.trm term/regis.trm term/sun.trm \
  880.       term/t410x.trm term/tek.trm term/unixpc.trm term/unixplot.trm \
  881.       term/v384.trm term/x11.trm term/bigfig.trm term/vws.trm gnuplot_x11.c
  882.   CSOURCE8 = contour.c
  883. + NEXTSRC  = EPSView.m EPSView.h EpsViewer.m EpsViewer.h
  884.   # not C code, but still needed
  885.   
  886.   DEMOS = demo/1.dat demo/2.dat demo/3.dat demo/contours.demo demo/controls.demo \
  887. ***************
  888. *** 374,388 ****
  889.       demo/simple.demo demo/surface1.demo demo/surface2.demo demo/using.dat \
  890.       demo/using.demo demo/world.cor demo/world.dat demo/world.demo \
  891.       demo/err.dat demo/poldat.demo demo/polar.dat demo/errorbar.demo \
  892. !     demo/antenna.dat demo/all.demo demo/bivariat.demo
  893.   
  894.   ETC = Copyright README README.gnutex README.amiga makefile.unx makefile.vms  \
  895.       linkopt.amg makefile.amg makefile.ami linkopt.vms buildvms.com \
  896. !     plot.h help.h setshow.h bitmap.h term.h lasergnu \
  897.       term/README History gnuplot.el Intergraph.x11 README.Install
  898.   
  899.   #BETA files (not standard distribution files)
  900. ! BETA = BETA10
  901.   # PC-specific files
  902.   PC = corgraph.asm corplot.c header.mac hrcgraph.asm lineproc.mac \
  903.       linkopt.msc linkopt.tc linkopt.tco makefile.msc makefile.tc \
  904. --- 351,365 ----
  905.       demo/simple.demo demo/surface1.demo demo/surface2.demo demo/using.dat \
  906.       demo/using.demo demo/world.cor demo/world.dat demo/world.demo \
  907.       demo/err.dat demo/poldat.demo demo/polar.dat demo/errorbar.demo \
  908. !     demo/antenna.dat demo/all.demo demo/bivariat.demo demo/hidden.demo
  909.   
  910.   ETC = Copyright README README.gnutex README.amiga makefile.unx makefile.vms  \
  911.       linkopt.amg makefile.amg makefile.ami linkopt.vms buildvms.com \
  912. !     lasergnu  README.3d README.x11 README.NeXT \
  913.       term/README History gnuplot.el Intergraph.x11 README.Install
  914.   
  915.   #BETA files (not standard distribution files)
  916. ! BETA = BETA6
  917.   # PC-specific files
  918.   PC = corgraph.asm corplot.c header.mac hrcgraph.asm lineproc.mac \
  919.       linkopt.msc linkopt.tc linkopt.tco makefile.msc makefile.tc \
  920. ***************
  921. *** 405,438 ****
  922.   info:
  923.       @echo "Please do a 'make <MACHINE>' where <MACHINE> is one of the following:"
  924.       @echo 
  925. !     @echo "apollo, apollo_motif       for Apollo running SR10.3 with Apollo's X11R3"
  926. !     @echo "dec, dec_motif             for Dec3100/5000 running Ultrix 3.1d with MIT's X11R4"
  927. !     @echo "hp, hp_motif               for HP/9000 700 series running HP/UX 8.0 with MIT's X11R4"
  928. !     @echo "sun                        for Sun sparcstation running SunOS 4.1 with suntools (no X11R4) "
  929. !     @echo "sun_x11                    for Sun sparcstation running SunOS 4.1 with suntools and X11R4 "
  930. !     @echo "sgi                        for Silicon Graphics IRIS4D machines (no X11R4) "
  931. !     @echo "sgix11                     for Silicon Graphics IRIS4D machines (X11R4) "
  932. !     @echo "next                       for NeXT Cube and Slab running NeXTOS 2.0+ (no X11R4) "
  933. !     @echo "3b1                        for ATT 3b1 machines (no X11R4) "
  934. !     @echo "386ix                      for 386 machines running 386/ix (no X11)"
  935. !     @echo "386ix_x11                  for 386 machines running 386/ix with T.Roell X386"
  936. !     @echo "ibmrs6000, ibmrs6000_motif for IBM RS/6000 running Aix 3.1 with IBM's X11R3"
  937. !     @echo "x11r4, x11r4_motif         for a generic machine (like a sun or dec) with MIT's X11R4"
  938. !     @echo "cray            for Cray Y-MP or Cray-2 running Unicos 6.0 or 6.1 (no X11R4)"
  939. !     @echo "cray_x11        for Cray Y-MP or Cray-2 running Unicos 6.0 or 6.1 with X11R4"
  940.       @echo 
  941.       @echo "Examples:"
  942.       @echo
  943. !     @echo "         make x11r4"
  944. !     @echo "         make x11r4_motif"
  945.       @echo "         make apollo"
  946.       @echo "         make apollo       OPTIONS='-DNOCWDRC' "
  947. !     @echo "         make apollo_motif DEST='/usr/um/misc/bin' "
  948.       @echo "         make dec"
  949.       @echo "         make hp"
  950.       @echo "         make next"
  951.       @echo "         make sun          HELPDEST='/usr/um/misc/lib/gnuplot.gih' "
  952. !     @echo "         make sun          X11INCLUDES='-I/usr/local/include -I/usr/local/include/X11 -I/usr/local/include/X11/Xaw' "
  953.       @echo "         make sun_x11"
  954.       @echo "         make sgi"
  955.       @echo "         make 3b1"
  956. --- 382,417 ----
  957.   info:
  958.       @echo "Please do a 'make <MACHINE>' where <MACHINE> is one of the following:"
  959.       @echo 
  960. !     @echo "apollo       for Apollo running SR10.3 with Apollo's X11"
  961. !     @echo "dec          for Dec3100/5000 running Ultrix 3.1d with MIT's X11"
  962. !     @echo "hp           for HP/9000 700 series running HP/UX 8.0 with MIT's X11R4"
  963. !     @echo "sun          for Sun sparcstation running SunOS 4.1 with suntools (no X11) "
  964. !     @echo "sun_x11      for Sun sparcstation running SunOS 4.1 with suntools and X11 "
  965. !     @echo "sgi          for Silicon Graphics IRIS4D machines (no X11) "
  966. !     @echo "sgix11       for Silicon Graphics IRIS4D machines (X11) "
  967. !     @echo "next         for NeXT Cube and Slab running NeXTOS 2.0+ (no X11)"
  968. !     @echo "next_11      for NeXT Cube and Slab running NeXTOS 2.0+ with X11"
  969. !     @echo "3b1          for ATT 3b1 machines (no X11) "
  970. !     @echo "386ix        for 386 machines running 386/ix (no X11)"
  971. !     @echo "386ix_x11    for 386 machines running 386/ix with T.Roell X386"
  972. !     @echo "ibmrs6000    for IBM RS/6000 running Aix 3.1 with IBM's X11"
  973. !     @echo "x11          for a generic machine (like a sun or dec) with MIT's X11"
  974. !     @echo "cray         for Cray Y-MP or Cray-2 running Unicos 6.0 or 6.1 (no X11)"
  975. !     @echo "cray_x11     for Cray Y-MP or Cray-2 running Unicos 6.0 or 6.1 with X11"
  976. !     @echo "ptx_x11      for Sequent Dynix/PTX with MIT X11"
  977. !     @echo "convex_x11   for Convex 9.0 with MIT X11"
  978.       @echo 
  979.       @echo "Examples:"
  980.       @echo
  981. !     @echo "         make x11"
  982.       @echo "         make apollo"
  983.       @echo "         make apollo       OPTIONS='-DNOCWDRC' "
  984. !     @echo "         make apollo       DEST='/usr/um/misc/bin' "
  985.       @echo "         make dec"
  986.       @echo "         make hp"
  987.       @echo "         make next"
  988.       @echo "         make sun          HELPDEST='/usr/um/misc/lib/gnuplot.gih' "
  989. !     @echo "         make sun          X11INCLUDES='-I/usr/local/include' "
  990.       @echo "         make sun_x11"
  991.       @echo "         make sgi"
  992.       @echo "         make 3b1"
  993. ***************
  994. *** 441,447 ****
  995.       @echo "         make cray"
  996.       @echo "         make cray_x11"
  997.       @echo 
  998. !     @echo "If you just type 'make All' , it will build gnuplot for Unix X11R4/Athena"
  999.       @echo "and the following variables will be used as default:"
  1000.       @echo 
  1001.       @echo " DEST                     " $(DEST)
  1002. --- 420,426 ----
  1003.       @echo "         make cray"
  1004.       @echo "         make cray_x11"
  1005.       @echo 
  1006. !     @echo "If you just type 'make All' , it will build gnuplot for Unix X11"
  1007.       @echo "and the following variables will be used as default:"
  1008.       @echo 
  1009.       @echo " DEST                     " $(DEST)
  1010. ***************
  1011. *** 467,496 ****
  1012.   ###############################################################
  1013.   # Targets for each machine
  1014.   
  1015. ! x11r4:
  1016. !     $(MAKE) $(MFLAGS) $(MY_FLAGS) $(X11R4_FLAGS)    $(TARGET)
  1017.   
  1018. - x11r4_motif:
  1019. -     $(MAKE) $(MFLAGS) $(MY_FLAGS) $(X11R4_M_FLAGS)  $(TARGET)
  1020.   dec:
  1021.       $(MAKE) $(MFLAGS) $(MY_FLAGS) $(DEC_FLAGS)      $(TARGET)
  1022.   
  1023. - dec_motif:
  1024. -     $(MAKE) $(MFLAGS) $(MY_FLAGS) $(DEC_M_FLAGS)    $(TARGET)
  1025.   apollo:
  1026.       $(MAKE) $(MFLAGS) $(MY_FLAGS) $(APOLLO_FLAGS)   $(TARGET)
  1027.   
  1028. - apollo_motif:
  1029. -     $(MAKE) $(MFLAGS) $(MY_FLAGS) $(APOLLO_M_FLAGS) $(TARGET)
  1030.   hp:
  1031.       $(MAKE) $(MFLAGS) $(MY_FLAGS) $(HP_FLAGS)       $(TARGET)
  1032.   
  1033. - hp_motif:
  1034. -     $(MAKE) $(MFLAGS) $(MY_FLAGS) $(HP_M_FLAGS)       $(TARGET)
  1035.   next:
  1036.       $(MAKE) $(MFLAGS) $(MY_FLAGS) $(NEXT_FLAGS)     $(TARGET)
  1037.   
  1038. --- 446,463 ----
  1039.   ###############################################################
  1040.   # Targets for each machine
  1041.   
  1042. ! x11:
  1043. !     $(MAKE) $(MFLAGS) $(MY_FLAGS) $(X11_FLAGS)    $(TARGET)
  1044.   
  1045.   dec:
  1046.       $(MAKE) $(MFLAGS) $(MY_FLAGS) $(DEC_FLAGS)      $(TARGET)
  1047.   
  1048.   apollo:
  1049.       $(MAKE) $(MFLAGS) $(MY_FLAGS) $(APOLLO_FLAGS)   $(TARGET)
  1050.   
  1051.   hp:
  1052.       $(MAKE) $(MFLAGS) $(MY_FLAGS) $(HP_FLAGS)       $(TARGET)
  1053.   
  1054.   next:
  1055.       $(MAKE) $(MFLAGS) $(MY_FLAGS) $(NEXT_FLAGS)     $(TARGET)
  1056.   
  1057. ***************
  1058. *** 524,535 ****
  1059.   ibmrs6000:
  1060.       $(MAKE) $(MFLAGS) $(MY_FLAGS) $(AIX_FLAGS)      $(TARGET)
  1061.   
  1062. - ibmrs6000_motif:
  1063. -     $(MAKE) $(MFLAGS) $(MY_FLAGS) $(AIX_M_FLAGS)    $(TARGET)
  1064.   cray:
  1065.       $(MAKE) $(MFLAGS) $(MY_FLAGS) $(CRAY_FLAGS)     $(TARGET)
  1066.   cray_x11:
  1067.       $(MAKE) $(MFLAGS) $(MY_FLAGS) $(CRAY_X11_FLAGS) $(TARGET)
  1068.   
  1069.   #############################################################
  1070.   # Targets that really do something
  1071. --- 491,504 ----
  1072.   ibmrs6000:
  1073.       $(MAKE) $(MFLAGS) $(MY_FLAGS) $(AIX_FLAGS)      $(TARGET)
  1074.   
  1075.   cray:
  1076.       $(MAKE) $(MFLAGS) $(MY_FLAGS) $(CRAY_FLAGS)     $(TARGET)
  1077.   cray_x11:
  1078.       $(MAKE) $(MFLAGS) $(MY_FLAGS) $(CRAY_X11_FLAGS) $(TARGET)
  1079. + ptx_x11:
  1080. +     $(MAKE) $(MFLAGS) $(MY_FLAGS) $(PTX_X11_FLAGS) $(TARGET)
  1081. + convex_x11:
  1082. +     $(MAKE) $(MFLAGS) $(MY_FLAGS) $(CONVEX_X11_FLAGS) $(TARGET)
  1083.   
  1084.   #############################################################
  1085.   # Targets that really do something
  1086. ***************
  1087. *** 556,569 ****
  1088.       @echo 
  1089.       @echo "Please do a 'make <MACHINE> TARGET=Install' where <MACHINE> is one of the following:"
  1090.       @echo 
  1091. !     @echo "apollo, apollo_motif, dec, dec_motif, hp, sun, sun_x11, sgi, sgix11"
  1092. !     @echo "next, 3b1, 386ix, ibmrs6000, ibmrs6000_motif, x11r4, x11r4_motif"
  1093.       @echo 
  1094.       @echo "Examples:"
  1095.       @echo
  1096. !     @echo "         make x11r4        TARGET=Install "
  1097.       @echo "         make apollo       TARGET=Install "
  1098. -     @echo "         make apollo_motif TARGET=Install DEST='/usr/um/misc/bin' "
  1099.       @echo "         make dec          TARGET=Install "
  1100.       @echo "         make hp           TARGET=Install "
  1101.       @echo "         make sun          TARGET=Install HELPDEST='/usr/um/misc/lib/gnuplot.gih' "
  1102. --- 525,538 ----
  1103.       @echo 
  1104.       @echo "Please do a 'make <MACHINE> TARGET=Install' where <MACHINE> is one of the following:"
  1105.       @echo 
  1106. !     @echo "apollo, dec, hp, sun, sun_x11, sgi, sgix11, cgi,"
  1107. !     @echo "next, next_x11, 3b1, 386ix, 386ix_x11, ibmrs6000,"
  1108. !     @echo "x11, cray, cray_x11, ptx_x11, convex_x11"
  1109.       @echo 
  1110.       @echo "Examples:"
  1111.       @echo
  1112. !     @echo "         make x11          TARGET=Install "
  1113.       @echo "         make apollo       TARGET=Install "
  1114.       @echo "         make dec          TARGET=Install "
  1115.       @echo "         make hp           TARGET=Install "
  1116.       @echo "         make sun          TARGET=Install HELPDEST='/usr/um/misc/lib/gnuplot.gih' "
  1117. ***************
  1118. *** 617,625 ****
  1119.   version.o:
  1120.       $(CC) $(CFLAGS) -DCONTACT=\"$(EMAIL)\" -c version.c
  1121.   
  1122.   $(OBJS): plot.h
  1123.   
  1124. ! command.o:
  1125.       $(CC) $(CFLAGS) -c command.c -DHELPFILE=\"$(HELPDEST)\"
  1126.   
  1127.   command.o help.o misc.o: help.h
  1128. --- 586,600 ----
  1129.   version.o:
  1130.       $(CC) $(CFLAGS) -DCONTACT=\"$(EMAIL)\" -c version.c
  1131.   
  1132. + EpsViewer.o : EpsViewer.h EpsViewer.m EPSView.h
  1133. +     $(CC) -c EpsViewer.m
  1134. + EPSView.o : EPSView.h EPSView.m
  1135. +         $(CC) -c EPSView.m  
  1136.   $(OBJS): plot.h
  1137.   
  1138. ! command.o: command.c
  1139.       $(CC) $(CFLAGS) -c command.c -DHELPFILE=\"$(HELPDEST)\"
  1140.   
  1141.   command.o help.o misc.o: help.h
  1142. ***************
  1143. *** 632,639 ****
  1144.   # Miscellaneous targets
  1145.   
  1146.   SOURCES=plot.h help.h setshow.h bitmap.h term.h $(CSOURCE1) $(CSOURCE2) \
  1147. !     $(CSOURCE3) $(CSOURCE4) $(CSOURCE5) $(CSOURCE6) $(CSOURCE7) $(CSOURCE8)
  1148.   
  1149.   lint:
  1150.       lint -hx $(SOURCES)
  1151.   
  1152. --- 607,617 ----
  1153.   # Miscellaneous targets
  1154.   
  1155.   SOURCES=plot.h help.h setshow.h bitmap.h term.h $(CSOURCE1) $(CSOURCE2) \
  1156. !     $(CSOURCE3) $(CSOURCE4) $(CSOURCE5) $(CSOURCE6) $(CSOURCE7)\
  1157. !      $(CSOURCE8) $(NEXTSRC)
  1158.   
  1159. + DOCS  = $(DOCS1) $(DOCS2) $(DOCS3)
  1160.   lint:
  1161.       lint -hx $(SOURCES)
  1162.   
  1163. ***************
  1164. *** 704,707 ****
  1165. --- 682,712 ----
  1166.   
  1167.   gnuplot.sh15: $(BETA)
  1168.       shar $(BETA) > gnuplot.sh15
  1169. + tar: $(ETC) $(SOURCES) $(PC) $(DEMOS) $(BETA) $(DOCS)
  1170. +     $(TAR) cvf /tmp/gnuplot.tar $(ETC) $(SOURCES) $(PC)\
  1171. +          $(DEMOS) $(BETA) $(DOCS)
  1172. + rcsdoc:
  1173. +     rcs -o-$(RCSOLD) -l$(RCSVER) $(DOCS)
  1174. + rcs:
  1175. +     rcs -l$(RCSVER) -c$(RCSCOM) $(ETC) $(SOURCES) $(PC)
  1176. + ci:
  1177. +     ci -l$(RCSVER) -m$(RCSCOM) $(SOURCES) $(PC) $(ETC)
  1178. + cidoc:
  1179. +     ci -l$(RCSVER) -m$(RCSCOM) $(DOCS)
  1180. + cidemo:
  1181. +     ci -l$(RCSVER) -m$(RCSCOM) $(DEMOS)
  1182. + co:
  1183. +     co -l -r$(RCSVER) $(ETC) $(SOURCES) $(PC)
  1184. + codoc:
  1185. +     co -l -r$(RCSVER) $(DOCS)
  1186. + codemo:
  1187. +     co -l -r$(RCSVER) $(DEMOS)
  1188.   
  1189.