source: rtems/doc/tools/pdl2texi/Makefile @ 5599d6e

4.104.114.84.95
Last change on this file since 5599d6e was 5599d6e, checked in by Joel Sherrill <joel.sherrill@…>, on Feb 6, 1998 at 1:48:44 PM

Added @table/@end table capability along with the avdas.d test case where
this capability was first used.

  • Property mode set to 100644
File size: 1.7 KB
Line 
1#
2#  COPYRIGHT (c) 1996-1997.
3#  On-Line Applications Research Corporation (OAR).
4#  All rights reserved.
5#
6#  $Id$
7#
8
9CC=gcc
10#CFLAGS=-O4 -fomit-frame-pointer
11CFLAGS=-g
12
13PROJECT=afcc
14TEXINPUTS=/home/gnu/work/binutils-2.6/texinfo:. 
15BASE=Drive
16FILES=afcc.texi $(BASE).txt
17PROG=pdl2texi
18
19all:  $(PROG)
20
21$(BASE).texi: $(BASE).d ./$(PROG)
22        ./$(PROG) $(BASE).d
23
24$(PROG): main.o chain.o
25        gcc -static main.o chain.o -o $(PROG)
26
27drive: Drive
28Drive: $(BASE).txt
29        /usr1/home/joel/tmp/makeinfo $(PROJECT).texi
30
31main.o: main.c base.h
32
33chain.o: chain.c
34
35dvi: $(PROJECT).dvi
36ps: $(PROJECT).ps
37info: Drive
38html: $(PROJECT).texi $(BASE).txt
39         ../textools/texi2html $(PROJECT).texi
40
41$(BASE).txt: $(BASE).d
42        ./$(PROG) -v -p "Turret Subsystem" -u "Turret Subsystem" $(BASE).d
43
44$(PROJECT).ps: $(PROJECT).dvi
45        dvips -o $(PROJECT).ps $(PROJECT).dvi
46
47$(PROJECT).dvi: $(FILES)
48        texi2dvi $(PROJECT).texi
49
50view:
51        test -r $(PROJECT).ps && ghostview $(PROJECT).ps
52
53tests: test test1
54
55test: $(PROG)
56        rm -f $(BASE).texi
57        ./$(PROG) -v -p "Turret Subsystem" -u "Turret Subsystem" $(BASE).d
58
59test1:
60        rm -f t1.txt
61        ./$(PROG) -v t1.d
62
63wtest:
64        rm -f $(BASE).txt
65        ./$(PROG) -w -v -p "Turret Subsystem" -u "Turret Subsystem" $(BASE).d
66
67enum:
68        ./$(PROG) -w -v -p "Magic Subsystem" \
69            -u "Magic Subsystem" test_cases/enum.d
70        ./$(PROG) -w -v -p "Magic Subsystem" \
71            -u "Magic Subsystem" test_cases/enumbad.d
72       
73avdas:
74        ./$(PROG) -v -p "Magic Subsystem" \
75            -u "Magic Subsystem" test_cases/avdas.d
76        ./$(PROG) -w -v -p "Magic Subsystem" \
77            -u "Magic Subsystem" test_cases/avdas.d
78       
79clean:
80        rm -f *.o $(PROG) *.txt core *.html $(PROJECT) Drive.texi
81        rm -f *.dvi *.ps *.log *.aux *.cp *.fn *.ky *.pg *.toc *.tp *.vr $(BASE)
82        rm -f test_cases/*.txt test_cases/*.texi
83
Note: See TracBrowser for help on using the repository browser.