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

Diff for /OpenXM_contrib/gnuplot/Attic/makefile.dj2 between version 1.1.1.1 and 1.1.1.2

version 1.1.1.1, 2000/01/09 17:00:52 version 1.1.1.2, 2003/09/15 07:09:23
Line 4 
Line 4 
 #  #
 #  #
 # AUTHORS : several ... including Edzer Pebesma <pebesma@metoor.frw.uva.nl>  # AUTHORS : several ... including Edzer Pebesma <pebesma@metoor.frw.uva.nl>
 #                  last mod. by Emmanuel Bigler <bigler@lpmo.univ-fcomte.fr>  #                                 Emmanuel Bigler <bigler@lpmo.univ-fcomte.fr>
 # DATE of last mod :    1996 FEB 20  #            last mod by Hans-Bernhard Br"oker <broeker@physik.rwth-aachen.de>
   # DATE of last mod :    March 11th, 2002
 #  #
 #  #
 # removed atari reference and added binary demo bf_test  # removed atari reference and added binary demo bf_test
Line 26 
Line 27 
 FINALDEST=c:\bin  FINALDEST=c:\bin
   
 # here customize the name of the executable  # here customize the name of the executable
 # exe file will be  gp36.exe:  # exe file will be  gp37.exe:
 EXENAME = gp36  EXENAME = gp37
   
 # where to place gnuplot.gih helpfile upon MAKE  # where to place gnuplot.gih helpfile upon MAKE
 # note it will be built inside gnuplot\$(HELPDEST)  # note it will be built inside gnuplot\$(HELPDEST)
Line 44  CC = $(CCDIR)gcc
Line 45  CC = $(CCDIR)gcc
 INCLUDE = -I.  INCLUDE = -I.
   
 # for svga term driver  # for svga term driver
 # HBB: -finline-functions bombs out on term.c, so disable it unconditionally  # HBB: -finline-functions used to crash on term.c, but no longer
 TERMFLAGS = -DDJSVGA -fno-inline-functions  TERMFLAGS = -DDJSVGA # -fno-inline-functions
 #  #
 #  #
 #just for historical purpose..  #just for historical purpose..
Line 57  TERMFLAGS = -DDJSVGA -fno-inline-functions
Line 58  TERMFLAGS = -DDJSVGA -fno-inline-functions
 # HBB : added $(OPTS) so user can  # HBB : added $(OPTS) so user can
 #   change CFLAGS easily, without having to change makefile  #   change CFLAGS easily, without having to change makefile
 CFLAGS = -DMSDOS -DDOS32 \  CFLAGS = -DMSDOS -DDOS32 \
         -DANSI_C -DSTDC_HEADERS \          -DANSI_C -DSTDC_HEADERS -DHAVE_TIME_H -DHAVE_TIME_T_IN_TIME_H \
         -DHAVE_VALUES_H -DHAVE_UNISTD_H -DRETSIGTYPE=void \          -DHAVE_VALUES_H -DHAVE_UNISTD_H -DRETSIGTYPE=void \
         -DHAVE_ERF -DHAVE_LGAMMA -DHAVE_GAMMA \          -DHAVE_ERF -DHAVE_LGAMMA -DHAVE_GAMMA \
         -DHAVE_GETCWD -DHAVE_SETLINEBUF -DHAVE_SLEEP \          -DHAVE_GETCWD -DHAVE_SETLINEBUF -DHAVE_SLEEP \
         -DHAVE_STRNCASECMP -DHAVE_STRNICMP -DHAVE_STRERROR \          -DHAVE_STRNCASECMP -DHAVE_STRNICMP -DHAVE_STRERROR \
         -DHAVE_SETVBUF \          -DHAVE_SETVBUF \
         -DHAVE_TEMPNAM -DPIPES -DREADLINE \          -DHAVE_TEMPNAM -DPIPES -DREADLINE \
         -O $(OPTS)          -O2 -g $(OPTS)
   
 LINKOPT = $(LDFLAGS) -lm -lpc -lgrx20  LINKOPT = $(LDFLAGS) -lm -lpc -lgrx20
   
Line 78  CSOURCE5 = term/ai.trm term/amiga.trm term/aed.trm \
Line 79  CSOURCE5 = term/ai.trm term/amiga.trm term/aed.trm \
         term/apollo.trm term/gpr.trm term/hppj.trm term/compact.c          term/apollo.trm term/gpr.trm term/hppj.trm term/compact.c
 CSOURCE6 = term/impcodes.h term/imagen.trm term/next.trm term/object.h \  CSOURCE6 = term/impcodes.h term/imagen.trm term/next.trm term/object.h \
         term/iris4d.trm term/kyo.trm term/latex.trm term/mif.trm \          term/iris4d.trm term/kyo.trm term/latex.trm term/mif.trm \
         term/pbm.trm term/pc.trm          term/pbm.trm term/pdf.trm term/pc.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/texdraw.trm term/unixpc.trm \          term/t410x.trm term/tek.trm term/texdraw.trm term/unixpc.trm \
         term/unixplot.trm term/v384.trm term/vws.trm term/x11.trm term/xlib.trm          term/unixplot.trm term/v384.trm term/vws.trm term/x11.trm term/xlib.trm
 OBJ1 =  bitmap.o command.o contour.o eval.o graphics.o graph3d.o hidden3d.o util3d.o  OBJ1 =  bitmap.o command.o contour.o eval.o graphics.o graph3d.o hidden3d.o util3d.o
