home *** CD-ROM | disk | FTP | other *** search
/ CICA 1995 May / cica_0595_4.zip / cica_0595_4 / UTIL / GPT34SRC / MAKEFILE.G < prev    next >
Text File  |  1993-05-31  |  3KB  |  94 lines

  1. # This file is for GRASS, a geographic information system. 
  2. # To compile, make modifications below (if necessary) then
  3. # % ln -s makefile.g Gmakefile
  4. # % gmake4.0
  5. #
  6. # NOTE: this creates a binary called 'g.gnuplot' and is located in
  7. #       $GISBASE/bin.  
  8. #       A help file is installed in $(GISBASE)/man/helpp/gnuplot.gih
  9. #
  10. # GRASS driver written by:
  11. # James Darrell McCauley          Department of Ag Engr, Purdue Univ
  12. # mccauley@ecn.purdue.edu         West Lafayette, Indiana 47907-1146
  13. #
  14. # Last modified: 01 Mar 1993
  15. #
  16. # Known Bugs:  There may be a problem with fifo's. Then again, there may not.
  17. #              Drawing non-filled point types is slow.
  18. #
  19. # Things to do: modify text function to change fonts? will make g.gnuplot
  20. #               input files incompatible with gnuplot
  21. #
  22. # Modification History:
  23. # <15 Jun 1992>    First version created with GNUPLOT 3.2
  24. # <15 Feb 1993> Modified to work with frames
  25. # <16 Feb 1993> Added point types triangle (filled and unfilled), 
  26. #               inverted-triangle (filled and unfilled), 
  27. #               circle (filled and unfilled), and filled box.
  28. #               Graph is no longer erased after g.gnuplot is finished.
  29. # <01 Mar 1993> Modified to work with 3.3b9
  30. #
  31. #############################################################################
  32. # Where to send email about bugs and comments 
  33. EMAIL=grassp-list@moon.cecer.army.mil
  34.  
  35. HELPDEST=$(GISBASE)/man/helpp/gnuplot.gih
  36. #HELPDEST=docs/gnuplot.gih
  37. ################### Don't touch anything below this line ###################
  38. GTERMFLAGS = -DGRASS 
  39.  
  40. EXTRA_CFLAGS=-DREADLINE -DNOCWDRC $(GTERMFLAGS) \
  41.     -DCONTACT=\"$(EMAIL)\" -DHELPDEST=\"$(HELPDEST)\"
  42.  
  43. OFILES = \
  44.     binary.o \
  45.     bitmap.o \
  46.     command.o \
  47.     contour.o \
  48.     eval.o \
  49.     gnubin.o \
  50.     graph3d.o \
  51.     graphics.o \
  52.     help.o \
  53.     internal.o \
  54.     misc.o \
  55.     parse.o \
  56.     plot.o \
  57.     readline.o \
  58.     scanner.o \
  59.     setshow.o \
  60.     specfun.o \
  61.     standard.o \
  62.     term.o \
  63.     util.o \
  64.     version.o 
  65.  
  66. #$(BIN_MAIN_CMD)/g.gnuplot: $(OFILES) $(DISPLAYLIB) $(RASTERLIB) $(GISLIB) 
  67. g.gnuplot: $(OFILES) $(DISPLAYLIB) $(RASTERLIB) $(GISLIB) 
  68.     $(CC) $(LDFLAGS) -o $@ $(OFILES) $(DISPLAYLIB) $(RASTERLIB) $(GISLIB) $(TERMLIB) $(MATHLIB)
  69.  
  70. $(HELP): $(GISBASE)/man/helpp/g.gnuplot.gih
  71.     ( cd docs; $(MAKE) -DHELPDEST="$(HELPDEST)" gnuplot.gih )
  72.      mkdir $(GISBASE)/man/helpp
  73.      cp gnuplot.gih $(GISBASE)/man/helpp/g.gnuplot.gih
  74.  
  75. # Dependencies
  76.  
  77. #term.o: term.h term.c term/grass.trm
  78. term.o: term.h term.c 
  79.  
  80. $(OFILES): plot.h
  81.  
  82. command.o help.o misc.o: help.h
  83.  
  84. command.o graphics.o graph3d.o misc.o plot.o setshow.o term.o: setshow.h
  85.  
  86. bitmap.o term.o: bitmap.h
  87.  
  88. ################################################################
  89. $(RASTERLIB): #
  90. $(DISPLAYLIB): #
  91. $(GISLIB): #
  92.  
  93.  
  94.