source: rtems/doc/posix1003.1/Makefile @ 829a116

4.104.114.84.9
Last change on this file since 829a116 was 829a116, checked in by Joel Sherrill <joel.sherrill@…>, on Oct 27, 1998 at 8:40:22 PM

Corrected 2nd invocation of texi2dvi so indices are built.

  • Property mode set to 100644
File size: 3.9 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=posix1003_1
10DISTRIBUTION_LEVEL=partners
11
12include ../Make.config
13
14all: html info ps
15
16dirs:
17        $(make-dirs)
18
19COMMON_FILES=../common/cpright.texi ../common/setup.texi
20
21GENERATED_FILES=ch01.texi ch02.texi ch03.texi ch04.texi ch05.texi \
22                ch06.texi ch07.texi ch08.texi ch09.texi ch10.texi \
23                ch11.texi ch12.texi ch13.texi ch14.texi ch15.texi \
24                ch16.texi ch17.texi ch18.texi ch19.t ch19.texi
25
26FILES= $(PROJECT).texi \
27  preface.texi $(GENERATED_FILES)
28
29INFOFILES=$(wildcard $(PROJECT) $(PROJECT)-*)
30
31info: dirs $(PROJECT)
32        #cp $(wildcard $(PROJECT) $(PROJECT)-*) $(INFO_INSTALL)
33        cp $(PROJECT) $(INFO_INSTALL)
34
35$(PROJECT): $(FILES)
36        $(MAKEINFO) $(PROJECT).texi
37
38dvi: $(PROJECT).dvi
39ps: dirs $(PROJECT).ps
40       
41$(PROJECT).ps: $(PROJECT).dvi
42        dvips -o $(PROJECT).ps $(PROJECT).dvi
43        cp $(PROJECT).ps $(PS_INSTALL)
44
45# run texi2dvi twice to generate the xref's properly.
46$(PROJECT).dvi: $(FILES)
47        $(TEXI2DVI) -v $(PROJECT).texi
48        texi2dvi $(PROJECT).texi
49
50ch01.texi: ch01.t
51        $(BMENU) -c -p "Preface" \
52            -u "Top" \
53            -n "Terminology and General Requirements" ${*}.t
54
55ch02.texi: ch02.t
56        $(BMENU) -c -p "Conformance" \
57            -u "Top" \
58            -n "Process Primitives" ${*}.t
59
60ch03.texi: ch03.t
61        $(BMENU) -c -p "Execution-Time Symbolic Constants for Portability Specifications" \
62            -u "Top" \
63            -n "Process Environment" ${*}.t
64
65ch04.texi: ch04.t
66        $(BMENU) -c -p "Delay Process Execution" \
67            -u "Top" \
68            -n "Files and Directories" ${*}.t
69
70ch05.texi: ch05.t
71        $(BMENU) -c -p "Get Configurable System Variables" \
72            -u "Top" \
73            -n "Input and Output Primitives" ${*}.t
74
75ch06.texi: ch06.t
76        $(BMENU) -c -p "Get Configurable Pathname Variables" \
77            -u "Top" \
78            -n "Device- and Class-Specific Functions" ${*}.t
79
80ch07.texi: ch07.t
81        $(BMENU) -c -p " Asynchronous File Synchronization" \
82            -u "Top" \
83            -n "Language-Specific Services for the C Programming Language" ${*}.t
84
85ch08.texi: ch08.t
86        $(BMENU) -c -p "Set Foreground Process Group ID" \
87            -u "Top" \
88            -n "System Databases" ${*}.t
89
90ch09.texi: ch09.t
91        $(BMENU) -c -p "Pseudo-Random Sequence Generation Functions" \
92            -u "Top" \
93            -n "Data Interchange Format" ${*}.t
94
95ch10.texi: ch10.t
96        $(BMENU) -c -p "User Database Access" \
97            -u "Top" \
98            -n "Synchronization" ${*}.t
99
100ch11.texi: ch11.t
101        $(BMENU) -c -p "Multiple Volumes" \
102            -u "Top" \
103            -n "Memory Management" ${*}.t
104
105ch12.texi: ch12.t
106        $(BMENU) -c -p "Waiting on a Condition" \
107            -u "Top" \
108            -n "Execution Scheduling" ${*}.t
109
110ch13.texi: ch13.t
111        $(BMENU) -c -p "Remove a Shared Memory Object" \
112            -u "Top" \
113            -n "Clocks and Timers" ${*}.t
114
115ch14.texi: ch14.t
116        $(BMENU) -c -p "Change the Priority Ceiling of a Mutex" \
117            -u "Top" \
118            -n "Message Passing" ${*}.t
119
120ch15.texi: ch15.t
121        $(BMENU) -c -p "High Resolution Sleep" \
122            -u "Top" \
123            -n "Thread Management" ${*}.t
124
125ch16.texi: ch16.t
126        $(BMENU) -c -p "Get Message Queue Attributes" \
127            -u "Top" \
128            -n "Thread-Specific Data" ${*}.t
129
130ch17.texi: ch17.t
131        $(BMENU) -c -p "Dynamic Package Initialization" \
132            -u "Top" \
133            -n "Thread Cancellation" ${*}.t
134
135ch18.texi: ch18.t
136        $(BMENU) -c -p "Thread-Specific Data Key Deletion" \
137            -u "Top" \
138            -n "Compliance Summary" ${*}.t
139
140ch19.t: ch01.t ch02.t ch03.t ch04.t ch05.t ch06.t ch07.t ch08.t ch09.t \
141        ch10.t ch11.t ch12.t ch13.t ch14.t ch15.t ch16.t ch17.t ch18.t \
142        summarize
143        ./summarize >ch19.t
144
145ch19.texi: ch19.t
146        $(BMENU) -c -p "List of Cancellation Points" \
147            -u "Top" \
148            -n "Command and Variable Index" ${*}.t
149       
150html: dirs $(FILES)
151        -mkdir -p $(WWW_INSTALL)/$(PROJECT)
152        $(TEXI2WWW) $(TEXI2WWW_ARGS) -dir $(WWW_INSTALL)/$(PROJECT) \
153            $(PROJECT).texi
154
155clean:
156        rm -f *.o $(PROG) *.txt core
157        rm -f *.dvi *.ps *.log *.aux *.cp *.fn *.ky *.pg *.toc *.tp *.vr $(BASE)
158        rm -f $(PROJECT) $(PROJECT)-* $(GENERATED_FILES)
159        rm -f *.fixed _*
160
Note: See TracBrowser for help on using the repository browser.