added manual pages for library and stand alone program

This commit is contained in:
bruce
1987-07-10 09:08:31 +00:00
parent fbf67d7a29
commit 1b28d14dcb
3 changed files with 146 additions and 3 deletions

View File

@@ -44,16 +44,17 @@ GENFILES = Lpars.h Lpars.c parserdummy parser.c syntax.c dfadummy\
dfa.c dfa.c.new trans.h trans.h.new trans.c trans.c.new\
incalls.d incalls.r incalls.r.new pseudo.d
all: em_nopt $(LIBOPT)
all: em_nopt $(LIBOPT) em_opt.3
install: all
$(INSTALL) lib/$(LIBOPT)
$(INSTALL) man/em_opt.3
cp em_nopt.1 $(EMHOME)/man
cp em_nopt $(BINDIR)/em_nopt
lint: lintparser lintnopt
cmp: all
$(COMPARE) lib/$(LIBOPT)
$(COMPARE) man/em_opt.3
-cmp em_nopt $(BINDIR)/em_nopt
pr:
@@ -62,6 +63,8 @@ pr:
opr:
make pr | opr
lint: lintparser lintnopt
clean:
rm -f O_*.o
rm -f O_*.c
@@ -103,6 +106,14 @@ dfadummy: patterns parser
-rm /tmp/patts
touch dfadummy
# How to build the lint library for the optimizer
LLINT = nopt.c mkstrct.c aux.c dfa.c trans.c
lintlib: dfadummy $(LLINT)
$(LINT) $(LINTFLAGS) $(LLINT) -Cemopt
mv llib-lemopt.ln $(EMHOME)/modules/lib
# How to build program to parse patterns table and build c files.
PARSERLIB = $(EMHOME)/lib/em_data.a\