home *** CD-ROM | disk | FTP | other *** search
/ The UNIX CD Bookshelf / OREILLY_TUCB_UNIX_CD.iso / upt / examples / SOURCES / IPL / I386 / IPL. next >
Encoding:
Text File  |  1998-07-24  |  2.5 KB  |  101 lines

  1. *** src/constraint_check.c.orig    Tue Dec 15 11:05:55 1992
  2. --- src/constraint_check.c    Tue Dec 15 11:05:35 1992
  3. ***************
  4. *** 14,19 ****
  5. --- 14,21 ----
  6.       * No enforcement done here for these types..
  7.   */
  8.   #include <stdio.h>
  9. + #include <stdlib.h>
  10. + #include <ctype.h>
  11.   #include "../install.h"
  12.   
  13.   constraint_check( value, constraint )
  14. ***************
  15. *** 20,26 ****
  16.   char value[], constraint[];
  17.   {
  18.   char token[30], val[30], cn[5][8];
  19. ! double atof(), fval, high, low;
  20.   int i, j, multi, rtnval, nct, ix;
  21.   
  22.   if( strlen( value ) < 1 ) return( 1 ); /* empty */
  23. --- 22,28 ----
  24.   char value[], constraint[];
  25.   {
  26.   char token[30], val[30], cn[5][8];
  27. ! double fval, high, low;
  28.   int i, j, multi, rtnval, nct, ix;
  29.   
  30.   if( strlen( value ) < 1 ) return( 1 ); /* empty */
  31. *** src/graphic.d.orig    Tue Dec 15 11:09:18 1992
  32. --- src/graphic.d    Tue Dec 15 10:47:55 1992
  33. ***************
  34. *** 2,9 ****
  35.   /* Notes:    Calls to NTtext should be always preceded by an NTmov() call.
  36.   */
  37.   #include <stdio.h>
  38.   #include <math.h>
  39. ! #include <strings.h>
  40.   
  41.   #define YES 1
  42.   #define NO 0
  43. --- 2,10 ----
  44.   /* Notes:    Calls to NTtext should be always preceded by an NTmov() call.
  45.   */
  46.   #include <stdio.h>
  47. + #include <stdlib.h>
  48.   #include <math.h>
  49. ! #include <string.h>
  50.   
  51.   #define YES 1
  52.   #define NO 0
  53. *** src/Makefile.orig    Fri Dec 11 11:18:44 1992
  54. --- src/Makefile    Fri Dec 11 12:31:42 1992
  55. ***************
  56. *** 1,7 ****
  57.   # Makefile for IPL source    1-21-90 scg
  58.   #
  59.   #
  60. ! CC=gcc -DNOSUNVIEW
  61.   
  62.   IPL_OBJ = areadef.o areadress.o arrow.o bargraph.o boxplot.o \
  63.   distribution.o draw.o errorbars.o exit.o \
  64. --- 1,7 ----
  65.   # Makefile for IPL source    1-21-90 scg
  66.   #
  67.   #
  68. ! CC=cc -DNOSUNVIEW
  69.   
  70.   IPL_OBJ = areadef.o areadress.o arrow.o bargraph.o boxplot.o \
  71.   distribution.o draw.o errorbars.o exit.o \
  72. ***************
  73. *** 14,20 ****
  74.   
  75.   PICK_OBJ = dataclick.o get_point.o pick.o siplmenu.o viplmenu.o
  76.   
  77. ! GDP_OBJ = main.o gget.o constraint_check.o util.o
  78.   
  79.   DRIVER_OBJ = iplps.o pcode.o
  80.   
  81. --- 14,20 ----
  82.   
  83.   PICK_OBJ = dataclick.o get_point.o pick.o siplmenu.o viplmenu.o
  84.   
  85. ! GDP_OBJ = main.o gget.o constraint.o util.o
  86.   
  87.   DRIVER_OBJ = iplps.o pcode.o
  88.   
  89. ***************
  90. *** 32,37 ****
  91. --- 32,40 ----
  92.   # ipl: $(IPL_OBJ) $(GRAPHIC_OBJ) $(GDP_OBJ) $(PICK_OBJ) $(DRIVER_OBJ) $(LIB_OBJ)
  93.   #    cc $(IPL_OBJ) $(GRAPHIC_OBJ) $(GDP_OBJ) $(PICK_OBJ) $(DRIVER_OBJ) $(LIB_OBJ) \
  94.   #      $(LIBES) -o ../bin/ipl
  95. + constraint.c: constraint_check.c
  96. +     cp constraint_check.c constraint.c
  97.   
  98.   $(GRPAHIC_OBJ) $(IPL_OBJ) $(GDP_OBJ) : ../install.h
  99.   $(GRAPHIC_OBJ) : graphic.h
  100.