source: rtems/doc/networking/Makefile @ 8d0ea20

4.104.114.84.95
Last change on this file since 8d0ea20 was 62e508f, checked in by Joel Sherrill <joel.sherrill@…>, on 09/08/98 at 13:17:21

Removed chapter names from automatically generated node names.

  • Property mode set to 100644
File size: 2.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
10DISTRIBUTION_LEVEL=public
11
12include ../Make.config
13
14REPLACE=../tools/word-replace
15
16BMENU+= -c
17
18all: html info ps
19
20dirs:
21        $(make-dirs)
22
23COMMON_FILES=../common/cpright.texi ../common/setup.texi
24
25GENERATED_FILES=networkapp.texi driver.texi networktasks.texi testing.texi
26
27FILES= $(PROJECT).texi \
28  networktasks.texi preface.texi $(GENERATED_FILES)
29
30INFOFILES=$(wildcard $(PROJECT) $(PROJECT)-*)
31
32info: dirs networking
33        #cp $(wildcard $(PROJECT) $(PROJECT)-*) $(INFO_INSTALL)
34        cp $(PROJECT) $(INFO_INSTALL)
35
36networking: $(FILES)
37        $(MAKEINFO) $(PROJECT).texi
38
39dvi: $(PROJECT).dvi
40ps: dirs $(PROJECT).ps
41       
42$(PROJECT).ps: $(PROJECT).dvi
43        dvips -o $(PROJECT).ps $(PROJECT).dvi
44        cp $(PROJECT).ps $(PS_INSTALL)
45
46$(PROJECT).dvi: $(FILES)
47        $(TEXI2DVI) $(PROJECT).texi
48
49networktasks.texi: networktasks.t Makefile
50        $(BMENU) -p "Preface" \
51           -u "Top" \
52           -n "Writing RTEMS Network Device Drivers" ${*}.t
53
54driver.texi: driver.t Makefile
55        $(BMENU) -p "Network Task Structure and Data Flow" \
56           -u "Top" \
57           -n "Using Networking in an RTEMS Application" ${*}.t
58
59networkapp.texi: networkapp.t Makefile
60        $(BMENU) -p " Write Your Driver Statistic-Printing Function" \
61           -u "Top" \
62           -n "Testing the Driver" ${*}.t
63
64testing.texi: testing.t Makefile
65        $(BMENU) -p "Network Statistics" \
66           -u "Top" \
67           -n "Command and Variable Index" ${*}.t
68
69html: dirs $(FILES)
70        -mkdir -p $(WWW_INSTALL)/$(PROJECT)
71        rm -f $(WWW_INSTALL)/$(PROJECT)/networking.gif
72        cp networking.gif $(WWW_INSTALL)/$(PROJECT)/networking.gif
73        $(TEXI2WWW) $(TEXI2WWW_ARGS) -dir $(WWW_INSTALL)/$(PROJECT) \
74            $(PROJECT).texi
75
76clean:
77        rm -f *.o $(PROG) *.txt core
78        rm -f *.dvi *.ps *.log *.aux *.cp *.fn *.ky *.pg *.toc *.tp *.vr $(BASE)
79        rm -f $(PROJECT) $(PROJECT)-* $(GENERATED_FILES)
80        rm -f networking networking-*
81        rm -f timedata.texi timetbl.texi intr.texi wksheets.texi
82        rm -f timetbl.t wksheets.t
83        rm -f *.fixed _*
84
Note: See TracBrowser for help on using the repository browser.