1 | # |
---|
2 | # COPYRIGHT (c) 1988-1998. |
---|
3 | # On-Line Applications Research Corporation (OAR). |
---|
4 | # All rights reserved. |
---|
5 | # |
---|
6 | # $Id$ |
---|
7 | # |
---|
8 | |
---|
9 | PROJECT=started |
---|
10 | DISTRIBUTION_LEVEL=public |
---|
11 | |
---|
12 | include ../Make.config |
---|
13 | |
---|
14 | all: html info ps |
---|
15 | |
---|
16 | dirs: |
---|
17 | $(make-dirs) |
---|
18 | |
---|
19 | COMMON_FILES=../common/cpright.texi ../common/setup.texi |
---|
20 | |
---|
21 | GENERATED_FILES= buildc.texi buildrt.texi gdb.texi intro.texi \ |
---|
22 | nt.texi require.texi sample.texi |
---|
23 | |
---|
24 | FILES= $(PROJECT).texi versions.texi $(GENERATED_FILES) |
---|
25 | |
---|
26 | INFOFILES=$(wildcard $(PROJECT) $(PROJECT)-*) |
---|
27 | |
---|
28 | info: dirs $(PROJECT) |
---|
29 | #cp $(wildcard $(PROJECT) $(PROJECT)-*) $(INFO_INSTALL) |
---|
30 | cp $(PROJECT) $(INFO_INSTALL) |
---|
31 | |
---|
32 | $(PROJECT): $(FILES) |
---|
33 | $(MAKEINFO) $(PROJECT).texi |
---|
34 | |
---|
35 | dvi: $(PROJECT).dvi |
---|
36 | ps: dirs $(PROJECT).ps |
---|
37 | |
---|
38 | $(PROJECT).ps: $(PROJECT).dvi |
---|
39 | dvips -o $(PROJECT).ps $(PROJECT).dvi |
---|
40 | cp $(PROJECT).ps $(PS_INSTALL) |
---|
41 | |
---|
42 | # run texi2dvi twice to generate the xref's properly. |
---|
43 | $(PROJECT).dvi: $(FILES) |
---|
44 | $(TEXI2DVI) -v $(PROJECT).texi |
---|
45 | texi2dvi -v $(PROJECT).texi |
---|
46 | |
---|
47 | intro.texi: intro.t versions.texi |
---|
48 | $(BMENU) -c -p "Top" \ |
---|
49 | -u "Top" \ |
---|
50 | -n "Requirements" ${*}.t |
---|
51 | |
---|
52 | require.texi: require.t versions.texi |
---|
53 | $(BMENU) -c -p "EGCS Mailing List" \ |
---|
54 | -u "Top" \ |
---|
55 | -n "Building the GNU C/C++ Cross Compiler Toolset" ${*}.t |
---|
56 | |
---|
57 | buildc.texi: buildc.t versions.texi |
---|
58 | $(BMENU) -c -p "GNU makeinfo Version Requirements" \ |
---|
59 | -u "Top" \ |
---|
60 | -n "Building RTEMS" ${*}.t |
---|
61 | |
---|
62 | buildrt.texi: buildrt.t versions.texi |
---|
63 | $(BMENU) -c -p "Error Messages Indicating Configuration Problems" \ |
---|
64 | -u "Top" \ |
---|
65 | -n "Building the Sample Application" ${*}.t |
---|
66 | |
---|
67 | sample.texi: sample.t versions.texi |
---|
68 | $(BMENU) -c -p "Using the RTEMS configure Script Directly" \ |
---|
69 | -u "Top" \ |
---|
70 | -n "Building the GNU Debugger" ${*}.t |
---|
71 | |
---|
72 | gdb.texi: gdb.t versions.texi |
---|
73 | $(BMENU) -c -p "Application Executable" \ |
---|
74 | -u "Top" \ |
---|
75 | -n "Using MS-Windows as a Development Host" ${*}.t |
---|
76 | |
---|
77 | nt.texi: nt.t versions.texi |
---|
78 | $(BMENU) -c -p "GDB for DINK32" \ |
---|
79 | -u "Top" \ |
---|
80 | -n "" ${*}.t |
---|
81 | |
---|
82 | html: dirs $(FILES) |
---|
83 | -mkdir -p $(WWW_INSTALL)/$(PROJECT) |
---|
84 | -cp pictures/sfile12c.jpg $(WWW_INSTALL)/$(PROJECT) |
---|
85 | -cp pictures/bit_c.jpg $(WWW_INSTALL)/$(PROJECT) |
---|
86 | $(TEXI2WWW) $(TEXI2WWW_ARGS) -dir $(WWW_INSTALL)/$(PROJECT) \ |
---|
87 | $(PROJECT).texi |
---|
88 | |
---|
89 | clean: |
---|
90 | rm -f *.o $(PROG) *.txt core |
---|
91 | rm -f *.dvi *.ps *.log *.aux *.cp *.fn *.ky *.pg *.toc *.tp *.vr $(BASE) |
---|
92 | rm -f $(PROJECT) $(PROJECT)-* $(GENERATED_FILES) |
---|
93 | rm -f *.fixed _* |
---|
94 | |
---|