source: rtems/doc/networking/Makefile @ f96d62ca

4.104.114.84.9
Last change on this file since f96d62ca was f96d62ca, checked in by Joel Sherrill <joel.sherrill@…>, on Oct 11, 1999 at 8:00:09 PM

Cleaned up to install dvi, use native texi2dvi, etc..

  • Property mode set to 100644
File size: 3.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
9PROJECT=networking
10
11include ../Make.config
12
13REPLACE=../tools/word-replace
14
15BMENU+= -c
16
17all: html info ps pdf
18
19dirs:
20        $(make-dirs)
21
22COMMON_FILES=../common/cpright.texi ../common/setup.texi
23
24GENERATED_FILES=networkapp.texi driver.texi networktasks.texi testing.texi \
25  servers.texi decdriver.texi
26
27FILES= $(PROJECT).texi \
28  networktasks.texi preface.texi $(GENERATED_FILES)
29
30INFOFILES=$(wildcard $(PROJECT) $(PROJECT)-*)
31
32info: dirs $(PROJECT)
33        #cp $(wildcard $(PROJECT) $(PROJECT)-*) $(INFO_INSTALL)
34        cp $(PROJECT) $(INFO_INSTALL)
35
36$(PROJECT): $(FILES)
37        $(MAKEINFO) $(PROJECT).texi
38
39dvi: dirs $(PROJECT).dvi
40ps: dirs $(PROJECT).ps
41pdf: dirs $(PROJECT).pdf
42       
43$(PROJECT).pdf: $(FILES)
44        $(TEXI2PDF) $(PROJECT).texi
45        cp $(PROJECT).pdf $(WWW_INSTALL)/$(PROJECT)
46       
47$(PROJECT).ps: $(PROJECT).dvi
48        dvips -o $(PROJECT).ps $(PROJECT).dvi
49        cp $(PROJECT).ps $(WWW_INSTALL)/$(PROJECT)
50
51$(PROJECT).dvi: $(FILES)
52        $(TEXI2DVI) $(PROJECT).texi
53        cp $(PROJECT).dvi $(WWW_INSTALL)/$(PROJECT)
54
55networktasks.texi: networktasks.t Makefile
56        $(BMENU) -p "Preface" \
57           -u "Top" \
58           -n "Networking Driver" ${*}.t
59
60driver.texi: driver.t Makefile
61        $(BMENU) -p "Network Task Structure and Data Flow" \
62           -u "Top" \
63           -n "Using Networking in an RTEMS Application" ${*}.t
64
65networkapp.texi: networkapp.t Makefile
66        $(BMENU) -p "Write the Driver Statistic-Printing Function" \
67           -u "Top" \
68           -n "Testing the Driver" ${*}.t
69
70testing.texi: testing.t Makefile
71        $(BMENU) -p "Socket Options" \
72           -u "Top" \
73           -n "Network Servers" ${*}.t
74
75servers.texi: servers.t Makefile
76        $(BMENU) -p "Throughput" \
77           -u "Top" \
78           -n "DEC 21140 Driver" ${*}.t
79
80decdriver.texi: decdriver.t Makefile
81        $(BMENU) -p "Using Hooks" \
82           -u "Top" \
83           -n "Command and Variable Index" ${*}.t
84
85html: dirs $(FILES)
86        -mkdir -p $(WWW_INSTALL)/$(PROJECT)
87        rm -f $(WWW_INSTALL)/$(PROJECT)/networkflow.jpg
88        rm -f $(WWW_INSTALL)/$(PROJECT)/networkflow.png
89        rm -f $(WWW_INSTALL)/$(PROJECT)/PCIreg.jpg
90        cp recvbd.jpg $(WWW_INSTALL)/$(PROJECT)/recvbd.jpg
91        cp networkflow.jpg $(WWW_INSTALL)/$(PROJECT)/networkflow.jpg
92        cp networkflow.png $(WWW_INSTALL)/$(PROJECT)/networkflow.png
93        cp PCIreg.jpg $(WWW_INSTALL)/$(PROJECT)/PCIreg.jpg
94        $(TEXI2WWW) $(TEXI2WWW_ARGS) -dir $(WWW_INSTALL)/$(PROJECT) \
95            $(PROJECT).texi
96
97clean:
98        rm -f *.o $(PROG) *.txt core $(PROJECT).pdf
99        rm -f *.dvi *.ps *.log *.aux *.cp *.fn *.ky *.pg *.toc *.tp *.vr $(BASE)
100        rm -f $(PROJECT) $(PROJECT)-* $(GENERATED_FILES)
101        rm -f $(PROJECT) $(PROJECT)-*
102        rm -f timedata.texi timetbl.texi intr.texi wksheets.texi
103        rm -f timetbl.t wksheets.t
104        rm -f *.fixed _*
105
106convert:
107        /usr/bin/gs -dMaxBitmap=300000000 -g5500x7500 -sDEVICE=pdfwrite -q -dNOPAUSE -dSAFER  -sOutputFile=networkflow.pdf -- networkflow.eps -c -quit
108        /usr/bin/gs -dMaxBitmap=300000000 -g4500x5500 -sDEVICE=pdfwrite -q -dNOPAUSE -dSAFER -sOutputFile=PCIreg.pdf -- PCIreg.eps -c -quit
109        /usr/bin/gs -dMaxBitmap=300000000 -g4500x5500 -sDEVICE=pdfwrite -q -dNOPAUSE -dSAFER -sOutputFile=recvbd.pdf -- recvbd.eps -c -quit
Note: See TracBrowser for help on using the repository browser.