home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / unix / volume26 / mytinfo / part02 / DIFFS-moderator < prev    next >
Encoding:
Text File  |  1992-12-26  |  5.4 KB  |  198 lines

  1. These were the changes I made to this package to make it easier to build
  2. and install.  The files I edited are present as *.orig.  --vix, 27dec92
  3.  
  4. Only in ../../../New/mytinfo: MANIFEST.BAK
  5. diff -r -c ./Makefile ../../../New/mytinfo/Makefile
  6. *** ./Makefile    Sun Dec 27 14:14:24 1992
  7. --- ../../../New/mytinfo/Makefile    Fri Jul 10 03:42:25 1992
  8. ***************
  9. *** 12,22 ****
  10.   
  11.   SHELL = /bin/sh
  12.   
  13. - DESTROOT =
  14. - DESTPATH = $(DESTROOT)/usr/local
  15. - DESTLIB = $(DESTPATH)/lib
  16. - DESTINC = $(DESTPATH)/include
  17.   #
  18.   # Your generic Unix C compiler.
  19.   #
  20. --- 12,17 ----
  21. ***************
  22. *** 45,51 ****
  23.   #
  24.   #RANLIB = :
  25.   
  26. ! LINKLIB = libmytinfo.a
  27.   OTHERLIB =
  28.   #
  29.   # Set LINKLIB and OTHERLIB to libmytinfo.so for ELF dynamic libs.
  30. --- 40,46 ----
  31.   #
  32.   #RANLIB = :
  33.   
  34. ! LINKLIB = mytinfo.a
  35.   OTHERLIB =
  36.   #
  37.   # Set LINKLIB and OTHERLIB to libmytinfo.so for ELF dynamic libs.
  38. ***************
  39. *** 86,116 ****
  40.   
  41.   DEFS_H = defs.h config.h fake_stdio.h
  42.   
  43. ! all: $(LINKLIB) $(OTHERLIB) term.h tconv cap2info tic clear tset tput
  44.   
  45. ! install: $(LINKLIB) term.h
  46. !     cp $(LINKLIB) $(DESTLIB); $(RANLIB) $(DESTLIB)/$(LINKLIB)
  47. !     cp term.h $(DESTINC)
  48. ! it: $(LINKLIB) $(OTHERLIB)
  49.       
  50. ! libmytinfo.a: $(OBJS)
  51. !     rm -f libmytinfo.a
  52. !     $(AR) $(ARFLAGS) libmytinfo.a $(OBJS)
  53. !     $(RANLIB) libmytinfo.a
  54.   
  55.   libmytinfo.so: $(OBJS)
  56.       ld -G -o libmytinfo.so $(OBJS)
  57.   
  58. ! libmytinfo_g.a: $(OBJS)
  59. !     rm -f libmytinfo_g.a
  60. !     $(AR) $(ARFLAGS) libmytinfo_g.a $(OBJS)
  61. !     $(RANLIB) libmytinfo_g.a
  62.   
  63. ! libmytinfo_p.a: $(OBJS)
  64. !     rm -f libmytinfo_p.a
  65. !     $(AR) $(ARFLAGS) ligmytinfo_p.a $(OBJS)
  66. !     $(RANLIB) libmytinfo_p.a
  67.   
  68.   debug: 
  69.       $(MAKE) DFLAGS=$(DEBUG) mytinfo_g.a
  70. --- 81,107 ----
  71.   
  72.   DEFS_H = defs.h config.h fake_stdio.h
  73.   
  74. ! it: mytinfo.a $(OTHERLIB)
  75.   
  76. ! all: mytinfo.a $(OTHERLIB) term.h tconv cap2info tic clear tset tput
  77.       
  78. ! mytinfo.a: $(OBJS)
  79. !     rm -f mytinfo.a
  80. !     $(AR) $(ARFLAGS) mytinfo.a $(OBJS)
  81. !     $(RANLIB) mytinfo.a
  82.   
  83.   libmytinfo.so: $(OBJS)
  84.       ld -G -o libmytinfo.so $(OBJS)
  85.   
  86. ! mytinfo_g.a: $(OBJS)
  87. !     rm -f mytinfo_g.a
  88. !     $(AR) $(ARFLAGS) mytinfo_g.a $(OBJS)
  89. !     $(RANLIB) mytinfo_g.a
  90.   
  91. ! mytinfo_p.a: $(OBJS)
  92. !     rm -f mytinfo_p.a
  93. !     $(AR) $(ARFLAGS) mytinfo_p.a $(OBJS)
  94. !     $(RANLIB) mytinfo_p.a
  95.   
  96.   debug: 
  97.       $(MAKE) DFLAGS=$(DEBUG) mytinfo_g.a
  98. Only in .: cap2info
  99. Only in .: clear.tcap
  100. Only in .: clear.tinfo
  101. diff -r -c ./config.h ../../../New/mytinfo/config.h
  102. *** ./config.h    Sun Dec 27 13:58:50 1992
  103. --- ../../../New/mytinfo/config.h    Fri Jul 10 03:42:19 1992
  104. ***************
  105. *** 20,40 ****
  106.   
  107.   #define USE_TERMIO        /* use termio (SysIII, SysV) */
  108.   #undef USE_SGTTY        /* use sgtty (v7, BSD) */
  109. ! #define USE_WINSZ        /* get window size from the tty driver */
  110.   #undef USE_STRINGS        /* include <strings.h> instead of <string.h> */
  111.   #define USE_MYBSEARCH        /* your library doesn't have bsearch */
  112. ! #define USE_MYSTRTOK        /* your library doesn't have strtok */
  113. ! #define USE_MYQSORT        /* your library doesn't have qsort */
  114. ! #define USE_MYMKDIR        /* your library doesn't have mkdir */
  115.   #define USE_MEMORY        /* you have an <memory.h> header */
  116.   #define USE_FAKE_STDIO        /* don't use real stdio */
  117.   #undef USE_DOPRNT        /* no vfprintf, use _doprnt */
  118.   
  119. ! #define USE_SHORT_BSEARCH    /* speeds up MYBSEARCH on most machines */
  120.   
  121. ! #define USE_SMALLMEM         /* save some memory */
  122.   
  123. ! #undef USE_UPBC_KLUDGE        /* do tgoto like real togo */
  124.   #undef USE_EXTERN_UPBC        /* get cuu1 and cub1 from externs UP and BC */
  125.   #undef USE_LITOUT_KLUDGE    /* an alternate tgoto kludge, not recommened */
  126.   
  127. --- 20,40 ----
  128.   
  129.   #define USE_TERMIO        /* use termio (SysIII, SysV) */
  130.   #undef USE_SGTTY        /* use sgtty (v7, BSD) */
  131. ! #undef USE_WINSZ        /* get window size from the tty driver */
  132.   #undef USE_STRINGS        /* include <strings.h> instead of <string.h> */
  133.   #define USE_MYBSEARCH        /* your library doesn't have bsearch */
  134. ! #undef USE_MYSTRTOK        /* your library doesn't have strtok */
  135. ! #undef USE_MYQSORT        /* your library doesn't have qsort */
  136. ! #undef USE_MYMKDIR        /* your library doesn't have mkdir */
  137.   #define USE_MEMORY        /* you have an <memory.h> header */
  138.   #define USE_FAKE_STDIO        /* don't use real stdio */
  139.   #undef USE_DOPRNT        /* no vfprintf, use _doprnt */
  140.   
  141. ! #undef USE_SHORT_BSEARCH    /* speeds up MYBSEARCH on most machines */
  142.   
  143. ! #undef USE_SMALLMEM         /* save some memory */
  144.   
  145. ! #define USE_UPBC_KLUDGE        /* do tgoto like real togo */
  146.   #undef USE_EXTERN_UPBC        /* get cuu1 and cub1 from externs UP and BC */
  147.   #undef USE_LITOUT_KLUDGE    /* an alternate tgoto kludge, not recommened */
  148.   
  149. diff -r -c ./fake_stdio.h ../../../New/mytinfo/fake_stdio.h
  150. *** ./fake_stdio.h    Sun Dec 27 14:10:12 1992
  151. --- ../../../New/mytinfo/fake_stdio.h    Fri Jul 10 03:42:22 1992
  152. ***************
  153. *** 58,64 ****
  154.   FILE *fdopen();
  155.   #endif
  156.   
  157. ! #if !defined(NULL) && !defined(USE_STRINGS)
  158.   #define NULL ((anyptr) 0)
  159.   #endif
  160.   
  161. --- 58,64 ----
  162.   FILE *fdopen();
  163.   #endif
  164.   
  165. ! #ifndef NULL
  166.   #define NULL ((anyptr) 0)
  167.   #endif
  168.   
  169. Only in .: libmytinfo.a
  170. Only in .: mytinfo.a
  171. Only in .: tconv
  172. Only in .: term.h
  173. diff -r -c ./term.tail ../../../New/mytinfo/term.tail
  174. *** ./term.tail    Sun Dec 27 14:11:31 1992
  175. --- ../../../New/mytinfo/term.tail    Fri Jul 10 03:42:17 1992
  176. ***************
  177. *** 8,14 ****
  178.   #ifndef ICANON
  179.   #include <termio.h>
  180.   #endif
  181. ! #if defined(_USE_WINSZ) && defined(xenix)
  182.   #include <sys/stream.h>
  183.   #include <sys/ptem.h>
  184.   #endif
  185. --- 8,14 ----
  186.   #ifndef ICANON
  187.   #include <termio.h>
  188.   #endif
  189. ! #ifdef _USE_WINSZ
  190.   #include <sys/stream.h>
  191.   #include <sys/ptem.h>
  192.   #endif
  193. Only in .: tic
  194. Only in .: tput
  195. Only in .: tset
  196.