source: rtems/doc/itron3.0/Makefile @ 15c8c37

4.104.114.84.95
Last change on this file since 15c8c37 was 15c8c37, checked in by Joel Sherrill <joel.sherrill@…>, on 11/09/99 at 16:22:36

Integrated into main tree.

  • Property mode set to 100644
File size: 2.5 KB
Line 
1#
2#  COPYRIGHT (c) 1988-1998.
3#  On-Line Applications Research Corporation (OAR).
4#  All rights reserved.
5#
6#  $Id$
7#
8
9PROJECT=itron
10
11include ../Make.config
12
13all: html info ps pdf
14
15dirs:
16        $(make-dirs)
17
18COMMON_FILES=
19
20GENERATED_FILES= \
21    status.texi \
22    task.texi tasksync.texi semaphore.texi eventflags.texi mailbox.texi \
23    msgbuffer.texi rendezvous.texi interrupt.texi memorypool.texi \
24    fixedblock.texi time.texi config.texi network.texi
25
26FILES= $(PROJECT).texi \
27  $(COMMON_FILES) $(GENERATED_FILES)
28
29INFOFILES=$(wildcard $(PROJECT) $(PROJECT)-*)
30
31info: $(FILES) $(PROJECT)
32
33$(PROJECT): $(FILES)
34        $(MAKEINFO) $(PROJECT).texi
35
36dvi: $(PROJECT).dvi
37ps: $(PROJECT).ps
38pdf: $(PROJECT).pdf
39       
40$(PROJECT).pdf: $(FILES)
41        $(TEXI2PDF) $(PROJECT).texi
42        cp $(PROJECT).pdf $(WWW_INSTALL)/$(PROJECT)
43
44$(PROJECT).ps: $(PROJECT).dvi
45        dvips -o $(PROJECT).ps $(PROJECT).dvi
46        cp $(PROJECT).ps $(WWW_INSTALL)/$(PROJECT)
47
48$(PROJECT).dvi: $(FILES)
49        $(TEXI2DVI) $(PROJECT).texi
50        cp $(PROJECT).dvi $(WWW_INSTALL)/$(PROJECT)
51
52html: $(FILES)
53        -mkdir -p html
54        -mkdir -p $(WWW_INSTALL)/$(PROJECT)
55        $(TEXI2WWW) $(TEXI2WWW_ARGS) -dir $(WWW_INSTALL)/$(PROJECT) \
56            $(PROJECT).texi
57
58clean:
59        rm -f *.o $(PROG) *.txt core *.html
60        rm -f *.dvi *.ps *.log *.aux *.cp *.fn *.ky *.pg *.toc *.tp *.vr $(BASE)
61        rm -f $(PROJECT) $(PROJECT)-* _* $(GENERATED_FILES)
62        rm -rf html
63
64status.texi: status.t Makefile
65        $(BMENU) -p "" \
66            -u "Top" \
67            -n "" ${*}.t
68
69task.texi: task.t Makefile
70        $(BMENU) -p "" \
71            -u "Top" \
72            -n "" ${*}.t
73
74tasksync.texi: tasksync.t Makefile
75        $(BMENU) -p "" \
76            -u "Top" \
77            -n "" ${*}.t
78
79semaphore.texi: semaphore.t Makefile
80        $(BMENU) -p "" \
81            -u "Top" \
82            -n "" ${*}.t
83
84eventflags.texi: eventflags.t Makefile
85        $(BMENU) -p "" \
86            -u "Top" \
87            -n "" ${*}.t
88
89mailbox.texi: mailbox.t Makefile
90        $(BMENU) -p "" \
91            -u "Top" \
92            -n "" ${*}.t
93
94msgbuffer.texi: msgbuffer.t Makefile
95        $(BMENU) -p "" \
96            -u "Top" \
97            -n "" ${*}.t
98
99rendezvous.texi: rendezvous.t Makefile
100        $(BMENU) -p "" \
101            -u "Top" \
102            -n "" ${*}.t
103
104interrupt.texi: interrupt.t Makefile
105        $(BMENU) -p "" \
106            -u "Top" \
107            -n "" ${*}.t
108
109memorypool.texi: memorypool.t Makefile
110        $(BMENU) -p "" \
111            -u "Top" \
112            -n "" ${*}.t
113
114fixedblock.texi: fixedblock.t Makefile
115        $(BMENU) -p "" \
116            -u "Top" \
117            -n "" ${*}.t
118
119time.texi: time.t Makefile
120        $(BMENU) -p "" \
121            -u "Top" \
122            -n "" ${*}.t
123
124config.texi: config.t Makefile
125        $(BMENU) -p "" \
126            -u "Top" \
127            -n "" ${*}.t
128
129network.texi: network.t Makefile
130        $(BMENU) -p "" \
131            -u "Top" \
132            -n "" ${*}.t
133
Note: See TracBrowser for help on using the repository browser.