source: rtems/doc/started_ada/Makefile @ c19a4847

4.104.114.84.95
Last change on this file since c19a4847 was a5ef387f, checked in by Joel Sherrill <joel.sherrill@…>, on 10/20/98 at 12:32:41

Added sections and had to change build menu commands.

  • Property mode set to 100644
File size: 2.2 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=started_ada
10DISTRIBUTION_LEVEL=public
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= buildada.texi buildrt.texi gdb.texi intro.texi \
22    require.texi sample.texi
23
24FILES= $(PROJECT).texi versions.texi $(GENERATED_FILES)
25
26INFOFILES=$(wildcard $(PROJECT) $(PROJECT)-*)
27
28info: dirs $(PROJECT)
29        #cp $(wildcard $(PROJECT) $(PROJECT)-*) $(INFO_INSTALL)
30        cp $(PROJECT) $(INFO_INSTALL)
31
32$(PROJECT): $(FILES)
33        $(MAKEINFO) $(PROJECT).texi
34
35dvi: $(PROJECT).dvi
36ps: 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
47intro.texi: intro.t versions.texi
48        $(BMENU) -c -p "Top" \
49            -u "Top" \
50            -n "Requirements" ${*}.t
51
52require.texi: require.t versions.texi
53        $(BMENU) -c -p "GNAT Chat Mailing List" \
54            -u "Top" \
55            -n "Building the GNAT Cross Compiler Toolset" ${*}.t
56
57buildada.texi: buildada.t versions.texi
58        $(BMENU) -c -p "Insure GCC and GNAT Environment Variables Are Not Set" \
59            -u "Top" \
60            -n "Building RTEMS" ${*}.t
61
62buildrt.texi: buildrt.t versions.texi
63        $(BMENU) -c -p "Running the bit_ada Script" \
64            -u "Top" \
65            -n "Building the Sample Application" ${*}.t
66
67sample.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
72gdb.texi: gdb.t versions.texi
73        $(BMENU) -c -p "Application Executable" \
74            -u "Top" \
75            -n "" ${*}.t
76
77html: dirs $(FILES)
78        -mkdir -p $(WWW_INSTALL)/$(PROJECT)
79        -cp ../started/pictures/sfile12c.jpg $(WWW_INSTALL)/$(PROJECT)
80        -cp ../started/pictures/bit_ada.jpg $(WWW_INSTALL)/$(PROJECT)
81        $(TEXI2WWW) $(TEXI2WWW_ARGS) -dir $(WWW_INSTALL)/$(PROJECT) \
82            $(PROJECT).texi
83
84clean:
85        rm -f *.o $(PROG) *.txt core
86        rm -f *.dvi *.ps *.log *.aux *.cp *.fn *.ky *.pg *.toc *.tp *.vr $(BASE)
87        rm -f $(PROJECT) $(PROJECT)-* $(GENERATED_FILES)
88        rm -f *.fixed _*
89
Note: See TracBrowser for help on using the repository browser.