# Makefile for gmat 0.2.x # # # set CC to the name of your C compiler. GCC may be required... # CC = gcc # Set PRODROOT to the directory that you want to use as the root of the # gmat tools tree. Locally, we use "/usr/local/prod". # PRODROOT = /usr/local/prod # Set BINDIR to the location where you keep non-standard binaries. # This is where gmat looks for nsgmls, crlf, and gzcat (or zcat) # In case of trouble, check the oratoolsrc file for default pathnames # that may be incorrect for your system # BINDIR = /usr/local/bin # Set PERL5 to the full path name of your perl 5.000 executable # Versions later than 5.000 may work, or may not; there's a bad # stretch of versions that cause errors; this version has # been patched for perl 5.005_3 # PERL5 = /usr/bin/perl # Set DEFAULT_PRINTER to the name of an appropriate printer # DEFAULT_PRINTER = lp # Set NSGMLS_OPTIONS to the nsgmls options that you want to use # -dgru is a good choice; -wno-duplicate suppresses warnings about # duplicate parameter entities which occur but are not a serious # problem in some of the O'Reilly dtds. You may want "e" as well. # Use "x" if you have SP 0.3.5 or later. This script installs a # CATALOG file in the $(PRODROOT)/sgml directory; if you wish to use another # CATALOG file, you can specify it as an environmental variable, # SGML_CATALOG_FILES, on the command line or in your shell resource # file, or you can place the CATALOG file in the working directory # for your book, where gmat will automatically access it. # NSGMLS_OPTIONS = "-dgru -wno-duplicate" # Set TMPDIR to path for tmp files to go to # during the formatting process; if you are formatting with eps # files of figures, there has to be space for them # TMPDIR = /var/tmp # Set GTROFFPATHNAME to the path to gtroff (not groff!) on your system; # on some Linuxes and *BSD*'s gtroff (not groff!) is renamed to troff # or linked # to troff, so you should specify the path to troff here! # GTROFFPATHNAME = /usr/bin/troff # Set SOELIMPATHNAME to the path to gsoelim (or soelim) on your system # SOELIMPATHNAME = /usr/bin/gsoelim # NOTE!! CHECK macros/tmac.G for some more local variables # all: crlf crlf: cd src/crlf; make CC=$(CC) crlf install: cd src/crlf; make CC=$(CC) BINDIR=$(BINDIR) install $(PERL5) pinstall PRODROOT=$(PRODROOT) \ BINDIR=$(BINDIR) \ GTROFFPATHNAME=$(GTROFFPATHNAME) \ SOELIMPATHNAME=$(SOELIMPATHNAME) \ TMPDIR=$(TMPDIR) \ PERL5=$(PERL5) \ DEFPRN=$(DEFAULT_PRINTER) \ SGMLSOPT=$(NSGMLS_OPTIONS)