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