Fossil SCM

Back out the benoit branch changes added by the previous check-in.

drh 2010-06-23 11:46 ttmrichter merge
Commit 17075ffb37c69a35cc10662a2c1fc0468599050e
-2
--- Makefile
+++ Makefile
@@ -2,12 +2,10 @@
22
#
33
#### The toplevel directory of the source tree. Fossil can be built
44
# in a directory that is separate from the source tree. Just change
55
# the following to point from the build directory to the src/ folder.
66
#
7
-DIRSEP = /
8
-OPERATING_SYSTEM = unix
97
SRCDIR = ./src
108
119
#### The directory into which object code files should be written.
1210
#
1311
#
1412
--- Makefile
+++ Makefile
@@ -2,12 +2,10 @@
2 #
3 #### The toplevel directory of the source tree. Fossil can be built
4 # in a directory that is separate from the source tree. Just change
5 # the following to point from the build directory to the src/ folder.
6 #
7 DIRSEP = /
8 OPERATING_SYSTEM = unix
9 SRCDIR = ./src
10
11 #### The directory into which object code files should be written.
12 #
13 #
14
--- Makefile
+++ Makefile
@@ -2,12 +2,10 @@
2 #
3 #### The toplevel directory of the source tree. Fossil can be built
4 # in a directory that is separate from the source tree. Just change
5 # the following to point from the build directory to the src/ folder.
6 #
 
 
7 SRCDIR = ./src
8
9 #### The directory into which object code files should be written.
10 #
11 #
12
-2
--- Makefile
+++ Makefile
@@ -2,12 +2,10 @@
22
#
33
#### The toplevel directory of the source tree. Fossil can be built
44
# in a directory that is separate from the source tree. Just change
55
# the following to point from the build directory to the src/ folder.
66
#
7
-DIRSEP = /
8
-OPERATING_SYSTEM = unix
97
SRCDIR = ./src
108
119
#### The directory into which object code files should be written.
1210
#
1311
#
1412
--- Makefile
+++ Makefile
@@ -2,12 +2,10 @@
2 #
3 #### The toplevel directory of the source tree. Fossil can be built
4 # in a directory that is separate from the source tree. Just change
5 # the following to point from the build directory to the src/ folder.
6 #
7 DIRSEP = /
8 OPERATING_SYSTEM = unix
9 SRCDIR = ./src
10
11 #### The directory into which object code files should be written.
12 #
13 #
14
--- Makefile
+++ Makefile
@@ -2,12 +2,10 @@
2 #
3 #### The toplevel directory of the source tree. Fossil can be built
4 # in a directory that is separate from the source tree. Just change
5 # the following to point from the build directory to the src/ folder.
6 #
 
 
7 SRCDIR = ./src
8
9 #### The directory into which object code files should be written.
10 #
11 #
12
+2 -4
--- Makefile.w32
+++ Makefile.w32
@@ -2,14 +2,12 @@
22
#
33
#### The toplevel directory of the source tree. Fossil can be built
44
# in a directory that is separate from the source tree. Just change
55
# the following to point from the build directory to the src/ folder.
66
#
7
-DIRSEP = \\
8
-OPERATING_SYSTEM = windows
9
-SRCDIR = .$(DIRSEP)src
10
-OBJDIR = .$(DIRSEP)wobj
7
+SRCDIR = ./src
8
+OBJDIR = ./wobj
119
1210
#### C Compiler and options for use in building executables that
1311
# will run on the platform that is doing the build. This is used
1412
# to compile code-generator programs as part of the build process.
1513
# See TCC below for the C compiler for building the finished binary.
1614
--- Makefile.w32
+++ Makefile.w32
@@ -2,14 +2,12 @@
2 #
3 #### The toplevel directory of the source tree. Fossil can be built
4 # in a directory that is separate from the source tree. Just change
5 # the following to point from the build directory to the src/ folder.
6 #
7 DIRSEP = \\
8 OPERATING_SYSTEM = windows
9 SRCDIR = .$(DIRSEP)src
10 OBJDIR = .$(DIRSEP)wobj
11
12 #### C Compiler and options for use in building executables that
13 # will run on the platform that is doing the build. This is used
14 # to compile code-generator programs as part of the build process.
15 # See TCC below for the C compiler for building the finished binary.
16
--- Makefile.w32
+++ Makefile.w32
@@ -2,14 +2,12 @@
2 #
3 #### The toplevel directory of the source tree. Fossil can be built
4 # in a directory that is separate from the source tree. Just change
5 # the following to point from the build directory to the src/ folder.
6 #
7 SRCDIR = ./src
8 OBJDIR = ./wobj
 
 
9
10 #### C Compiler and options for use in building executables that
11 # will run on the platform that is doing the build. This is used
12 # to compile code-generator programs as part of the build process.
13 # See TCC below for the C compiler for building the finished binary.
14
+455 -478
--- src/main.mk
+++ src/main.mk
@@ -11,80 +11,80 @@
1111
1212
XTCC = $(TCC) $(CFLAGS) -I. -I$(SRCDIR)
1313
1414
1515
SRC = \
16
- $(SRCDIR)$(DIRSEP)add.c \
17
- $(SRCDIR)$(DIRSEP)allrepo.c \
18
- $(SRCDIR)$(DIRSEP)attach.c \
19
- $(SRCDIR)$(DIRSEP)bag.c \
20
- $(SRCDIR)$(DIRSEP)blob.c \
21
- $(SRCDIR)$(DIRSEP)branch.c \
22
- $(SRCDIR)$(DIRSEP)browse.c \
23
- $(SRCDIR)$(DIRSEP)captcha.c \
24
- $(SRCDIR)$(DIRSEP)cgi.c \
25
- $(SRCDIR)$(DIRSEP)checkin.c \
26
- $(SRCDIR)$(DIRSEP)checkout.c \
27
- $(SRCDIR)$(DIRSEP)clearsign.c \
28
- $(SRCDIR)$(DIRSEP)clone.c \
29
- $(SRCDIR)$(DIRSEP)comformat.c \
30
- $(SRCDIR)$(DIRSEP)configure.c \
31
- $(SRCDIR)$(DIRSEP)content.c \
32
- $(SRCDIR)$(DIRSEP)db.c \
33
- $(SRCDIR)$(DIRSEP)delta.c \
34
- $(SRCDIR)$(DIRSEP)deltacmd.c \
35
- $(SRCDIR)$(DIRSEP)descendants.c \
36
- $(SRCDIR)$(DIRSEP)diff.c \
37
- $(SRCDIR)$(DIRSEP)diffcmd.c \
38
- $(SRCDIR)$(DIRSEP)doc.c \
39
- $(SRCDIR)$(DIRSEP)encode.c \
40
- $(SRCDIR)$(DIRSEP)file.c \
41
- $(SRCDIR)$(DIRSEP)finfo.c \
42
- $(SRCDIR)$(DIRSEP)graph.c \
43
- $(SRCDIR)$(DIRSEP)http.c \
44
- $(SRCDIR)$(DIRSEP)http_socket.c \
45
- $(SRCDIR)$(DIRSEP)http_ssl.c \
46
- $(SRCDIR)$(DIRSEP)http_transport.c \
47
- $(SRCDIR)$(DIRSEP)info.c \
48
- $(SRCDIR)$(DIRSEP)login.c \
49
- $(SRCDIR)$(DIRSEP)main.c \
50
- $(SRCDIR)$(DIRSEP)manifest.c \
51
- $(SRCDIR)$(DIRSEP)md5.c \
52
- $(SRCDIR)$(DIRSEP)merge.c \
53
- $(SRCDIR)$(DIRSEP)merge3.c \
54
- $(SRCDIR)$(DIRSEP)name.c \
55
- $(SRCDIR)$(DIRSEP)pivot.c \
56
- $(SRCDIR)$(DIRSEP)pqueue.c \
57
- $(SRCDIR)$(DIRSEP)printf.c \
58
- $(SRCDIR)$(DIRSEP)rebuild.c \
59
- $(SRCDIR)$(DIRSEP)report.c \
60
- $(SRCDIR)$(DIRSEP)rss.c \
61
- $(SRCDIR)$(DIRSEP)schema.c \
62
- $(SRCDIR)$(DIRSEP)search.c \
63
- $(SRCDIR)$(DIRSEP)setup.c \
64
- $(SRCDIR)$(DIRSEP)sha1.c \
65
- $(SRCDIR)$(DIRSEP)shun.c \
66
- $(SRCDIR)$(DIRSEP)skins.c \
67
- $(SRCDIR)$(DIRSEP)stat.c \
68
- $(SRCDIR)$(DIRSEP)style.c \
69
- $(SRCDIR)$(DIRSEP)sync.c \
70
- $(SRCDIR)$(DIRSEP)tag.c \
71
- $(SRCDIR)$(DIRSEP)th_main.c \
72
- $(SRCDIR)$(DIRSEP)timeline.c \
73
- $(SRCDIR)$(DIRSEP)tkt.c \
74
- $(SRCDIR)$(DIRSEP)tktsetup.c \
75
- $(SRCDIR)$(DIRSEP)undo.c \
76
- $(SRCDIR)$(DIRSEP)update.c \
77
- $(SRCDIR)$(DIRSEP)url.c \
78
- $(SRCDIR)$(DIRSEP)user.c \
79
- $(SRCDIR)$(DIRSEP)verify.c \
80
- $(SRCDIR)$(DIRSEP)vfile.c \
81
- $(SRCDIR)$(DIRSEP)wiki.c \
82
- $(SRCDIR)$(DIRSEP)wikiformat.c \
83
- $(SRCDIR)$(DIRSEP)winhttp.c \
84
- $(SRCDIR)$(DIRSEP)xfer.c \
85
- $(SRCDIR)$(DIRSEP)zip.c
16
+ $(SRCDIR)/add.c \
17
+ $(SRCDIR)/allrepo.c \
18
+ $(SRCDIR)/attach.c \
19
+ $(SRCDIR)/bag.c \
20
+ $(SRCDIR)/blob.c \
21
+ $(SRCDIR)/branch.c \
22
+ $(SRCDIR)/browse.c \
23
+ $(SRCDIR)/captcha.c \
24
+ $(SRCDIR)/cgi.c \
25
+ $(SRCDIR)/checkin.c \
26
+ $(SRCDIR)/checkout.c \
27
+ $(SRCDIR)/clearsign.c \
28
+ $(SRCDIR)/clone.c \
29
+ $(SRCDIR)/comformat.c \
30
+ $(SRCDIR)/configure.c \
31
+ $(SRCDIR)/content.c \
32
+ $(SRCDIR)/db.c \
33
+ $(SRCDIR)/delta.c \
34
+ $(SRCDIR)/deltacmd.c \
35
+ $(SRCDIR)/descendants.c \
36
+ $(SRCDIR)/diff.c \
37
+ $(SRCDIR)/diffcmd.c \
38
+ $(SRCDIR)/doc.c \
39
+ $(SRCDIR)/encode.c \
40
+ $(SRCDIR)/file.c \
41
+ $(SRCDIR)/finfo.c \
42
+ $(SRCDIR)/graph.c \
43
+ $(SRCDIR)/http.c \
44
+ $(SRCDIR)/http_socket.c \
45
+ $(SRCDIR)/http_ssl.c \
46
+ $(SRCDIR)/http_transport.c \
47
+ $(SRCDIR)/info.c \
48
+ $(SRCDIR)/login.c \
49
+ $(SRCDIR)/main.c \
50
+ $(SRCDIR)/manifest.c \
51
+ $(SRCDIR)/md5.c \
52
+ $(SRCDIR)/merge.c \
53
+ $(SRCDIR)/merge3.c \
54
+ $(SRCDIR)/name.c \
55
+ $(SRCDIR)/pivot.c \
56
+ $(SRCDIR)/pqueue.c \
57
+ $(SRCDIR)/printf.c \
58
+ $(SRCDIR)/rebuild.c \
59
+ $(SRCDIR)/report.c \
60
+ $(SRCDIR)/rss.c \
61
+ $(SRCDIR)/schema.c \
62
+ $(SRCDIR)/search.c \
63
+ $(SRCDIR)/setup.c \
64
+ $(SRCDIR)/sha1.c \
65
+ $(SRCDIR)/shun.c \
66
+ $(SRCDIR)/skins.c \
67
+ $(SRCDIR)/stat.c \
68
+ $(SRCDIR)/style.c \
69
+ $(SRCDIR)/sync.c \
70
+ $(SRCDIR)/tag.c \
71
+ $(SRCDIR)/th_main.c \
72
+ $(SRCDIR)/timeline.c \
73
+ $(SRCDIR)/tkt.c \
74
+ $(SRCDIR)/tktsetup.c \
75
+ $(SRCDIR)/undo.c \
76
+ $(SRCDIR)/update.c \
77
+ $(SRCDIR)/url.c \
78
+ $(SRCDIR)/user.c \
79
+ $(SRCDIR)/verify.c \
80
+ $(SRCDIR)/vfile.c \
81
+ $(SRCDIR)/wiki.c \
82
+ $(SRCDIR)/wikiformat.c \
83
+ $(SRCDIR)/winhttp.c \
84
+ $(SRCDIR)/xfer.c \
85
+ $(SRCDIR)/zip.c
8686
8787
TRANS_SRC = \
8888
add_.c \
8989
allrepo_.c \
9090
attach_.c \
@@ -155,80 +155,80 @@
155155
winhttp_.c \
156156
xfer_.c \
157157
zip_.c
158158
159159
OBJ = \
160
- $(OBJDIR)$(DIRSEP)add.o \
161
- $(OBJDIR)$(DIRSEP)allrepo.o \
162
- $(OBJDIR)$(DIRSEP)attach.o \
163
- $(OBJDIR)$(DIRSEP)bag.o \
164
- $(OBJDIR)$(DIRSEP)blob.o \
165
- $(OBJDIR)$(DIRSEP)branch.o \
166
- $(OBJDIR)$(DIRSEP)browse.o \
167
- $(OBJDIR)$(DIRSEP)captcha.o \
168
- $(OBJDIR)$(DIRSEP)cgi.o \
169
- $(OBJDIR)$(DIRSEP)checkin.o \
170
- $(OBJDIR)$(DIRSEP)checkout.o \
171
- $(OBJDIR)$(DIRSEP)clearsign.o \
172
- $(OBJDIR)$(DIRSEP)clone.o \
173
- $(OBJDIR)$(DIRSEP)comformat.o \
174
- $(OBJDIR)$(DIRSEP)configure.o \
175
- $(OBJDIR)$(DIRSEP)content.o \
176
- $(OBJDIR)$(DIRSEP)db.o \
177
- $(OBJDIR)$(DIRSEP)delta.o \
178
- $(OBJDIR)$(DIRSEP)deltacmd.o \
179
- $(OBJDIR)$(DIRSEP)descendants.o \
180
- $(OBJDIR)$(DIRSEP)diff.o \
181
- $(OBJDIR)$(DIRSEP)diffcmd.o \
182
- $(OBJDIR)$(DIRSEP)doc.o \
183
- $(OBJDIR)$(DIRSEP)encode.o \
184
- $(OBJDIR)$(DIRSEP)file.o \
185
- $(OBJDIR)$(DIRSEP)finfo.o \
186
- $(OBJDIR)$(DIRSEP)graph.o \
187
- $(OBJDIR)$(DIRSEP)http.o \
188
- $(OBJDIR)$(DIRSEP)http_socket.o \
189
- $(OBJDIR)$(DIRSEP)http_ssl.o \
190
- $(OBJDIR)$(DIRSEP)http_transport.o \
191
- $(OBJDIR)$(DIRSEP)info.o \
192
- $(OBJDIR)$(DIRSEP)login.o \
193
- $(OBJDIR)$(DIRSEP)main.o \
194
- $(OBJDIR)$(DIRSEP)manifest.o \
195
- $(OBJDIR)$(DIRSEP)md5.o \
196
- $(OBJDIR)$(DIRSEP)merge.o \
197
- $(OBJDIR)$(DIRSEP)merge3.o \
198
- $(OBJDIR)$(DIRSEP)name.o \
199
- $(OBJDIR)$(DIRSEP)pivot.o \
200
- $(OBJDIR)$(DIRSEP)pqueue.o \
201
- $(OBJDIR)$(DIRSEP)printf.o \
202
- $(OBJDIR)$(DIRSEP)rebuild.o \
203
- $(OBJDIR)$(DIRSEP)report.o \
204
- $(OBJDIR)$(DIRSEP)rss.o \
205
- $(OBJDIR)$(DIRSEP)schema.o \
206
- $(OBJDIR)$(DIRSEP)search.o \
207
- $(OBJDIR)$(DIRSEP)setup.o \
208
- $(OBJDIR)$(DIRSEP)sha1.o \
209
- $(OBJDIR)$(DIRSEP)shun.o \
210
- $(OBJDIR)$(DIRSEP)skins.o \
211
- $(OBJDIR)$(DIRSEP)stat.o \
212
- $(OBJDIR)$(DIRSEP)style.o \
213
- $(OBJDIR)$(DIRSEP)sync.o \
214
- $(OBJDIR)$(DIRSEP)tag.o \
215
- $(OBJDIR)$(DIRSEP)th_main.o \
216
- $(OBJDIR)$(DIRSEP)timeline.o \
217
- $(OBJDIR)$(DIRSEP)tkt.o \
218
- $(OBJDIR)$(DIRSEP)tktsetup.o \
219
- $(OBJDIR)$(DIRSEP)undo.o \
220
- $(OBJDIR)$(DIRSEP)update.o \
221
- $(OBJDIR)$(DIRSEP)url.o \
222
- $(OBJDIR)$(DIRSEP)user.o \
223
- $(OBJDIR)$(DIRSEP)verify.o \
224
- $(OBJDIR)$(DIRSEP)vfile.o \
225
- $(OBJDIR)$(DIRSEP)wiki.o \
226
- $(OBJDIR)$(DIRSEP)wikiformat.o \
227
- $(OBJDIR)$(DIRSEP)winhttp.o \
228
- $(OBJDIR)$(DIRSEP)xfer.o \
229
- $(OBJDIR)$(DIRSEP)zip.o
160
+ $(OBJDIR)/add.o \
161
+ $(OBJDIR)/allrepo.o \
162
+ $(OBJDIR)/attach.o \
163
+ $(OBJDIR)/bag.o \
164
+ $(OBJDIR)/blob.o \
165
+ $(OBJDIR)/branch.o \
166
+ $(OBJDIR)/browse.o \
167
+ $(OBJDIR)/captcha.o \
168
+ $(OBJDIR)/cgi.o \
169
+ $(OBJDIR)/checkin.o \
170
+ $(OBJDIR)/checkout.o \
171
+ $(OBJDIR)/clearsign.o \
172
+ $(OBJDIR)/clone.o \
173
+ $(OBJDIR)/comformat.o \
174
+ $(OBJDIR)/configure.o \
175
+ $(OBJDIR)/content.o \
176
+ $(OBJDIR)/db.o \
177
+ $(OBJDIR)/delta.o \
178
+ $(OBJDIR)/deltacmd.o \
179
+ $(OBJDIR)/descendants.o \
180
+ $(OBJDIR)/diff.o \
181
+ $(OBJDIR)/diffcmd.o \
182
+ $(OBJDIR)/doc.o \
183
+ $(OBJDIR)/encode.o \
184
+ $(OBJDIR)/file.o \
185
+ $(OBJDIR)/finfo.o \
186
+ $(OBJDIR)/graph.o \
187
+ $(OBJDIR)/http.o \
188
+ $(OBJDIR)/http_socket.o \
189
+ $(OBJDIR)/http_ssl.o \
190
+ $(OBJDIR)/http_transport.o \
191
+ $(OBJDIR)/info.o \
192
+ $(OBJDIR)/login.o \
193
+ $(OBJDIR)/main.o \
194
+ $(OBJDIR)/manifest.o \
195
+ $(OBJDIR)/md5.o \
196
+ $(OBJDIR)/merge.o \
197
+ $(OBJDIR)/merge3.o \
198
+ $(OBJDIR)/name.o \
199
+ $(OBJDIR)/pivot.o \
200
+ $(OBJDIR)/pqueue.o \
201
+ $(OBJDIR)/printf.o \
202
+ $(OBJDIR)/rebuild.o \
203
+ $(OBJDIR)/report.o \
204
+ $(OBJDIR)/rss.o \
205
+ $(OBJDIR)/schema.o \
206
+ $(OBJDIR)/search.o \
207
+ $(OBJDIR)/setup.o \
208
+ $(OBJDIR)/sha1.o \
209
+ $(OBJDIR)/shun.o \
210
+ $(OBJDIR)/skins.o \
211
+ $(OBJDIR)/stat.o \
212
+ $(OBJDIR)/style.o \
213
+ $(OBJDIR)/sync.o \
214
+ $(OBJDIR)/tag.o \
215
+ $(OBJDIR)/th_main.o \
216
+ $(OBJDIR)/timeline.o \
217
+ $(OBJDIR)/tkt.o \
218
+ $(OBJDIR)/tktsetup.o \
219
+ $(OBJDIR)/undo.o \
220
+ $(OBJDIR)/update.o \
221
+ $(OBJDIR)/url.o \
222
+ $(OBJDIR)/user.o \
223
+ $(OBJDIR)/verify.o \
224
+ $(OBJDIR)/vfile.o \
225
+ $(OBJDIR)/wiki.o \
226
+ $(OBJDIR)/wikiformat.o \
227
+ $(OBJDIR)/winhttp.o \
228
+ $(OBJDIR)/xfer.o \
229
+ $(OBJDIR)/zip.o
230230
231231
APPNAME = fossil$(E)
232232
233233
234234
@@ -238,568 +238,545 @@
238238
mv $(APPNAME) $(INSTALLDIR)
239239
240240
$(OBJDIR):
241241
-mkdir $(OBJDIR)
242242
243
-translate: $(SRCDIR)$(DIRSEP)translate.c
244
- $(BCC) -o translate $(SRCDIR)$(DIRSEP)translate.c
245
-
246
-makeheaders: $(SRCDIR)$(DIRSEP)makeheaders.c
247
- $(BCC) -o makeheaders $(SRCDIR)$(DIRSEP)makeheaders.c
248
-
249
-mkindex: $(SRCDIR)$(DIRSEP)mkindex.c
250
- $(BCC) -o mkindex $(SRCDIR)$(DIRSEP)mkindex.c
243
+translate: $(SRCDIR)/translate.c
244
+ $(BCC) -o translate $(SRCDIR)/translate.c
245
+
246
+makeheaders: $(SRCDIR)/makeheaders.c
247
+ $(BCC) -o makeheaders $(SRCDIR)/makeheaders.c
248
+
249
+mkindex: $(SRCDIR)/mkindex.c
250
+ $(BCC) -o mkindex $(SRCDIR)/mkindex.c
251251
252252
# WARNING. DANGER. Running the testsuite modifies the repository the
253
-# build is done from, i.e. the checkout belongs to. Do not sync$(DIRSEP)push
253
+# build is done from, i.e. the checkout belongs to. Do not sync/push
254254
# the repository after running the tests.
255255
test: $(APPNAME)
256
- $(TCLSH) test$(DIRSEP)tester.tcl $(APPNAME)
257
-
258
-VERSION.h: $(SRCDIR)$(DIRSEP)..$(DIRSEP)manifest.uuid $(SRCDIR)$(DIRSEP)..$(DIRSEP)manifest
259
-ifeq ($(OPERATING_SYSTEM),windows)
260
- awk "{ printf \"#define MANIFEST_UUID \\\"%%s\\\"\n\", $$1}" $(SRCDIR)$(DIRSEP)..$(DIRSEP)manifest.uuid >VERSION.h
261
- awk "{ printf \"#define MANIFEST_VERSION \\\"[%%.10s]\\\"\n\", $$1}" $(SRCDIR)$(DIRSEP)..$(DIRSEP)manifest.uuid >>VERSION.h
262
- awk "$$1==\"D\"{printf \"#define MANIFEST_DATE \\\"%%s %%s\\\"\n\", substr($$2,1,10),substr($$2,12)}" $(SRCDIR)$(DIRSEP)..$(DIRSEP)manifest >>VERSION.h
263
-else
264
- awk '{ printf "#define MANIFEST_UUID \"%s\"\n", $$1}' $(SRCDIR)$(DIRSEP)..$(DIRSEP)manifest.uuid >VERSION.h
265
- awk '{ printf "#define MANIFEST_VERSION \"[%.10s]\"\n", $$1}' $(SRCDIR)$(DIRSEP)..$(DIRSEP)manifest.uuid >>VERSION.h
266
- awk '$$1=="D"{printf "#define MANIFEST_DATE \"%s %s\"\n", substr($$2,1,10),substr($$2,12)}' $(SRCDIR)$(DIRSEP)..$(DIRSEP)manifest >>VERSION.h
267
-endif
268
-
269
-$(APPNAME): headers $(OBJ) $(OBJDIR)$(DIRSEP)sqlite3.o $(OBJDIR)$(DIRSEP)th.o $(OBJDIR)$(DIRSEP)th_lang.o
270
- $(TCC) -o $(APPNAME) $(OBJ) $(OBJDIR)$(DIRSEP)sqlite3.o $(OBJDIR)$(DIRSEP)th.o $(OBJDIR)$(DIRSEP)th_lang.o $(LIB)
256
+ $(TCLSH) test/tester.tcl $(APPNAME)
257
+
258
+VERSION.h: $(SRCDIR)/../manifest.uuid $(SRCDIR)/../manifest
259
+ awk '{ printf "#define MANIFEST_UUID \"%s\"\n", $$1}' $(SRCDIR)/../manifest.uuid >VERSION.h
260
+ awk '{ printf "#define MANIFEST_VERSION \"[%.10s]\"\n", $$1}' $(SRCDIR)/../manifest.uuid >>VERSION.h
261
+ awk '$$1=="D"{printf "#define MANIFEST_DATE \"%s %s\"\n", substr($$2,1,10),substr($$2,12)}' $(SRCDIR)/../manifest >>VERSION.h
262
+
263
+$(APPNAME): headers $(OBJ) $(OBJDIR)/sqlite3.o $(OBJDIR)/th.o $(OBJDIR)/th_lang.o
264
+ $(TCC) -o $(APPNAME) $(OBJ) $(OBJDIR)/sqlite3.o $(OBJDIR)/th.o $(OBJDIR)/th_lang.o $(LIB)
271265
272266
# This rule prevents make from using its default rules to try build
273267
# an executable named "manifest" out of the file named "manifest.c"
274268
#
275
-$(SRCDIR)$(DIRSEP)..$(DIRSEP)manifest:
269
+$(SRCDIR)/../manifest:
276270
# noop
277271
278272
clean:
279
-ifeq ($(OPERATING_SYSTEM),windows)
280
- del $(OBJDIR)$(DIRSEP)*.o *_.c $(APPNAME) VERSION.h
281
- del translate makeheaders mkindex page_index.h headers
282
- del add.h allrepo.h attach.h bag.h blob.h branch.h browse.h captcha.h cgi.h checkin.h checkout.h clearsign.h clone.h comformat.h configure.h content.h db.h delta.h deltacmd.h descendants.h diff.h diffcmd.h doc.h encode.h file.h finfo.h graph.h http.h http_socket.h http_ssl.h http_transport.h info.h login.h main.h manifest.h md5.h merge.h merge3.h name.h pivot.h pqueue.h printf.h rebuild.h report.h rss.h schema.h search.h setup.h sha1.h shun.h skins.h stat.h style.h sync.h tag.h th_main.h timeline.h tkt.h tktsetup.h undo.h update.h url.h user.h verify.h vfile.h wiki.h wikiformat.h winhttp.h xfer.h zip.h
283
-else
284
- rm -f $(OBJDIR)$(DIRSEP)*.o *_.c $(APPNAME) VERSION.h
285
- rm -f translate makeheaders mkindex page_index.h headers
286
- rm -f add.h allrepo.h attach.h bag.h blob.h branch.h browse.h captcha.h cgi.h checkin.h checkout.h clearsign.h clone.h comformat.h configure.h content.h db.h delta.h deltacmd.h descendants.h diff.h diffcmd.h doc.h encode.h file.h finfo.h graph.h http.h http_socket.h http_ssl.h http_transport.h info.h login.h main.h manifest.h md5.h merge.h merge3.h name.h pivot.h pqueue.h printf.h rebuild.h report.h rss.h schema.h search.h setup.h sha1.h shun.h skins.h stat.h style.h sync.h tag.h th_main.h timeline.h tkt.h tktsetup.h undo.h update.h url.h user.h verify.h vfile.h wiki.h wikiformat.h winhttp.h xfer.h zip.h
287
-endif
288
-
289
-cleanall:
290
-ifeq ($(OPERATING_SYSTEM),windows)
291
- del $(OBJDIR)$(DIRSEP)*.o *_.c $(APPNAME) translate$(E) makeheaders$(E) mkindex$(E) VERSION.h
292
- del translate makeheaders mkindex page_index.h headers
293
- del add.h allrepo.h attach.h bag.h blob.h branch.h browse.h captcha.h cgi.h checkin.h checkout.h clearsign.h clone.h comformat.h configure.h content.h db.h delta.h deltacmd.h descendants.h diff.h diffcmd.h doc.h encode.h file.h finfo.h graph.h http.h http_socket.h http_ssl.h http_transport.h info.h login.h main.h manifest.h md5.h merge.h merge3.h name.h pivot.h pqueue.h printf.h rebuild.h report.h rss.h schema.h search.h setup.h sha1.h shun.h skins.h stat.h style.h sync.h tag.h th_main.h timeline.h tkt.h tktsetup.h undo.h update.h url.h user.h verify.h vfile.h wiki.h wikiformat.h winhttp.h xfer.h zip.h
294
-else
295
- rm -f $(OBJDIR)$(DIRSEP)*.o *_.c $(APPNAME) translate$(E) makeheaders$(E) mkindex$(E) VERSION.h
296
- rm -f translate makeheaders mkindex page_index.h headers
297
- rm -f add.h allrepo.h attach.h bag.h blob.h branch.h browse.h captcha.h cgi.h checkin.h checkout.h clearsign.h clone.h comformat.h configure.h content.h db.h delta.h deltacmd.h descendants.h diff.h diffcmd.h doc.h encode.h file.h finfo.h graph.h http.h http_socket.h http_ssl.h http_transport.h info.h login.h main.h manifest.h md5.h merge.h merge3.h name.h pivot.h pqueue.h printf.h rebuild.h report.h rss.h schema.h search.h setup.h sha1.h shun.h skins.h stat.h style.h sync.h tag.h th_main.h timeline.h tkt.h tktsetup.h undo.h update.h url.h user.h verify.h vfile.h wiki.h wikiformat.h winhttp.h xfer.h zip.h
298
-endif
299
-
300
-page_index.h: $(TRANS_SRC) mkindex
301
- .$(DIRSEP)mkindex $(TRANS_SRC) >$@
302
-headers: page_index.h makeheaders VERSION.h
303
- .$(DIRSEP)makeheaders add_.c:add.h allrepo_.c:allrepo.h attach_.c:attach.h bag_.c:bag.h blob_.c:blob.h branch_.c:branch.h browse_.c:browse.h captcha_.c:captcha.h cgi_.c:cgi.h checkin_.c:checkin.h checkout_.c:checkout.h clearsign_.c:clearsign.h clone_.c:clone.h comformat_.c:comformat.h configure_.c:configure.h content_.c:content.h db_.c:db.h delta_.c:delta.h deltacmd_.c:deltacmd.h descendants_.c:descendants.h diff_.c:diff.h diffcmd_.c:diffcmd.h doc_.c:doc.h encode_.c:encode.h file_.c:file.h finfo_.c:finfo.h graph_.c:graph.h http_.c:http.h http_socket_.c:http_socket.h http_ssl_.c:http_ssl.h http_transport_.c:http_transport.h info_.c:info.h login_.c:login.h main_.c:main.h manifest_.c:manifest.h md5_.c:md5.h merge_.c:merge.h merge3_.c:merge3.h name_.c:name.h pivot_.c:pivot.h pqueue_.c:pqueue.h printf_.c:printf.h rebuild_.c:rebuild.h report_.c:report.h rss_.c:rss.h schema_.c:schema.h search_.c:search.h setup_.c:setup.h sha1_.c:sha1.h shun_.c:shun.h skins_.c:skins.h stat_.c:stat.h style_.c:style.h sync_.c:sync.h tag_.c:tag.h th_main_.c:th_main.h timeline_.c:timeline.h tkt_.c:tkt.h tktsetup_.c:tktsetup.h undo_.c:undo.h update_.c:update.h url_.c:url.h user_.c:user.h verify_.c:verify.h vfile_.c:vfile.h wiki_.c:wiki.h wikiformat_.c:wikiformat.h winhttp_.c:winhttp.h xfer_.c:xfer.h zip_.c:zip.h $(SRCDIR)$(DIRSEP)sqlite3.h $(SRCDIR)$(DIRSEP)th.h VERSION.h
273
+ rm -f $(OBJDIR)/*.o *_.c $(APPNAME) VERSION.h
274
+ rm -f translate makeheaders mkindex page_index.h headers
275
+ rm -f add.h allrepo.h attach.h bag.h blob.h branch.h browse.h captcha.h cgi.h checkin.h checkout.h clearsign.h clone.h comformat.h configure.h content.h db.h delta.h deltacmd.h descendants.h diff.h diffcmd.h doc.h encode.h file.h finfo.h graph.h http.h http_socket.h http_ssl.h http_transport.h info.h login.h main.h manifest.h md5.h merge.h merge3.h name.h pivot.h pqueue.h printf.h rebuild.h report.h rss.h schema.h search.h setup.h sha1.h shun.h skins.h stat.h style.h sync.h tag.h th_main.h timeline.h tkt.h tktsetup.h undo.h update.h url.h user.h verify.h vfile.h wiki.h wikiformat.h winhttp.h xfer.h zip.h
276
+
277
+page_index.h: $(TRANS_SRC) mkindex
278
+ ./mkindex $(TRANS_SRC) >$@
279
+headers: page_index.h makeheaders VERSION.h
280
+ ./makeheaders add_.c:add.h allrepo_.c:allrepo.h attach_.c:attach.h bag_.c:bag.h blob_.c:blob.h branch_.c:branch.h browse_.c:browse.h captcha_.c:captcha.h cgi_.c:cgi.h checkin_.c:checkin.h checkout_.c:checkout.h clearsign_.c:clearsign.h clone_.c:clone.h comformat_.c:comformat.h configure_.c:configure.h content_.c:content.h db_.c:db.h delta_.c:delta.h deltacmd_.c:deltacmd.h descendants_.c:descendants.h diff_.c:diff.h diffcmd_.c:diffcmd.h doc_.c:doc.h encode_.c:encode.h file_.c:file.h finfo_.c:finfo.h graph_.c:graph.h http_.c:http.h http_socket_.c:http_socket.h http_ssl_.c:http_ssl.h http_transport_.c:http_transport.h info_.c:info.h login_.c:login.h main_.c:main.h manifest_.c:manifest.h md5_.c:md5.h merge_.c:merge.h merge3_.c:merge3.h name_.c:name.h pivot_.c:pivot.h pqueue_.c:pqueue.h printf_.c:printf.h rebuild_.c:rebuild.h report_.c:report.h rss_.c:rss.h schema_.c:schema.h search_.c:search.h setup_.c:setup.h sha1_.c:sha1.h shun_.c:shun.h skins_.c:skins.h stat_.c:stat.h style_.c:style.h sync_.c:sync.h tag_.c:tag.h th_main_.c:th_main.h timeline_.c:timeline.h tkt_.c:tkt.h tktsetup_.c:tktsetup.h undo_.c:undo.h update_.c:update.h url_.c:url.h user_.c:user.h verify_.c:verify.h vfile_.c:vfile.h wiki_.c:wiki.h wikiformat_.c:wikiformat.h winhttp_.c:winhttp.h xfer_.c:xfer.h zip_.c:zip.h $(SRCDIR)/sqlite3.h $(SRCDIR)/th.h VERSION.h
304281
touch headers
305282
headers: Makefile
306283
Makefile:
307
-add_.c: $(SRCDIR)$(DIRSEP)add.c translate
308
- .$(DIRSEP)translate $(SRCDIR)$(DIRSEP)add.c >add_.c
284
+add_.c: $(SRCDIR)/add.c translate
285
+ ./translate $(SRCDIR)/add.c >add_.c
309286
310
-$(OBJDIR)$(DIRSEP)add.o: add_.c add.h $(SRCDIR)$(DIRSEP)config.h
311
- $(XTCC) -o $(OBJDIR)$(DIRSEP)add.o -c add_.c
287
+$(OBJDIR)/add.o: add_.c add.h $(SRCDIR)/config.h
288
+ $(XTCC) -o $(OBJDIR)/add.o -c add_.c
312289
313290
add.h: headers
314
-allrepo_.c: $(SRCDIR)$(DIRSEP)allrepo.c translate
315
- .$(DIRSEP)translate $(SRCDIR)$(DIRSEP)allrepo.c >allrepo_.c
291
+allrepo_.c: $(SRCDIR)/allrepo.c translate
292
+ ./translate $(SRCDIR)/allrepo.c >allrepo_.c
316293
317
-$(OBJDIR)$(DIRSEP)allrepo.o: allrepo_.c allrepo.h $(SRCDIR)$(DIRSEP)config.h
318
- $(XTCC) -o $(OBJDIR)$(DIRSEP)allrepo.o -c allrepo_.c
294
+$(OBJDIR)/allrepo.o: allrepo_.c allrepo.h $(SRCDIR)/config.h
295
+ $(XTCC) -o $(OBJDIR)/allrepo.o -c allrepo_.c
319296
320297
allrepo.h: headers
321
-attach_.c: $(SRCDIR)$(DIRSEP)attach.c translate
322
- .$(DIRSEP)translate $(SRCDIR)$(DIRSEP)attach.c >attach_.c
298
+attach_.c: $(SRCDIR)/attach.c translate
299
+ ./translate $(SRCDIR)/attach.c >attach_.c
323300
324
-$(OBJDIR)$(DIRSEP)attach.o: attach_.c attach.h $(SRCDIR)$(DIRSEP)config.h
325
- $(XTCC) -o $(OBJDIR)$(DIRSEP)attach.o -c attach_.c
301
+$(OBJDIR)/attach.o: attach_.c attach.h $(SRCDIR)/config.h
302
+ $(XTCC) -o $(OBJDIR)/attach.o -c attach_.c
326303
327304
attach.h: headers
328
-bag_.c: $(SRCDIR)$(DIRSEP)bag.c translate
329
- .$(DIRSEP)translate $(SRCDIR)$(DIRSEP)bag.c >bag_.c
305
+bag_.c: $(SRCDIR)/bag.c translate
306
+ ./translate $(SRCDIR)/bag.c >bag_.c
330307
331
-$(OBJDIR)$(DIRSEP)bag.o: bag_.c bag.h $(SRCDIR)$(DIRSEP)config.h
332
- $(XTCC) -o $(OBJDIR)$(DIRSEP)bag.o -c bag_.c
308
+$(OBJDIR)/bag.o: bag_.c bag.h $(SRCDIR)/config.h
309
+ $(XTCC) -o $(OBJDIR)/bag.o -c bag_.c
333310
334311
bag.h: headers
335
-blob_.c: $(SRCDIR)$(DIRSEP)blob.c translate
336
- .$(DIRSEP)translate $(SRCDIR)$(DIRSEP)blob.c >blob_.c
312
+blob_.c: $(SRCDIR)/blob.c translate
313
+ ./translate $(SRCDIR)/blob.c >blob_.c
337314
338
-$(OBJDIR)$(DIRSEP)blob.o: blob_.c blob.h $(SRCDIR)$(DIRSEP)config.h
339
- $(XTCC) -o $(OBJDIR)$(DIRSEP)blob.o -c blob_.c
315
+$(OBJDIR)/blob.o: blob_.c blob.h $(SRCDIR)/config.h
316
+ $(XTCC) -o $(OBJDIR)/blob.o -c blob_.c
340317
341318
blob.h: headers
342
-branch_.c: $(SRCDIR)$(DIRSEP)branch.c translate
343
- .$(DIRSEP)translate $(SRCDIR)$(DIRSEP)branch.c >branch_.c
319
+branch_.c: $(SRCDIR)/branch.c translate
320
+ ./translate $(SRCDIR)/branch.c >branch_.c
344321
345
-$(OBJDIR)$(DIRSEP)branch.o: branch_.c branch.h $(SRCDIR)$(DIRSEP)config.h
346
- $(XTCC) -o $(OBJDIR)$(DIRSEP)branch.o -c branch_.c
322
+$(OBJDIR)/branch.o: branch_.c branch.h $(SRCDIR)/config.h
323
+ $(XTCC) -o $(OBJDIR)/branch.o -c branch_.c
347324
348325
branch.h: headers
349
-browse_.c: $(SRCDIR)$(DIRSEP)browse.c translate
350
- .$(DIRSEP)translate $(SRCDIR)$(DIRSEP)browse.c >browse_.c
326
+browse_.c: $(SRCDIR)/browse.c translate
327
+ ./translate $(SRCDIR)/browse.c >browse_.c
351328
352
-$(OBJDIR)$(DIRSEP)browse.o: browse_.c browse.h $(SRCDIR)$(DIRSEP)config.h
353
- $(XTCC) -o $(OBJDIR)$(DIRSEP)browse.o -c browse_.c
329
+$(OBJDIR)/browse.o: browse_.c browse.h $(SRCDIR)/config.h
330
+ $(XTCC) -o $(OBJDIR)/browse.o -c browse_.c
354331
355332
browse.h: headers
356
-captcha_.c: $(SRCDIR)$(DIRSEP)captcha.c translate
357
- .$(DIRSEP)translate $(SRCDIR)$(DIRSEP)captcha.c >captcha_.c
333
+captcha_.c: $(SRCDIR)/captcha.c translate
334
+ ./translate $(SRCDIR)/captcha.c >captcha_.c
358335
359
-$(OBJDIR)$(DIRSEP)captcha.o: captcha_.c captcha.h $(SRCDIR)$(DIRSEP)config.h
360
- $(XTCC) -o $(OBJDIR)$(DIRSEP)captcha.o -c captcha_.c
336
+$(OBJDIR)/captcha.o: captcha_.c captcha.h $(SRCDIR)/config.h
337
+ $(XTCC) -o $(OBJDIR)/captcha.o -c captcha_.c
361338
362339
captcha.h: headers
363
-cgi_.c: $(SRCDIR)$(DIRSEP)cgi.c translate
364
- .$(DIRSEP)translate $(SRCDIR)$(DIRSEP)cgi.c >cgi_.c
340
+cgi_.c: $(SRCDIR)/cgi.c translate
341
+ ./translate $(SRCDIR)/cgi.c >cgi_.c
365342
366
-$(OBJDIR)$(DIRSEP)cgi.o: cgi_.c cgi.h $(SRCDIR)$(DIRSEP)config.h
367
- $(XTCC) -o $(OBJDIR)$(DIRSEP)cgi.o -c cgi_.c
343
+$(OBJDIR)/cgi.o: cgi_.c cgi.h $(SRCDIR)/config.h
344
+ $(XTCC) -o $(OBJDIR)/cgi.o -c cgi_.c
368345
369346
cgi.h: headers
370
-checkin_.c: $(SRCDIR)$(DIRSEP)checkin.c translate
371
- .$(DIRSEP)translate $(SRCDIR)$(DIRSEP)checkin.c >checkin_.c
347
+checkin_.c: $(SRCDIR)/checkin.c translate
348
+ ./translate $(SRCDIR)/checkin.c >checkin_.c
372349
373
-$(OBJDIR)$(DIRSEP)checkin.o: checkin_.c checkin.h $(SRCDIR)$(DIRSEP)config.h
374
- $(XTCC) -o $(OBJDIR)$(DIRSEP)checkin.o -c checkin_.c
350
+$(OBJDIR)/checkin.o: checkin_.c checkin.h $(SRCDIR)/config.h
351
+ $(XTCC) -o $(OBJDIR)/checkin.o -c checkin_.c
375352
376353
checkin.h: headers
377
-checkout_.c: $(SRCDIR)$(DIRSEP)checkout.c translate
378
- .$(DIRSEP)translate $(SRCDIR)$(DIRSEP)checkout.c >checkout_.c
354
+checkout_.c: $(SRCDIR)/checkout.c translate
355
+ ./translate $(SRCDIR)/checkout.c >checkout_.c
379356
380
-$(OBJDIR)$(DIRSEP)checkout.o: checkout_.c checkout.h $(SRCDIR)$(DIRSEP)config.h
381
- $(XTCC) -o $(OBJDIR)$(DIRSEP)checkout.o -c checkout_.c
357
+$(OBJDIR)/checkout.o: checkout_.c checkout.h $(SRCDIR)/config.h
358
+ $(XTCC) -o $(OBJDIR)/checkout.o -c checkout_.c
382359
383360
checkout.h: headers
384
-clearsign_.c: $(SRCDIR)$(DIRSEP)clearsign.c translate
385
- .$(DIRSEP)translate $(SRCDIR)$(DIRSEP)clearsign.c >clearsign_.c
361
+clearsign_.c: $(SRCDIR)/clearsign.c translate
362
+ ./translate $(SRCDIR)/clearsign.c >clearsign_.c
386363
387
-$(OBJDIR)$(DIRSEP)clearsign.o: clearsign_.c clearsign.h $(SRCDIR)$(DIRSEP)config.h
388
- $(XTCC) -o $(OBJDIR)$(DIRSEP)clearsign.o -c clearsign_.c
364
+$(OBJDIR)/clearsign.o: clearsign_.c clearsign.h $(SRCDIR)/config.h
365
+ $(XTCC) -o $(OBJDIR)/clearsign.o -c clearsign_.c
389366
390367
clearsign.h: headers
391
-clone_.c: $(SRCDIR)$(DIRSEP)clone.c translate
392
- .$(DIRSEP)translate $(SRCDIR)$(DIRSEP)clone.c >clone_.c
368
+clone_.c: $(SRCDIR)/clone.c translate
369
+ ./translate $(SRCDIR)/clone.c >clone_.c
393370
394
-$(OBJDIR)$(DIRSEP)clone.o: clone_.c clone.h $(SRCDIR)$(DIRSEP)config.h
395
- $(XTCC) -o $(OBJDIR)$(DIRSEP)clone.o -c clone_.c
371
+$(OBJDIR)/clone.o: clone_.c clone.h $(SRCDIR)/config.h
372
+ $(XTCC) -o $(OBJDIR)/clone.o -c clone_.c
396373
397374
clone.h: headers
398
-comformat_.c: $(SRCDIR)$(DIRSEP)comformat.c translate
399
- .$(DIRSEP)translate $(SRCDIR)$(DIRSEP)comformat.c >comformat_.c
375
+comformat_.c: $(SRCDIR)/comformat.c translate
376
+ ./translate $(SRCDIR)/comformat.c >comformat_.c
400377
401
-$(OBJDIR)$(DIRSEP)comformat.o: comformat_.c comformat.h $(SRCDIR)$(DIRSEP)config.h
402
- $(XTCC) -o $(OBJDIR)$(DIRSEP)comformat.o -c comformat_.c
378
+$(OBJDIR)/comformat.o: comformat_.c comformat.h $(SRCDIR)/config.h
379
+ $(XTCC) -o $(OBJDIR)/comformat.o -c comformat_.c
403380
404381
comformat.h: headers
405
-configure_.c: $(SRCDIR)$(DIRSEP)configure.c translate
406
- .$(DIRSEP)translate $(SRCDIR)$(DIRSEP)configure.c >configure_.c
382
+configure_.c: $(SRCDIR)/configure.c translate
383
+ ./translate $(SRCDIR)/configure.c >configure_.c
407384
408
-$(OBJDIR)$(DIRSEP)configure.o: configure_.c configure.h $(SRCDIR)$(DIRSEP)config.h
409
- $(XTCC) -o $(OBJDIR)$(DIRSEP)configure.o -c configure_.c
385
+$(OBJDIR)/configure.o: configure_.c configure.h $(SRCDIR)/config.h
386
+ $(XTCC) -o $(OBJDIR)/configure.o -c configure_.c
410387
411388
configure.h: headers
412
-content_.c: $(SRCDIR)$(DIRSEP)content.c translate
413
- .$(DIRSEP)translate $(SRCDIR)$(DIRSEP)content.c >content_.c
389
+content_.c: $(SRCDIR)/content.c translate
390
+ ./translate $(SRCDIR)/content.c >content_.c
414391
415
-$(OBJDIR)$(DIRSEP)content.o: content_.c content.h $(SRCDIR)$(DIRSEP)config.h
416
- $(XTCC) -o $(OBJDIR)$(DIRSEP)content.o -c content_.c
392
+$(OBJDIR)/content.o: content_.c content.h $(SRCDIR)/config.h
393
+ $(XTCC) -o $(OBJDIR)/content.o -c content_.c
417394
418395
content.h: headers
419
-db_.c: $(SRCDIR)$(DIRSEP)db.c translate
420
- .$(DIRSEP)translate $(SRCDIR)$(DIRSEP)db.c >db_.c
396
+db_.c: $(SRCDIR)/db.c translate
397
+ ./translate $(SRCDIR)/db.c >db_.c
421398
422
-$(OBJDIR)$(DIRSEP)db.o: db_.c db.h $(SRCDIR)$(DIRSEP)config.h
423
- $(XTCC) -o $(OBJDIR)$(DIRSEP)db.o -c db_.c
399
+$(OBJDIR)/db.o: db_.c db.h $(SRCDIR)/config.h
400
+ $(XTCC) -o $(OBJDIR)/db.o -c db_.c
424401
425402
db.h: headers
426
-delta_.c: $(SRCDIR)$(DIRSEP)delta.c translate
427
- .$(DIRSEP)translate $(SRCDIR)$(DIRSEP)delta.c >delta_.c
403
+delta_.c: $(SRCDIR)/delta.c translate
404
+ ./translate $(SRCDIR)/delta.c >delta_.c
428405
429
-$(OBJDIR)$(DIRSEP)delta.o: delta_.c delta.h $(SRCDIR)$(DIRSEP)config.h
430
- $(XTCC) -o $(OBJDIR)$(DIRSEP)delta.o -c delta_.c
406
+$(OBJDIR)/delta.o: delta_.c delta.h $(SRCDIR)/config.h
407
+ $(XTCC) -o $(OBJDIR)/delta.o -c delta_.c
431408
432409
delta.h: headers
433
-deltacmd_.c: $(SRCDIR)$(DIRSEP)deltacmd.c translate
434
- .$(DIRSEP)translate $(SRCDIR)$(DIRSEP)deltacmd.c >deltacmd_.c
410
+deltacmd_.c: $(SRCDIR)/deltacmd.c translate
411
+ ./translate $(SRCDIR)/deltacmd.c >deltacmd_.c
435412
436
-$(OBJDIR)$(DIRSEP)deltacmd.o: deltacmd_.c deltacmd.h $(SRCDIR)$(DIRSEP)config.h
437
- $(XTCC) -o $(OBJDIR)$(DIRSEP)deltacmd.o -c deltacmd_.c
413
+$(OBJDIR)/deltacmd.o: deltacmd_.c deltacmd.h $(SRCDIR)/config.h
414
+ $(XTCC) -o $(OBJDIR)/deltacmd.o -c deltacmd_.c
438415
439416
deltacmd.h: headers
440
-descendants_.c: $(SRCDIR)$(DIRSEP)descendants.c translate
441
- .$(DIRSEP)translate $(SRCDIR)$(DIRSEP)descendants.c >descendants_.c
417
+descendants_.c: $(SRCDIR)/descendants.c translate
418
+ ./translate $(SRCDIR)/descendants.c >descendants_.c
442419
443
-$(OBJDIR)$(DIRSEP)descendants.o: descendants_.c descendants.h $(SRCDIR)$(DIRSEP)config.h
444
- $(XTCC) -o $(OBJDIR)$(DIRSEP)descendants.o -c descendants_.c
420
+$(OBJDIR)/descendants.o: descendants_.c descendants.h $(SRCDIR)/config.h
421
+ $(XTCC) -o $(OBJDIR)/descendants.o -c descendants_.c
445422
446423
descendants.h: headers
447
-diff_.c: $(SRCDIR)$(DIRSEP)diff.c translate
448
- .$(DIRSEP)translate $(SRCDIR)$(DIRSEP)diff.c >diff_.c
424
+diff_.c: $(SRCDIR)/diff.c translate
425
+ ./translate $(SRCDIR)/diff.c >diff_.c
449426
450
-$(OBJDIR)$(DIRSEP)diff.o: diff_.c diff.h $(SRCDIR)$(DIRSEP)config.h
451
- $(XTCC) -o $(OBJDIR)$(DIRSEP)diff.o -c diff_.c
427
+$(OBJDIR)/diff.o: diff_.c diff.h $(SRCDIR)/config.h
428
+ $(XTCC) -o $(OBJDIR)/diff.o -c diff_.c
452429
453430
diff.h: headers
454
-diffcmd_.c: $(SRCDIR)$(DIRSEP)diffcmd.c translate
455
- .$(DIRSEP)translate $(SRCDIR)$(DIRSEP)diffcmd.c >diffcmd_.c
431
+diffcmd_.c: $(SRCDIR)/diffcmd.c translate
432
+ ./translate $(SRCDIR)/diffcmd.c >diffcmd_.c
456433
457
-$(OBJDIR)$(DIRSEP)diffcmd.o: diffcmd_.c diffcmd.h $(SRCDIR)$(DIRSEP)config.h
458
- $(XTCC) -o $(OBJDIR)$(DIRSEP)diffcmd.o -c diffcmd_.c
434
+$(OBJDIR)/diffcmd.o: diffcmd_.c diffcmd.h $(SRCDIR)/config.h
435
+ $(XTCC) -o $(OBJDIR)/diffcmd.o -c diffcmd_.c
459436
460437
diffcmd.h: headers
461
-doc_.c: $(SRCDIR)$(DIRSEP)doc.c translate
462
- .$(DIRSEP)translate $(SRCDIR)$(DIRSEP)doc.c >doc_.c
438
+doc_.c: $(SRCDIR)/doc.c translate
439
+ ./translate $(SRCDIR)/doc.c >doc_.c
463440
464
-$(OBJDIR)$(DIRSEP)doc.o: doc_.c doc.h $(SRCDIR)$(DIRSEP)config.h
465
- $(XTCC) -o $(OBJDIR)$(DIRSEP)doc.o -c doc_.c
441
+$(OBJDIR)/doc.o: doc_.c doc.h $(SRCDIR)/config.h
442
+ $(XTCC) -o $(OBJDIR)/doc.o -c doc_.c
466443
467444
doc.h: headers
468
-encode_.c: $(SRCDIR)$(DIRSEP)encode.c translate
469
- .$(DIRSEP)translate $(SRCDIR)$(DIRSEP)encode.c >encode_.c
445
+encode_.c: $(SRCDIR)/encode.c translate
446
+ ./translate $(SRCDIR)/encode.c >encode_.c
470447
471
-$(OBJDIR)$(DIRSEP)encode.o: encode_.c encode.h $(SRCDIR)$(DIRSEP)config.h
472
- $(XTCC) -o $(OBJDIR)$(DIRSEP)encode.o -c encode_.c
448
+$(OBJDIR)/encode.o: encode_.c encode.h $(SRCDIR)/config.h
449
+ $(XTCC) -o $(OBJDIR)/encode.o -c encode_.c
473450
474451
encode.h: headers
475
-file_.c: $(SRCDIR)$(DIRSEP)file.c translate
476
- .$(DIRSEP)translate $(SRCDIR)$(DIRSEP)file.c >file_.c
452
+file_.c: $(SRCDIR)/file.c translate
453
+ ./translate $(SRCDIR)/file.c >file_.c
477454
478
-$(OBJDIR)$(DIRSEP)file.o: file_.c file.h $(SRCDIR)$(DIRSEP)config.h
479
- $(XTCC) -o $(OBJDIR)$(DIRSEP)file.o -c file_.c
455
+$(OBJDIR)/file.o: file_.c file.h $(SRCDIR)/config.h
456
+ $(XTCC) -o $(OBJDIR)/file.o -c file_.c
480457
481458
file.h: headers
482
-finfo_.c: $(SRCDIR)$(DIRSEP)finfo.c translate
483
- .$(DIRSEP)translate $(SRCDIR)$(DIRSEP)finfo.c >finfo_.c
459
+finfo_.c: $(SRCDIR)/finfo.c translate
460
+ ./translate $(SRCDIR)/finfo.c >finfo_.c
484461
485
-$(OBJDIR)$(DIRSEP)finfo.o: finfo_.c finfo.h $(SRCDIR)$(DIRSEP)config.h
486
- $(XTCC) -o $(OBJDIR)$(DIRSEP)finfo.o -c finfo_.c
462
+$(OBJDIR)/finfo.o: finfo_.c finfo.h $(SRCDIR)/config.h
463
+ $(XTCC) -o $(OBJDIR)/finfo.o -c finfo_.c
487464
488465
finfo.h: headers
489
-graph_.c: $(SRCDIR)$(DIRSEP)graph.c translate
490
- .$(DIRSEP)translate $(SRCDIR)$(DIRSEP)graph.c >graph_.c
466
+graph_.c: $(SRCDIR)/graph.c translate
467
+ ./translate $(SRCDIR)/graph.c >graph_.c
491468
492
-$(OBJDIR)$(DIRSEP)graph.o: graph_.c graph.h $(SRCDIR)$(DIRSEP)config.h
493
- $(XTCC) -o $(OBJDIR)$(DIRSEP)graph.o -c graph_.c
469
+$(OBJDIR)/graph.o: graph_.c graph.h $(SRCDIR)/config.h
470
+ $(XTCC) -o $(OBJDIR)/graph.o -c graph_.c
494471
495472
graph.h: headers
496
-http_.c: $(SRCDIR)$(DIRSEP)http.c translate
497
- .$(DIRSEP)translate $(SRCDIR)$(DIRSEP)http.c >http_.c
473
+http_.c: $(SRCDIR)/http.c translate
474
+ ./translate $(SRCDIR)/http.c >http_.c
498475
499
-$(OBJDIR)$(DIRSEP)http.o: http_.c http.h $(SRCDIR)$(DIRSEP)config.h
500
- $(XTCC) -o $(OBJDIR)$(DIRSEP)http.o -c http_.c
476
+$(OBJDIR)/http.o: http_.c http.h $(SRCDIR)/config.h
477
+ $(XTCC) -o $(OBJDIR)/http.o -c http_.c
501478
502479
http.h: headers
503
-http_socket_.c: $(SRCDIR)$(DIRSEP)http_socket.c translate
504
- .$(DIRSEP)translate $(SRCDIR)$(DIRSEP)http_socket.c >http_socket_.c
480
+http_socket_.c: $(SRCDIR)/http_socket.c translate
481
+ ./translate $(SRCDIR)/http_socket.c >http_socket_.c
505482
506
-$(OBJDIR)$(DIRSEP)http_socket.o: http_socket_.c http_socket.h $(SRCDIR)$(DIRSEP)config.h
507
- $(XTCC) -o $(OBJDIR)$(DIRSEP)http_socket.o -c http_socket_.c
483
+$(OBJDIR)/http_socket.o: http_socket_.c http_socket.h $(SRCDIR)/config.h
484
+ $(XTCC) -o $(OBJDIR)/http_socket.o -c http_socket_.c
508485
509486
http_socket.h: headers
510
-http_ssl_.c: $(SRCDIR)$(DIRSEP)http_ssl.c translate
511
- .$(DIRSEP)translate $(SRCDIR)$(DIRSEP)http_ssl.c >http_ssl_.c
487
+http_ssl_.c: $(SRCDIR)/http_ssl.c translate
488
+ ./translate $(SRCDIR)/http_ssl.c >http_ssl_.c
512489
513
-$(OBJDIR)$(DIRSEP)http_ssl.o: http_ssl_.c http_ssl.h $(SRCDIR)$(DIRSEP)config.h
514
- $(XTCC) -o $(OBJDIR)$(DIRSEP)http_ssl.o -c http_ssl_.c
490
+$(OBJDIR)/http_ssl.o: http_ssl_.c http_ssl.h $(SRCDIR)/config.h
491
+ $(XTCC) -o $(OBJDIR)/http_ssl.o -c http_ssl_.c
515492
516493
http_ssl.h: headers
517
-http_transport_.c: $(SRCDIR)$(DIRSEP)http_transport.c translate
518
- .$(DIRSEP)translate $(SRCDIR)$(DIRSEP)http_transport.c >http_transport_.c
494
+http_transport_.c: $(SRCDIR)/http_transport.c translate
495
+ ./translate $(SRCDIR)/http_transport.c >http_transport_.c
519496
520
-$(OBJDIR)$(DIRSEP)http_transport.o: http_transport_.c http_transport.h $(SRCDIR)$(DIRSEP)config.h
521
- $(XTCC) -o $(OBJDIR)$(DIRSEP)http_transport.o -c http_transport_.c
497
+$(OBJDIR)/http_transport.o: http_transport_.c http_transport.h $(SRCDIR)/config.h
498
+ $(XTCC) -o $(OBJDIR)/http_transport.o -c http_transport_.c
522499
523500
http_transport.h: headers
524
-info_.c: $(SRCDIR)$(DIRSEP)info.c translate
525
- .$(DIRSEP)translate $(SRCDIR)$(DIRSEP)info.c >info_.c
501
+info_.c: $(SRCDIR)/info.c translate
502
+ ./translate $(SRCDIR)/info.c >info_.c
526503
527
-$(OBJDIR)$(DIRSEP)info.o: info_.c info.h $(SRCDIR)$(DIRSEP)config.h
528
- $(XTCC) -o $(OBJDIR)$(DIRSEP)info.o -c info_.c
504
+$(OBJDIR)/info.o: info_.c info.h $(SRCDIR)/config.h
505
+ $(XTCC) -o $(OBJDIR)/info.o -c info_.c
529506
530507
info.h: headers
531
-login_.c: $(SRCDIR)$(DIRSEP)login.c translate
532
- .$(DIRSEP)translate $(SRCDIR)$(DIRSEP)login.c >login_.c
508
+login_.c: $(SRCDIR)/login.c translate
509
+ ./translate $(SRCDIR)/login.c >login_.c
533510
534
-$(OBJDIR)$(DIRSEP)login.o: login_.c login.h $(SRCDIR)$(DIRSEP)config.h
535
- $(XTCC) -o $(OBJDIR)$(DIRSEP)login.o -c login_.c
511
+$(OBJDIR)/login.o: login_.c login.h $(SRCDIR)/config.h
512
+ $(XTCC) -o $(OBJDIR)/login.o -c login_.c
536513
537514
login.h: headers
538
-main_.c: $(SRCDIR)$(DIRSEP)main.c translate
539
- .$(DIRSEP)translate $(SRCDIR)$(DIRSEP)main.c >main_.c
515
+main_.c: $(SRCDIR)/main.c translate
516
+ ./translate $(SRCDIR)/main.c >main_.c
540517
541
-$(OBJDIR)$(DIRSEP)main.o: main_.c main.h page_index.h $(SRCDIR)$(DIRSEP)config.h
542
- $(XTCC) -o $(OBJDIR)$(DIRSEP)main.o -c main_.c
518
+$(OBJDIR)/main.o: main_.c main.h page_index.h $(SRCDIR)/config.h
519
+ $(XTCC) -o $(OBJDIR)/main.o -c main_.c
543520
544521
main.h: headers
545
-manifest_.c: $(SRCDIR)$(DIRSEP)manifest.c translate
546
- .$(DIRSEP)translate $(SRCDIR)$(DIRSEP)manifest.c >manifest_.c
522
+manifest_.c: $(SRCDIR)/manifest.c translate
523
+ ./translate $(SRCDIR)/manifest.c >manifest_.c
547524
548
-$(OBJDIR)$(DIRSEP)manifest.o: manifest_.c manifest.h $(SRCDIR)$(DIRSEP)config.h
549
- $(XTCC) -o $(OBJDIR)$(DIRSEP)manifest.o -c manifest_.c
525
+$(OBJDIR)/manifest.o: manifest_.c manifest.h $(SRCDIR)/config.h
526
+ $(XTCC) -o $(OBJDIR)/manifest.o -c manifest_.c
550527
551528
manifest.h: headers
552
-md5_.c: $(SRCDIR)$(DIRSEP)md5.c translate
553
- .$(DIRSEP)translate $(SRCDIR)$(DIRSEP)md5.c >md5_.c
529
+md5_.c: $(SRCDIR)/md5.c translate
530
+ ./translate $(SRCDIR)/md5.c >md5_.c
554531
555
-$(OBJDIR)$(DIRSEP)md5.o: md5_.c md5.h $(SRCDIR)$(DIRSEP)config.h
556
- $(XTCC) -o $(OBJDIR)$(DIRSEP)md5.o -c md5_.c
532
+$(OBJDIR)/md5.o: md5_.c md5.h $(SRCDIR)/config.h
533
+ $(XTCC) -o $(OBJDIR)/md5.o -c md5_.c
557534
558535
md5.h: headers
559
-merge_.c: $(SRCDIR)$(DIRSEP)merge.c translate
560
- .$(DIRSEP)translate $(SRCDIR)$(DIRSEP)merge.c >merge_.c
536
+merge_.c: $(SRCDIR)/merge.c translate
537
+ ./translate $(SRCDIR)/merge.c >merge_.c
561538
562
-$(OBJDIR)$(DIRSEP)merge.o: merge_.c merge.h $(SRCDIR)$(DIRSEP)config.h
563
- $(XTCC) -o $(OBJDIR)$(DIRSEP)merge.o -c merge_.c
539
+$(OBJDIR)/merge.o: merge_.c merge.h $(SRCDIR)/config.h
540
+ $(XTCC) -o $(OBJDIR)/merge.o -c merge_.c
564541
565542
merge.h: headers
566
-merge3_.c: $(SRCDIR)$(DIRSEP)merge3.c translate
567
- .$(DIRSEP)translate $(SRCDIR)$(DIRSEP)merge3.c >merge3_.c
543
+merge3_.c: $(SRCDIR)/merge3.c translate
544
+ ./translate $(SRCDIR)/merge3.c >merge3_.c
568545
569
-$(OBJDIR)$(DIRSEP)merge3.o: merge3_.c merge3.h $(SRCDIR)$(DIRSEP)config.h
570
- $(XTCC) -o $(OBJDIR)$(DIRSEP)merge3.o -c merge3_.c
546
+$(OBJDIR)/merge3.o: merge3_.c merge3.h $(SRCDIR)/config.h
547
+ $(XTCC) -o $(OBJDIR)/merge3.o -c merge3_.c
571548
572549
merge3.h: headers
573
-name_.c: $(SRCDIR)$(DIRSEP)name.c translate
574
- .$(DIRSEP)translate $(SRCDIR)$(DIRSEP)name.c >name_.c
550
+name_.c: $(SRCDIR)/name.c translate
551
+ ./translate $(SRCDIR)/name.c >name_.c
575552
576
-$(OBJDIR)$(DIRSEP)name.o: name_.c name.h $(SRCDIR)$(DIRSEP)config.h
577
- $(XTCC) -o $(OBJDIR)$(DIRSEP)name.o -c name_.c
553
+$(OBJDIR)/name.o: name_.c name.h $(SRCDIR)/config.h
554
+ $(XTCC) -o $(OBJDIR)/name.o -c name_.c
578555
579556
name.h: headers
580
-pivot_.c: $(SRCDIR)$(DIRSEP)pivot.c translate
581
- .$(DIRSEP)translate $(SRCDIR)$(DIRSEP)pivot.c >pivot_.c
557
+pivot_.c: $(SRCDIR)/pivot.c translate
558
+ ./translate $(SRCDIR)/pivot.c >pivot_.c
582559
583
-$(OBJDIR)$(DIRSEP)pivot.o: pivot_.c pivot.h $(SRCDIR)$(DIRSEP)config.h
584
- $(XTCC) -o $(OBJDIR)$(DIRSEP)pivot.o -c pivot_.c
560
+$(OBJDIR)/pivot.o: pivot_.c pivot.h $(SRCDIR)/config.h
561
+ $(XTCC) -o $(OBJDIR)/pivot.o -c pivot_.c
585562
586563
pivot.h: headers
587
-pqueue_.c: $(SRCDIR)$(DIRSEP)pqueue.c translate
588
- .$(DIRSEP)translate $(SRCDIR)$(DIRSEP)pqueue.c >pqueue_.c
564
+pqueue_.c: $(SRCDIR)/pqueue.c translate
565
+ ./translate $(SRCDIR)/pqueue.c >pqueue_.c
589566
590
-$(OBJDIR)$(DIRSEP)pqueue.o: pqueue_.c pqueue.h $(SRCDIR)$(DIRSEP)config.h
591
- $(XTCC) -o $(OBJDIR)$(DIRSEP)pqueue.o -c pqueue_.c
567
+$(OBJDIR)/pqueue.o: pqueue_.c pqueue.h $(SRCDIR)/config.h
568
+ $(XTCC) -o $(OBJDIR)/pqueue.o -c pqueue_.c
592569
593570
pqueue.h: headers
594
-printf_.c: $(SRCDIR)$(DIRSEP)printf.c translate
595
- .$(DIRSEP)translate $(SRCDIR)$(DIRSEP)printf.c >printf_.c
571
+printf_.c: $(SRCDIR)/printf.c translate
572
+ ./translate $(SRCDIR)/printf.c >printf_.c
596573
597
-$(OBJDIR)$(DIRSEP)printf.o: printf_.c printf.h $(SRCDIR)$(DIRSEP)config.h
598
- $(XTCC) -o $(OBJDIR)$(DIRSEP)printf.o -c printf_.c
574
+$(OBJDIR)/printf.o: printf_.c printf.h $(SRCDIR)/config.h
575
+ $(XTCC) -o $(OBJDIR)/printf.o -c printf_.c
599576
600577
printf.h: headers
601
-rebuild_.c: $(SRCDIR)$(DIRSEP)rebuild.c translate
602
- .$(DIRSEP)translate $(SRCDIR)$(DIRSEP)rebuild.c >rebuild_.c
578
+rebuild_.c: $(SRCDIR)/rebuild.c translate
579
+ ./translate $(SRCDIR)/rebuild.c >rebuild_.c
603580
604
-$(OBJDIR)$(DIRSEP)rebuild.o: rebuild_.c rebuild.h $(SRCDIR)$(DIRSEP)config.h
605
- $(XTCC) -o $(OBJDIR)$(DIRSEP)rebuild.o -c rebuild_.c
581
+$(OBJDIR)/rebuild.o: rebuild_.c rebuild.h $(SRCDIR)/config.h
582
+ $(XTCC) -o $(OBJDIR)/rebuild.o -c rebuild_.c
606583
607584
rebuild.h: headers
608
-report_.c: $(SRCDIR)$(DIRSEP)report.c translate
609
- .$(DIRSEP)translate $(SRCDIR)$(DIRSEP)report.c >report_.c
585
+report_.c: $(SRCDIR)/report.c translate
586
+ ./translate $(SRCDIR)/report.c >report_.c
610587
611
-$(OBJDIR)$(DIRSEP)report.o: report_.c report.h $(SRCDIR)$(DIRSEP)config.h
612
- $(XTCC) -o $(OBJDIR)$(DIRSEP)report.o -c report_.c
588
+$(OBJDIR)/report.o: report_.c report.h $(SRCDIR)/config.h
589
+ $(XTCC) -o $(OBJDIR)/report.o -c report_.c
613590
614591
report.h: headers
615
-rss_.c: $(SRCDIR)$(DIRSEP)rss.c translate
616
- .$(DIRSEP)translate $(SRCDIR)$(DIRSEP)rss.c >rss_.c
592
+rss_.c: $(SRCDIR)/rss.c translate
593
+ ./translate $(SRCDIR)/rss.c >rss_.c
617594
618
-$(OBJDIR)$(DIRSEP)rss.o: rss_.c rss.h $(SRCDIR)$(DIRSEP)config.h
619
- $(XTCC) -o $(OBJDIR)$(DIRSEP)rss.o -c rss_.c
595
+$(OBJDIR)/rss.o: rss_.c rss.h $(SRCDIR)/config.h
596
+ $(XTCC) -o $(OBJDIR)/rss.o -c rss_.c
620597
621598
rss.h: headers
622
-schema_.c: $(SRCDIR)$(DIRSEP)schema.c translate
623
- .$(DIRSEP)translate $(SRCDIR)$(DIRSEP)schema.c >schema_.c
599
+schema_.c: $(SRCDIR)/schema.c translate
600
+ ./translate $(SRCDIR)/schema.c >schema_.c
624601
625
-$(OBJDIR)$(DIRSEP)schema.o: schema_.c schema.h $(SRCDIR)$(DIRSEP)config.h
626
- $(XTCC) -o $(OBJDIR)$(DIRSEP)schema.o -c schema_.c
602
+$(OBJDIR)/schema.o: schema_.c schema.h $(SRCDIR)/config.h
603
+ $(XTCC) -o $(OBJDIR)/schema.o -c schema_.c
627604
628605
schema.h: headers
629
-search_.c: $(SRCDIR)$(DIRSEP)search.c translate
630
- .$(DIRSEP)translate $(SRCDIR)$(DIRSEP)search.c >search_.c
606
+search_.c: $(SRCDIR)/search.c translate
607
+ ./translate $(SRCDIR)/search.c >search_.c
631608
632
-$(OBJDIR)$(DIRSEP)search.o: search_.c search.h $(SRCDIR)$(DIRSEP)config.h
633
- $(XTCC) -o $(OBJDIR)$(DIRSEP)search.o -c search_.c
609
+$(OBJDIR)/search.o: search_.c search.h $(SRCDIR)/config.h
610
+ $(XTCC) -o $(OBJDIR)/search.o -c search_.c
634611
635612
search.h: headers
636
-setup_.c: $(SRCDIR)$(DIRSEP)setup.c translate
637
- .$(DIRSEP)translate $(SRCDIR)$(DIRSEP)setup.c >setup_.c
613
+setup_.c: $(SRCDIR)/setup.c translate
614
+ ./translate $(SRCDIR)/setup.c >setup_.c
638615
639
-$(OBJDIR)$(DIRSEP)setup.o: setup_.c setup.h $(SRCDIR)$(DIRSEP)config.h
640
- $(XTCC) -o $(OBJDIR)$(DIRSEP)setup.o -c setup_.c
616
+$(OBJDIR)/setup.o: setup_.c setup.h $(SRCDIR)/config.h
617
+ $(XTCC) -o $(OBJDIR)/setup.o -c setup_.c
641618
642619
setup.h: headers
643
-sha1_.c: $(SRCDIR)$(DIRSEP)sha1.c translate
644
- .$(DIRSEP)translate $(SRCDIR)$(DIRSEP)sha1.c >sha1_.c
620
+sha1_.c: $(SRCDIR)/sha1.c translate
621
+ ./translate $(SRCDIR)/sha1.c >sha1_.c
645622
646
-$(OBJDIR)$(DIRSEP)sha1.o: sha1_.c sha1.h $(SRCDIR)$(DIRSEP)config.h
647
- $(XTCC) -o $(OBJDIR)$(DIRSEP)sha1.o -c sha1_.c
623
+$(OBJDIR)/sha1.o: sha1_.c sha1.h $(SRCDIR)/config.h
624
+ $(XTCC) -o $(OBJDIR)/sha1.o -c sha1_.c
648625
649626
sha1.h: headers
650
-shun_.c: $(SRCDIR)$(DIRSEP)shun.c translate
651
- .$(DIRSEP)translate $(SRCDIR)$(DIRSEP)shun.c >shun_.c
627
+shun_.c: $(SRCDIR)/shun.c translate
628
+ ./translate $(SRCDIR)/shun.c >shun_.c
652629
653
-$(OBJDIR)$(DIRSEP)shun.o: shun_.c shun.h $(SRCDIR)$(DIRSEP)config.h
654
- $(XTCC) -o $(OBJDIR)$(DIRSEP)shun.o -c shun_.c
630
+$(OBJDIR)/shun.o: shun_.c shun.h $(SRCDIR)/config.h
631
+ $(XTCC) -o $(OBJDIR)/shun.o -c shun_.c
655632
656633
shun.h: headers
657
-skins_.c: $(SRCDIR)$(DIRSEP)skins.c translate
658
- .$(DIRSEP)translate $(SRCDIR)$(DIRSEP)skins.c >skins_.c
634
+skins_.c: $(SRCDIR)/skins.c translate
635
+ ./translate $(SRCDIR)/skins.c >skins_.c
659636
660
-$(OBJDIR)$(DIRSEP)skins.o: skins_.c skins.h $(SRCDIR)$(DIRSEP)config.h
661
- $(XTCC) -o $(OBJDIR)$(DIRSEP)skins.o -c skins_.c
637
+$(OBJDIR)/skins.o: skins_.c skins.h $(SRCDIR)/config.h
638
+ $(XTCC) -o $(OBJDIR)/skins.o -c skins_.c
662639
663640
skins.h: headers
664
-stat_.c: $(SRCDIR)$(DIRSEP)stat.c translate
665
- .$(DIRSEP)translate $(SRCDIR)$(DIRSEP)stat.c >stat_.c
641
+stat_.c: $(SRCDIR)/stat.c translate
642
+ ./translate $(SRCDIR)/stat.c >stat_.c
666643
667
-$(OBJDIR)$(DIRSEP)stat.o: stat_.c stat.h $(SRCDIR)$(DIRSEP)config.h
668
- $(XTCC) -o $(OBJDIR)$(DIRSEP)stat.o -c stat_.c
644
+$(OBJDIR)/stat.o: stat_.c stat.h $(SRCDIR)/config.h
645
+ $(XTCC) -o $(OBJDIR)/stat.o -c stat_.c
669646
670647
stat.h: headers
671
-style_.c: $(SRCDIR)$(DIRSEP)style.c translate
672
- .$(DIRSEP)translate $(SRCDIR)$(DIRSEP)style.c >style_.c
648
+style_.c: $(SRCDIR)/style.c translate
649
+ ./translate $(SRCDIR)/style.c >style_.c
673650
674
-$(OBJDIR)$(DIRSEP)style.o: style_.c style.h $(SRCDIR)$(DIRSEP)config.h
675
- $(XTCC) -o $(OBJDIR)$(DIRSEP)style.o -c style_.c
651
+$(OBJDIR)/style.o: style_.c style.h $(SRCDIR)/config.h
652
+ $(XTCC) -o $(OBJDIR)/style.o -c style_.c
676653
677654
style.h: headers
678
-sync_.c: $(SRCDIR)$(DIRSEP)sync.c translate
679
- .$(DIRSEP)translate $(SRCDIR)$(DIRSEP)sync.c >sync_.c
655
+sync_.c: $(SRCDIR)/sync.c translate
656
+ ./translate $(SRCDIR)/sync.c >sync_.c
680657
681
-$(OBJDIR)$(DIRSEP)sync.o: sync_.c sync.h $(SRCDIR)$(DIRSEP)config.h
682
- $(XTCC) -o $(OBJDIR)$(DIRSEP)sync.o -c sync_.c
658
+$(OBJDIR)/sync.o: sync_.c sync.h $(SRCDIR)/config.h
659
+ $(XTCC) -o $(OBJDIR)/sync.o -c sync_.c
683660
684661
sync.h: headers
685
-tag_.c: $(SRCDIR)$(DIRSEP)tag.c translate
686
- .$(DIRSEP)translate $(SRCDIR)$(DIRSEP)tag.c >tag_.c
662
+tag_.c: $(SRCDIR)/tag.c translate
663
+ ./translate $(SRCDIR)/tag.c >tag_.c
687664
688
-$(OBJDIR)$(DIRSEP)tag.o: tag_.c tag.h $(SRCDIR)$(DIRSEP)config.h
689
- $(XTCC) -o $(OBJDIR)$(DIRSEP)tag.o -c tag_.c
665
+$(OBJDIR)/tag.o: tag_.c tag.h $(SRCDIR)/config.h
666
+ $(XTCC) -o $(OBJDIR)/tag.o -c tag_.c
690667
691668
tag.h: headers
692
-th_main_.c: $(SRCDIR)$(DIRSEP)th_main.c translate
693
- .$(DIRSEP)translate $(SRCDIR)$(DIRSEP)th_main.c >th_main_.c
669
+th_main_.c: $(SRCDIR)/th_main.c translate
670
+ ./translate $(SRCDIR)/th_main.c >th_main_.c
694671
695
-$(OBJDIR)$(DIRSEP)th_main.o: th_main_.c th_main.h $(SRCDIR)$(DIRSEP)config.h
696
- $(XTCC) -o $(OBJDIR)$(DIRSEP)th_main.o -c th_main_.c
672
+$(OBJDIR)/th_main.o: th_main_.c th_main.h $(SRCDIR)/config.h
673
+ $(XTCC) -o $(OBJDIR)/th_main.o -c th_main_.c
697674
698675
th_main.h: headers
699
-timeline_.c: $(SRCDIR)$(DIRSEP)timeline.c translate
700
- .$(DIRSEP)translate $(SRCDIR)$(DIRSEP)timeline.c >timeline_.c
676
+timeline_.c: $(SRCDIR)/timeline.c translate
677
+ ./translate $(SRCDIR)/timeline.c >timeline_.c
701678
702
-$(OBJDIR)$(DIRSEP)timeline.o: timeline_.c timeline.h $(SRCDIR)$(DIRSEP)config.h
703
- $(XTCC) -o $(OBJDIR)$(DIRSEP)timeline.o -c timeline_.c
679
+$(OBJDIR)/timeline.o: timeline_.c timeline.h $(SRCDIR)/config.h
680
+ $(XTCC) -o $(OBJDIR)/timeline.o -c timeline_.c
704681
705682
timeline.h: headers
706
-tkt_.c: $(SRCDIR)$(DIRSEP)tkt.c translate
707
- .$(DIRSEP)translate $(SRCDIR)$(DIRSEP)tkt.c >tkt_.c
683
+tkt_.c: $(SRCDIR)/tkt.c translate
684
+ ./translate $(SRCDIR)/tkt.c >tkt_.c
708685
709
-$(OBJDIR)$(DIRSEP)tkt.o: tkt_.c tkt.h $(SRCDIR)$(DIRSEP)config.h
710
- $(XTCC) -o $(OBJDIR)$(DIRSEP)tkt.o -c tkt_.c
686
+$(OBJDIR)/tkt.o: tkt_.c tkt.h $(SRCDIR)/config.h
687
+ $(XTCC) -o $(OBJDIR)/tkt.o -c tkt_.c
711688
712689
tkt.h: headers
713
-tktsetup_.c: $(SRCDIR)$(DIRSEP)tktsetup.c translate
714
- .$(DIRSEP)translate $(SRCDIR)$(DIRSEP)tktsetup.c >tktsetup_.c
690
+tktsetup_.c: $(SRCDIR)/tktsetup.c translate
691
+ ./translate $(SRCDIR)/tktsetup.c >tktsetup_.c
715692
716
-$(OBJDIR)$(DIRSEP)tktsetup.o: tktsetup_.c tktsetup.h $(SRCDIR)$(DIRSEP)config.h
717
- $(XTCC) -o $(OBJDIR)$(DIRSEP)tktsetup.o -c tktsetup_.c
693
+$(OBJDIR)/tktsetup.o: tktsetup_.c tktsetup.h $(SRCDIR)/config.h
694
+ $(XTCC) -o $(OBJDIR)/tktsetup.o -c tktsetup_.c
718695
719696
tktsetup.h: headers
720
-undo_.c: $(SRCDIR)$(DIRSEP)undo.c translate
721
- .$(DIRSEP)translate $(SRCDIR)$(DIRSEP)undo.c >undo_.c
697
+undo_.c: $(SRCDIR)/undo.c translate
698
+ ./translate $(SRCDIR)/undo.c >undo_.c
722699
723
-$(OBJDIR)$(DIRSEP)undo.o: undo_.c undo.h $(SRCDIR)$(DIRSEP)config.h
724
- $(XTCC) -o $(OBJDIR)$(DIRSEP)undo.o -c undo_.c
700
+$(OBJDIR)/undo.o: undo_.c undo.h $(SRCDIR)/config.h
701
+ $(XTCC) -o $(OBJDIR)/undo.o -c undo_.c
725702
726703
undo.h: headers
727
-update_.c: $(SRCDIR)$(DIRSEP)update.c translate
728
- .$(DIRSEP)translate $(SRCDIR)$(DIRSEP)update.c >update_.c
704
+update_.c: $(SRCDIR)/update.c translate
705
+ ./translate $(SRCDIR)/update.c >update_.c
729706
730
-$(OBJDIR)$(DIRSEP)update.o: update_.c update.h $(SRCDIR)$(DIRSEP)config.h
731
- $(XTCC) -o $(OBJDIR)$(DIRSEP)update.o -c update_.c
707
+$(OBJDIR)/update.o: update_.c update.h $(SRCDIR)/config.h
708
+ $(XTCC) -o $(OBJDIR)/update.o -c update_.c
732709
733710
update.h: headers
734
-url_.c: $(SRCDIR)$(DIRSEP)url.c translate
735
- .$(DIRSEP)translate $(SRCDIR)$(DIRSEP)url.c >url_.c
711
+url_.c: $(SRCDIR)/url.c translate
712
+ ./translate $(SRCDIR)/url.c >url_.c
736713
737
-$(OBJDIR)$(DIRSEP)url.o: url_.c url.h $(SRCDIR)$(DIRSEP)config.h
738
- $(XTCC) -o $(OBJDIR)$(DIRSEP)url.o -c url_.c
714
+$(OBJDIR)/url.o: url_.c url.h $(SRCDIR)/config.h
715
+ $(XTCC) -o $(OBJDIR)/url.o -c url_.c
739716
740717
url.h: headers
741
-user_.c: $(SRCDIR)$(DIRSEP)user.c translate
742
- .$(DIRSEP)translate $(SRCDIR)$(DIRSEP)user.c >user_.c
718
+user_.c: $(SRCDIR)/user.c translate
719
+ ./translate $(SRCDIR)/user.c >user_.c
743720
744
-$(OBJDIR)$(DIRSEP)user.o: user_.c user.h $(SRCDIR)$(DIRSEP)config.h
745
- $(XTCC) -o $(OBJDIR)$(DIRSEP)user.o -c user_.c
721
+$(OBJDIR)/user.o: user_.c user.h $(SRCDIR)/config.h
722
+ $(XTCC) -o $(OBJDIR)/user.o -c user_.c
746723
747724
user.h: headers
748
-verify_.c: $(SRCDIR)$(DIRSEP)verify.c translate
749
- .$(DIRSEP)translate $(SRCDIR)$(DIRSEP)verify.c >verify_.c
725
+verify_.c: $(SRCDIR)/verify.c translate
726
+ ./translate $(SRCDIR)/verify.c >verify_.c
750727
751
-$(OBJDIR)$(DIRSEP)verify.o: verify_.c verify.h $(SRCDIR)$(DIRSEP)config.h
752
- $(XTCC) -o $(OBJDIR)$(DIRSEP)verify.o -c verify_.c
728
+$(OBJDIR)/verify.o: verify_.c verify.h $(SRCDIR)/config.h
729
+ $(XTCC) -o $(OBJDIR)/verify.o -c verify_.c
753730
754731
verify.h: headers
755
-vfile_.c: $(SRCDIR)$(DIRSEP)vfile.c translate
756
- .$(DIRSEP)translate $(SRCDIR)$(DIRSEP)vfile.c >vfile_.c
732
+vfile_.c: $(SRCDIR)/vfile.c translate
733
+ ./translate $(SRCDIR)/vfile.c >vfile_.c
757734
758
-$(OBJDIR)$(DIRSEP)vfile.o: vfile_.c vfile.h $(SRCDIR)$(DIRSEP)config.h
759
- $(XTCC) -o $(OBJDIR)$(DIRSEP)vfile.o -c vfile_.c
735
+$(OBJDIR)/vfile.o: vfile_.c vfile.h $(SRCDIR)/config.h
736
+ $(XTCC) -o $(OBJDIR)/vfile.o -c vfile_.c
760737
761738
vfile.h: headers
762
-wiki_.c: $(SRCDIR)$(DIRSEP)wiki.c translate
763
- .$(DIRSEP)translate $(SRCDIR)$(DIRSEP)wiki.c >wiki_.c
739
+wiki_.c: $(SRCDIR)/wiki.c translate
740
+ ./translate $(SRCDIR)/wiki.c >wiki_.c
764741
765
-$(OBJDIR)$(DIRSEP)wiki.o: wiki_.c wiki.h $(SRCDIR)$(DIRSEP)config.h
766
- $(XTCC) -o $(OBJDIR)$(DIRSEP)wiki.o -c wiki_.c
742
+$(OBJDIR)/wiki.o: wiki_.c wiki.h $(SRCDIR)/config.h
743
+ $(XTCC) -o $(OBJDIR)/wiki.o -c wiki_.c
767744
768745
wiki.h: headers
769
-wikiformat_.c: $(SRCDIR)$(DIRSEP)wikiformat.c translate
770
- .$(DIRSEP)translate $(SRCDIR)$(DIRSEP)wikiformat.c >wikiformat_.c
746
+wikiformat_.c: $(SRCDIR)/wikiformat.c translate
747
+ ./translate $(SRCDIR)/wikiformat.c >wikiformat_.c
771748
772
-$(OBJDIR)$(DIRSEP)wikiformat.o: wikiformat_.c wikiformat.h $(SRCDIR)$(DIRSEP)config.h
773
- $(XTCC) -o $(OBJDIR)$(DIRSEP)wikiformat.o -c wikiformat_.c
749
+$(OBJDIR)/wikiformat.o: wikiformat_.c wikiformat.h $(SRCDIR)/config.h
750
+ $(XTCC) -o $(OBJDIR)/wikiformat.o -c wikiformat_.c
774751
775752
wikiformat.h: headers
776
-winhttp_.c: $(SRCDIR)$(DIRSEP)winhttp.c translate
777
- .$(DIRSEP)translate $(SRCDIR)$(DIRSEP)winhttp.c >winhttp_.c
753
+winhttp_.c: $(SRCDIR)/winhttp.c translate
754
+ ./translate $(SRCDIR)/winhttp.c >winhttp_.c
778755
779
-$(OBJDIR)$(DIRSEP)winhttp.o: winhttp_.c winhttp.h $(SRCDIR)$(DIRSEP)config.h
780
- $(XTCC) -o $(OBJDIR)$(DIRSEP)winhttp.o -c winhttp_.c
756
+$(OBJDIR)/winhttp.o: winhttp_.c winhttp.h $(SRCDIR)/config.h
757
+ $(XTCC) -o $(OBJDIR)/winhttp.o -c winhttp_.c
781758
782759
winhttp.h: headers
783
-xfer_.c: $(SRCDIR)$(DIRSEP)xfer.c translate
784
- .$(DIRSEP)translate $(SRCDIR)$(DIRSEP)xfer.c >xfer_.c
760
+xfer_.c: $(SRCDIR)/xfer.c translate
761
+ ./translate $(SRCDIR)/xfer.c >xfer_.c
785762
786
-$(OBJDIR)$(DIRSEP)xfer.o: xfer_.c xfer.h $(SRCDIR)$(DIRSEP)config.h
787
- $(XTCC) -o $(OBJDIR)$(DIRSEP)xfer.o -c xfer_.c
763
+$(OBJDIR)/xfer.o: xfer_.c xfer.h $(SRCDIR)/config.h
764
+ $(XTCC) -o $(OBJDIR)/xfer.o -c xfer_.c
788765
789766
xfer.h: headers
790
-zip_.c: $(SRCDIR)$(DIRSEP)zip.c translate
791
- .$(DIRSEP)translate $(SRCDIR)$(DIRSEP)zip.c >zip_.c
767
+zip_.c: $(SRCDIR)/zip.c translate
768
+ ./translate $(SRCDIR)/zip.c >zip_.c
792769
793
-$(OBJDIR)$(DIRSEP)zip.o: zip_.c zip.h $(SRCDIR)$(DIRSEP)config.h
794
- $(XTCC) -o $(OBJDIR)$(DIRSEP)zip.o -c zip_.c
770
+$(OBJDIR)/zip.o: zip_.c zip.h $(SRCDIR)/config.h
771
+ $(XTCC) -o $(OBJDIR)/zip.o -c zip_.c
795772
796773
zip.h: headers
797
-$(OBJDIR)$(DIRSEP)sqlite3.o: $(SRCDIR)$(DIRSEP)sqlite3.c
798
- $(XTCC) -DSQLITE_OMIT_LOAD_EXTENSION=1 -DSQLITE_THREADSAFE=0 -DSQLITE_DEFAULT_FILE_FORMAT=4 -Dlocaltime=fossil_localtime -DSQLITE_ENABLE_LOCKING_STYLE=0 -c $(SRCDIR)$(DIRSEP)sqlite3.c -o $(OBJDIR)$(DIRSEP)sqlite3.o
799
-
800
-$(OBJDIR)$(DIRSEP)th.o: $(SRCDIR)$(DIRSEP)th.c
801
- $(XTCC) -I$(SRCDIR) -c $(SRCDIR)$(DIRSEP)th.c -o $(OBJDIR)$(DIRSEP)th.o
802
-
803
-$(OBJDIR)$(DIRSEP)th_lang.o: $(SRCDIR)$(DIRSEP)th_lang.c
804
- $(XTCC) -I$(SRCDIR) -c $(SRCDIR)$(DIRSEP)th_lang.c -o $(OBJDIR)$(DIRSEP)th_lang.o
774
+$(OBJDIR)/sqlite3.o: $(SRCDIR)/sqlite3.c
775
+ $(XTCC) -DSQLITE_OMIT_LOAD_EXTENSION=1 -DSQLITE_THREADSAFE=0 -DSQLITE_DEFAULT_FILE_FORMAT=4 -Dlocaltime=fossil_localtime -DSQLITE_ENABLE_LOCKING_STYLE=0 -c $(SRCDIR)/sqlite3.c -o $(OBJDIR)/sqlite3.o
776
+
777
+$(OBJDIR)/th.o: $(SRCDIR)/th.c
778
+ $(XTCC) -I$(SRCDIR) -c $(SRCDIR)/th.c -o $(OBJDIR)/th.o
779
+
780
+$(OBJDIR)/th_lang.o: $(SRCDIR)/th_lang.c
781
+ $(XTCC) -I$(SRCDIR) -c $(SRCDIR)/th_lang.c -o $(OBJDIR)/th_lang.o
805782
806783
--- src/main.mk
+++ src/main.mk
@@ -11,80 +11,80 @@
11
12 XTCC = $(TCC) $(CFLAGS) -I. -I$(SRCDIR)
13
14
15 SRC = \
16 $(SRCDIR)$(DIRSEP)add.c \
17 $(SRCDIR)$(DIRSEP)allrepo.c \
18 $(SRCDIR)$(DIRSEP)attach.c \
19 $(SRCDIR)$(DIRSEP)bag.c \
20 $(SRCDIR)$(DIRSEP)blob.c \
21 $(SRCDIR)$(DIRSEP)branch.c \
22 $(SRCDIR)$(DIRSEP)browse.c \
23 $(SRCDIR)$(DIRSEP)captcha.c \
24 $(SRCDIR)$(DIRSEP)cgi.c \
25 $(SRCDIR)$(DIRSEP)checkin.c \
26 $(SRCDIR)$(DIRSEP)checkout.c \
27 $(SRCDIR)$(DIRSEP)clearsign.c \
28 $(SRCDIR)$(DIRSEP)clone.c \
29 $(SRCDIR)$(DIRSEP)comformat.c \
30 $(SRCDIR)$(DIRSEP)configure.c \
31 $(SRCDIR)$(DIRSEP)content.c \
32 $(SRCDIR)$(DIRSEP)db.c \
33 $(SRCDIR)$(DIRSEP)delta.c \
34 $(SRCDIR)$(DIRSEP)deltacmd.c \
35 $(SRCDIR)$(DIRSEP)descendants.c \
36 $(SRCDIR)$(DIRSEP)diff.c \
37 $(SRCDIR)$(DIRSEP)diffcmd.c \
38 $(SRCDIR)$(DIRSEP)doc.c \
39 $(SRCDIR)$(DIRSEP)encode.c \
40 $(SRCDIR)$(DIRSEP)file.c \
41 $(SRCDIR)$(DIRSEP)finfo.c \
42 $(SRCDIR)$(DIRSEP)graph.c \
43 $(SRCDIR)$(DIRSEP)http.c \
44 $(SRCDIR)$(DIRSEP)http_socket.c \
45 $(SRCDIR)$(DIRSEP)http_ssl.c \
46 $(SRCDIR)$(DIRSEP)http_transport.c \
47 $(SRCDIR)$(DIRSEP)info.c \
48 $(SRCDIR)$(DIRSEP)login.c \
49 $(SRCDIR)$(DIRSEP)main.c \
50 $(SRCDIR)$(DIRSEP)manifest.c \
51 $(SRCDIR)$(DIRSEP)md5.c \
52 $(SRCDIR)$(DIRSEP)merge.c \
53 $(SRCDIR)$(DIRSEP)merge3.c \
54 $(SRCDIR)$(DIRSEP)name.c \
55 $(SRCDIR)$(DIRSEP)pivot.c \
56 $(SRCDIR)$(DIRSEP)pqueue.c \
57 $(SRCDIR)$(DIRSEP)printf.c \
58 $(SRCDIR)$(DIRSEP)rebuild.c \
59 $(SRCDIR)$(DIRSEP)report.c \
60 $(SRCDIR)$(DIRSEP)rss.c \
61 $(SRCDIR)$(DIRSEP)schema.c \
62 $(SRCDIR)$(DIRSEP)search.c \
63 $(SRCDIR)$(DIRSEP)setup.c \
64 $(SRCDIR)$(DIRSEP)sha1.c \
65 $(SRCDIR)$(DIRSEP)shun.c \
66 $(SRCDIR)$(DIRSEP)skins.c \
67 $(SRCDIR)$(DIRSEP)stat.c \
68 $(SRCDIR)$(DIRSEP)style.c \
69 $(SRCDIR)$(DIRSEP)sync.c \
70 $(SRCDIR)$(DIRSEP)tag.c \
71 $(SRCDIR)$(DIRSEP)th_main.c \
72 $(SRCDIR)$(DIRSEP)timeline.c \
73 $(SRCDIR)$(DIRSEP)tkt.c \
74 $(SRCDIR)$(DIRSEP)tktsetup.c \
75 $(SRCDIR)$(DIRSEP)undo.c \
76 $(SRCDIR)$(DIRSEP)update.c \
77 $(SRCDIR)$(DIRSEP)url.c \
78 $(SRCDIR)$(DIRSEP)user.c \
79 $(SRCDIR)$(DIRSEP)verify.c \
80 $(SRCDIR)$(DIRSEP)vfile.c \
81 $(SRCDIR)$(DIRSEP)wiki.c \
82 $(SRCDIR)$(DIRSEP)wikiformat.c \
83 $(SRCDIR)$(DIRSEP)winhttp.c \
84 $(SRCDIR)$(DIRSEP)xfer.c \
85 $(SRCDIR)$(DIRSEP)zip.c
86
87 TRANS_SRC = \
88 add_.c \
89 allrepo_.c \
90 attach_.c \
@@ -155,80 +155,80 @@
155 winhttp_.c \
156 xfer_.c \
157 zip_.c
158
159 OBJ = \
160 $(OBJDIR)$(DIRSEP)add.o \
161 $(OBJDIR)$(DIRSEP)allrepo.o \
162 $(OBJDIR)$(DIRSEP)attach.o \
163 $(OBJDIR)$(DIRSEP)bag.o \
164 $(OBJDIR)$(DIRSEP)blob.o \
165 $(OBJDIR)$(DIRSEP)branch.o \
166 $(OBJDIR)$(DIRSEP)browse.o \
167 $(OBJDIR)$(DIRSEP)captcha.o \
168 $(OBJDIR)$(DIRSEP)cgi.o \
169 $(OBJDIR)$(DIRSEP)checkin.o \
170 $(OBJDIR)$(DIRSEP)checkout.o \
171 $(OBJDIR)$(DIRSEP)clearsign.o \
172 $(OBJDIR)$(DIRSEP)clone.o \
173 $(OBJDIR)$(DIRSEP)comformat.o \
174 $(OBJDIR)$(DIRSEP)configure.o \
175 $(OBJDIR)$(DIRSEP)content.o \
176 $(OBJDIR)$(DIRSEP)db.o \
177 $(OBJDIR)$(DIRSEP)delta.o \
178 $(OBJDIR)$(DIRSEP)deltacmd.o \
179 $(OBJDIR)$(DIRSEP)descendants.o \
180 $(OBJDIR)$(DIRSEP)diff.o \
181 $(OBJDIR)$(DIRSEP)diffcmd.o \
182 $(OBJDIR)$(DIRSEP)doc.o \
183 $(OBJDIR)$(DIRSEP)encode.o \
184 $(OBJDIR)$(DIRSEP)file.o \
185 $(OBJDIR)$(DIRSEP)finfo.o \
186 $(OBJDIR)$(DIRSEP)graph.o \
187 $(OBJDIR)$(DIRSEP)http.o \
188 $(OBJDIR)$(DIRSEP)http_socket.o \
189 $(OBJDIR)$(DIRSEP)http_ssl.o \
190 $(OBJDIR)$(DIRSEP)http_transport.o \
191 $(OBJDIR)$(DIRSEP)info.o \
192 $(OBJDIR)$(DIRSEP)login.o \
193 $(OBJDIR)$(DIRSEP)main.o \
194 $(OBJDIR)$(DIRSEP)manifest.o \
195 $(OBJDIR)$(DIRSEP)md5.o \
196 $(OBJDIR)$(DIRSEP)merge.o \
197 $(OBJDIR)$(DIRSEP)merge3.o \
198 $(OBJDIR)$(DIRSEP)name.o \
199 $(OBJDIR)$(DIRSEP)pivot.o \
200 $(OBJDIR)$(DIRSEP)pqueue.o \
201 $(OBJDIR)$(DIRSEP)printf.o \
202 $(OBJDIR)$(DIRSEP)rebuild.o \
203 $(OBJDIR)$(DIRSEP)report.o \
204 $(OBJDIR)$(DIRSEP)rss.o \
205 $(OBJDIR)$(DIRSEP)schema.o \
206 $(OBJDIR)$(DIRSEP)search.o \
207 $(OBJDIR)$(DIRSEP)setup.o \
208 $(OBJDIR)$(DIRSEP)sha1.o \
209 $(OBJDIR)$(DIRSEP)shun.o \
210 $(OBJDIR)$(DIRSEP)skins.o \
211 $(OBJDIR)$(DIRSEP)stat.o \
212 $(OBJDIR)$(DIRSEP)style.o \
213 $(OBJDIR)$(DIRSEP)sync.o \
214 $(OBJDIR)$(DIRSEP)tag.o \
215 $(OBJDIR)$(DIRSEP)th_main.o \
216 $(OBJDIR)$(DIRSEP)timeline.o \
217 $(OBJDIR)$(DIRSEP)tkt.o \
218 $(OBJDIR)$(DIRSEP)tktsetup.o \
219 $(OBJDIR)$(DIRSEP)undo.o \
220 $(OBJDIR)$(DIRSEP)update.o \
221 $(OBJDIR)$(DIRSEP)url.o \
222 $(OBJDIR)$(DIRSEP)user.o \
223 $(OBJDIR)$(DIRSEP)verify.o \
224 $(OBJDIR)$(DIRSEP)vfile.o \
225 $(OBJDIR)$(DIRSEP)wiki.o \
226 $(OBJDIR)$(DIRSEP)wikiformat.o \
227 $(OBJDIR)$(DIRSEP)winhttp.o \
228 $(OBJDIR)$(DIRSEP)xfer.o \
229 $(OBJDIR)$(DIRSEP)zip.o
230
231 APPNAME = fossil$(E)
232
233
234
@@ -238,568 +238,545 @@
238 mv $(APPNAME) $(INSTALLDIR)
239
240 $(OBJDIR):
241 -mkdir $(OBJDIR)
242
243 translate: $(SRCDIR)$(DIRSEP)translate.c
244 $(BCC) -o translate $(SRCDIR)$(DIRSEP)translate.c
245
246 makeheaders: $(SRCDIR)$(DIRSEP)makeheaders.c
247 $(BCC) -o makeheaders $(SRCDIR)$(DIRSEP)makeheaders.c
248
249 mkindex: $(SRCDIR)$(DIRSEP)mkindex.c
250 $(BCC) -o mkindex $(SRCDIR)$(DIRSEP)mkindex.c
251
252 # WARNING. DANGER. Running the testsuite modifies the repository the
253 # build is done from, i.e. the checkout belongs to. Do not sync$(DIRSEP)push
254 # the repository after running the tests.
255 test: $(APPNAME)
256 $(TCLSH) test$(DIRSEP)tester.tcl $(APPNAME)
257
258 VERSION.h: $(SRCDIR)$(DIRSEP)..$(DIRSEP)manifest.uuid $(SRCDIR)$(DIRSEP)..$(DIRSEP)manifest
259 ifeq ($(OPERATING_SYSTEM),windows)
260 awk "{ printf \"#define MANIFEST_UUID \\\"%%s\\\"\n\", $$1}" $(SRCDIR)$(DIRSEP)..$(DIRSEP)manifest.uuid >VERSION.h
261 awk "{ printf \"#define MANIFEST_VERSION \\\"[%%.10s]\\\"\n\", $$1}" $(SRCDIR)$(DIRSEP)..$(DIRSEP)manifest.uuid >>VERSION.h
262 awk "$$1==\"D\"{printf \"#define MANIFEST_DATE \\\"%%s %%s\\\"\n\", substr($$2,1,10),substr($$2,12)}" $(SRCDIR)$(DIRSEP)..$(DIRSEP)manifest >>VERSION.h
263 else
264 awk '{ printf "#define MANIFEST_UUID \"%s\"\n", $$1}' $(SRCDIR)$(DIRSEP)..$(DIRSEP)manifest.uuid >VERSION.h
265 awk '{ printf "#define MANIFEST_VERSION \"[%.10s]\"\n", $$1}' $(SRCDIR)$(DIRSEP)..$(DIRSEP)manifest.uuid >>VERSION.h
266 awk '$$1=="D"{printf "#define MANIFEST_DATE \"%s %s\"\n", substr($$2,1,10),substr($$2,12)}' $(SRCDIR)$(DIRSEP)..$(DIRSEP)manifest >>VERSION.h
267 endif
268
269 $(APPNAME): headers $(OBJ) $(OBJDIR)$(DIRSEP)sqlite3.o $(OBJDIR)$(DIRSEP)th.o $(OBJDIR)$(DIRSEP)th_lang.o
270 $(TCC) -o $(APPNAME) $(OBJ) $(OBJDIR)$(DIRSEP)sqlite3.o $(OBJDIR)$(DIRSEP)th.o $(OBJDIR)$(DIRSEP)th_lang.o $(LIB)
271
272 # This rule prevents make from using its default rules to try build
273 # an executable named "manifest" out of the file named "manifest.c"
274 #
275 $(SRCDIR)$(DIRSEP)..$(DIRSEP)manifest:
276 # noop
277
278 clean:
279 ifeq ($(OPERATING_SYSTEM),windows)
280 del $(OBJDIR)$(DIRSEP)*.o *_.c $(APPNAME) VERSION.h
281 del translate makeheaders mkindex page_index.h headers
282 del add.h allrepo.h attach.h bag.h blob.h branch.h browse.h captcha.h cgi.h checkin.h checkout.h clearsign.h clone.h comformat.h configure.h content.h db.h delta.h deltacmd.h descendants.h diff.h diffcmd.h doc.h encode.h file.h finfo.h graph.h http.h http_socket.h http_ssl.h http_transport.h info.h login.h main.h manifest.h md5.h merge.h merge3.h name.h pivot.h pqueue.h printf.h rebuild.h report.h rss.h schema.h search.h setup.h sha1.h shun.h skins.h stat.h style.h sync.h tag.h th_main.h timeline.h tkt.h tktsetup.h undo.h update.h url.h user.h verify.h vfile.h wiki.h wikiformat.h winhttp.h xfer.h zip.h
283 else
284 rm -f $(OBJDIR)$(DIRSEP)*.o *_.c $(APPNAME) VERSION.h
285 rm -f translate makeheaders mkindex page_index.h headers
286 rm -f add.h allrepo.h attach.h bag.h blob.h branch.h browse.h captcha.h cgi.h checkin.h checkout.h clearsign.h clone.h comformat.h configure.h content.h db.h delta.h deltacmd.h descendants.h diff.h diffcmd.h doc.h encode.h file.h finfo.h graph.h http.h http_socket.h http_ssl.h http_transport.h info.h login.h main.h manifest.h md5.h merge.h merge3.h name.h pivot.h pqueue.h printf.h rebuild.h report.h rss.h schema.h search.h setup.h sha1.h shun.h skins.h stat.h style.h sync.h tag.h th_main.h timeline.h tkt.h tktsetup.h undo.h update.h url.h user.h verify.h vfile.h wiki.h wikiformat.h winhttp.h xfer.h zip.h
287 endif
288
289 cleanall:
290 ifeq ($(OPERATING_SYSTEM),windows)
291 del $(OBJDIR)$(DIRSEP)*.o *_.c $(APPNAME) translate$(E) makeheaders$(E) mkindex$(E) VERSION.h
292 del translate makeheaders mkindex page_index.h headers
293 del add.h allrepo.h attach.h bag.h blob.h branch.h browse.h captcha.h cgi.h checkin.h checkout.h clearsign.h clone.h comformat.h configure.h content.h db.h delta.h deltacmd.h descendants.h diff.h diffcmd.h doc.h encode.h file.h finfo.h graph.h http.h http_socket.h http_ssl.h http_transport.h info.h login.h main.h manifest.h md5.h merge.h merge3.h name.h pivot.h pqueue.h printf.h rebuild.h report.h rss.h schema.h search.h setup.h sha1.h shun.h skins.h stat.h style.h sync.h tag.h th_main.h timeline.h tkt.h tktsetup.h undo.h update.h url.h user.h verify.h vfile.h wiki.h wikiformat.h winhttp.h xfer.h zip.h
294 else
295 rm -f $(OBJDIR)$(DIRSEP)*.o *_.c $(APPNAME) translate$(E) makeheaders$(E) mkindex$(E) VERSION.h
296 rm -f translate makeheaders mkindex page_index.h headers
297 rm -f add.h allrepo.h attach.h bag.h blob.h branch.h browse.h captcha.h cgi.h checkin.h checkout.h clearsign.h clone.h comformat.h configure.h content.h db.h delta.h deltacmd.h descendants.h diff.h diffcmd.h doc.h encode.h file.h finfo.h graph.h http.h http_socket.h http_ssl.h http_transport.h info.h login.h main.h manifest.h md5.h merge.h merge3.h name.h pivot.h pqueue.h printf.h rebuild.h report.h rss.h schema.h search.h setup.h sha1.h shun.h skins.h stat.h style.h sync.h tag.h th_main.h timeline.h tkt.h tktsetup.h undo.h update.h url.h user.h verify.h vfile.h wiki.h wikiformat.h winhttp.h xfer.h zip.h
298 endif
299
300 page_index.h: $(TRANS_SRC) mkindex
301 .$(DIRSEP)mkindex $(TRANS_SRC) >$@
302 headers: page_index.h makeheaders VERSION.h
303 .$(DIRSEP)makeheaders add_.c:add.h allrepo_.c:allrepo.h attach_.c:attach.h bag_.c:bag.h blob_.c:blob.h branch_.c:branch.h browse_.c:browse.h captcha_.c:captcha.h cgi_.c:cgi.h checkin_.c:checkin.h checkout_.c:checkout.h clearsign_.c:clearsign.h clone_.c:clone.h comformat_.c:comformat.h configure_.c:configure.h content_.c:content.h db_.c:db.h delta_.c:delta.h deltacmd_.c:deltacmd.h descendants_.c:descendants.h diff_.c:diff.h diffcmd_.c:diffcmd.h doc_.c:doc.h encode_.c:encode.h file_.c:file.h finfo_.c:finfo.h graph_.c:graph.h http_.c:http.h http_socket_.c:http_socket.h http_ssl_.c:http_ssl.h http_transport_.c:http_transport.h info_.c:info.h login_.c:login.h main_.c:main.h manifest_.c:manifest.h md5_.c:md5.h merge_.c:merge.h merge3_.c:merge3.h name_.c:name.h pivot_.c:pivot.h pqueue_.c:pqueue.h printf_.c:printf.h rebuild_.c:rebuild.h report_.c:report.h rss_.c:rss.h schema_.c:schema.h search_.c:search.h setup_.c:setup.h sha1_.c:sha1.h shun_.c:shun.h skins_.c:skins.h stat_.c:stat.h style_.c:style.h sync_.c:sync.h tag_.c:tag.h th_main_.c:th_main.h timeline_.c:timeline.h tkt_.c:tkt.h tktsetup_.c:tktsetup.h undo_.c:undo.h update_.c:update.h url_.c:url.h user_.c:user.h verify_.c:verify.h vfile_.c:vfile.h wiki_.c:wiki.h wikiformat_.c:wikiformat.h winhttp_.c:winhttp.h xfer_.c:xfer.h zip_.c:zip.h $(SRCDIR)$(DIRSEP)sqlite3.h $(SRCDIR)$(DIRSEP)th.h VERSION.h
304 touch headers
305 headers: Makefile
306 Makefile:
307 add_.c: $(SRCDIR)$(DIRSEP)add.c translate
308 .$(DIRSEP)translate $(SRCDIR)$(DIRSEP)add.c >add_.c
309
310 $(OBJDIR)$(DIRSEP)add.o: add_.c add.h $(SRCDIR)$(DIRSEP)config.h
311 $(XTCC) -o $(OBJDIR)$(DIRSEP)add.o -c add_.c
312
313 add.h: headers
314 allrepo_.c: $(SRCDIR)$(DIRSEP)allrepo.c translate
315 .$(DIRSEP)translate $(SRCDIR)$(DIRSEP)allrepo.c >allrepo_.c
316
317 $(OBJDIR)$(DIRSEP)allrepo.o: allrepo_.c allrepo.h $(SRCDIR)$(DIRSEP)config.h
318 $(XTCC) -o $(OBJDIR)$(DIRSEP)allrepo.o -c allrepo_.c
319
320 allrepo.h: headers
321 attach_.c: $(SRCDIR)$(DIRSEP)attach.c translate
322 .$(DIRSEP)translate $(SRCDIR)$(DIRSEP)attach.c >attach_.c
323
324 $(OBJDIR)$(DIRSEP)attach.o: attach_.c attach.h $(SRCDIR)$(DIRSEP)config.h
325 $(XTCC) -o $(OBJDIR)$(DIRSEP)attach.o -c attach_.c
326
327 attach.h: headers
328 bag_.c: $(SRCDIR)$(DIRSEP)bag.c translate
329 .$(DIRSEP)translate $(SRCDIR)$(DIRSEP)bag.c >bag_.c
330
331 $(OBJDIR)$(DIRSEP)bag.o: bag_.c bag.h $(SRCDIR)$(DIRSEP)config.h
332 $(XTCC) -o $(OBJDIR)$(DIRSEP)bag.o -c bag_.c
333
334 bag.h: headers
335 blob_.c: $(SRCDIR)$(DIRSEP)blob.c translate
336 .$(DIRSEP)translate $(SRCDIR)$(DIRSEP)blob.c >blob_.c
337
338 $(OBJDIR)$(DIRSEP)blob.o: blob_.c blob.h $(SRCDIR)$(DIRSEP)config.h
339 $(XTCC) -o $(OBJDIR)$(DIRSEP)blob.o -c blob_.c
340
341 blob.h: headers
342 branch_.c: $(SRCDIR)$(DIRSEP)branch.c translate
343 .$(DIRSEP)translate $(SRCDIR)$(DIRSEP)branch.c >branch_.c
344
345 $(OBJDIR)$(DIRSEP)branch.o: branch_.c branch.h $(SRCDIR)$(DIRSEP)config.h
346 $(XTCC) -o $(OBJDIR)$(DIRSEP)branch.o -c branch_.c
347
348 branch.h: headers
349 browse_.c: $(SRCDIR)$(DIRSEP)browse.c translate
350 .$(DIRSEP)translate $(SRCDIR)$(DIRSEP)browse.c >browse_.c
351
352 $(OBJDIR)$(DIRSEP)browse.o: browse_.c browse.h $(SRCDIR)$(DIRSEP)config.h
353 $(XTCC) -o $(OBJDIR)$(DIRSEP)browse.o -c browse_.c
354
355 browse.h: headers
356 captcha_.c: $(SRCDIR)$(DIRSEP)captcha.c translate
357 .$(DIRSEP)translate $(SRCDIR)$(DIRSEP)captcha.c >captcha_.c
358
359 $(OBJDIR)$(DIRSEP)captcha.o: captcha_.c captcha.h $(SRCDIR)$(DIRSEP)config.h
360 $(XTCC) -o $(OBJDIR)$(DIRSEP)captcha.o -c captcha_.c
361
362 captcha.h: headers
363 cgi_.c: $(SRCDIR)$(DIRSEP)cgi.c translate
364 .$(DIRSEP)translate $(SRCDIR)$(DIRSEP)cgi.c >cgi_.c
365
366 $(OBJDIR)$(DIRSEP)cgi.o: cgi_.c cgi.h $(SRCDIR)$(DIRSEP)config.h
367 $(XTCC) -o $(OBJDIR)$(DIRSEP)cgi.o -c cgi_.c
368
369 cgi.h: headers
370 checkin_.c: $(SRCDIR)$(DIRSEP)checkin.c translate
371 .$(DIRSEP)translate $(SRCDIR)$(DIRSEP)checkin.c >checkin_.c
372
373 $(OBJDIR)$(DIRSEP)checkin.o: checkin_.c checkin.h $(SRCDIR)$(DIRSEP)config.h
374 $(XTCC) -o $(OBJDIR)$(DIRSEP)checkin.o -c checkin_.c
375
376 checkin.h: headers
377 checkout_.c: $(SRCDIR)$(DIRSEP)checkout.c translate
378 .$(DIRSEP)translate $(SRCDIR)$(DIRSEP)checkout.c >checkout_.c
379
380 $(OBJDIR)$(DIRSEP)checkout.o: checkout_.c checkout.h $(SRCDIR)$(DIRSEP)config.h
381 $(XTCC) -o $(OBJDIR)$(DIRSEP)checkout.o -c checkout_.c
382
383 checkout.h: headers
384 clearsign_.c: $(SRCDIR)$(DIRSEP)clearsign.c translate
385 .$(DIRSEP)translate $(SRCDIR)$(DIRSEP)clearsign.c >clearsign_.c
386
387 $(OBJDIR)$(DIRSEP)clearsign.o: clearsign_.c clearsign.h $(SRCDIR)$(DIRSEP)config.h
388 $(XTCC) -o $(OBJDIR)$(DIRSEP)clearsign.o -c clearsign_.c
389
390 clearsign.h: headers
391 clone_.c: $(SRCDIR)$(DIRSEP)clone.c translate
392 .$(DIRSEP)translate $(SRCDIR)$(DIRSEP)clone.c >clone_.c
393
394 $(OBJDIR)$(DIRSEP)clone.o: clone_.c clone.h $(SRCDIR)$(DIRSEP)config.h
395 $(XTCC) -o $(OBJDIR)$(DIRSEP)clone.o -c clone_.c
396
397 clone.h: headers
398 comformat_.c: $(SRCDIR)$(DIRSEP)comformat.c translate
399 .$(DIRSEP)translate $(SRCDIR)$(DIRSEP)comformat.c >comformat_.c
400
401 $(OBJDIR)$(DIRSEP)comformat.o: comformat_.c comformat.h $(SRCDIR)$(DIRSEP)config.h
402 $(XTCC) -o $(OBJDIR)$(DIRSEP)comformat.o -c comformat_.c
403
404 comformat.h: headers
405 configure_.c: $(SRCDIR)$(DIRSEP)configure.c translate
406 .$(DIRSEP)translate $(SRCDIR)$(DIRSEP)configure.c >configure_.c
407
408 $(OBJDIR)$(DIRSEP)configure.o: configure_.c configure.h $(SRCDIR)$(DIRSEP)config.h
409 $(XTCC) -o $(OBJDIR)$(DIRSEP)configure.o -c configure_.c
410
411 configure.h: headers
412 content_.c: $(SRCDIR)$(DIRSEP)content.c translate
413 .$(DIRSEP)translate $(SRCDIR)$(DIRSEP)content.c >content_.c
414
415 $(OBJDIR)$(DIRSEP)content.o: content_.c content.h $(SRCDIR)$(DIRSEP)config.h
416 $(XTCC) -o $(OBJDIR)$(DIRSEP)content.o -c content_.c
417
418 content.h: headers
419 db_.c: $(SRCDIR)$(DIRSEP)db.c translate
420 .$(DIRSEP)translate $(SRCDIR)$(DIRSEP)db.c >db_.c
421
422 $(OBJDIR)$(DIRSEP)db.o: db_.c db.h $(SRCDIR)$(DIRSEP)config.h
423 $(XTCC) -o $(OBJDIR)$(DIRSEP)db.o -c db_.c
424
425 db.h: headers
426 delta_.c: $(SRCDIR)$(DIRSEP)delta.c translate
427 .$(DIRSEP)translate $(SRCDIR)$(DIRSEP)delta.c >delta_.c
428
429 $(OBJDIR)$(DIRSEP)delta.o: delta_.c delta.h $(SRCDIR)$(DIRSEP)config.h
430 $(XTCC) -o $(OBJDIR)$(DIRSEP)delta.o -c delta_.c
431
432 delta.h: headers
433 deltacmd_.c: $(SRCDIR)$(DIRSEP)deltacmd.c translate
434 .$(DIRSEP)translate $(SRCDIR)$(DIRSEP)deltacmd.c >deltacmd_.c
435
436 $(OBJDIR)$(DIRSEP)deltacmd.o: deltacmd_.c deltacmd.h $(SRCDIR)$(DIRSEP)config.h
437 $(XTCC) -o $(OBJDIR)$(DIRSEP)deltacmd.o -c deltacmd_.c
438
439 deltacmd.h: headers
440 descendants_.c: $(SRCDIR)$(DIRSEP)descendants.c translate
441 .$(DIRSEP)translate $(SRCDIR)$(DIRSEP)descendants.c >descendants_.c
442
443 $(OBJDIR)$(DIRSEP)descendants.o: descendants_.c descendants.h $(SRCDIR)$(DIRSEP)config.h
444 $(XTCC) -o $(OBJDIR)$(DIRSEP)descendants.o -c descendants_.c
445
446 descendants.h: headers
447 diff_.c: $(SRCDIR)$(DIRSEP)diff.c translate
448 .$(DIRSEP)translate $(SRCDIR)$(DIRSEP)diff.c >diff_.c
449
450 $(OBJDIR)$(DIRSEP)diff.o: diff_.c diff.h $(SRCDIR)$(DIRSEP)config.h
451 $(XTCC) -o $(OBJDIR)$(DIRSEP)diff.o -c diff_.c
452
453 diff.h: headers
454 diffcmd_.c: $(SRCDIR)$(DIRSEP)diffcmd.c translate
455 .$(DIRSEP)translate $(SRCDIR)$(DIRSEP)diffcmd.c >diffcmd_.c
456
457 $(OBJDIR)$(DIRSEP)diffcmd.o: diffcmd_.c diffcmd.h $(SRCDIR)$(DIRSEP)config.h
458 $(XTCC) -o $(OBJDIR)$(DIRSEP)diffcmd.o -c diffcmd_.c
459
460 diffcmd.h: headers
461 doc_.c: $(SRCDIR)$(DIRSEP)doc.c translate
462 .$(DIRSEP)translate $(SRCDIR)$(DIRSEP)doc.c >doc_.c
463
464 $(OBJDIR)$(DIRSEP)doc.o: doc_.c doc.h $(SRCDIR)$(DIRSEP)config.h
465 $(XTCC) -o $(OBJDIR)$(DIRSEP)doc.o -c doc_.c
466
467 doc.h: headers
468 encode_.c: $(SRCDIR)$(DIRSEP)encode.c translate
469 .$(DIRSEP)translate $(SRCDIR)$(DIRSEP)encode.c >encode_.c
470
471 $(OBJDIR)$(DIRSEP)encode.o: encode_.c encode.h $(SRCDIR)$(DIRSEP)config.h
472 $(XTCC) -o $(OBJDIR)$(DIRSEP)encode.o -c encode_.c
473
474 encode.h: headers
475 file_.c: $(SRCDIR)$(DIRSEP)file.c translate
476 .$(DIRSEP)translate $(SRCDIR)$(DIRSEP)file.c >file_.c
477
478 $(OBJDIR)$(DIRSEP)file.o: file_.c file.h $(SRCDIR)$(DIRSEP)config.h
479 $(XTCC) -o $(OBJDIR)$(DIRSEP)file.o -c file_.c
480
481 file.h: headers
482 finfo_.c: $(SRCDIR)$(DIRSEP)finfo.c translate
483 .$(DIRSEP)translate $(SRCDIR)$(DIRSEP)finfo.c >finfo_.c
484
485 $(OBJDIR)$(DIRSEP)finfo.o: finfo_.c finfo.h $(SRCDIR)$(DIRSEP)config.h
486 $(XTCC) -o $(OBJDIR)$(DIRSEP)finfo.o -c finfo_.c
487
488 finfo.h: headers
489 graph_.c: $(SRCDIR)$(DIRSEP)graph.c translate
490 .$(DIRSEP)translate $(SRCDIR)$(DIRSEP)graph.c >graph_.c
491
492 $(OBJDIR)$(DIRSEP)graph.o: graph_.c graph.h $(SRCDIR)$(DIRSEP)config.h
493 $(XTCC) -o $(OBJDIR)$(DIRSEP)graph.o -c graph_.c
494
495 graph.h: headers
496 http_.c: $(SRCDIR)$(DIRSEP)http.c translate
497 .$(DIRSEP)translate $(SRCDIR)$(DIRSEP)http.c >http_.c
498
499 $(OBJDIR)$(DIRSEP)http.o: http_.c http.h $(SRCDIR)$(DIRSEP)config.h
500 $(XTCC) -o $(OBJDIR)$(DIRSEP)http.o -c http_.c
501
502 http.h: headers
503 http_socket_.c: $(SRCDIR)$(DIRSEP)http_socket.c translate
504 .$(DIRSEP)translate $(SRCDIR)$(DIRSEP)http_socket.c >http_socket_.c
505
506 $(OBJDIR)$(DIRSEP)http_socket.o: http_socket_.c http_socket.h $(SRCDIR)$(DIRSEP)config.h
507 $(XTCC) -o $(OBJDIR)$(DIRSEP)http_socket.o -c http_socket_.c
508
509 http_socket.h: headers
510 http_ssl_.c: $(SRCDIR)$(DIRSEP)http_ssl.c translate
511 .$(DIRSEP)translate $(SRCDIR)$(DIRSEP)http_ssl.c >http_ssl_.c
512
513 $(OBJDIR)$(DIRSEP)http_ssl.o: http_ssl_.c http_ssl.h $(SRCDIR)$(DIRSEP)config.h
514 $(XTCC) -o $(OBJDIR)$(DIRSEP)http_ssl.o -c http_ssl_.c
515
516 http_ssl.h: headers
517 http_transport_.c: $(SRCDIR)$(DIRSEP)http_transport.c translate
518 .$(DIRSEP)translate $(SRCDIR)$(DIRSEP)http_transport.c >http_transport_.c
519
520 $(OBJDIR)$(DIRSEP)http_transport.o: http_transport_.c http_transport.h $(SRCDIR)$(DIRSEP)config.h
521 $(XTCC) -o $(OBJDIR)$(DIRSEP)http_transport.o -c http_transport_.c
522
523 http_transport.h: headers
524 info_.c: $(SRCDIR)$(DIRSEP)info.c translate
525 .$(DIRSEP)translate $(SRCDIR)$(DIRSEP)info.c >info_.c
526
527 $(OBJDIR)$(DIRSEP)info.o: info_.c info.h $(SRCDIR)$(DIRSEP)config.h
528 $(XTCC) -o $(OBJDIR)$(DIRSEP)info.o -c info_.c
529
530 info.h: headers
531 login_.c: $(SRCDIR)$(DIRSEP)login.c translate
532 .$(DIRSEP)translate $(SRCDIR)$(DIRSEP)login.c >login_.c
533
534 $(OBJDIR)$(DIRSEP)login.o: login_.c login.h $(SRCDIR)$(DIRSEP)config.h
535 $(XTCC) -o $(OBJDIR)$(DIRSEP)login.o -c login_.c
536
537 login.h: headers
538 main_.c: $(SRCDIR)$(DIRSEP)main.c translate
539 .$(DIRSEP)translate $(SRCDIR)$(DIRSEP)main.c >main_.c
540
541 $(OBJDIR)$(DIRSEP)main.o: main_.c main.h page_index.h $(SRCDIR)$(DIRSEP)config.h
542 $(XTCC) -o $(OBJDIR)$(DIRSEP)main.o -c main_.c
543
544 main.h: headers
545 manifest_.c: $(SRCDIR)$(DIRSEP)manifest.c translate
546 .$(DIRSEP)translate $(SRCDIR)$(DIRSEP)manifest.c >manifest_.c
547
548 $(OBJDIR)$(DIRSEP)manifest.o: manifest_.c manifest.h $(SRCDIR)$(DIRSEP)config.h
549 $(XTCC) -o $(OBJDIR)$(DIRSEP)manifest.o -c manifest_.c
550
551 manifest.h: headers
552 md5_.c: $(SRCDIR)$(DIRSEP)md5.c translate
553 .$(DIRSEP)translate $(SRCDIR)$(DIRSEP)md5.c >md5_.c
554
555 $(OBJDIR)$(DIRSEP)md5.o: md5_.c md5.h $(SRCDIR)$(DIRSEP)config.h
556 $(XTCC) -o $(OBJDIR)$(DIRSEP)md5.o -c md5_.c
557
558 md5.h: headers
559 merge_.c: $(SRCDIR)$(DIRSEP)merge.c translate
560 .$(DIRSEP)translate $(SRCDIR)$(DIRSEP)merge.c >merge_.c
561
562 $(OBJDIR)$(DIRSEP)merge.o: merge_.c merge.h $(SRCDIR)$(DIRSEP)config.h
563 $(XTCC) -o $(OBJDIR)$(DIRSEP)merge.o -c merge_.c
564
565 merge.h: headers
566 merge3_.c: $(SRCDIR)$(DIRSEP)merge3.c translate
567 .$(DIRSEP)translate $(SRCDIR)$(DIRSEP)merge3.c >merge3_.c
568
569 $(OBJDIR)$(DIRSEP)merge3.o: merge3_.c merge3.h $(SRCDIR)$(DIRSEP)config.h
570 $(XTCC) -o $(OBJDIR)$(DIRSEP)merge3.o -c merge3_.c
571
572 merge3.h: headers
573 name_.c: $(SRCDIR)$(DIRSEP)name.c translate
574 .$(DIRSEP)translate $(SRCDIR)$(DIRSEP)name.c >name_.c
575
576 $(OBJDIR)$(DIRSEP)name.o: name_.c name.h $(SRCDIR)$(DIRSEP)config.h
577 $(XTCC) -o $(OBJDIR)$(DIRSEP)name.o -c name_.c
578
579 name.h: headers
580 pivot_.c: $(SRCDIR)$(DIRSEP)pivot.c translate
581 .$(DIRSEP)translate $(SRCDIR)$(DIRSEP)pivot.c >pivot_.c
582
583 $(OBJDIR)$(DIRSEP)pivot.o: pivot_.c pivot.h $(SRCDIR)$(DIRSEP)config.h
584 $(XTCC) -o $(OBJDIR)$(DIRSEP)pivot.o -c pivot_.c
585
586 pivot.h: headers
587 pqueue_.c: $(SRCDIR)$(DIRSEP)pqueue.c translate
588 .$(DIRSEP)translate $(SRCDIR)$(DIRSEP)pqueue.c >pqueue_.c
589
590 $(OBJDIR)$(DIRSEP)pqueue.o: pqueue_.c pqueue.h $(SRCDIR)$(DIRSEP)config.h
591 $(XTCC) -o $(OBJDIR)$(DIRSEP)pqueue.o -c pqueue_.c
592
593 pqueue.h: headers
594 printf_.c: $(SRCDIR)$(DIRSEP)printf.c translate
595 .$(DIRSEP)translate $(SRCDIR)$(DIRSEP)printf.c >printf_.c
596
597 $(OBJDIR)$(DIRSEP)printf.o: printf_.c printf.h $(SRCDIR)$(DIRSEP)config.h
598 $(XTCC) -o $(OBJDIR)$(DIRSEP)printf.o -c printf_.c
599
600 printf.h: headers
601 rebuild_.c: $(SRCDIR)$(DIRSEP)rebuild.c translate
602 .$(DIRSEP)translate $(SRCDIR)$(DIRSEP)rebuild.c >rebuild_.c
603
604 $(OBJDIR)$(DIRSEP)rebuild.o: rebuild_.c rebuild.h $(SRCDIR)$(DIRSEP)config.h
605 $(XTCC) -o $(OBJDIR)$(DIRSEP)rebuild.o -c rebuild_.c
606
607 rebuild.h: headers
608 report_.c: $(SRCDIR)$(DIRSEP)report.c translate
609 .$(DIRSEP)translate $(SRCDIR)$(DIRSEP)report.c >report_.c
610
611 $(OBJDIR)$(DIRSEP)report.o: report_.c report.h $(SRCDIR)$(DIRSEP)config.h
612 $(XTCC) -o $(OBJDIR)$(DIRSEP)report.o -c report_.c
613
614 report.h: headers
615 rss_.c: $(SRCDIR)$(DIRSEP)rss.c translate
616 .$(DIRSEP)translate $(SRCDIR)$(DIRSEP)rss.c >rss_.c
617
618 $(OBJDIR)$(DIRSEP)rss.o: rss_.c rss.h $(SRCDIR)$(DIRSEP)config.h
619 $(XTCC) -o $(OBJDIR)$(DIRSEP)rss.o -c rss_.c
620
621 rss.h: headers
622 schema_.c: $(SRCDIR)$(DIRSEP)schema.c translate
623 .$(DIRSEP)translate $(SRCDIR)$(DIRSEP)schema.c >schema_.c
624
625 $(OBJDIR)$(DIRSEP)schema.o: schema_.c schema.h $(SRCDIR)$(DIRSEP)config.h
626 $(XTCC) -o $(OBJDIR)$(DIRSEP)schema.o -c schema_.c
627
628 schema.h: headers
629 search_.c: $(SRCDIR)$(DIRSEP)search.c translate
630 .$(DIRSEP)translate $(SRCDIR)$(DIRSEP)search.c >search_.c
631
632 $(OBJDIR)$(DIRSEP)search.o: search_.c search.h $(SRCDIR)$(DIRSEP)config.h
633 $(XTCC) -o $(OBJDIR)$(DIRSEP)search.o -c search_.c
634
635 search.h: headers
636 setup_.c: $(SRCDIR)$(DIRSEP)setup.c translate
637 .$(DIRSEP)translate $(SRCDIR)$(DIRSEP)setup.c >setup_.c
638
639 $(OBJDIR)$(DIRSEP)setup.o: setup_.c setup.h $(SRCDIR)$(DIRSEP)config.h
640 $(XTCC) -o $(OBJDIR)$(DIRSEP)setup.o -c setup_.c
641
642 setup.h: headers
643 sha1_.c: $(SRCDIR)$(DIRSEP)sha1.c translate
644 .$(DIRSEP)translate $(SRCDIR)$(DIRSEP)sha1.c >sha1_.c
645
646 $(OBJDIR)$(DIRSEP)sha1.o: sha1_.c sha1.h $(SRCDIR)$(DIRSEP)config.h
647 $(XTCC) -o $(OBJDIR)$(DIRSEP)sha1.o -c sha1_.c
648
649 sha1.h: headers
650 shun_.c: $(SRCDIR)$(DIRSEP)shun.c translate
651 .$(DIRSEP)translate $(SRCDIR)$(DIRSEP)shun.c >shun_.c
652
653 $(OBJDIR)$(DIRSEP)shun.o: shun_.c shun.h $(SRCDIR)$(DIRSEP)config.h
654 $(XTCC) -o $(OBJDIR)$(DIRSEP)shun.o -c shun_.c
655
656 shun.h: headers
657 skins_.c: $(SRCDIR)$(DIRSEP)skins.c translate
658 .$(DIRSEP)translate $(SRCDIR)$(DIRSEP)skins.c >skins_.c
659
660 $(OBJDIR)$(DIRSEP)skins.o: skins_.c skins.h $(SRCDIR)$(DIRSEP)config.h
661 $(XTCC) -o $(OBJDIR)$(DIRSEP)skins.o -c skins_.c
662
663 skins.h: headers
664 stat_.c: $(SRCDIR)$(DIRSEP)stat.c translate
665 .$(DIRSEP)translate $(SRCDIR)$(DIRSEP)stat.c >stat_.c
666
667 $(OBJDIR)$(DIRSEP)stat.o: stat_.c stat.h $(SRCDIR)$(DIRSEP)config.h
668 $(XTCC) -o $(OBJDIR)$(DIRSEP)stat.o -c stat_.c
669
670 stat.h: headers
671 style_.c: $(SRCDIR)$(DIRSEP)style.c translate
672 .$(DIRSEP)translate $(SRCDIR)$(DIRSEP)style.c >style_.c
673
674 $(OBJDIR)$(DIRSEP)style.o: style_.c style.h $(SRCDIR)$(DIRSEP)config.h
675 $(XTCC) -o $(OBJDIR)$(DIRSEP)style.o -c style_.c
676
677 style.h: headers
678 sync_.c: $(SRCDIR)$(DIRSEP)sync.c translate
679 .$(DIRSEP)translate $(SRCDIR)$(DIRSEP)sync.c >sync_.c
680
681 $(OBJDIR)$(DIRSEP)sync.o: sync_.c sync.h $(SRCDIR)$(DIRSEP)config.h
682 $(XTCC) -o $(OBJDIR)$(DIRSEP)sync.o -c sync_.c
683
684 sync.h: headers
685 tag_.c: $(SRCDIR)$(DIRSEP)tag.c translate
686 .$(DIRSEP)translate $(SRCDIR)$(DIRSEP)tag.c >tag_.c
687
688 $(OBJDIR)$(DIRSEP)tag.o: tag_.c tag.h $(SRCDIR)$(DIRSEP)config.h
689 $(XTCC) -o $(OBJDIR)$(DIRSEP)tag.o -c tag_.c
690
691 tag.h: headers
692 th_main_.c: $(SRCDIR)$(DIRSEP)th_main.c translate
693 .$(DIRSEP)translate $(SRCDIR)$(DIRSEP)th_main.c >th_main_.c
694
695 $(OBJDIR)$(DIRSEP)th_main.o: th_main_.c th_main.h $(SRCDIR)$(DIRSEP)config.h
696 $(XTCC) -o $(OBJDIR)$(DIRSEP)th_main.o -c th_main_.c
697
698 th_main.h: headers
699 timeline_.c: $(SRCDIR)$(DIRSEP)timeline.c translate
700 .$(DIRSEP)translate $(SRCDIR)$(DIRSEP)timeline.c >timeline_.c
701
702 $(OBJDIR)$(DIRSEP)timeline.o: timeline_.c timeline.h $(SRCDIR)$(DIRSEP)config.h
703 $(XTCC) -o $(OBJDIR)$(DIRSEP)timeline.o -c timeline_.c
704
705 timeline.h: headers
706 tkt_.c: $(SRCDIR)$(DIRSEP)tkt.c translate
707 .$(DIRSEP)translate $(SRCDIR)$(DIRSEP)tkt.c >tkt_.c
708
709 $(OBJDIR)$(DIRSEP)tkt.o: tkt_.c tkt.h $(SRCDIR)$(DIRSEP)config.h
710 $(XTCC) -o $(OBJDIR)$(DIRSEP)tkt.o -c tkt_.c
711
712 tkt.h: headers
713 tktsetup_.c: $(SRCDIR)$(DIRSEP)tktsetup.c translate
714 .$(DIRSEP)translate $(SRCDIR)$(DIRSEP)tktsetup.c >tktsetup_.c
715
716 $(OBJDIR)$(DIRSEP)tktsetup.o: tktsetup_.c tktsetup.h $(SRCDIR)$(DIRSEP)config.h
717 $(XTCC) -o $(OBJDIR)$(DIRSEP)tktsetup.o -c tktsetup_.c
718
719 tktsetup.h: headers
720 undo_.c: $(SRCDIR)$(DIRSEP)undo.c translate
721 .$(DIRSEP)translate $(SRCDIR)$(DIRSEP)undo.c >undo_.c
722
723 $(OBJDIR)$(DIRSEP)undo.o: undo_.c undo.h $(SRCDIR)$(DIRSEP)config.h
724 $(XTCC) -o $(OBJDIR)$(DIRSEP)undo.o -c undo_.c
725
726 undo.h: headers
727 update_.c: $(SRCDIR)$(DIRSEP)update.c translate
728 .$(DIRSEP)translate $(SRCDIR)$(DIRSEP)update.c >update_.c
729
730 $(OBJDIR)$(DIRSEP)update.o: update_.c update.h $(SRCDIR)$(DIRSEP)config.h
731 $(XTCC) -o $(OBJDIR)$(DIRSEP)update.o -c update_.c
732
733 update.h: headers
734 url_.c: $(SRCDIR)$(DIRSEP)url.c translate
735 .$(DIRSEP)translate $(SRCDIR)$(DIRSEP)url.c >url_.c
736
737 $(OBJDIR)$(DIRSEP)url.o: url_.c url.h $(SRCDIR)$(DIRSEP)config.h
738 $(XTCC) -o $(OBJDIR)$(DIRSEP)url.o -c url_.c
739
740 url.h: headers
741 user_.c: $(SRCDIR)$(DIRSEP)user.c translate
742 .$(DIRSEP)translate $(SRCDIR)$(DIRSEP)user.c >user_.c
743
744 $(OBJDIR)$(DIRSEP)user.o: user_.c user.h $(SRCDIR)$(DIRSEP)config.h
745 $(XTCC) -o $(OBJDIR)$(DIRSEP)user.o -c user_.c
746
747 user.h: headers
748 verify_.c: $(SRCDIR)$(DIRSEP)verify.c translate
749 .$(DIRSEP)translate $(SRCDIR)$(DIRSEP)verify.c >verify_.c
750
751 $(OBJDIR)$(DIRSEP)verify.o: verify_.c verify.h $(SRCDIR)$(DIRSEP)config.h
752 $(XTCC) -o $(OBJDIR)$(DIRSEP)verify.o -c verify_.c
753
754 verify.h: headers
755 vfile_.c: $(SRCDIR)$(DIRSEP)vfile.c translate
756 .$(DIRSEP)translate $(SRCDIR)$(DIRSEP)vfile.c >vfile_.c
757
758 $(OBJDIR)$(DIRSEP)vfile.o: vfile_.c vfile.h $(SRCDIR)$(DIRSEP)config.h
759 $(XTCC) -o $(OBJDIR)$(DIRSEP)vfile.o -c vfile_.c
760
761 vfile.h: headers
762 wiki_.c: $(SRCDIR)$(DIRSEP)wiki.c translate
763 .$(DIRSEP)translate $(SRCDIR)$(DIRSEP)wiki.c >wiki_.c
764
765 $(OBJDIR)$(DIRSEP)wiki.o: wiki_.c wiki.h $(SRCDIR)$(DIRSEP)config.h
766 $(XTCC) -o $(OBJDIR)$(DIRSEP)wiki.o -c wiki_.c
767
768 wiki.h: headers
769 wikiformat_.c: $(SRCDIR)$(DIRSEP)wikiformat.c translate
770 .$(DIRSEP)translate $(SRCDIR)$(DIRSEP)wikiformat.c >wikiformat_.c
771
772 $(OBJDIR)$(DIRSEP)wikiformat.o: wikiformat_.c wikiformat.h $(SRCDIR)$(DIRSEP)config.h
773 $(XTCC) -o $(OBJDIR)$(DIRSEP)wikiformat.o -c wikiformat_.c
774
775 wikiformat.h: headers
776 winhttp_.c: $(SRCDIR)$(DIRSEP)winhttp.c translate
777 .$(DIRSEP)translate $(SRCDIR)$(DIRSEP)winhttp.c >winhttp_.c
778
779 $(OBJDIR)$(DIRSEP)winhttp.o: winhttp_.c winhttp.h $(SRCDIR)$(DIRSEP)config.h
780 $(XTCC) -o $(OBJDIR)$(DIRSEP)winhttp.o -c winhttp_.c
781
782 winhttp.h: headers
783 xfer_.c: $(SRCDIR)$(DIRSEP)xfer.c translate
784 .$(DIRSEP)translate $(SRCDIR)$(DIRSEP)xfer.c >xfer_.c
785
786 $(OBJDIR)$(DIRSEP)xfer.o: xfer_.c xfer.h $(SRCDIR)$(DIRSEP)config.h
787 $(XTCC) -o $(OBJDIR)$(DIRSEP)xfer.o -c xfer_.c
788
789 xfer.h: headers
790 zip_.c: $(SRCDIR)$(DIRSEP)zip.c translate
791 .$(DIRSEP)translate $(SRCDIR)$(DIRSEP)zip.c >zip_.c
792
793 $(OBJDIR)$(DIRSEP)zip.o: zip_.c zip.h $(SRCDIR)$(DIRSEP)config.h
794 $(XTCC) -o $(OBJDIR)$(DIRSEP)zip.o -c zip_.c
795
796 zip.h: headers
797 $(OBJDIR)$(DIRSEP)sqlite3.o: $(SRCDIR)$(DIRSEP)sqlite3.c
798 $(XTCC) -DSQLITE_OMIT_LOAD_EXTENSION=1 -DSQLITE_THREADSAFE=0 -DSQLITE_DEFAULT_FILE_FORMAT=4 -Dlocaltime=fossil_localtime -DSQLITE_ENABLE_LOCKING_STYLE=0 -c $(SRCDIR)$(DIRSEP)sqlite3.c -o $(OBJDIR)$(DIRSEP)sqlite3.o
799
800 $(OBJDIR)$(DIRSEP)th.o: $(SRCDIR)$(DIRSEP)th.c
801 $(XTCC) -I$(SRCDIR) -c $(SRCDIR)$(DIRSEP)th.c -o $(OBJDIR)$(DIRSEP)th.o
802
803 $(OBJDIR)$(DIRSEP)th_lang.o: $(SRCDIR)$(DIRSEP)th_lang.c
804 $(XTCC) -I$(SRCDIR) -c $(SRCDIR)$(DIRSEP)th_lang.c -o $(OBJDIR)$(DIRSEP)th_lang.o
805
806
--- src/main.mk
+++ src/main.mk
@@ -11,80 +11,80 @@
11
12 XTCC = $(TCC) $(CFLAGS) -I. -I$(SRCDIR)
13
14
15 SRC = \
16 $(SRCDIR)/add.c \
17 $(SRCDIR)/allrepo.c \
18 $(SRCDIR)/attach.c \
19 $(SRCDIR)/bag.c \
20 $(SRCDIR)/blob.c \
21 $(SRCDIR)/branch.c \
22 $(SRCDIR)/browse.c \
23 $(SRCDIR)/captcha.c \
24 $(SRCDIR)/cgi.c \
25 $(SRCDIR)/checkin.c \
26 $(SRCDIR)/checkout.c \
27 $(SRCDIR)/clearsign.c \
28 $(SRCDIR)/clone.c \
29 $(SRCDIR)/comformat.c \
30 $(SRCDIR)/configure.c \
31 $(SRCDIR)/content.c \
32 $(SRCDIR)/db.c \
33 $(SRCDIR)/delta.c \
34 $(SRCDIR)/deltacmd.c \
35 $(SRCDIR)/descendants.c \
36 $(SRCDIR)/diff.c \
37 $(SRCDIR)/diffcmd.c \
38 $(SRCDIR)/doc.c \
39 $(SRCDIR)/encode.c \
40 $(SRCDIR)/file.c \
41 $(SRCDIR)/finfo.c \
42 $(SRCDIR)/graph.c \
43 $(SRCDIR)/http.c \
44 $(SRCDIR)/http_socket.c \
45 $(SRCDIR)/http_ssl.c \
46 $(SRCDIR)/http_transport.c \
47 $(SRCDIR)/info.c \
48 $(SRCDIR)/login.c \
49 $(SRCDIR)/main.c \
50 $(SRCDIR)/manifest.c \
51 $(SRCDIR)/md5.c \
52 $(SRCDIR)/merge.c \
53 $(SRCDIR)/merge3.c \
54 $(SRCDIR)/name.c \
55 $(SRCDIR)/pivot.c \
56 $(SRCDIR)/pqueue.c \
57 $(SRCDIR)/printf.c \
58 $(SRCDIR)/rebuild.c \
59 $(SRCDIR)/report.c \
60 $(SRCDIR)/rss.c \
61 $(SRCDIR)/schema.c \
62 $(SRCDIR)/search.c \
63 $(SRCDIR)/setup.c \
64 $(SRCDIR)/sha1.c \
65 $(SRCDIR)/shun.c \
66 $(SRCDIR)/skins.c \
67 $(SRCDIR)/stat.c \
68 $(SRCDIR)/style.c \
69 $(SRCDIR)/sync.c \
70 $(SRCDIR)/tag.c \
71 $(SRCDIR)/th_main.c \
72 $(SRCDIR)/timeline.c \
73 $(SRCDIR)/tkt.c \
74 $(SRCDIR)/tktsetup.c \
75 $(SRCDIR)/undo.c \
76 $(SRCDIR)/update.c \
77 $(SRCDIR)/url.c \
78 $(SRCDIR)/user.c \
79 $(SRCDIR)/verify.c \
80 $(SRCDIR)/vfile.c \
81 $(SRCDIR)/wiki.c \
82 $(SRCDIR)/wikiformat.c \
83 $(SRCDIR)/winhttp.c \
84 $(SRCDIR)/xfer.c \
85 $(SRCDIR)/zip.c
86
87 TRANS_SRC = \
88 add_.c \
89 allrepo_.c \
90 attach_.c \
@@ -155,80 +155,80 @@
155 winhttp_.c \
156 xfer_.c \
157 zip_.c
158
159 OBJ = \
160 $(OBJDIR)/add.o \
161 $(OBJDIR)/allrepo.o \
162 $(OBJDIR)/attach.o \
163 $(OBJDIR)/bag.o \
164 $(OBJDIR)/blob.o \
165 $(OBJDIR)/branch.o \
166 $(OBJDIR)/browse.o \
167 $(OBJDIR)/captcha.o \
168 $(OBJDIR)/cgi.o \
169 $(OBJDIR)/checkin.o \
170 $(OBJDIR)/checkout.o \
171 $(OBJDIR)/clearsign.o \
172 $(OBJDIR)/clone.o \
173 $(OBJDIR)/comformat.o \
174 $(OBJDIR)/configure.o \
175 $(OBJDIR)/content.o \
176 $(OBJDIR)/db.o \
177 $(OBJDIR)/delta.o \
178 $(OBJDIR)/deltacmd.o \
179 $(OBJDIR)/descendants.o \
180 $(OBJDIR)/diff.o \
181 $(OBJDIR)/diffcmd.o \
182 $(OBJDIR)/doc.o \
183 $(OBJDIR)/encode.o \
184 $(OBJDIR)/file.o \
185 $(OBJDIR)/finfo.o \
186 $(OBJDIR)/graph.o \
187 $(OBJDIR)/http.o \
188 $(OBJDIR)/http_socket.o \
189 $(OBJDIR)/http_ssl.o \
190 $(OBJDIR)/http_transport.o \
191 $(OBJDIR)/info.o \
192 $(OBJDIR)/login.o \
193 $(OBJDIR)/main.o \
194 $(OBJDIR)/manifest.o \
195 $(OBJDIR)/md5.o \
196 $(OBJDIR)/merge.o \
197 $(OBJDIR)/merge3.o \
198 $(OBJDIR)/name.o \
199 $(OBJDIR)/pivot.o \
200 $(OBJDIR)/pqueue.o \
201 $(OBJDIR)/printf.o \
202 $(OBJDIR)/rebuild.o \
203 $(OBJDIR)/report.o \
204 $(OBJDIR)/rss.o \
205 $(OBJDIR)/schema.o \
206 $(OBJDIR)/search.o \
207 $(OBJDIR)/setup.o \
208 $(OBJDIR)/sha1.o \
209 $(OBJDIR)/shun.o \
210 $(OBJDIR)/skins.o \
211 $(OBJDIR)/stat.o \
212 $(OBJDIR)/style.o \
213 $(OBJDIR)/sync.o \
214 $(OBJDIR)/tag.o \
215 $(OBJDIR)/th_main.o \
216 $(OBJDIR)/timeline.o \
217 $(OBJDIR)/tkt.o \
218 $(OBJDIR)/tktsetup.o \
219 $(OBJDIR)/undo.o \
220 $(OBJDIR)/update.o \
221 $(OBJDIR)/url.o \
222 $(OBJDIR)/user.o \
223 $(OBJDIR)/verify.o \
224 $(OBJDIR)/vfile.o \
225 $(OBJDIR)/wiki.o \
226 $(OBJDIR)/wikiformat.o \
227 $(OBJDIR)/winhttp.o \
228 $(OBJDIR)/xfer.o \
229 $(OBJDIR)/zip.o
230
231 APPNAME = fossil$(E)
232
233
234
@@ -238,568 +238,545 @@
238 mv $(APPNAME) $(INSTALLDIR)
239
240 $(OBJDIR):
241 -mkdir $(OBJDIR)
242
243 translate: $(SRCDIR)/translate.c
244 $(BCC) -o translate $(SRCDIR)/translate.c
245
246 makeheaders: $(SRCDIR)/makeheaders.c
247 $(BCC) -o makeheaders $(SRCDIR)/makeheaders.c
248
249 mkindex: $(SRCDIR)/mkindex.c
250 $(BCC) -o mkindex $(SRCDIR)/mkindex.c
251
252 # WARNING. DANGER. Running the testsuite modifies the repository the
253 # build is done from, i.e. the checkout belongs to. Do not sync/push
254 # the repository after running the tests.
255 test: $(APPNAME)
256 $(TCLSH) test/tester.tcl $(APPNAME)
257
258 VERSION.h: $(SRCDIR)/../manifest.uuid $(SRCDIR)/../manifest
259 awk '{ printf "#define MANIFEST_UUID \"%s\"\n", $$1}' $(SRCDIR)/../manifest.uuid >VERSION.h
260 awk '{ printf "#define MANIFEST_VERSION \"[%.10s]\"\n", $$1}' $(SRCDIR)/../manifest.uuid >>VERSION.h
261 awk '$$1=="D"{printf "#define MANIFEST_DATE \"%s %s\"\n", substr($$2,1,10),substr($$2,12)}' $(SRCDIR)/../manifest >>VERSION.h
262
263 $(APPNAME): headers $(OBJ) $(OBJDIR)/sqlite3.o $(OBJDIR)/th.o $(OBJDIR)/th_lang.o
264 $(TCC) -o $(APPNAME) $(OBJ) $(OBJDIR)/sqlite3.o $(OBJDIR)/th.o $(OBJDIR)/th_lang.o $(LIB)
 
 
 
 
 
 
265
266 # This rule prevents make from using its default rules to try build
267 # an executable named "manifest" out of the file named "manifest.c"
268 #
269 $(SRCDIR)/../manifest:
270 # noop
271
272 clean:
273 rm -f $(OBJDIR)/*.o *_.c $(APPNAME) VERSION.h
274 rm -f translate makeheaders mkindex page_index.h headers
275 rm -f add.h allrepo.h attach.h bag.h blob.h branch.h browse.h captcha.h cgi.h checkin.h checkout.h clearsign.h clone.h comformat.h configure.h content.h db.h delta.h deltacmd.h descendants.h diff.h diffcmd.h doc.h encode.h file.h finfo.h graph.h http.h http_socket.h http_ssl.h http_transport.h info.h login.h main.h manifest.h md5.h merge.h merge3.h name.h pivot.h pqueue.h printf.h rebuild.h report.h rss.h schema.h search.h setup.h sha1.h shun.h skins.h stat.h style.h sync.h tag.h th_main.h timeline.h tkt.h tktsetup.h undo.h update.h url.h user.h verify.h vfile.h wiki.h wikiformat.h winhttp.h xfer.h zip.h
276
277 page_index.h: $(TRANS_SRC) mkindex
278 ./mkindex $(TRANS_SRC) >$@
279 headers: page_index.h makeheaders VERSION.h
280 ./makeheaders add_.c:add.h allrepo_.c:allrepo.h attach_.c:attach.h bag_.c:bag.h blob_.c:blob.h branch_.c:branch.h browse_.c:browse.h captcha_.c:captcha.h cgi_.c:cgi.h checkin_.c:checkin.h checkout_.c:checkout.h clearsign_.c:clearsign.h clone_.c:clone.h comformat_.c:comformat.h configure_.c:configure.h content_.c:content.h db_.c:db.h delta_.c:delta.h deltacmd_.c:deltacmd.h descendants_.c:descendants.h diff_.c:diff.h diffcmd_.c:diffcmd.h doc_.c:doc.h encode_.c:encode.h file_.c:file.h finfo_.c:finfo.h graph_.c:graph.h http_.c:http.h http_socket_.c:http_socket.h http_ssl_.c:http_ssl.h http_transport_.c:http_transport.h info_.c:info.h login_.c:login.h main_.c:main.h manifest_.c:manifest.h md5_.c:md5.h merge_.c:merge.h merge3_.c:merge3.h name_.c:name.h pivot_.c:pivot.h pqueue_.c:pqueue.h printf_.c:printf.h rebuild_.c:rebuild.h report_.c:report.h rss_.c:rss.h schema_.c:schema.h search_.c:search.h setup_.c:setup.h sha1_.c:sha1.h shun_.c:shun.h skins_.c:skins.h stat_.c:stat.h style_.c:style.h sync_.c:sync.h tag_.c:tag.h th_main_.c:th_main.h timeline_.c:timeline.h tkt_.c:tkt.h tktsetup_.c:tktsetup.h undo_.c:undo.h update_.c:update.h url_.c:url.h user_.c:user.h verify_.c:verify.h vfile_.c:vfile.h wiki_.c:wiki.h wikiformat_.c:wikiformat.h winhttp_.c:winhttp.h xfer_.c:xfer.h zip_.c:zip.h $(SRCDIR)/sqlite3.h $(SRCDIR)/th.h VERSION.h
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
281 touch headers
282 headers: Makefile
283 Makefile:
284 add_.c: $(SRCDIR)/add.c translate
285 ./translate $(SRCDIR)/add.c >add_.c
286
287 $(OBJDIR)/add.o: add_.c add.h $(SRCDIR)/config.h
288 $(XTCC) -o $(OBJDIR)/add.o -c add_.c
289
290 add.h: headers
291 allrepo_.c: $(SRCDIR)/allrepo.c translate
292 ./translate $(SRCDIR)/allrepo.c >allrepo_.c
293
294 $(OBJDIR)/allrepo.o: allrepo_.c allrepo.h $(SRCDIR)/config.h
295 $(XTCC) -o $(OBJDIR)/allrepo.o -c allrepo_.c
296
297 allrepo.h: headers
298 attach_.c: $(SRCDIR)/attach.c translate
299 ./translate $(SRCDIR)/attach.c >attach_.c
300
301 $(OBJDIR)/attach.o: attach_.c attach.h $(SRCDIR)/config.h
302 $(XTCC) -o $(OBJDIR)/attach.o -c attach_.c
303
304 attach.h: headers
305 bag_.c: $(SRCDIR)/bag.c translate
306 ./translate $(SRCDIR)/bag.c >bag_.c
307
308 $(OBJDIR)/bag.o: bag_.c bag.h $(SRCDIR)/config.h
309 $(XTCC) -o $(OBJDIR)/bag.o -c bag_.c
310
311 bag.h: headers
312 blob_.c: $(SRCDIR)/blob.c translate
313 ./translate $(SRCDIR)/blob.c >blob_.c
314
315 $(OBJDIR)/blob.o: blob_.c blob.h $(SRCDIR)/config.h
316 $(XTCC) -o $(OBJDIR)/blob.o -c blob_.c
317
318 blob.h: headers
319 branch_.c: $(SRCDIR)/branch.c translate
320 ./translate $(SRCDIR)/branch.c >branch_.c
321
322 $(OBJDIR)/branch.o: branch_.c branch.h $(SRCDIR)/config.h
323 $(XTCC) -o $(OBJDIR)/branch.o -c branch_.c
324
325 branch.h: headers
326 browse_.c: $(SRCDIR)/browse.c translate
327 ./translate $(SRCDIR)/browse.c >browse_.c
328
329 $(OBJDIR)/browse.o: browse_.c browse.h $(SRCDIR)/config.h
330 $(XTCC) -o $(OBJDIR)/browse.o -c browse_.c
331
332 browse.h: headers
333 captcha_.c: $(SRCDIR)/captcha.c translate
334 ./translate $(SRCDIR)/captcha.c >captcha_.c
335
336 $(OBJDIR)/captcha.o: captcha_.c captcha.h $(SRCDIR)/config.h
337 $(XTCC) -o $(OBJDIR)/captcha.o -c captcha_.c
338
339 captcha.h: headers
340 cgi_.c: $(SRCDIR)/cgi.c translate
341 ./translate $(SRCDIR)/cgi.c >cgi_.c
342
343 $(OBJDIR)/cgi.o: cgi_.c cgi.h $(SRCDIR)/config.h
344 $(XTCC) -o $(OBJDIR)/cgi.o -c cgi_.c
345
346 cgi.h: headers
347 checkin_.c: $(SRCDIR)/checkin.c translate
348 ./translate $(SRCDIR)/checkin.c >checkin_.c
349
350 $(OBJDIR)/checkin.o: checkin_.c checkin.h $(SRCDIR)/config.h
351 $(XTCC) -o $(OBJDIR)/checkin.o -c checkin_.c
352
353 checkin.h: headers
354 checkout_.c: $(SRCDIR)/checkout.c translate
355 ./translate $(SRCDIR)/checkout.c >checkout_.c
356
357 $(OBJDIR)/checkout.o: checkout_.c checkout.h $(SRCDIR)/config.h
358 $(XTCC) -o $(OBJDIR)/checkout.o -c checkout_.c
359
360 checkout.h: headers
361 clearsign_.c: $(SRCDIR)/clearsign.c translate
362 ./translate $(SRCDIR)/clearsign.c >clearsign_.c
363
364 $(OBJDIR)/clearsign.o: clearsign_.c clearsign.h $(SRCDIR)/config.h
365 $(XTCC) -o $(OBJDIR)/clearsign.o -c clearsign_.c
366
367 clearsign.h: headers
368 clone_.c: $(SRCDIR)/clone.c translate
369 ./translate $(SRCDIR)/clone.c >clone_.c
370
371 $(OBJDIR)/clone.o: clone_.c clone.h $(SRCDIR)/config.h
372 $(XTCC) -o $(OBJDIR)/clone.o -c clone_.c
373
374 clone.h: headers
375 comformat_.c: $(SRCDIR)/comformat.c translate
376 ./translate $(SRCDIR)/comformat.c >comformat_.c
377
378 $(OBJDIR)/comformat.o: comformat_.c comformat.h $(SRCDIR)/config.h
379 $(XTCC) -o $(OBJDIR)/comformat.o -c comformat_.c
380
381 comformat.h: headers
382 configure_.c: $(SRCDIR)/configure.c translate
383 ./translate $(SRCDIR)/configure.c >configure_.c
384
385 $(OBJDIR)/configure.o: configure_.c configure.h $(SRCDIR)/config.h
386 $(XTCC) -o $(OBJDIR)/configure.o -c configure_.c
387
388 configure.h: headers
389 content_.c: $(SRCDIR)/content.c translate
390 ./translate $(SRCDIR)/content.c >content_.c
391
392 $(OBJDIR)/content.o: content_.c content.h $(SRCDIR)/config.h
393 $(XTCC) -o $(OBJDIR)/content.o -c content_.c
394
395 content.h: headers
396 db_.c: $(SRCDIR)/db.c translate
397 ./translate $(SRCDIR)/db.c >db_.c
398
399 $(OBJDIR)/db.o: db_.c db.h $(SRCDIR)/config.h
400 $(XTCC) -o $(OBJDIR)/db.o -c db_.c
401
402 db.h: headers
403 delta_.c: $(SRCDIR)/delta.c translate
404 ./translate $(SRCDIR)/delta.c >delta_.c
405
406 $(OBJDIR)/delta.o: delta_.c delta.h $(SRCDIR)/config.h
407 $(XTCC) -o $(OBJDIR)/delta.o -c delta_.c
408
409 delta.h: headers
410 deltacmd_.c: $(SRCDIR)/deltacmd.c translate
411 ./translate $(SRCDIR)/deltacmd.c >deltacmd_.c
412
413 $(OBJDIR)/deltacmd.o: deltacmd_.c deltacmd.h $(SRCDIR)/config.h
414 $(XTCC) -o $(OBJDIR)/deltacmd.o -c deltacmd_.c
415
416 deltacmd.h: headers
417 descendants_.c: $(SRCDIR)/descendants.c translate
418 ./translate $(SRCDIR)/descendants.c >descendants_.c
419
420 $(OBJDIR)/descendants.o: descendants_.c descendants.h $(SRCDIR)/config.h
421 $(XTCC) -o $(OBJDIR)/descendants.o -c descendants_.c
422
423 descendants.h: headers
424 diff_.c: $(SRCDIR)/diff.c translate
425 ./translate $(SRCDIR)/diff.c >diff_.c
426
427 $(OBJDIR)/diff.o: diff_.c diff.h $(SRCDIR)/config.h
428 $(XTCC) -o $(OBJDIR)/diff.o -c diff_.c
429
430 diff.h: headers
431 diffcmd_.c: $(SRCDIR)/diffcmd.c translate
432 ./translate $(SRCDIR)/diffcmd.c >diffcmd_.c
433
434 $(OBJDIR)/diffcmd.o: diffcmd_.c diffcmd.h $(SRCDIR)/config.h
435 $(XTCC) -o $(OBJDIR)/diffcmd.o -c diffcmd_.c
436
437 diffcmd.h: headers
438 doc_.c: $(SRCDIR)/doc.c translate
439 ./translate $(SRCDIR)/doc.c >doc_.c
440
441 $(OBJDIR)/doc.o: doc_.c doc.h $(SRCDIR)/config.h
442 $(XTCC) -o $(OBJDIR)/doc.o -c doc_.c
443
444 doc.h: headers
445 encode_.c: $(SRCDIR)/encode.c translate
446 ./translate $(SRCDIR)/encode.c >encode_.c
447
448 $(OBJDIR)/encode.o: encode_.c encode.h $(SRCDIR)/config.h
449 $(XTCC) -o $(OBJDIR)/encode.o -c encode_.c
450
451 encode.h: headers
452 file_.c: $(SRCDIR)/file.c translate
453 ./translate $(SRCDIR)/file.c >file_.c
454
455 $(OBJDIR)/file.o: file_.c file.h $(SRCDIR)/config.h
456 $(XTCC) -o $(OBJDIR)/file.o -c file_.c
457
458 file.h: headers
459 finfo_.c: $(SRCDIR)/finfo.c translate
460 ./translate $(SRCDIR)/finfo.c >finfo_.c
461
462 $(OBJDIR)/finfo.o: finfo_.c finfo.h $(SRCDIR)/config.h
463 $(XTCC) -o $(OBJDIR)/finfo.o -c finfo_.c
464
465 finfo.h: headers
466 graph_.c: $(SRCDIR)/graph.c translate
467 ./translate $(SRCDIR)/graph.c >graph_.c
468
469 $(OBJDIR)/graph.o: graph_.c graph.h $(SRCDIR)/config.h
470 $(XTCC) -o $(OBJDIR)/graph.o -c graph_.c
471
472 graph.h: headers
473 http_.c: $(SRCDIR)/http.c translate
474 ./translate $(SRCDIR)/http.c >http_.c
475
476 $(OBJDIR)/http.o: http_.c http.h $(SRCDIR)/config.h
477 $(XTCC) -o $(OBJDIR)/http.o -c http_.c
478
479 http.h: headers
480 http_socket_.c: $(SRCDIR)/http_socket.c translate
481 ./translate $(SRCDIR)/http_socket.c >http_socket_.c
482
483 $(OBJDIR)/http_socket.o: http_socket_.c http_socket.h $(SRCDIR)/config.h
484 $(XTCC) -o $(OBJDIR)/http_socket.o -c http_socket_.c
485
486 http_socket.h: headers
487 http_ssl_.c: $(SRCDIR)/http_ssl.c translate
488 ./translate $(SRCDIR)/http_ssl.c >http_ssl_.c
489
490 $(OBJDIR)/http_ssl.o: http_ssl_.c http_ssl.h $(SRCDIR)/config.h
491 $(XTCC) -o $(OBJDIR)/http_ssl.o -c http_ssl_.c
492
493 http_ssl.h: headers
494 http_transport_.c: $(SRCDIR)/http_transport.c translate
495 ./translate $(SRCDIR)/http_transport.c >http_transport_.c
496
497 $(OBJDIR)/http_transport.o: http_transport_.c http_transport.h $(SRCDIR)/config.h
498 $(XTCC) -o $(OBJDIR)/http_transport.o -c http_transport_.c
499
500 http_transport.h: headers
501 info_.c: $(SRCDIR)/info.c translate
502 ./translate $(SRCDIR)/info.c >info_.c
503
504 $(OBJDIR)/info.o: info_.c info.h $(SRCDIR)/config.h
505 $(XTCC) -o $(OBJDIR)/info.o -c info_.c
506
507 info.h: headers
508 login_.c: $(SRCDIR)/login.c translate
509 ./translate $(SRCDIR)/login.c >login_.c
510
511 $(OBJDIR)/login.o: login_.c login.h $(SRCDIR)/config.h
512 $(XTCC) -o $(OBJDIR)/login.o -c login_.c
513
514 login.h: headers
515 main_.c: $(SRCDIR)/main.c translate
516 ./translate $(SRCDIR)/main.c >main_.c
517
518 $(OBJDIR)/main.o: main_.c main.h page_index.h $(SRCDIR)/config.h
519 $(XTCC) -o $(OBJDIR)/main.o -c main_.c
520
521 main.h: headers
522 manifest_.c: $(SRCDIR)/manifest.c translate
523 ./translate $(SRCDIR)/manifest.c >manifest_.c
524
525 $(OBJDIR)/manifest.o: manifest_.c manifest.h $(SRCDIR)/config.h
526 $(XTCC) -o $(OBJDIR)/manifest.o -c manifest_.c
527
528 manifest.h: headers
529 md5_.c: $(SRCDIR)/md5.c translate
530 ./translate $(SRCDIR)/md5.c >md5_.c
531
532 $(OBJDIR)/md5.o: md5_.c md5.h $(SRCDIR)/config.h
533 $(XTCC) -o $(OBJDIR)/md5.o -c md5_.c
534
535 md5.h: headers
536 merge_.c: $(SRCDIR)/merge.c translate
537 ./translate $(SRCDIR)/merge.c >merge_.c
538
539 $(OBJDIR)/merge.o: merge_.c merge.h $(SRCDIR)/config.h
540 $(XTCC) -o $(OBJDIR)/merge.o -c merge_.c
541
542 merge.h: headers
543 merge3_.c: $(SRCDIR)/merge3.c translate
544 ./translate $(SRCDIR)/merge3.c >merge3_.c
545
546 $(OBJDIR)/merge3.o: merge3_.c merge3.h $(SRCDIR)/config.h
547 $(XTCC) -o $(OBJDIR)/merge3.o -c merge3_.c
548
549 merge3.h: headers
550 name_.c: $(SRCDIR)/name.c translate
551 ./translate $(SRCDIR)/name.c >name_.c
552
553 $(OBJDIR)/name.o: name_.c name.h $(SRCDIR)/config.h
554 $(XTCC) -o $(OBJDIR)/name.o -c name_.c
555
556 name.h: headers
557 pivot_.c: $(SRCDIR)/pivot.c translate
558 ./translate $(SRCDIR)/pivot.c >pivot_.c
559
560 $(OBJDIR)/pivot.o: pivot_.c pivot.h $(SRCDIR)/config.h
561 $(XTCC) -o $(OBJDIR)/pivot.o -c pivot_.c
562
563 pivot.h: headers
564 pqueue_.c: $(SRCDIR)/pqueue.c translate
565 ./translate $(SRCDIR)/pqueue.c >pqueue_.c
566
567 $(OBJDIR)/pqueue.o: pqueue_.c pqueue.h $(SRCDIR)/config.h
568 $(XTCC) -o $(OBJDIR)/pqueue.o -c pqueue_.c
569
570 pqueue.h: headers
571 printf_.c: $(SRCDIR)/printf.c translate
572 ./translate $(SRCDIR)/printf.c >printf_.c
573
574 $(OBJDIR)/printf.o: printf_.c printf.h $(SRCDIR)/config.h
575 $(XTCC) -o $(OBJDIR)/printf.o -c printf_.c
576
577 printf.h: headers
578 rebuild_.c: $(SRCDIR)/rebuild.c translate
579 ./translate $(SRCDIR)/rebuild.c >rebuild_.c
580
581 $(OBJDIR)/rebuild.o: rebuild_.c rebuild.h $(SRCDIR)/config.h
582 $(XTCC) -o $(OBJDIR)/rebuild.o -c rebuild_.c
583
584 rebuild.h: headers
585 report_.c: $(SRCDIR)/report.c translate
586 ./translate $(SRCDIR)/report.c >report_.c
587
588 $(OBJDIR)/report.o: report_.c report.h $(SRCDIR)/config.h
589 $(XTCC) -o $(OBJDIR)/report.o -c report_.c
590
591 report.h: headers
592 rss_.c: $(SRCDIR)/rss.c translate
593 ./translate $(SRCDIR)/rss.c >rss_.c
594
595 $(OBJDIR)/rss.o: rss_.c rss.h $(SRCDIR)/config.h
596 $(XTCC) -o $(OBJDIR)/rss.o -c rss_.c
597
598 rss.h: headers
599 schema_.c: $(SRCDIR)/schema.c translate
600 ./translate $(SRCDIR)/schema.c >schema_.c
601
602 $(OBJDIR)/schema.o: schema_.c schema.h $(SRCDIR)/config.h
603 $(XTCC) -o $(OBJDIR)/schema.o -c schema_.c
604
605 schema.h: headers
606 search_.c: $(SRCDIR)/search.c translate
607 ./translate $(SRCDIR)/search.c >search_.c
608
609 $(OBJDIR)/search.o: search_.c search.h $(SRCDIR)/config.h
610 $(XTCC) -o $(OBJDIR)/search.o -c search_.c
611
612 search.h: headers
613 setup_.c: $(SRCDIR)/setup.c translate
614 ./translate $(SRCDIR)/setup.c >setup_.c
615
616 $(OBJDIR)/setup.o: setup_.c setup.h $(SRCDIR)/config.h
617 $(XTCC) -o $(OBJDIR)/setup.o -c setup_.c
618
619 setup.h: headers
620 sha1_.c: $(SRCDIR)/sha1.c translate
621 ./translate $(SRCDIR)/sha1.c >sha1_.c
622
623 $(OBJDIR)/sha1.o: sha1_.c sha1.h $(SRCDIR)/config.h
624 $(XTCC) -o $(OBJDIR)/sha1.o -c sha1_.c
625
626 sha1.h: headers
627 shun_.c: $(SRCDIR)/shun.c translate
628 ./translate $(SRCDIR)/shun.c >shun_.c
629
630 $(OBJDIR)/shun.o: shun_.c shun.h $(SRCDIR)/config.h
631 $(XTCC) -o $(OBJDIR)/shun.o -c shun_.c
632
633 shun.h: headers
634 skins_.c: $(SRCDIR)/skins.c translate
635 ./translate $(SRCDIR)/skins.c >skins_.c
636
637 $(OBJDIR)/skins.o: skins_.c skins.h $(SRCDIR)/config.h
638 $(XTCC) -o $(OBJDIR)/skins.o -c skins_.c
639
640 skins.h: headers
641 stat_.c: $(SRCDIR)/stat.c translate
642 ./translate $(SRCDIR)/stat.c >stat_.c
643
644 $(OBJDIR)/stat.o: stat_.c stat.h $(SRCDIR)/config.h
645 $(XTCC) -o $(OBJDIR)/stat.o -c stat_.c
646
647 stat.h: headers
648 style_.c: $(SRCDIR)/style.c translate
649 ./translate $(SRCDIR)/style.c >style_.c
650
651 $(OBJDIR)/style.o: style_.c style.h $(SRCDIR)/config.h
652 $(XTCC) -o $(OBJDIR)/style.o -c style_.c
653
654 style.h: headers
655 sync_.c: $(SRCDIR)/sync.c translate
656 ./translate $(SRCDIR)/sync.c >sync_.c
657
658 $(OBJDIR)/sync.o: sync_.c sync.h $(SRCDIR)/config.h
659 $(XTCC) -o $(OBJDIR)/sync.o -c sync_.c
660
661 sync.h: headers
662 tag_.c: $(SRCDIR)/tag.c translate
663 ./translate $(SRCDIR)/tag.c >tag_.c
664
665 $(OBJDIR)/tag.o: tag_.c tag.h $(SRCDIR)/config.h
666 $(XTCC) -o $(OBJDIR)/tag.o -c tag_.c
667
668 tag.h: headers
669 th_main_.c: $(SRCDIR)/th_main.c translate
670 ./translate $(SRCDIR)/th_main.c >th_main_.c
671
672 $(OBJDIR)/th_main.o: th_main_.c th_main.h $(SRCDIR)/config.h
673 $(XTCC) -o $(OBJDIR)/th_main.o -c th_main_.c
674
675 th_main.h: headers
676 timeline_.c: $(SRCDIR)/timeline.c translate
677 ./translate $(SRCDIR)/timeline.c >timeline_.c
678
679 $(OBJDIR)/timeline.o: timeline_.c timeline.h $(SRCDIR)/config.h
680 $(XTCC) -o $(OBJDIR)/timeline.o -c timeline_.c
681
682 timeline.h: headers
683 tkt_.c: $(SRCDIR)/tkt.c translate
684 ./translate $(SRCDIR)/tkt.c >tkt_.c
685
686 $(OBJDIR)/tkt.o: tkt_.c tkt.h $(SRCDIR)/config.h
687 $(XTCC) -o $(OBJDIR)/tkt.o -c tkt_.c
688
689 tkt.h: headers
690 tktsetup_.c: $(SRCDIR)/tktsetup.c translate
691 ./translate $(SRCDIR)/tktsetup.c >tktsetup_.c
692
693 $(OBJDIR)/tktsetup.o: tktsetup_.c tktsetup.h $(SRCDIR)/config.h
694 $(XTCC) -o $(OBJDIR)/tktsetup.o -c tktsetup_.c
695
696 tktsetup.h: headers
697 undo_.c: $(SRCDIR)/undo.c translate
698 ./translate $(SRCDIR)/undo.c >undo_.c
699
700 $(OBJDIR)/undo.o: undo_.c undo.h $(SRCDIR)/config.h
701 $(XTCC) -o $(OBJDIR)/undo.o -c undo_.c
702
703 undo.h: headers
704 update_.c: $(SRCDIR)/update.c translate
705 ./translate $(SRCDIR)/update.c >update_.c
706
707 $(OBJDIR)/update.o: update_.c update.h $(SRCDIR)/config.h
708 $(XTCC) -o $(OBJDIR)/update.o -c update_.c
709
710 update.h: headers
711 url_.c: $(SRCDIR)/url.c translate
712 ./translate $(SRCDIR)/url.c >url_.c
713
714 $(OBJDIR)/url.o: url_.c url.h $(SRCDIR)/config.h
715 $(XTCC) -o $(OBJDIR)/url.o -c url_.c
716
717 url.h: headers
718 user_.c: $(SRCDIR)/user.c translate
719 ./translate $(SRCDIR)/user.c >user_.c
720
721 $(OBJDIR)/user.o: user_.c user.h $(SRCDIR)/config.h
722 $(XTCC) -o $(OBJDIR)/user.o -c user_.c
723
724 user.h: headers
725 verify_.c: $(SRCDIR)/verify.c translate
726 ./translate $(SRCDIR)/verify.c >verify_.c
727
728 $(OBJDIR)/verify.o: verify_.c verify.h $(SRCDIR)/config.h
729 $(XTCC) -o $(OBJDIR)/verify.o -c verify_.c
730
731 verify.h: headers
732 vfile_.c: $(SRCDIR)/vfile.c translate
733 ./translate $(SRCDIR)/vfile.c >vfile_.c
734
735 $(OBJDIR)/vfile.o: vfile_.c vfile.h $(SRCDIR)/config.h
736 $(XTCC) -o $(OBJDIR)/vfile.o -c vfile_.c
737
738 vfile.h: headers
739 wiki_.c: $(SRCDIR)/wiki.c translate
740 ./translate $(SRCDIR)/wiki.c >wiki_.c
741
742 $(OBJDIR)/wiki.o: wiki_.c wiki.h $(SRCDIR)/config.h
743 $(XTCC) -o $(OBJDIR)/wiki.o -c wiki_.c
744
745 wiki.h: headers
746 wikiformat_.c: $(SRCDIR)/wikiformat.c translate
747 ./translate $(SRCDIR)/wikiformat.c >wikiformat_.c
748
749 $(OBJDIR)/wikiformat.o: wikiformat_.c wikiformat.h $(SRCDIR)/config.h
750 $(XTCC) -o $(OBJDIR)/wikiformat.o -c wikiformat_.c
751
752 wikiformat.h: headers
753 winhttp_.c: $(SRCDIR)/winhttp.c translate
754 ./translate $(SRCDIR)/winhttp.c >winhttp_.c
755
756 $(OBJDIR)/winhttp.o: winhttp_.c winhttp.h $(SRCDIR)/config.h
757 $(XTCC) -o $(OBJDIR)/winhttp.o -c winhttp_.c
758
759 winhttp.h: headers
760 xfer_.c: $(SRCDIR)/xfer.c translate
761 ./translate $(SRCDIR)/xfer.c >xfer_.c
762
763 $(OBJDIR)/xfer.o: xfer_.c xfer.h $(SRCDIR)/config.h
764 $(XTCC) -o $(OBJDIR)/xfer.o -c xfer_.c
765
766 xfer.h: headers
767 zip_.c: $(SRCDIR)/zip.c translate
768 ./translate $(SRCDIR)/zip.c >zip_.c
769
770 $(OBJDIR)/zip.o: zip_.c zip.h $(SRCDIR)/config.h
771 $(XTCC) -o $(OBJDIR)/zip.o -c zip_.c
772
773 zip.h: headers
774 $(OBJDIR)/sqlite3.o: $(SRCDIR)/sqlite3.c
775 $(XTCC) -DSQLITE_OMIT_LOAD_EXTENSION=1 -DSQLITE_THREADSAFE=0 -DSQLITE_DEFAULT_FILE_FORMAT=4 -Dlocaltime=fossil_localtime -DSQLITE_ENABLE_LOCKING_STYLE=0 -c $(SRCDIR)/sqlite3.c -o $(OBJDIR)/sqlite3.o
776
777 $(OBJDIR)/th.o: $(SRCDIR)/th.c
778 $(XTCC) -I$(SRCDIR) -c $(SRCDIR)/th.c -o $(OBJDIR)/th.o
779
780 $(OBJDIR)/th_lang.o: $(SRCDIR)/th_lang.c
781 $(XTCC) -I$(SRCDIR) -c $(SRCDIR)/th_lang.c -o $(OBJDIR)/th_lang.o
782
783

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button