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

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

1.1     ! maekawa     1: # make file for Borland C++ 3.1 Windows version
        !             2: # and Win32 using Borland C++ 4 (4.52 is known to work)
        !             3: # CAVEAT: may not work correctly with BC 5 due to changes in flags
        !             4: # The compile and link includes debug flags.  Take them out if you
        !             5: # do not want them included  (-y -v -M, /m /s /v /l)
        !             6:
        !             7: # where to place wgnuplot.hlp helpfile
        !             8: HELPFILE = wgnuplot.hlp
        !             9: # location of Borland C compiler
        !            10: TC = d:\bc45
        !            11: # WIN32=1 for Win32s or Win32 (--> '95 or NT)
        !            12: # new: allow '-DWIN32=1' on make command line to take effect:
        !            13: !if "$(WIN32)"==""
        !            14: WIN32=0
        !            15: !endif
        !            16:
        !            17: !if $(WIN32)
        !            18: # name of C compiler
        !            19: # bcc32a is the pentium-scheduling compiler in BC 4.52
        !            20: !if $(PENTIUM)
        !            21: CC = bcc32a
        !            22: PROCESSOR_OPT = -5
        !            23: !else
        !            24: CC = bcc32
        !            25: PROCESSOR_OPT =
        !            26: !endif
        !            27: CCAUX = bcc
        !            28: !else
        !            29: CC = bcc
        !            30: CCAUX = bcc
        !            31: !endif
        !            32: # location of TLINK.EXE and BCC.EXE
        !            33: BIN = $(TC)\bin\\
        !            34:
        !            35: # -c means don't link
        !            36: # -ml means use large model (large code, large data)
        !            37: # -M means produce link map
        !            38: # -y means include line numbers for debugger
        !            39: # -v means include debug info
        !            40: # -w- means ignore warnings and do not report them
        !            41: # -w-rvl ignore function must return a value error
        !            42: # -Ff=128 means make data object > 128 FAR
        !            43: # -W means window application
        !            44: # -DREADLINE to use the history/line editing capability. If you want this
        !            45: #    capability add -DREADLINE to CFLAGS then add 'readline' to the /o
        !            46: #    section of the linker call.
        !            47: !if $(WIN32)
        !            48: CFLAGS = -c -W -M -G -y -v -w-rvl -w-use -w-par -w-aus -w-pro $(PROCESSOR_OPT) -I$(TC)\include -Iwin -DREADLINE=1 -DHAVE_STRNICMP -DWIN32 -DHAVE_STRERROR -DNO_GIH -DNOGAMMA -DWIN32_LEAN_AND_MEAN -DANSI_C -DHAVE_GETCWD
        !            49: CAUXFLAGS = -ml -w-par -w-use -w-aus -f -N -M -y -v -d -I$(TC)\include -DHAVE_STRNICMP -DANSI_C
        !            50: !else
        !            51: CFLAGS = -c -W -ml -w-par -w-use -w-aus -f -h -N -M -y -v -d -Ff=32 -I$(TC)\include -Iwin -DREADLINE=1 -zEGPFAR_DATA -DHAVE_STRNICMP -DMSDOS=1 -DNO_GIH -DANSI_C -DHAVE_GETCWD -DNDEBUG
        !            52: CAUXFLAGS = -ml -w-par -w-use -w-aus -f -N -M -y -v -d -I$(TC)\include -DMSDOS=1 -DHAVE_STRNICMP -DANSI_C
        !            53: !endif
        !            54:
        !            55: OBJS =         bitmap.obj command.obj contour.obj eval.obj graphics.obj graph3d.obj \
        !            56:        internal.obj misc.obj parse.obj plot.obj plot2d.obj plot3d.obj \
        !            57:        readline.obj scanner.obj set.obj show.obj specfun.obj standard.obj \
        !            58:        stdfn.obj term.obj util.obj version.obj binary.obj winmain.obj \
        !            59:        interpol.obj fit.obj matrix.obj datafile.obj alloc.obj util3d.obj \
        !            60:        hidden3d.obj time.obj help.obj
        !            61:
        !            62: DLLOBJS = wgnuplib.obj wtext.obj wmenu.obj wpause.obj wgraph.obj wprinter.obj
        !            63:
        !            64: CSOURCE5 = term\aed.trm term\cgi.trm term\cgm.trm term\debug.trm \
        !            65:        term\dumb.trm term\dxy.trm \
        !            66:        term\eepic.trm term\epson.trm term\fig.trm term\hp26.trm \
        !            67:        term\hp2648.trm term\hpgl.trm term\hpljii.trm
        !            68: CSOURCE6 = term\impcodes.h term\imagen.trm term\object.h \
        !            69:        term\iris4d.trm term\kyo.trm term\latex.trm term/pbm.trm term\win.trm
        !            70: CSOURCE7 = term\post.trm term\qms.trm term\regis.trm term\sun.trm \
        !            71:        term\t410x.trm term\tek.trm term\unixpc.trm term\unixplot.trm \
        !            72:        term\v384.trm term\x11.trm
        !            73: CSOURCE8 = contour.c specfun.c binary.c interpol.obj
        !            74: WINDOWS = makefile.win makefile.msw README.win win\wcommon.h \
        !            75:        win\wgnuplib.c win\wgnuplib.def win\wgnuplib.h win\wgnuplib.rc\
        !            76:        win\wgnuplot.def win\wgnuplot.hpj win\wgnuplot.mnu win\wgnuplot.rc \
        !            77:        win\wgraph.c win\winmain.c win\wmenu.c win\wpause.c \
        !            78:        win\wprinter.c win\wresourc.h win\wtext.c win\wtext.h \
        !            79:        win\geticon.c docs\doc2rtf.c term\win.trm win\wgnupl32.def
        !            80:
        !            81: !if $(WIN32)
        !            82: all: wgnupl32.exe $(HELPFILE) wgnuplot.mnu demo\bf_test.exe
        !            83: !else
        !            84: all: wgnuplot.exe wgnuplot.dll $(HELPFILE) wgnuplot.mnu demo\bf_test.exe
        !            85: !endif
        !            86:
        !            87: wgnuplot.exe: $(OBJS) win\wgnuplot.def win\wgnuplot.rc winmain.obj wgnuplot.lib
        !            88: #      $(BIN)tlink /Twe /c @&&!
        !            89:        $(BIN)tlink /Twe /c /s /v /l @&&!
        !            90: $(TC)\lib\C0Wl +
        !            91: bitmap command eval graphics graph3d help internal misc parse +
        !            92: plot plot2d plot3d scanner set show specfun standard stdfn term util version contour +
        !            93: binary interpol +
        !            94: winmain +
        !            95: readline +
        !            96: fit matrix datafile alloc util3d hidden3d time +
        !            97: ,wgnuplot,wgnuplot, +
        !            98: wgnuplot.lib +
        !            99: $(TC)\lib\import +
        !           100: $(TC)\lib\mathwl +
        !           101: $(TC)\lib\cwl, +
        !           102: win\wgnuplot.def
        !           103: !
        !           104:        $(BIN)brc -30 -k -i$(TC)\include win\wgnuplot.rc wgnuplot.exe
        !           105:
        !           106: # gnuplot.opt contains a list of the 'core' files, in case that's of
        !           107: # any use...
        !           108:
        !           109: wgnupl32.exe: $(OBJS) $(DLLOBJS) win\wgnupl32.def wgnupl32.res winmain.obj
        !           110: #      $(BIN)tlink32 /Tpe /c @&&!
        !           111:        $(BIN)tlink32 /Tpe /c /m /s /v @&&!
        !           112: $(TC)\lib\C0W32 +
        !           113: bitmap command eval graphics graph3d help internal misc parse +
        !           114: plot plot2d plot3d scanner set show specfun standard stdfn term util version contour +
        !           115: wgnuplib wtext wmenu wpause wgraph wprinter +
        !           116: binary interpol +
        !           117: winmain +
        !           118: readline +
        !           119: fit matrix datafile alloc util3d hidden3d time +
        !           120: ,wgnupl32,wgnupl32, +
        !           121: $(TC)\lib\import32 +
        !           122: $(TC)\lib\cw32, +
        !           123: win\wgnupl32.def, wgnupl32.res
        !           124: !
        !           125:
        !           126: wgnupl32.res: win\wgnuplot.rc win\wgnuplib.rc
        !           127:        $(BIN)brcc32 -DWIN32 -i$(TC)\include -r -fowgnupl32 win\wgnuplot.rc
        !           128:
        !           129: # default rules
        !           130:
        !           131: .c.obj:
        !           132:        $(BIN)$(CC) @&&!
        !           133: $(CFLAGS)
        !           134: ! $<
        !           135:
        !           136: # rules
        !           137:
        !           138: bitmap.obj: bitmap.c bitmap.h plot.h
        !           139:
        !           140: command.obj: command.c plot.h setshow.h fit.h
        !           141:        $(BIN)$(CC) -DHELPFILE=\"$(HELPFILE)\" @&&!
        !           142: $(CFLAGS)
        !           143: ! command.c
        !           144:
        !           145: contour.obj: contour.c plot.h
        !           146:
        !           147: eval.obj: eval.c plot.h
        !           148:
        !           149: graphics.obj: graphics.c plot.h setshow.h
        !           150:
        !           151: graph3d.obj: graphics.c plot.h setshow.h
        !           152:
        !           153: fit.obj: fit.c fit.h matrix.h plot.h
        !           154:
        !           155: matrix.obj: matrix.c matrix.h fit.h
        !           156:
        !           157: internal.obj: internal.c plot.h
        !           158:
        !           159: misc.obj: misc.c plot.h setshow.h
        !           160:
        !           161: parse.obj: parse.c plot.h
        !           162:        $(BIN)$(CC) @&&!
        !           163: $(CFLAGS)
        !           164: ! parse.c
        !           165:
        !           166: plot.obj: plot.c plot.h setshow.h
        !           167:        $(BIN)$(CC) @&&!
        !           168: $(CFLAGS)
        !           169: ! plot.c
        !           170:
        !           171: hidden3d.obj: hidden3d.c plot.h setshow.h
        !           172:
        !           173: plot3d.obj: plot3d.c plot.h setshow.h
        !           174:
        !           175: plot2d.obj: plot2d.c plot.h setshow.h
        !           176:
        !           177: readline.obj: readline.c plot.h
        !           178:
        !           179: scanner.obj: scanner.c plot.h
        !           180:
        !           181: set.obj: set.c plot.h setshow.h
        !           182:
        !           183: show.obj: show.c plot.h setshow.h
        !           184:        $(BIN)$(CC) -DHELPFILE=\"$(HELPFILE)\" @&&!
        !           185: $(CFLAGS)
        !           186: ! show.c
        !           187:
        !           188: specfun.obj: specfun.c
        !           189:
        !           190: standard.obj: standard.c plot.h
        !           191:
        !           192: stdfn.obj: stdfn.c stdfn.h
        !           193:
        !           194: interpol.obj: interpol.c plot.h setshow.h
        !           195:
        !           196: term.obj: term.c term.h plot.h set.c show.c bitmap.h $(CSOURCE5) $(CSOURCE6) $(CSOURCE7) win\wgnuplib.h
        !           197:        $(BIN)$(CC) @&&!
        !           198: $(CFLAGS)
        !           199: ! $(TERMFLAGS) -Iterm -I. term.c
        !           200:
        !           201: util.obj: util.c plot.h
        !           202:
        !           203: util3d.obj: util3d.c plot.h setshow.h
        !           204:
        !           205: version.obj: version.c
        !           206:
        !           207: winmain.obj: win\winmain.c win\wgnuplib.h win\wtext.h plot.h
        !           208:        $(BIN)$(CC) -DHELPFILE=\"$(HELPFILE)\" @&&!
        !           209: $(CFLAGS)
        !           210: ! win\winmain.c
        !           211:
        !           212: wgnuplot.mnu: win\wgnuplot.mnu
        !           213:        copy win\wgnuplot.mnu wgnuplot.mnu
        !           214:
        !           215:
        !           216: # different compiler options for DLL's */
        !           217: !if $(WIN32)
        !           218: DLLCC = $(BIN)$(CC) -DWIN32 -c -M -y -v -WE -I$(TC)\include -Iwin
        !           219: !else
        !           220: DLLCC = $(BIN)$(CC) -c -WD -ms! -w-par -f -M -y -v -w -N -I$(TC)\include -Iwin
        !           221: !endif
        !           222:
        !           223: wgnuplot.lib: wgnuplot.dll
        !           224:        $(BIN)implib wgnuplot.lib wgnuplot.dll
        !           225:
        !           226: wgnuplot.dll: $(DLLOBJS) win/wgnuplib.def win/wgnuplib.rc
        !           227:        $(BIN)tlink /c /n /Twd /L$(TC)\lib /m /s /v /l @&&!
        !           228: c0ds +
        !           229: wgnuplib wtext wmenu wpause wgraph wprinter, +
        !           230: wgnuplot.dll, +
        !           231: wgnuplib.map, +
        !           232: import mathws cws, +
        !           233: win\wgnuplib.def
        !           234: !
        !           235:        $(BIN)brc -30 -i$(TC)\include -t win\wgnuplib.rc wgnuplot.dll
        !           236:
        !           237: wgnuplib.obj: win/wgnuplib.c win/wgnuplib.h win/wcommon.h win/wresourc.h
        !           238:        $(DLLCC) win/wgnuplib.c
        !           239:
        !           240: wmenu.obj: win/wmenu.c win/wgnuplib.h win/wcommon.h win/wresourc.h
        !           241:        $(DLLCC) win/wmenu.c
        !           242:
        !           243: wtext.obj: win/wtext.c win/wgnuplib.h win/wcommon.h win/wresourc.h
        !           244:        $(DLLCC) win/wtext.c
        !           245:
        !           246: wpause.obj: win/wpause.c win/wgnuplib.h win/wcommon.h win/wresourc.h
        !           247:        $(DLLCC) win/wpause.c
        !           248:
        !           249: wprinter.obj: win/wprinter.c win/wgnuplib.h win/wcommon.h win/wresourc.h
        !           250:        $(DLLCC) win/wprinter.c
        !           251:
        !           252: wgraph.obj: win/wgraph.c win/wgnuplib.h win/wcommon.h win/wresourc.h
        !           253:        $(DLLCC) win/wgraph.c
        !           254:
        !           255: # convert gnuplot.doc to gnuplot.rtf
        !           256: $(HELPFILE): win\gnuplot.rtf
        !           257:        $(BIN)hc win\wgnuplot.hpj
        !           258:
        !           259: win\gnuplot.rtf: doc2rtf.exe docs\gnuplot.doc win\wgnuplot.hpj
        !           260:        doc2rtf docs\gnuplot.doc win\gnuplot.rtf
        !           261:
        !           262: doc2rtf.exe: docs\doc2rtf.c docs\termdoc.c docs\xref.c $(CSOURCE5) $(CSOURCE6) $(CSOURCE7)
        !           263:        $(BIN)$(CCAUX) -edoc2rtf.exe @&&!
        !           264: -D_Windows
        !           265: -w-pro
        !           266: $(CAUXFLAGS)
        !           267: -I. -Iterm -Idocs
        !           268: ! docs\doc2rtf.c docs\termdoc.c docs\xref.c
        !           269:
        !           270: # make binary demo files
        !           271: demo\bf_test.exe: bf_test.c dbinary.obj dalloc.obj
        !           272:        $(BIN)$(CCAUX) -edemo\bf_test.exe @&&!
        !           273: $(CAUXFLAGS)
        !           274: -L$(TC)\lib
        !           275: ! bf_test.c dbinary.obj dalloc.obj
        !           276:        cd demo
        !           277:        bf_test
        !           278:        cd ..
        !           279:
        !           280: dalloc.obj: alloc.c
        !           281:        $(BIN)$(CCAUX) -c @&&!
        !           282: $(CAUXFLAGS)
        !           283: ! -odalloc.obj alloc.c
        !           284:
        !           285: dbinary.obj: binary.c
        !           286:        $(BIN)$(CCAUX) -c @&&!
        !           287: $(CAUXFLAGS)
        !           288: ! -odbinary.obj binary.c
        !           289:
        !           290: # clean up temporary files
        !           291: clean:
        !           292:        del *.obj
        !           293:        del wgnuplot.map
        !           294:        del win\wgnuplot.res
        !           295:        del wgnupl32.map
        !           296:        del wgnupl32.res
        !           297:        del win\gnuplot.rtf
        !           298:        del doc2rtf.map
        !           299:        del doc2rtf.exe
        !           300:        del win\wgnuplib.res
        !           301:        del wgnuplib.map
        !           302:        del wgnuplot.lib
        !           303:        del demo\bf_test.exe
        !           304:
        !           305: realclean: veryclean
        !           306:
        !           307: veryclean: clean
        !           308:        del wgnuplot.exe
        !           309:        del wgnuplot.hlp
        !           310:        -attrib -h wgnuplot.gid
        !           311:        del wgnuplot.gid
        !           312:        del wgnuplot.mnu
        !           313:        del wgnuplot.dll
        !           314:        del wgnupl32.exe
        !           315:        del demo\binary1
        !           316:        del demo\binary2
        !           317:        del demo\binary3

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