[BACK]Return to makefile.os9 CVS log [TXT][DIR] Up to [local] / OpenXM_contrib / gnuplot

Annotation of OpenXM_contrib/gnuplot/makefile.os9, Revision 1.1

1.1     ! maekawa     1: ############################################################
        !             2: #
        !             3: # $Id: makefile.os9,v 1.4 1998/04/14 00:15:55 drd Exp $
        !             4: #
        !             5: # GNUPLOT 3.7 makefile (X11 support) for OS-9 and Ultra C
        !             6: #   by Martijn Schipper 18-6-1996
        !             7: #   schipper@iri.tudelft.nl
        !             8: #
        !             9: # Original version by:
        !            10: #   oliveria@caen.engin.umich.edu
        !            11: #   Wed, 3 Jul 91 14:31:37 -0400
        !            12: #
        !            13:
        !            14: # From here, check for right paths and flags
        !            15: # Correct them, if You want
        !            16:
        !            17: # Where to send email about bugs and comments
        !            18: EMAIL=schipper@iri.tudelft.nl
        !            19:
        !            20: # where to place gnuplot.gih helpfile
        !            21: HELPFILE = /dd/SYS/gnuplot.gih
        !            22:
        !            23: # Installation of X11 support...
        !            24: #
        !            25: # Choose one of the following variants: X11 or no X11
        !            26: # Install X11 support
        !            27: PLOTXFLAG   = -DX11
        !            28: GNUPLOT_X11 = gnuplot_X11
        !            29: # Do not support X11
        !            30: # GNUPLOT_X11 =
        !            31: # PLOTXFLAG   =
        !            32:
        !            33: # Compiler, must be ANSI compatible
        !            34: LC     = cc
        !            35: CC     = cc
        !            36: RDIR = .
        !            37: SDIR = /dd/PRJ/GNUPLOT
        !            38:
        !            39: # macros for makefile.all
        !            40: O = r
        !            41: T = TERM/
        !            42: D = DOCS/
        !            43: L = DOCS/LATEXTUT
        !            44: M = DEMO/
        !            45:
        !            46: DEBUG = -g
        !            47: #DEBUG =
        !            48: CDFLAGS = -DOSK -DPIPES -DREADLINE -DNO_SYS_TYPES_H -DHAVE_LOCALE \
        !            49:                $(PLOTXFLAG)
        !            50: CFLAGS = $(DEBUG) -td=/h0 -tp=020ld $(CDFLAGS)
        !            51: CCFLAGS = -eas=$(RDIR)
        !            52:
        !            53: LFLAGS = -tp020scld $(DEBUG)
        !            54:
        !            55: # see other terminal defines in term.h
        !            56: TERMFLAGS = $(PLOTXFLAG)
        !            57:
        !            58: # Where to write gnuplot and gnuplot_X11
        !            59: ODIR   = /dd/USR/CMDS
        !            60:
        !            61: # Give UNIX compatibility library
        !            62: # Obsolete, Unix functions now in os9.c
        !            63: #LIBS = -l=/dd/USR/LIB/unixlib.l -l=sys_clib.l
        !            64: LIBS = -l=sys_clib.l
        !            65:
        !            66: # Where to find X-Window and socket libs
        !            67: XLIB      = /dd/MWOS/OS9/68020/LIB/X11/libX11.l
        !            68: UFLIB     = /dd/MWOS/OS9/68020/LIB/X11/uf.l
        !            69: SOCKLIB   = socklib.l
        !            70: NETLIB    = netdb.l
        !            71:
        !            72: # X11FLAGS and X11LIBS for linking with cc, obsolete for no X11 support
        !            73: X11FLAGS = $(DEBUG) -m=64
        !            74: X11LIBS = -l=$(XLIB) -l=$(UFLIB) -l=$(NETLIB) -l=$(SOCKLIB)
        !            75:
        !            76: # From here, things should be all right
        !            77: ####################################################################
        !            78:
        !            79: #
        !            80: # make complete project
        !            81: #
        !            82: gnuplot.project: $(HELPFILE) $(GNUPLOT_X11) gnuplot bf_test $(M)binary1
        !            83:        echo "gnuplot ready to go!"
        !            84:
        !            85: #
        !            86: # convert gnuplot.doc to gnuplot.gih
        !            87: #
        !            88: $(HELPFILE): doc2gih $(D)gnuplot.doc
        !            89:        $(ODIR)/doc2gih <$(D)gnuplot.doc >-$(HELPFILE)
        !            90:        attr -pr $(HELPFILE)
        !            91:
        !            92: doc2gih: $(RDIR)/doc2gih.$(O) $(RDIR)/termdoc.$(O)
        !            93:        $(LC) $(LFLAGS) $(RDIR)/doc2gih.$(O) $(RDIR)/termdoc.$(O) -f=$(ODIR)/$@
        !            94:
        !            95: $(RDIR)/doc2gih.$(O): $(D)doc2gih.c
        !            96:        $(CC) $(CFLAGS) $(CCFLAGS) -v=$(SDIR) -v=TERM $(D)doc2gih.c
        !            97:
        !            98: $(RDIR)/termdoc.$(O): $(D)termdoc.c
        !            99:        $(CC) $(CFLAGS) $(CCFLAGS) -v=$(SDIR) -v=TERM $(D)termdoc.c
        !           100:
        !           101: #
        !           102: # For X11 support generate gnuplot_X11
        !           103: # I have only old X11 R4 libraries, that is the reason for using compatability
        !           104: # mode for compiling and linking gnuplot_x11
        !           105: #
        !           106: gnuplot_X11: $(RDIR)/gplt_x11.$(O) $(RDIR)/stdfn.$(O)
        !           107:        $(LC) -mode=compat $(DEBUG) -q -m=64 $(X11LIBS) $(RDIR)/gplt_x11.$(O) \
        !           108:        $(RDIR)/stdfn.$(O) -n=$@ -f=$(ODIR)/$@
        !           109:        attr -pepr $(ODIR)/$@
        !           110:
        !           111: $(RDIR)/gplt_x11.$(O): gplt_x11.c
        !           112:        $(CC) -mode=compat -t=/r0 -q $(DEBUG) -DOS9 -v=/dd/MWOS/SRC/DEFS/X11 \
        !           113:        -v=/dd/MWOS/SRC/DEFS/ELTEC $(CDFLAGS) -r=$(RDIR) gplt_x11.c
        !           114:
        !           115: #
        !           116: # Create binary datafiles for the binary demo
        !           117: #
        !           118: $(M)binary1 $(M)binary2 $(M)binary3: bf_test
        !           119:        (chd DEMO; bf_test)
        !           120:
        !           121: BFTESTOBJS = $(RDIR)/bf_test.$(O) $(RDIR)/binary.$(O) $(RDIR)/alloc.$(O)
        !           122:
        !           123: bf_test: $(BFTESTOBJS)
        !           124:        $(LC) $(LFLAGS) $(LIBS) $(BFTESTOBJS) -f=$(ODIR)/$@
        !           125:        attr -pepr $(ODIR)/$@
        !           126:
        !           127: include makefile.all
        !           128:
        !           129: OBJS = $(COREOBJS) os9.$(O) version.$(O)
        !           130:
        !           131: #
        !           132: # Link the gnuplot program
        !           133: #
        !           134: gnuplot: $(OBJS)
        !           135:        $(LC) $(LFLAGS) -olM=64 $(OBJS) $(LIBS) -f=$(ODIR)/$@
        !           136:        attr -pepr $(ODIR)/$@
        !           137:
        !           138: #
        !           139: # Now, produce the object files
        !           140: #
        !           141:
        !           142: # include makefile.all for the second time for simple dependencies
        !           143: include makefile.all
        !           144:
        !           145: command.$(O): command.c
        !           146:        $(CC) $(CFLAGS) -DHELPFILE=\"$(HELPFILE)\" $(CCFLAGS) command.c
        !           147:
        !           148: show.$(O): show.c
        !           149:        $(CC) $(CFLAGS) -DHELPFILE=\"($HELPFILE)\" $(CCFLAGS) show.c
        !           150:
        !           151: term.$(O): term.c $(CORETERM)
        !           152:        $(CC) $(CFLAGS) $(TERMFLAGS) -v=TERM -v=$(SDIR) $(CCFLAGS) term.c
        !           153:
        !           154: version.$(O): version.c
        !           155:        $(CC) $(CFLAGS) -DCONTACT="$(EMAIL)" $(CCFLAGS) version.c
        !           156:
        !           157: ### end ###

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>