# # copyright 1987,1988 by Donna Converse and Joel Welling, Pittsburgh # Supercomputing Center # # Makefile for "gplot" # Pittsburgh Supercomputing Center CGM Metacode Translator # and the MIT X Window System Version 11 Protocol Release 2 driver # # To add device drivers, include the following -D qualifiers on the # CFLAGS line below: # # inctty tty controller (always include this!) # incxws X window system driver # incps postscript driver # inctek tektronix terminal driver # incsun Sun CGI driver # inccgmc clear text CGM driver # inccgmb binary CGM driver # # and also include the following files in the OBJ symbol definition: # # tty.o tty controller (always include this!) # ps.o postscript driver # tek.o tektronix terminal driver # sundriv.o Sun CGI driver # all xws_ .o files X window system driver # cgmc.o clear text CGM driver # cgmb.o binary CGM driver # # You must also uncomment the lines including related libraries below. CFLAGS = -O -Dinctty -Dincps -Dinctek -Dinccgmc -Dinccgmb OBJ = gplot.o cgm.o ccgm.o utils.o io.o tty.o carray.o devices.o \ pkras.o drvcla.o ps.o tek.o cgmc.o cgmb.o XWS_SRC = xws_setup.c xws_delimiter.c xws_color.c xws_polyline.c \ xws_polygon.c xws_marker.c xws_text.c xws_cellarray.c # To include the X11 driver, uncomment the next line to include # the Athena Widget library, the X Toolkit library, and Xlib. #XLIBS = -lXaw -lXt -lX11 # To include the Sun driver, uncomment the next line to include # the Sunwindows, pixrect, and cgi libraries. #SLIBS = -lcgi -lsunwindow -lpixrect LIBS = $(XLIBS) $(SLIBS) -lm gplot: $(OBJ) cc $(CFLAGS) -o $@ $(OBJ) $(LIBS) # controlling GPLOT program gplot.o: defs.h # all of the cgm specific stuff cgm.o: defs.h # all of the clear text cgm specific stuff ccgm.o: defs.h ccdefs.h # utility functions utils.o: defs.h # I/O routines io.o: defs.h # devices interface devices.o: defs.h # Cell Array libraries carray.o: defs.h drvcla.o: defs.h # decoding for the PK format files pkras.o: defs.h #TTY controller tty.o: defs.h # Postscript device ps.o: defs.h # Tektronix devices tek.o: defs.h # Clear text CGM driver cgmc.o: defs.h # Binary CGM driver cgmb.o: defs.h # Sun CGI driver sundriv.o: defs.h #-------------- X Window System driver -------------------------- xws_setup.o: /usr/include/stdio.h \ /usr/include/strings.h \ /usr/include/X11/Intrinsic.h \ /usr/include/X11/StringDefs.h \ /usr/include/X11/Viewport.h \ /usr/include/X11/Xutil.h \ /usr/include/X11/cursorfont.h \ defs.h xws_defs.h xws_delimiter.o: /usr/include/stdio.h \ /usr/include/strings.h \ /usr/include/X11/Intrinsic.h \ /usr/include/X11/Xutil.h \ defs.h xws_defs.h xws_color.o: /usr/include/stdio.h \ /usr/include/math.h \ /usr/include/X11/Intrinsic.h \ /usr/include/X11/Xutil.h \ /usr/include/X11/Xatom.h \ defs.h xws_defs.h xws_color.h xws_polyline.o: /usr/include/X11/Intrinsic.h \ defs.h xws_defs.h xws_polygon.o: /usr/include/stdio.h \ /usr/include/X11/Intrinsic.h \ defs.h xws_defs.h xws_fill.h xws_marker.o: /usr/include/X11/Intrinsic.h \ defs.h xws_defs.h xws_text.o: /usr/include/strings.h \ /usr/include/X11/Intrinsic.h \ /usr/include/X11/Xatom.h \ defs.h xws_defs.h xws_cellarray.o: /usr/include/stdio.h \ /usr/include/math.h \ /usr/include/X11/Intrinsic.h \ defs.h xws_defs.h xws_color.h #-----------------------------------------------------------------------------