source: rtems/doc/posix1003.1/Makefile @ 2e9dfd59

4.104.114.84.95
Last change on this file since 2e9dfd59 was 2e9dfd59, checked in by Joel Sherrill <joel.sherrill@…>, on Mar 26, 1998 at 8:29:49 PM

Installed in partners subdirectory

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