summaryrefslogtreecommitdiffstats
path: root/doc/tools/pdl2texi/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'doc/tools/pdl2texi/Makefile')
-rw-r--r--doc/tools/pdl2texi/Makefile66
1 files changed, 66 insertions, 0 deletions
diff --git a/doc/tools/pdl2texi/Makefile b/doc/tools/pdl2texi/Makefile
new file mode 100644
index 0000000000..ed2a67c3ab
--- /dev/null
+++ b/doc/tools/pdl2texi/Makefile
@@ -0,0 +1,66 @@
+#
+# COPYRIGHT (c) 1996-1997.
+# On-Line Applications Research Corporation (OAR).
+# All rights reserved.
+#
+# $Id$
+#
+
+CC=gcc
+#CFLAGS=-O4 -fomit-frame-pointer
+CFLAGS=-g
+
+PROJECT=afcc
+TEXINPUTS=/home/gnu/work/binutils-2.6/texinfo:.
+BASE=Drive
+FILES=afcc.texi $(BASE).txt
+PROG=pdl2texi
+
+all: $(PROG)
+
+$(BASE).texi: $(BASE).d ./$(PROG)
+ ./$(PROG) $(BASE).d
+
+$(PROG): main.o chain.o
+ gcc -static main.o chain.o -o $(PROG)
+
+drive: Drive
+Drive: $(BASE).txt
+ /usr1/home/joel/tmp/makeinfo $(PROJECT).texi
+
+main.o: main.c base.h
+
+chain.o: chain.c
+
+dvi: $(PROJECT).dvi
+ps: $(PROJECT).ps
+info: Drive
+html: $(PROJECT).texi $(BASE).txt
+ ../textools/texi2html $(PROJECT).texi
+
+$(BASE).txt: $(BASE).d
+ ./$(PROG) -v -p "Turret Subsystem" -u "Turret Subsystem" $(BASE).d
+
+$(PROJECT).ps: $(PROJECT).dvi
+ dvips -o $(PROJECT).ps $(PROJECT).dvi
+
+$(PROJECT).dvi: $(FILES)
+ texi2dvi $(PROJECT).texi
+
+view:
+ test -r $(PROJECT).ps && ghostview $(PROJECT).ps
+
+tests: test test1
+
+test: $(PROG)
+ rm -f $(BASE).texi
+ ./$(PROG) -v -p "Turret Subsystem" -u "Turret Subsystem" $(BASE).d
+
+test1:
+ rm -f t1.txt
+ ./$(PROG) -v t1.d
+
+clean:
+ rm -f *.o $(PROG) *.txt core *.html $(PROJECT) Drive.texi
+ rm -f *.dvi *.ps *.log *.aux *.cp *.fn *.ky *.pg *.toc *.tp *.vr $(BASE)
+