|
DataMuseum.dkPresents historical artifacts from the history of: DKUUG/EUUG Conference tapes |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about DKUUG/EUUG Conference tapes Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - downloadIndex: M T
Length: 3020 (0xbcc) Types: TextFile Names: »Makefile«
└─⟦52210d11f⟧ Bits:30007239 EUUGD2: TeX 3 1992-12 └─⟦c319c2751⟧ »unix3.0/TeX3.0.tar.Z« └─⟦036c765ac⟧ └─⟦this⟧ »TeX3.0/TeXcontrib/gnutex/Makefile«
#------------------------------------------------------------------ # Makefile for gnutex # A plotting program supporting LaTeX output # David Kotz # Duke University # dfk@cs.duke.edu # # derived from gnuplot, originally by Colin Kelley and Thomas Williams # # Adjust some of the items below, as necessary, and type 'make'. # Try 'make demo' after gnutex has been made. # # where to install on 'make install' DESTDIR=/usr/local/bin/ MANDIR=/usr/man/manl # The name of the help file (./gnutex.help installed as $(HELPFILE)) HELPFILE=/usr/local/lib/gnutex.help COMMANDFLAGS=-IHelp -DHELPFILE=\"$(HELPFILE)\" # -lplot iff you have -DUNIXPLOT below LIBS = -lm -lplot # Pick either index() on BSD or strchr() on System V and MS-DOS INDEX=-DINDEX=index #INDEX=-DINDEX=strchr # Define this for production version EXTRA=-O -s # For the debugging version #EXTRA=-g # -DVFORK iff vfork() supported CFLAGS = -DVFORK $(INDEX) $(EXTRA) # -D<terminal> only if you wish to support <terminal> # -DAED Aed767 # -DHP75 HP7580, and probably other HPs # -DQMS QMS/QUIC laserprinter (Talaris 1200 and others) # -DREGIS ReGis graphics (vt220, vt240, Gigis...) # -DTEK Tektronix 4010, and probably others # -DHALFTEK Tektronix 4010 (top/bottom half of screen) # -DUNIXPLOT unixplot # -DPC IBM PC EGA/CGA graphics # -DPC -DCORONA IBM PC Corona graphics # -DLATEX LaTeX output # -DFIG FIG output # -DIMAGEN Imagen printer output (also use -Idir, where dir is the # location of imPcodes.h) TERMFLAGS = -DTEK -DUNIXPLOT -DLATEX -DFIG -DIMAGEN -I.. #TERMFLAGS = -DFIG -DLATEX # Your favorite tags program TAGS=etags #TAGS=ctags OBJS = plot.o scanner.o parse.o command.o eval.o standard.o internal.o util.o\ graphics.o term.o misc.o help.o version.o SRC = plot.h Help/help.h command.c eval.c graphics.c internal.c misc.c \ parse.c plot.c scanner.c standard.c term.c util.c Help/help.c version.c all: gnutex mail install: gnutex install -c gnutex $(DESTDIR)gnutex install -c lasergnu $(DESTDIR)lasergnu install -m 444 doc/gnutex.1 $(MANDIR)/gnutex.l install -m 444 doc/lasergnu.1 $(MANDIR)/lasergnu.l install -m 444 -c gnutex.help $(HELPFILE) install-sysv: gnutex mv gnutex $(DESTDIR) cp lasergnu $(DESTDIR) cp doc/*.1 $(MANDIR) cp gnutex.help $(HELPFILE) gnutex: $(OBJS) cc $(CFLAGS) $(FINAL) $(OBJS) $(LIBS) -o gnutex -lm term.o: term.c cc $(CFLAGS) $(TERMFLAGS) -c term.c command.o: command.c cc $(CFLAGS) $(COMMANDFLAGS) -c command.c help.o: Help/help.c cc $(CFLAGS) -c Help/help.c $(OBJS): plot.h mail: maildfk # Make a very simple demo plot demo: (cd doc/example; make) # Make a patch file, diffing this directory with ../gnutex.old # To apply the patch, use patch -p < ../gnutex.patch patch: spotless echo -n > FIRST rm -f doc/manual/gnutex.dvi -diff -cr ../gnutex.old . > ../gnutex.patch TAGS: $(SRC) $(TAGS) $(SRC) clean: rm -f *.o *~ core (cd Help; make clean) spotless: rm -f *.o *~ core gnutex TAGS