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

Annotation of OpenXM_contrib/gnuplot/makefile.msc, Revision 1.1.1.2

1.1       maekawa     1: #
1.1.1.2 ! maekawa     2: # $Id: makefile.msc,v 1.5 1998/10/09 14:31:24 lhecking Exp $
1.1       maekawa     3: #
                      4: # Make file for use with Microsoft C  Version 5.10
                      5: # and Microsoft Program Maintenance Utility  Version 4.07
                      6: #
                      7:
                      8: # where to place gnuplot.gih helpfile
                      9: HELPFILE = gnuplot.gih
                     10:
                     11: # /c  means don't link
                     12: # /AL means large memory model (large code, large data)
                     13: # /DPC means define symbol PC
                     14: # /DLITE means no hiddenline removal
                     15: # /Gt means no 64k segment problem
                     16: # /Gt16 means all data items larger than 16 byte allocated outside
                     17: #      default DATA segment thus providing more Stack space
                     18: # /G2 means 80286 code
                     19: # /Og /Gs global optimization, no stack probes
                     20: # /FPi87    use inline 80x87 code (requires 486 or x87 Copro)
                     21: # CFLAGS = /c /AL /DPC #/DMSDOS #/Zi #/Od
                     22: # CFLAGS = /c /AL /G2 /Gt16 /Zi /Od /DPC /DREADLINE
                     23: CFLAGS = /c /AL /EM /G2 /Gt16 /Gs /Og /FPi87 /DPC /DREADLINE /DLITE /D__MSC__ /DHAVE_STRNICMP /nologo
                     24: # CFLAGS = /c /AL /Gt16 /Gs /Og /DPC /DREADLINE
                     25: # CFLAGS = /c /AL /EM /DPC /DREADLINE /DLITE /Gt /D__MSC__ #/Zi #/Od
                     26:
                     27: # see other terminal defines in term.h
                     28: TERMFLAGS =
                     29:
                     30: # /NOE means NO EXTernal Dictionary
                     31: # /EX  means pack EXE file
                     32: # /ST:10000 means stack size 10000 bytes
                     33: LINKFLAGS = /NOE /EX /ST:30000 /ONERROR:NOEXE #/codeview
                     34:
                     35: OBJS =         bitmap.obj command.obj contour.obj eval.obj graphics.obj graph3d.obj \
                     36:        help.obj internal.obj misc.obj parse.obj plot.obj plot2d.obj \
                     37:        plot3d.obj readline.obj scanner.obj set.obj show.obj standard.obj \
                     38:        stdfn.obj term.obj util.obj version.obj pcgraph.obj hrcgraph.obj \
                     39:        corgraph.obj specfun.obj binary.obj interpol.obj fit.obj matrix.obj \
                     40:        datafile.obj alloc.obj
                     41:
                     42: CSOURCE5 = term\aed.trm term\cgi.trm term/dumb.trm term/dxf.trm term\dxy.trm \
                     43:        term\eepic.trm term\epson.trm term\fig.trm term\hp26.trm \
                     44:        term\hp2648.trm term\hpgl.trm term\hpljii.trm
                     45: CSOURCE6 = term\impcodes.h term\imagen.trm term\object.h \
                     46:        term\iris4d.trm term\kyo.trm term\latex.trm term/pbm.trm term\pc.trm
                     47: CSOURCE7 = term\post.trm term\qms.trm term\regis.trm term\sun.trm \
                     48:        term\t410x.trm term\tek.trm term\unixpc.trm term\unixplot.trm \
                     49:        term\v384.trm term\x11.trm
                     50: CSOURCE8 = contour.c binary.c
                     51: CC     = clx
                     52: # default rules
                     53: .c.obj:
                     54:        $(CC) $(CFLAGS) $*.c
                     55:
                     56: .asm.obj:
                     57:        masm $*;
                     58:
                     59: default: gnuplot.exe $(HELPFILE) demo\bf_test.exe
                     60:
                     61: # FYI gnuplot.opt contains a list of the corefiles...
                     62: # (eg COPY gnuplot.opt linkopt.msc  gets most of these)
                     63:
                     64: linkopt.msc: makefile.msc
                     65:       echo hrcgraph+corgraph+graph3d+(contour)+ >linkopt.msc
                     66:       echo pcgraph+term+graphics+bitmap+ >>linkopt.msc
                     67:       echo (set)+(show)+(help)+(specfun)+(binary)+ >>linkopt.msc
                     68:       echo plot+plot2d+plot3d+command+internal+interpol+misc+readline+ >>linkopt.msc
                     69:       echo parse+eval+scanner+standard+stdfn+util+ >>linkopt.msc
                     70:       echo (version)+(fit+matrix)+datafile+alloc >>linkopt.msc
                     71:       echo gnuplot >>linkopt.msc
                     72:       echo nul; >>linkopt.msc
                     73:
                     74: pcgraph.obj: pcgraph.asm header.mac lineproc.mac
                     75:
                     76: corgraph.obj: corgraph.asm header.mac lineproc.mac
                     77:
                     78: hrcgraph.obj: hrcgraph.asm header.mac lineproc.mac
                     79:
                     80: binary.obj: binary.c
                     81:
                     82: bitmap.obj: bitmap.c bitmap.h plot.h
                     83:
                     84: command.obj: command.c plot.h setshow.h help.h
                     85:        $(CC) $(CFLAGS) /DHELPFILE=\"$(HELPFILE)\" command.c
                     86:
                     87: contour.obj: contour.c plot.h
                     88:
                     89: eval.obj: eval.c plot.h
                     90:
                     91: gnubin.obj: gnubin.c
                     92:
                     93: graphics.obj: graphics.c plot.h setshow.h
                     94:
                     95: graph3d.obj: graphics.c plot.h setshow.h
                     96:
                     97: fit.obj: fit.c fit.h matrix.h plot.h
                     98:
                     99: matrix.obj: matrix.c matrix.h fit.h
                    100:
                    101: help.obj: help.c plot.h help.h
                    102:
                    103: internal.obj: internal.c plot.h
                    104:
                    105: misc.obj: misc.c plot.h setshow.h
                    106:
                    107: parse.obj: parse.c plot.h
                    108:
                    109: plot.obj: plot.c plot.h setshow.h
                    110:
                    111: readline.obj: readline.c
                    112:
                    113: scanner.obj: scanner.c plot.h
                    114:
                    115: set.obj: set.c plot.h setshow.h
                    116:
                    117: show.obj: show.c plot.h setshow.h
                    118:        $(CC) $(CFLAGS) /DHELPFILE=\"$(HELPFILE)\" show.c
                    119:
                    120: standard.obj: standard.c plot.h
                    121:
                    122: stdfn.obj: stdfn.c stdfn.h
                    123:
                    124: specfun.obj: specfun.c plot.h
                    125:
                    126: interpol.obj: interpol.c plot.h setshow.h
                    127:
                    128: term.obj: term.c term.h plot.h setshow.h bitmap.h $(CSOURCE5) $(CSOURCE6) $(CSOURCE7)
                    129:        $(CC) $(CFLAGS) $(TERMFLAGS) /Iterm term.c
                    130:
                    131: util.obj: util.c plot.h
                    132:
                    133: version.obj: version.c
                    134:
                    135: # convert gnuplot.doc to gnuplot.gih
                    136: doc2gih.exe: docs\doc2gih.c docs\termdoc.c
                    137:        $(CC) /Fedoc2gih.exe docs\doc2gih.c docs\termdoc.c
                    138:
                    139: $(HELPFILE): doc2gih.exe docs\gnuplot.doc
                    140:        doc2gih docs\gnuplot.doc $(HELPFILE)
                    141:
                    142: # Object files in link command line are ordered to avoid far jumps.
                    143: # use linkopt.msc to avoid command-line overflow
                    144:
                    145: gnuplot.exe: $(OBJS) linkopt.msc
                    146:  link $(LINKFLAGS) @linkopt.msc
                    147:
                    148: #make binary demo files
                    149: demo\bf_test.exe: bf_test.c dbinary.obj alloc.obj
                    150:       $(CC) /AL /DPC /D__MSC__ /F 5000 /Gt /W1 /Fedemo\bf_test.exe bf_test.c dbinary.obj alloc.obj
                    151:       cd demo
                    152:       bf_test
                    153:       cd ..
                    154:
                    155: dbinary.obj: binary.c
                    156:       $(CC) /c /AL /DPC /D__MSC__ /F 5000 /Gt /W1 /Fodbinary.obj binary.c
                    157:
                    158: # clean up temporary files
                    159: clean:
                    160:       del *.obj
                    161:       del gnuplot.map
                    162:       del demo\bf_test.exe
                    163:       del linkopt.msc
                    164:
                    165: veryclean: clean
                    166:       del gnuplot.exe
                    167:       del $(HELPFILE)
                    168:       del demo\binary1
                    169:       del demo\binary2
                    170:       del demo\binary3
                    171:

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