Line 99  OBJS =  $(OBJ1) $(OBJ2) $(OBJ3) $(OBJ4)
Line 100  OBJS =  $(OBJ1) $(OBJ2) $(OBJ3) $(OBJ4)
   
 all: $(EXENAME).exe  $(HELPDEST)\$(HELPFILE)  demo\binary?.  all: $(EXENAME).exe  $(HELPDEST)\$(HELPFILE)  demo\binary?.
   
 # -s performs the coff2exe step implicitly (?)  #   Note: this is set up so you get a debuggable $(EXENAME) but
 # HBB: that's plain wrong: -s means 'strip executable',  #   a stripped $(EXENAME).exe
 #   and stubify (formerly called stubify) is now always done  
 #   automatically in the link step. I changed this so you  
 #   get a debuggable gp36, but a stripped gp36.exe  
 $(EXENAME).exe : $(OBJS)  $(EXENAME).exe : $(OBJS)
         $(CC) -o $(EXENAME) $(OBJS) $(LINKOPT)          $(CC) -o $(EXENAME) $(OBJS) $(LINKOPT)
         objcopy --strip-all $(EXENAME) $(EXENAME).exe          objcopy --strip-all $(EXENAME) $(EXENAME).exe
         stubify $(EXENAME).exe          stubify $(EXENAME).exe
 #HBB: I think that message is superfluous, and maybe even confusing  
 #   for new users of DJGPP V2, who never used DJGPP V1 at all.  
 #       @echo.  
 #       @echo Rem: with djgpp v.2, you do not need  go32 any longer to run gnuplot  
 #       @echo.  
   
 # This used to copy go32 to the exe file.. under v1.xx  
 # obsolete under djgpp v. 2.  
 #  
 #$(EXENAME).exe : $(OBJS)  
 #       $(CC) -o $(EXENAME) $(OBJS) $(LINKOPT)  
 #       strip $(EXENAME)  
 #       copy /b $(CCDIR)\$(EXENAME).exe+$(EXENAME) $(EXENAME).exe  
 #       del $(EXENAME)  
   
 command.o: command.c plot.h setshow.h help.h  command.o: command.c plot.h setshow.h help.h
         $(CC) -c $(CFLAGS) $(INCLUDE) -DHELPFILE=\"$(HELPFILE)\" command.c          $(CC) -c $(CFLAGS) $(INCLUDE) -DHELPFILE=\"$(HELPFILE)\" command.c
   
Line 157  $(HELPDEST)\$(HELPFILE): .\docs\doc2gih.exe .\docs\gnu
Line 141  $(HELPDEST)\$(HELPFILE): .\docs\doc2gih.exe .\docs\gnu
         .\docs\doc2gih  docs/gnuplot.doc > $(HELPDEST)\$(HELPFILE)          .\docs\doc2gih  docs/gnuplot.doc > $(HELPDEST)\$(HELPFILE)
   
 .\docs\doc2gih.exe: .\docs\doc2gih.c .\docs\termdoc.c $(CSOURCES)  .\docs\doc2gih.exe: .\docs\doc2gih.c .\docs\termdoc.c $(CSOURCES)
         $(CC) $(CFLAGS) $(INCLUDE) $(TERMFLAGS) -Iterm -o ./docs/doc2gih ./docs/doc2gih.c ./docs/termdoc.c          $(CC) $(CFLAGS) $(INCLUDE) $(TERMFLAGS) -Iterm -o ./docs/doc2gih.exe ./docs/doc2gih.c ./docs/termdoc.c
         coff2exe ./docs/doc2gih  
   
 # now for the demo bin  # now for the demo bin
 demo\binary?.: bf_test.exe  demo\binary?.: bf_test.exe
         bf_test          ./bf_test
         copy binary? demo\binary?          copy binary? demo\binary?
         del binary?          del binary?
   
Line 170  bf_test.o:
Line 153  bf_test.o:
         $(CC) $(CFLAGS) -c bf_test.c          $(CC) $(CFLAGS) -c bf_test.c
   
 bf_test.exe: bf_test.o binary.o alloc.o  bf_test.exe: bf_test.o binary.o alloc.o
         $(CC) $(CFLAGS) bf_test.o binary.o alloc.o -lm -o bf_test          $(CC) $(CFLAGS) bf_test.o binary.o alloc.o -lm -o bf_test.exe
         coff2exe bf_test  
   
 # now install things and create a .bat file to make things easier  # now install things and create a .bat file to make things easier
 install: all  install: all

Legend:
Removed from v.1.1.1.1  
changed lines
  Added in v.1.1.1.2

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