version 1.1.1.2, 2000/01/22 14:15:53 |
version 1.1.1.3, 2003/09/15 07:09:23 |
|
|
# make file for Borland C++ 3.1 Windows version |
# make file for Borland C++ 3.1 Windows version |
# and Win32 using Borland C++ 4 (or 5? --- 4.52 is known to work) |
# and Win32 using Borland C++ 4.52, or 5.5 (the free download version) |
# or Borland C++ Builder 1 (newer versions may work as well) |
# and Borland C++ Builder 1 (newer versions may work as well) |
# |
# |
# This makefile may need some editing before it can be used. Check |
# This makefile may need some editing before it can be used. Check |
# BCC installation path, the WIN32 and RUNTIME_LIB flags, in particular. |
# BCC installation path, the WIN32 and RUNTIME_LIB flags, in particular. |
|
|
# New 991003: WIN32=1 build makes the helpers (doc2rtf, bf_test) as Win32 |
# New 991003: WIN32=1 build makes the helpers (doc2rtf, bf_test) as Win32 |
# console applications, instead of plain DOS programs. This |
# console applications, instead of plain DOS programs. This |
# way, it also works with those compilers missing a DOS option. |
# way, it also works with those compilers missing a DOS option. |
|
# New 20020311: Now also works with the free BC++ 5.5 command line tools. |
|
# Un-comment the -DHAVE_SLEEP flag at the end of CFLAGS, |
|
# choose the non-multithreading RUNTIME_LIB, and make with |
|
# -DWIN32=1 |
|
|
# where to place wgnuplot.hlp helpfile |
# where to place wgnuplot.hlp helpfile |
HELPFILE = wgnuplot.hlp |
HELPFILE = wgnuplot.hlp |
Line 42 RUNTIME_LIBRARY=cw32.lib |
|
Line 46 RUNTIME_LIBRARY=cw32.lib |
|
# properly multithreading one: |
# properly multithreading one: |
#RUNTIME_LIBRARY=cw32mt.lib |
#RUNTIME_LIBRARY=cw32mt.lib |
|
|
|
# Choose which linker to use: traditional TurboLink or the newer Incremental |
|
# linker. |
|
LINK32=tlink32 # used by older compilers |
|
#LINK32=ilink32 # this may be the only one you have... |
!if $(WIN32) |
!if $(WIN32) |
|
|
# 32bit Windows compilation. |
# 32bit Windows compilation. |
Line 76 DEFINE_HELPFILE = -DHELPFILE="$(HELPFILE)" |
|
Line 84 DEFINE_HELPFILE = -DHELPFILE="$(HELPFILE)" |
|
# capability add -DREADLINE to CFLAGS then add 'readline' to the /o |
# capability add -DREADLINE to CFLAGS then add 'readline' to the /o |
# section of the linker call. |
# section of the linker call. |
!if $(WIN32) |
!if $(WIN32) |
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 |
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 # -DHAVE_SLEEP |
CAUXFLAGS = -tWC -w-par -w-use -w-aus -f -N -M -y -v -d -I$(TC)\include -DWIN32 -DWINDOWS_NO_GUI -DHAVE_STRNICMP -DANSI_C |
CAUXFLAGS = -tWC -w-par -w-use -w-aus -f -N -M -y -v -d -I$(TC)\include -DWIN32 -DWINDOWS_NO_GUI -DHAVE_STRNICMP -DANSI_C |
!else |
!else |
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 |
CFLAGS = -c -O1 -W -ml -w-par -w-use -w-aus -f -h -N -M -y -v -d -Ff=8 -I$(TC)\include -Iwin -DREADLINE=1 -zEGPFAR_DATA -DHAVE_STRNICMP -DMSDOS=1 -DNO_GIH -DANSI_C -DHAVE_GETCWD -DNDEBUG -Dlint |
CAUXFLAGS = -ml -w-par -w-use -w-aus -f -N -M -y -v -d -I$(TC)\include -DMSDOS=1 -DHAVE_STRNICMP -DANSI_C |
CAUXFLAGS = -ml -w-par -w-use -w-aus -f -N -M -y -v -d -I$(TC)\include -DMSDOS=1 -DHAVE_STRNICMP -DANSI_C |
!endif |
!endif |
|
|
Line 93 OBJS = bitmap.obj command.obj contour.obj eval.obj gr |
|
Line 101 OBJS = bitmap.obj command.obj contour.obj eval.obj gr |
|
DLLOBJS = wgnuplib.obj wtext.obj wmenu.obj wpause.obj wgraph.obj wprinter.obj |
DLLOBJS = wgnuplib.obj wtext.obj wmenu.obj wpause.obj wgraph.obj wprinter.obj |
|
|
CSOURCE5 = term\aed.trm term\cgi.trm term\cgm.trm term\debug.trm \ |
CSOURCE5 = term\aed.trm term\cgi.trm term\cgm.trm term\debug.trm \ |
term\dumb.trm term\dxy.trm \ |
term\dumb.trm term\dxy.trm term\eepic.trm term\emf.trm \ |
term\eepic.trm term\epson.trm term\fig.trm term\hp26.trm \ |
term\emxvga.trm term\epslatex.trm term\epson.trm term\excl.trm \ |
|
term\fg.trm term\fig.trm term\ggi.trm term\hp26.trm \ |
term\hp2648.trm term\hpgl.trm term\hpljii.trm |
term\hp2648.trm term\hpgl.trm term\hpljii.trm |
CSOURCE6 = term\impcodes.h term\imagen.trm term\object.h \ |
CSOURCE6 = term\impcodes.h term\imagen.trm term\object.h \ |
term\iris4d.trm term\kyo.trm term\latex.trm term/pbm.trm term\win.trm |
term\iris4d.trm term\kyo.trm term\latex.trm term\pbm.trm term\pdf.trm term\win.trm |
CSOURCE7 = term\post.trm term\qms.trm term\regis.trm term\sun.trm \ |
CSOURCE7 = term\post.trm term\qms.trm term\regis.trm term\sun.trm term\svg.trm \ |
term\t410x.trm term\tek.trm term\unixpc.trm term\unixplot.trm \ |
term\t410x.trm term\tek.trm term\unixpc.trm term\unixplot.trm \ |
term\v384.trm term\x11.trm |
term\v384.trm term\x11.trm |
CSOURCE8 = contour.c specfun.c binary.c interpol.obj |
CSOURCE8 = contour.c specfun.c binary.c interpol.obj |
Line 138 win\wgnuplot.def |
|
Line 147 win\wgnuplot.def |
|
# any use... |
# any use... |
|
|
wgnupl32.exe: $(OBJS) $(DLLOBJS) win\wgnupl32.def wgnupl32.res winmain.obj |
wgnupl32.exe: $(OBJS) $(DLLOBJS) win\wgnupl32.def wgnupl32.res winmain.obj |
# $(BIN)tlink32 /Tpe /c @&&! |
# $(BIN)$(LINK32) /Tpe /c @&&! |
$(BIN)tlink32 /Tpe /c /m /s /v @&&! |
$(BIN)$(LINK32) /Tpe /c /m /s /v @&&! |
$(TC)\lib\C0W32 + |
$(TC)\lib\C0W32 + |
bitmap command eval graphics graph3d help internal misc parse + |
bitmap command eval graphics graph3d help internal misc parse + |
plot plot2d plot3d scanner set show specfun standard stdfn term util version contour + |
plot plot2d plot3d scanner set show specfun standard stdfn term util version contour + |
Line 267 win\wgnuplib.def |
|
Line 276 win\wgnuplib.def |
|
|
|
wgnuplib.obj: win/wgnuplib.c win/wgnuplib.h win/wcommon.h win/wresourc.h |
wgnuplib.obj: win/wgnuplib.c win/wgnuplib.h win/wcommon.h win/wresourc.h |
$(DLLCC) win/wgnuplib.c |
$(DLLCC) win/wgnuplib.c |
|
|
wmenu.obj: win/wmenu.c win/wgnuplib.h win/wcommon.h win/wresourc.h |
wmenu.obj: win/wmenu.c win/wgnuplib.h win/wcommon.h win/wresourc.h |
$(DLLCC) win/wmenu.c |
$(DLLCC) win/wmenu.c |
|
|
wtext.obj: win/wtext.c win/wgnuplib.h win/wcommon.h win/wresourc.h |
wtext.obj: win/wtext.c win/wgnuplib.h win/wcommon.h win/wresourc.h |
$(DLLCC) win/wtext.c |
$(DLLCC) win/wtext.c |
|
|
wpause.obj: win/wpause.c win/wgnuplib.h win/wcommon.h win/wresourc.h |
wpause.obj: win/wpause.c win/wgnuplib.h win/wcommon.h win/wresourc.h |
$(DLLCC) win/wpause.c |
$(DLLCC) win/wpause.c |
|
|
wprinter.obj: win/wprinter.c win/wgnuplib.h win/wcommon.h win/wresourc.h |
wprinter.obj: win/wprinter.c win/wgnuplib.h win/wcommon.h win/wresourc.h |
$(DLLCC) win/wprinter.c |
$(DLLCC) win/wprinter.c |
|
|
wgraph.obj: win/wgraph.c win/wgnuplib.h win/wcommon.h win/wresourc.h |
wgraph.obj: win/wgraph.c win/wgnuplib.h win/wcommon.h win/wresourc.h |
$(DLLCC) win/wgraph.c |
$(DLLCC) win/wgraph.c |
|
|
# convert gnuplot.doc to gnuplot.rtf |
# convert gnuplot.doc to gnuplot.rtf |
$(HELPFILE): win\gnuplot.rtf |
$(HELPFILE): win\gnuplot.rtf |
$(HC) win\wgnuplot.hpj |
$(HC) win\wgnuplot.hpj |
|
|
del bf_test.map |
del bf_test.map |
del demo\bf_test.map |
del demo\bf_test.map |
del demo\bf_test.exe |
del demo\bf_test.exe |
|
|
realclean: veryclean |
realclean: veryclean |
|
|
veryclean: clean |
veryclean: clean |