Added options to make Robodoc more customizable.
[robodoc.git] / Source / makefile.bcc
1 #****h* ROBODoc/Makefile.bcc
2 # NAME
3 #   Makefile.bcc -- Makefile for Borland C++ Compiler 5.5
4 #   Adapted from Makefile.plain
5 #
6 # SYNOPSIS
7 #   make -f makefile.bcc robodoc
8 # PURPOSE
9 #   The following targets are the most useful for the user.
10 #   robodoc -  makes the robodc executable.
11 #
12 #****
13 #
14 # $Id: makefile.bcc,v 1.7 2007/05/04 13:31:31 petterik Exp $
15 #
16
17 SHELL = /bin/sh
18 .SUFFIXES:
19 .SUFFIXES: .c .obj
20
21 #--------------------------------------
22
23 CC = bcc32
24 CFLAGS = -DRB_BCC -DIGNORE_CASE_FILENAMES
25 LIBS=
26
27 #
28 #
29 #
30
31 BROWSER=netscape
32 ROBODOC=./robodoc
33 ETAGS=/usr/bin/etags
34 EGREP=/bin/egrep
35 RM=/bin/rm
36 VERS=4.99.1
37 RELEASE=1
38
39 #--------------------------------------
40 # sources for the robodoc executable
41 #--------------------------------------
42
43 # BCC -e filename.exe wouldn't work
44 # so list robodoc.c first to ensure correct .exe name
45 #
46
47 SOURCES = analyser.c \
48           ascii_generator.c \
49           directory.c \
50           generator.c \
51           document.c \
52           globals.c \
53           headers.c \
54           headertypes.c \
55           html_generator.c \
56           items.c \
57           links.c \
58           file.c \
59           latex_generator.c \
60           part.c \
61           path.c \
62           roboconfig.c \
63           robodoc.c \
64           rtf_generator.c \
65           sgmldocbook_generator.c \
66           test_generator.c \
67           troff_generator.c \
68           util.c \
69           xmldocbook_generator.c
70
71 HEADERS= analyser.h \
72          ascii_generator.h \
73          directory.h \
74          dirwalk.h \
75          document.h \
76          file.h \
77          generator.h \
78          globals.h \
79          headers.h \
80           headertypes.h \
81          html_generator.h \
82          items.h \
83          latex_generator.h \
84          links.h \
85          part.h \
86          path.h \
87          roboconfig.h \
88          robodoc.h \
89          rtf_generator.h \
90          sgmldocbook_generator.h \
91          test_generator.h \
92          troff_generator.h \
93          unittest.h \
94          util.h \
95          xmldocbook_generator.h
96
97 OBJECTS= robodoc.obj \
98          analyser.obj \
99          ascii_generator.obj \
100          directory.obj \
101          generator.obj \
102          document.obj \
103          globals.obj \
104          headers.obj \
105          headertypes.obj \
106          html_generator.obj \
107          items.obj \
108          links.obj \
109          file.obj \
110          latex_generator.obj \
111          part.obj \
112          path.obj \
113          roboconfig.obj \
114          rtf_generator.obj \
115          sgmldocbook_generator.obj \
116          test_generator.obj \
117          troff_generator.obj \
118          util.obj \
119          xmldocbook_generator.obj
120
121 #****e* Makefile.bcc/robodoc
122 # NAME
123 #   robodoc --
124 # NOTE
125 #   This assumes that you version of make knows how to make an .obj file
126 #   out of an .c file.
127 # SOURCE
128 #
129
130 robodoc : $(OBJECTS) 
131         $(CC) $(OBJECTS) $(LIBS)
132
133 #****
134 #------------------------------
135 # Construction of the makefile
136 #------------------------------
137
138 depend :
139         makedepend -Y"" -f makefile.bcc $(SOURCES) $(HEADERS)
140
141 depend2:
142         $(CC) -MM $(SOURCES)
143
144 # DO NOT DELETE
145
146 analyser.o : robodoc.h globals.h headers.h items.h util.h links.h \
147   analyser.h document.h file.h path.h part.h 
148 ascii_generator.o : ascii_generator.h headers.h util.h robodoc.h globals.h \
149   items.h generator.h document.h 
150 directory.o : robodoc.h directory.h file.h path.h 
151 generator.o : globals.h robodoc.h headers.h items.h util.h links.h \
152   generator.h document.h part.h file.h path.h roboconfig.h \
153   html_generator.h latex_generator.h sgmldocbook_generator.h \
154   rtf_generator.h troff_generator.h ascii_generator.h analyser.h 
155 document.o : robodoc.h document.h part.h path.h directory.h file.h \
156   headers.h links.h util.h generator.h 
157 globals.o : robodoc.h globals.h headers.h util.h 
158 headers.o : robodoc.h headers.h 
159 headertypes.o : robodoc.h headertypes.h 
160 html_generator.o : html_generator.h headers.h util.h globals.h robodoc.h \
161   links.h generator.h document.h items.h 
162 items.o : globals.h robodoc.h items.h roboconfig.h 
163 links.o : globals.h robodoc.h headers.h util.h links.h 
164 file.o : file.h path.h headers.h util.h 
165 latex_generator.o : generator.h robodoc.h headers.h document.h util.h \
166   links.h latex_generator.h globals.h 
167 part.o : headers.h file.h path.h part.h util.h 
168 path.o : path.h robodoc.h headers.h util.h 
169 roboconfig.o : util.h roboconfig.h 
170 robodoc.o : robodoc.h globals.h headers.h items.h util.h links.h \
171   part.h analyser.h document.h generator.h directory.h file.h path.h \
172   roboconfig.h 
173 rtf_generator.o : rtf_generator.h headers.h util.h robodoc.h globals.h \
174   generator.h document.h items.h 
175 sgmldocbook_generator.o : sgmldocbook_generator.h headers.h util.h \
176   robodoc.h globals.h links.h generator.h document.h items.h 
177 test_generator.o : test_generator.h globals.h util.h
178 troff_generator.o : troff_generator.h headers.h util.h robodoc.h items.h \
179   generator.h document.h 
180 util.o : robodoc.h globals.h links.h headers.h items.h util.h 
181 xmldocbook_generator.o : xmldocbook_generator.h globals.h util.h 
182