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

Annotation of OpenXM_contrib/gnuplot/makefile.emx, Revision 1.1.1.1

1.1       maekawa     1: #
                      2: # Make file for use with emx-0.8f/gcc and ndmake 4.5
                      3: # for compiling for MS-DOS
                      4: #
                      5: # This version has had very little testing.
                      6:
                      7: EMXPATH = c:/emx
                      8:
                      9: # uncomment the following two lines if you have
                     10: # Johannes Martin's SVGA/VESA extensions
                     11: # A VESA 1.2 compatible display, and the vesa_emx.com TSR are required.
                     12: # "set term vgal" needs vesa_ibm.com with svgakit/vesa_emx version 1.2.
                     13: # VESA = -DEMXVESA
                     14: # VESALIB = -lvesa
                     15:
                     16: # where to place gnuplot.gih helpfile
                     17: HELPFILE = gnuplot.gih
                     18:
                     19: CFLAGS = -c -O2 -DMSDOS -DDOS32 -DANSI_C -DREADLINE -DHAVE_STRNICMP
                     20:
                     21: # see other terminal defines in term.h
                     22: TERMFLAGS = -DEMXVGA $(VESA)
                     23:
                     24: OBJS =         bitmap.o command.o contour.o eval.o graphics.o graph3d.o \
                     25:        help.o internal.o misc.o parse.o plot.o plot2d.o plot3d.o readline.o \
                     26:        specfun.o scanner.o set.o show.o standard.o stdfn.o term.o time.o \
                     27:        util.o version.o binary.o interpol.o fit.o matrix.o datafile.o alloc.o
                     28:
                     29: CSOURCE5 = term\aed.trm term\cgi.trm term/dumb.trm term/dxf.trm term\dxy.trm \
                     30:        term\eepic.trm term\epson.trm term\fig.trm term\hp26.trm \
                     31:        term\hp2648.trm term\hpgl.trm term\hpljii.trm
                     32: CSOURCE6 = term\impcodes.h term\imagen.trm term\object.h \
                     33:        term\iris4d.trm term\kyo.trm term\latex.trm term/pbm.trm term\pm.trm
                     34: CSOURCE7 = term\post.trm term\qms.trm term\regis.trm term\sun.trm \
                     35:        term\t410x.trm term\tek.trm term\unixpc.trm term\unixplot.trm \
                     36:        term\v384.trm term\x11.trm term\emxvga.trm
                     37: CSOURCE8 = contour.c
                     38:
                     39: all: gnuplotx.exe $(HELPFILE)
                     40:
                     41: # default rules
                     42: CCC = gcc $(CFLAGS) -o $*.o $*.c
                     43:
                     44: gnuplotx.exe: $(OBJS) emxlink.rsp
                     45:         gcc -o gnuplot @emxlink.rsp -lm -lgraph $(VESALIB)
                     46:        emxbind $(EMXPATH)/bin/emx.exe gnuplot gnuplotx.exe -p -acmi
                     47:
                     48: emxlink.rsp: makefile.emx
                     49:        echo bitmap.o> emxlink.rsp
                     50:        echo command.o>> emxlink.rsp
                     51:        echo contour.o>> emxlink.rsp
                     52:        echo eval.o>> emxlink.rsp
                     53:        echo graphics.o>> emxlink.rsp
                     54:        echo graph3d.o>> emxlink.rsp
                     55:        echo help.o>> emxlink.rsp
                     56:        echo internal.o>> emxlink.rsp
                     57:        echo misc.o>> emxlink.rsp
                     58:        echo parse.o>> emxlink.rsp
                     59:        echo plot.o>> emxlink.rsp
                     60:        echo plot2d.o>> emxlink.rsp
                     61:        echo plot3d.o>> emxlink.rsp
                     62:        echo readline.o>> emxlink.rsp
                     63:        echo specfun.o>> emxlink.rsp
                     64:        echo interpol.o>> emxlink.rsp
                     65:        echo scanner.o>> emxlink.rsp
                     66:        echo set.o>> emxlink.rsp
                     67:        echo show.o>> emxlink.rsp
                     68:        echo standard.o>> emxlink.rsp
                     69:        echo stdfn.o>> emxlink.rsp
                     70:        echo term.o>> emxlink.rsp
                     71:        echo time.o>> emxlink.rsp
                     72:        echo util.o>> emxlink.rsp
                     73:        echo version.o>> emxlink.rsp
                     74:        echo binary.o>> emxlink.rsp
                     75:        echo fit.o>> emxlink.rsp
                     76:        echo matrix.o>> emxlink.rsp
                     77:        echo datafile.o>> emxlink.rsp
                     78:        echo alloc.o>> emxlink.rsp
                     79:
                     80: bitmap.o: bitmap.c bitmap.h plot.h
                     81:        $(CCC)
                     82:
                     83: binary.o: binary.c plot.h
                     84:        $(CCC)
                     85:
                     86: command.o: command.c plot.h setshow.h help.h fit.h
                     87:        $(CCC) -DHELPFILE=\"$(HELPFILE)\"
                     88:
                     89: contour.o: contour.c plot.h
                     90:        $(CCC)
                     91:
                     92: eval.o: eval.c plot.h
                     93:        $(CCC)
                     94:
                     95: graphics.o: graphics.c plot.h setshow.h
                     96:        $(CCC)
                     97:
                     98: graph3d.o: graph3d.c plot.h setshow.h
                     99:        $(CCC)
                    100:
                    101: fit.o: fit.c fit.h matrix.h plot.h
                    102:        $(CCC)
                    103:
                    104: matrix.o: matrix.c matrix.h fit.h
                    105:        $(CCC)
                    106:
                    107: help.o: help.c plot.h help.h
                    108:        $(CCC)
                    109:
                    110: internal.o: internal.c plot.h
                    111:        $(CCC)
                    112:
                    113: misc.o: misc.c plot.h setshow.h
                    114:        $(CCC)
                    115:
                    116: parse.o: parse.c plot.h
                    117:        $(CCC)
                    118:
                    119: plot.o: plot.c plot.h setshow.h
                    120:        $(CCC)
                    121:
                    122: plot2d.o: plot2d.c plot.h
                    123:        $(CCC)
                    124:
                    125: plot3d.o: plot3d.c plot.h
                    126:        $(CCC)
                    127:
                    128: readline.o: readline.c
                    129:        $(CCC)
                    130:
                    131: scanner.o: scanner.c plot.h
                    132:        $(CCC)
                    133:
                    134: set.o: set.c plot.h setshow.h
                    135:        $(CCC)
                    136:
                    137: show.o: show.c plot.h setshow.h
                    138:        $(CCC) -DHELPFILE=\"$(HELPFILE)\"
                    139:
                    140: specfun.o: specfun.c plot.h
                    141:        $(CCC)
                    142:
                    143: interpol.o: interpol.c plot.h setshow.h
                    144:        $(CCC)
                    145:
                    146: standard.o: standard.c plot.h
                    147:        $(CCC)
                    148:
                    149: stdfn.o: stdfn.c stdfn.h
                    150:        $(CCC)
                    151:
                    152: term.o: term.c term.h plot.h setshow.h bitmap.h $(CSOURCE5) $(CSOURCE6) $(CSOURCE7)
                    153:        $(CCC) $(TERMFLAGS) -Iterm -I.
                    154:
                    155: time.o : time.c
                    156:        $(CCC)
                    157:
                    158: util.o: util.c plot.h
                    159:        $(CCC)
                    160:
                    161: version.o: version.c
                    162:        $(CCC)
                    163:
                    164: # convert gnuplot.doc to gnuplot.gih
                    165: doc2gih.exe: docs\doc2gih.c docs\termdoc.c
                    166:        gcc -o doc2gih -I. docs/doc2gih.c docs/termdoc.c
                    167:        emxbind $(EMXPATH)/bin/emx.exe doc2gih doc2gih.exe
                    168:
                    169: $(HELPFILE): doc2gih.exe docs\gnuplot.doc
                    170:        doc2gih docs\gnuplot.doc $(HELPFILE)
                    171:
                    172: clean:
                    173:        del *.o
                    174:        del emxlink.rsp
                    175:        del gnuplot
                    176:        del doc2gih
                    177:
                    178: # veryclean target - remove all files created by the makefile
                    179:
                    180: veryclean: clean
                    181:        del gnuplot.exe
                    182:        del doc2gih.exe
                    183:        del gnuplot.gih
                    184:
                    185:

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