source: rtems/doc/tools/pdl2texi/Makefile @ 98a929c

4.104.114.84.95
Last change on this file since 98a929c was 98a929c, checked in by Joel Sherrill <joel.sherrill@…>, on Apr 6, 1999 at 10:16:04 PM

Sanitized.

  • Property mode set to 100644
File size: 1.6 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
13TEXINPUTS=/home/gnu/work/binutils-2.6/texinfo:. 
14PROG=pdl2texi
15
16all:  $(PROG)
17
18$(BASE).texi: $(BASE).d ./$(PROG)
19        ./$(PROG) $(BASE).d
20
21$(PROG): main.o chain.o
22        gcc -static main.o chain.o -o $(PROG)
23
24drive: Drive
25Drive: $(BASE).txt
26        /usr1/home/joel/tmp/makeinfo $(PROJECT).texi
27
28main.o: main.c base.h
29
30chain.o: chain.c
31
32dvi: $(PROJECT).dvi
33ps: $(PROJECT).ps
34info: Drive
35html: $(PROJECT).texi $(BASE).txt
36         ../textools/texi2html $(PROJECT).texi
37
38$(BASE).txt: $(BASE).d
39        ./$(PROG) -v -p "Turret Subsystem" -u "Turret Subsystem" $(BASE).d
40
41$(PROJECT).ps: $(PROJECT).dvi
42        dvips -o $(PROJECT).ps $(PROJECT).dvi
43
44$(PROJECT).dvi: $(FILES)
45        texi2dvi $(PROJECT).texi
46
47view:
48        test -r $(PROJECT).ps && ghostview $(PROJECT).ps
49
50tests: test test1
51
52test: $(PROG)
53        rm -f $(BASE).texi
54        ./$(PROG) -v -p "Turret Subsystem" -u "Turret Subsystem" $(BASE).d
55
56test1:
57        rm -f t1.txt
58        ./$(PROG) -v t1.d
59
60wtest:
61        rm -f $(BASE).txt
62        ./$(PROG) -w -v -p "Turret Subsystem" -u "Turret Subsystem" $(BASE).d
63
64enum:
65        ./$(PROG) -w -v -p "Magic Subsystem" \
66            -u "Magic Subsystem" test_cases/enum.d
67        ./$(PROG) -w -v -p "Magic Subsystem" \
68            -u "Magic Subsystem" test_cases/enumbad.d
69       
70avdas:
71        ./$(PROG) -v -p "Magic Subsystem" \
72            -u "Magic Subsystem" test_cases/avdas.d
73        ./$(PROG) -w -v -p "Magic Subsystem" \
74            -u "Magic Subsystem" test_cases/avdas.d
75       
76clean:
77        rm -f *.o $(PROG) *.txt core *.html $(PROJECT) Drive.texi
78        rm -f *.dvi *.ps *.log *.aux *.cp *.fn *.ky *.pg *.toc *.tp *.vr $(BASE)
79        rm -f test_cases/*.txt test_cases/*.texi
80
Note: See TracBrowser for help on using the repository browser.