home *** CD-ROM | disk | FTP | other *** search
/ The UNIX CD Bookshelf / OREILLY_TUCB_UNIX_CD.iso / upt / examples / SOURCES / SC / RS6000 / SC. next >
Encoding:
Text File  |  1998-07-24  |  2.2 KB  |  102 lines

  1. *** Makefile.rtr    Thu May 14 23:39:34 1992
  2. --- Makefile    Thu May 14 23:37:31 1992
  3. ***************
  4. *** 102,109 ****
  5.   FMOD=
  6.   
  7.   # If your system doesn't have notimeout() in curses define NONOTIMEOUT
  8. ! NO_NOTIMEOUT=
  9. ! #NO_NOTIMEOUT=-DNONOTIMEOUT
  10.   
  11.   # flags for lint
  12.   LINTFLAGS=-abchxv
  13. --- 102,109 ----
  14.   FMOD=
  15.   
  16.   # If your system doesn't have notimeout() in curses define NONOTIMEOUT
  17. ! #NO_NOTIMEOUT=
  18. ! NO_NOTIMEOUT=-DNONOTIMEOUT
  19.   
  20.   # flags for lint
  21.   LINTFLAGS=-abchxv
  22. ***************
  23. *** 153,161 ****
  24.   CC=gcc
  25.   
  26.   # Use this for system AIX V3.1
  27. ! #CFLAGS= -O -DSYSV2 -DCHTYPE=int -DNLS
  28. ! #LDFLAGS=
  29. ! #LIB=-lm -lPW -lcurses
  30.   
  31.   # Use this for system V.2 (includes: HP-UX 7.05, UNIXPC)
  32.   #CFLAGS= -O -DSYSV2 
  33. --- 153,161 ----
  34.   CC=gcc
  35.   
  36.   # Use this for system AIX V3.1
  37. ! CFLAGS= -O -DSYSV2 -DCHTYPE=int -DNLS
  38. ! LDFLAGS=
  39. ! LIB=-lm -lPW -lcurses
  40.   
  41.   # Use this for system V.2 (includes: HP-UX 7.05, UNIXPC)
  42.   #CFLAGS= -O -DSYSV2 
  43. ***************
  44. *** 204,212 ****
  45.   #CFLAGS= -O -DBSD42 -pipe
  46.   
  47.   # Use this for BSD 4.3
  48. ! CFLAGS= -O -DBSD43
  49. ! LDFLAGS=
  50. ! LIB=-lm -lcurses -ltermcap
  51.   
  52.   # Use this for SunOS 4.X if you have the System V package installed.
  53.   # This will link with the System V curses which is preferable to the
  54. --- 204,212 ----
  55.   #CFLAGS= -O -DBSD42 -pipe
  56.   
  57.   # Use this for BSD 4.3
  58. ! #CFLAGS= -O -DBSD43
  59. ! #LDFLAGS=
  60. ! #LIB=-lm -lcurses -ltermcap
  61.   
  62.   # Use this for SunOS 4.X if you have the System V package installed.
  63.   # This will link with the System V curses which is preferable to the
  64. *** cmds.c.orig    Mon May 11 14:43:34 1992
  65. --- cmds.c    Thu Sep 10 07:51:43 1992
  66. ***************
  67. *** 29,35 ****
  68.   #include <signal.h>
  69.   #include <errno.h>
  70.   
  71. ! #ifdef SYSV3
  72.   extern void exit();
  73.   #else
  74.   extern int exit();
  75. --- 29,35 ----
  76.   #include <signal.h>
  77.   #include <errno.h>
  78.   
  79. ! #if defined SYSV3 || defined _AIX
  80.   extern void exit();
  81.   #else
  82.   extern int exit();
  83. *** psc.c.orig    Mon May 11 14:43:37 1992
  84. --- psc.c    Thu Sep 10 07:54:50 1992
  85. ***************
  86. *** 35,41 ****
  87.   char    *progname;
  88.   int    getrow(), getcol(), scan();
  89.   
  90. ! #ifdef SYSV3
  91.   extern void exit();
  92.   #else
  93.   extern int exit();
  94. --- 35,41 ----
  95.   char    *progname;
  96.   int    getrow(), getcol(), scan();
  97.   
  98. ! #if defined SYSV3 || defined _AIX
  99.   extern void exit();
  100.   #else
  101.   extern int exit();
  102.