Fossil SCM
Tweaks to the mingw makefile as suggested by Ross on the mailing list.
Commit
a300bee164a5d0ad71c0bcc715dd8fd416af30ba
Parent
25e80d2e6efa8a7…
2 files changed
+12
-3
+12
-3
+12
-3
| --- src/makemake.tcl | ||
| +++ src/makemake.tcl | ||
| @@ -285,18 +285,23 @@ | ||
| 285 | 285 | BCC = gcc |
| 286 | 286 | |
| 287 | 287 | #### Enable HTTPS support via OpenSSL (links to libssl and libcrypto) |
| 288 | 288 | # |
| 289 | 289 | # FOSSIL_ENABLE_SSL=1 |
| 290 | + | |
| 291 | +#### The directory in which the zlib compression library is installed. | |
| 292 | +# | |
| 293 | +# | |
| 294 | +ZLIBDIR = /programs/gnuwin32 | |
| 290 | 295 | |
| 291 | 296 | #### C Compile and options for use in building executables that |
| 292 | 297 | # will run on the target platform. This is usually the same |
| 293 | 298 | # as BCC, unless you are cross-compiling. This C compiler builds |
| 294 | 299 | # the finished binary for fossil. The BCC compiler above is used |
| 295 | 300 | # for building intermediate code-generator tools. |
| 296 | 301 | # |
| 297 | -TCC = gcc -Os -Wall -DFOSSIL_I18N=0 -L/mingw/lib -I/mingw/include | |
| 302 | +TCC = gcc -Os -Wall -DFOSSIL_I18N=0 -L$(ZLIBDIR)/lib -I$(ZLIBDIR)/include | |
| 298 | 303 | |
| 299 | 304 | # With HTTPS support |
| 300 | 305 | ifdef FOSSIL_ENABLE_SSL |
| 301 | 306 | TCC += -DFOSSIL_ENABLE_SSL=1 |
| 302 | 307 | endif |
| @@ -394,13 +399,16 @@ | ||
| 394 | 399 | # an executable named "manifest" out of the file named "manifest.c" |
| 395 | 400 | # |
| 396 | 401 | $(SRCDIR)/../manifest: |
| 397 | 402 | # noop |
| 398 | 403 | |
| 404 | +# Requires msys to be installed in addition to the mingw, for the "rm" | |
| 405 | +# command. "del" will not work here because it is not a separate command | |
| 406 | +# but a MSDOS-shell builtin. | |
| 407 | +# | |
| 399 | 408 | clean: |
| 400 | - del $(OBJDIR)/* | |
| 401 | - del $(APPNAME) | |
| 409 | + rm -rf $(OBJDIR) $(APPNAME) | |
| 402 | 410 | |
| 403 | 411 | } |
| 404 | 412 | |
| 405 | 413 | set mhargs {} |
| 406 | 414 | foreach s [lsort $src] { |
| @@ -412,10 +420,11 @@ | ||
| 412 | 420 | append mhargs " \$(OBJDIR)/VERSION.h" |
| 413 | 421 | writeln "\$(OBJDIR)/page_index.h: \$(TRANS_SRC) \$(OBJDIR)/mkindex" |
| 414 | 422 | writeln "\t\$(MKINDEX) \$(TRANS_SRC) >$@" |
| 415 | 423 | writeln "\$(OBJDIR)/headers:\t\$(OBJDIR)/page_index.h \$(OBJDIR)/makeheaders \$(OBJDIR)/VERSION.h" |
| 416 | 424 | writeln "\t\$(MAKEHEADERS) $mhargs" |
| 425 | +writeln "\techo Done >\$(OBJDIR)/headers" | |
| 417 | 426 | writeln "" |
| 418 | 427 | writeln "\$(OBJDIR)/headers: Makefile" |
| 419 | 428 | writeln "Makefile:" |
| 420 | 429 | set extra_h(main) \$(OBJDIR)/page_index.h |
| 421 | 430 | |
| 422 | 431 |
| --- src/makemake.tcl | |
| +++ src/makemake.tcl | |
| @@ -285,18 +285,23 @@ | |
| 285 | BCC = gcc |
| 286 | |
| 287 | #### Enable HTTPS support via OpenSSL (links to libssl and libcrypto) |
| 288 | # |
| 289 | # FOSSIL_ENABLE_SSL=1 |
| 290 | |
| 291 | #### C Compile and options for use in building executables that |
| 292 | # will run on the target platform. This is usually the same |
| 293 | # as BCC, unless you are cross-compiling. This C compiler builds |
| 294 | # the finished binary for fossil. The BCC compiler above is used |
| 295 | # for building intermediate code-generator tools. |
| 296 | # |
| 297 | TCC = gcc -Os -Wall -DFOSSIL_I18N=0 -L/mingw/lib -I/mingw/include |
| 298 | |
| 299 | # With HTTPS support |
| 300 | ifdef FOSSIL_ENABLE_SSL |
| 301 | TCC += -DFOSSIL_ENABLE_SSL=1 |
| 302 | endif |
| @@ -394,13 +399,16 @@ | |
| 394 | # an executable named "manifest" out of the file named "manifest.c" |
| 395 | # |
| 396 | $(SRCDIR)/../manifest: |
| 397 | # noop |
| 398 | |
| 399 | clean: |
| 400 | del $(OBJDIR)/* |
| 401 | del $(APPNAME) |
| 402 | |
| 403 | } |
| 404 | |
| 405 | set mhargs {} |
| 406 | foreach s [lsort $src] { |
| @@ -412,10 +420,11 @@ | |
| 412 | append mhargs " \$(OBJDIR)/VERSION.h" |
| 413 | writeln "\$(OBJDIR)/page_index.h: \$(TRANS_SRC) \$(OBJDIR)/mkindex" |
| 414 | writeln "\t\$(MKINDEX) \$(TRANS_SRC) >$@" |
| 415 | writeln "\$(OBJDIR)/headers:\t\$(OBJDIR)/page_index.h \$(OBJDIR)/makeheaders \$(OBJDIR)/VERSION.h" |
| 416 | writeln "\t\$(MAKEHEADERS) $mhargs" |
| 417 | writeln "" |
| 418 | writeln "\$(OBJDIR)/headers: Makefile" |
| 419 | writeln "Makefile:" |
| 420 | set extra_h(main) \$(OBJDIR)/page_index.h |
| 421 | |
| 422 |
| --- src/makemake.tcl | |
| +++ src/makemake.tcl | |
| @@ -285,18 +285,23 @@ | |
| 285 | BCC = gcc |
| 286 | |
| 287 | #### Enable HTTPS support via OpenSSL (links to libssl and libcrypto) |
| 288 | # |
| 289 | # FOSSIL_ENABLE_SSL=1 |
| 290 | |
| 291 | #### The directory in which the zlib compression library is installed. |
| 292 | # |
| 293 | # |
| 294 | ZLIBDIR = /programs/gnuwin32 |
| 295 | |
| 296 | #### C Compile and options for use in building executables that |
| 297 | # will run on the target platform. This is usually the same |
| 298 | # as BCC, unless you are cross-compiling. This C compiler builds |
| 299 | # the finished binary for fossil. The BCC compiler above is used |
| 300 | # for building intermediate code-generator tools. |
| 301 | # |
| 302 | TCC = gcc -Os -Wall -DFOSSIL_I18N=0 -L$(ZLIBDIR)/lib -I$(ZLIBDIR)/include |
| 303 | |
| 304 | # With HTTPS support |
| 305 | ifdef FOSSIL_ENABLE_SSL |
| 306 | TCC += -DFOSSIL_ENABLE_SSL=1 |
| 307 | endif |
| @@ -394,13 +399,16 @@ | |
| 399 | # an executable named "manifest" out of the file named "manifest.c" |
| 400 | # |
| 401 | $(SRCDIR)/../manifest: |
| 402 | # noop |
| 403 | |
| 404 | # Requires msys to be installed in addition to the mingw, for the "rm" |
| 405 | # command. "del" will not work here because it is not a separate command |
| 406 | # but a MSDOS-shell builtin. |
| 407 | # |
| 408 | clean: |
| 409 | rm -rf $(OBJDIR) $(APPNAME) |
| 410 | |
| 411 | } |
| 412 | |
| 413 | set mhargs {} |
| 414 | foreach s [lsort $src] { |
| @@ -412,10 +420,11 @@ | |
| 420 | append mhargs " \$(OBJDIR)/VERSION.h" |
| 421 | writeln "\$(OBJDIR)/page_index.h: \$(TRANS_SRC) \$(OBJDIR)/mkindex" |
| 422 | writeln "\t\$(MKINDEX) \$(TRANS_SRC) >$@" |
| 423 | writeln "\$(OBJDIR)/headers:\t\$(OBJDIR)/page_index.h \$(OBJDIR)/makeheaders \$(OBJDIR)/VERSION.h" |
| 424 | writeln "\t\$(MAKEHEADERS) $mhargs" |
| 425 | writeln "\techo Done >\$(OBJDIR)/headers" |
| 426 | writeln "" |
| 427 | writeln "\$(OBJDIR)/headers: Makefile" |
| 428 | writeln "Makefile:" |
| 429 | set extra_h(main) \$(OBJDIR)/page_index.h |
| 430 | |
| 431 |
+12
-3
| --- win/Makefile.mingw | ||
| +++ win/Makefile.mingw | ||
| @@ -21,18 +21,23 @@ | ||
| 21 | 21 | BCC = gcc |
| 22 | 22 | |
| 23 | 23 | #### Enable HTTPS support via OpenSSL (links to libssl and libcrypto) |
| 24 | 24 | # |
| 25 | 25 | # FOSSIL_ENABLE_SSL=1 |
| 26 | + | |
| 27 | +#### The directory in which the zlib compression library is installed. | |
| 28 | +# | |
| 29 | +# | |
| 30 | +ZLIBDIR = /programs/gnuwin32 | |
| 26 | 31 | |
| 27 | 32 | #### C Compile and options for use in building executables that |
| 28 | 33 | # will run on the target platform. This is usually the same |
| 29 | 34 | # as BCC, unless you are cross-compiling. This C compiler builds |
| 30 | 35 | # the finished binary for fossil. The BCC compiler above is used |
| 31 | 36 | # for building intermediate code-generator tools. |
| 32 | 37 | # |
| 33 | -TCC = gcc -Os -Wall -DFOSSIL_I18N=0 -L/mingw/lib -I/mingw/include | |
| 38 | +TCC = gcc -Os -Wall -DFOSSIL_I18N=0 -L$(ZLIBDIR)/lib -I$(ZLIBDIR)/include | |
| 34 | 39 | |
| 35 | 40 | # With HTTPS support |
| 36 | 41 | ifdef FOSSIL_ENABLE_SSL |
| 37 | 42 | TCC += -DFOSSIL_ENABLE_SSL=1 |
| 38 | 43 | endif |
| @@ -347,19 +352,23 @@ | ||
| 347 | 352 | # an executable named "manifest" out of the file named "manifest.c" |
| 348 | 353 | # |
| 349 | 354 | $(SRCDIR)/../manifest: |
| 350 | 355 | # noop |
| 351 | 356 | |
| 357 | +# Requires msys to be installed in addition to the mingw, for the "rm" | |
| 358 | +# command. "del" will not work here because it is not a separate command | |
| 359 | +# but a MSDOS-shell builtin. | |
| 360 | +# | |
| 352 | 361 | clean: |
| 353 | - del $(OBJDIR)/* | |
| 354 | - del $(APPNAME) | |
| 362 | + rm -rf $(OBJDIR) $(APPNAME) | |
| 355 | 363 | |
| 356 | 364 | |
| 357 | 365 | $(OBJDIR)/page_index.h: $(TRANS_SRC) $(OBJDIR)/mkindex |
| 358 | 366 | $(MKINDEX) $(TRANS_SRC) >$@ |
| 359 | 367 | $(OBJDIR)/headers: $(OBJDIR)/page_index.h $(OBJDIR)/makeheaders $(OBJDIR)/VERSION.h |
| 360 | 368 | $(MAKEHEADERS) $(OBJDIR)/add_.c:$(OBJDIR)/add.h $(OBJDIR)/allrepo_.c:$(OBJDIR)/allrepo.h $(OBJDIR)/attach_.c:$(OBJDIR)/attach.h $(OBJDIR)/bag_.c:$(OBJDIR)/bag.h $(OBJDIR)/bisect_.c:$(OBJDIR)/bisect.h $(OBJDIR)/blob_.c:$(OBJDIR)/blob.h $(OBJDIR)/branch_.c:$(OBJDIR)/branch.h $(OBJDIR)/browse_.c:$(OBJDIR)/browse.h $(OBJDIR)/captcha_.c:$(OBJDIR)/captcha.h $(OBJDIR)/cgi_.c:$(OBJDIR)/cgi.h $(OBJDIR)/checkin_.c:$(OBJDIR)/checkin.h $(OBJDIR)/checkout_.c:$(OBJDIR)/checkout.h $(OBJDIR)/clearsign_.c:$(OBJDIR)/clearsign.h $(OBJDIR)/clone_.c:$(OBJDIR)/clone.h $(OBJDIR)/comformat_.c:$(OBJDIR)/comformat.h $(OBJDIR)/configure_.c:$(OBJDIR)/configure.h $(OBJDIR)/content_.c:$(OBJDIR)/content.h $(OBJDIR)/db_.c:$(OBJDIR)/db.h $(OBJDIR)/delta_.c:$(OBJDIR)/delta.h $(OBJDIR)/deltacmd_.c:$(OBJDIR)/deltacmd.h $(OBJDIR)/descendants_.c:$(OBJDIR)/descendants.h $(OBJDIR)/diff_.c:$(OBJDIR)/diff.h $(OBJDIR)/diffcmd_.c:$(OBJDIR)/diffcmd.h $(OBJDIR)/doc_.c:$(OBJDIR)/doc.h $(OBJDIR)/encode_.c:$(OBJDIR)/encode.h $(OBJDIR)/event_.c:$(OBJDIR)/event.h $(OBJDIR)/export_.c:$(OBJDIR)/export.h $(OBJDIR)/file_.c:$(OBJDIR)/file.h $(OBJDIR)/finfo_.c:$(OBJDIR)/finfo.h $(OBJDIR)/graph_.c:$(OBJDIR)/graph.h $(OBJDIR)/http_.c:$(OBJDIR)/http.h $(OBJDIR)/http_socket_.c:$(OBJDIR)/http_socket.h $(OBJDIR)/http_ssl_.c:$(OBJDIR)/http_ssl.h $(OBJDIR)/http_transport_.c:$(OBJDIR)/http_transport.h $(OBJDIR)/import_.c:$(OBJDIR)/import.h $(OBJDIR)/info_.c:$(OBJDIR)/info.h $(OBJDIR)/login_.c:$(OBJDIR)/login.h $(OBJDIR)/main_.c:$(OBJDIR)/main.h $(OBJDIR)/manifest_.c:$(OBJDIR)/manifest.h $(OBJDIR)/md5_.c:$(OBJDIR)/md5.h $(OBJDIR)/merge_.c:$(OBJDIR)/merge.h $(OBJDIR)/merge3_.c:$(OBJDIR)/merge3.h $(OBJDIR)/name_.c:$(OBJDIR)/name.h $(OBJDIR)/pivot_.c:$(OBJDIR)/pivot.h $(OBJDIR)/popen_.c:$(OBJDIR)/popen.h $(OBJDIR)/pqueue_.c:$(OBJDIR)/pqueue.h $(OBJDIR)/printf_.c:$(OBJDIR)/printf.h $(OBJDIR)/rebuild_.c:$(OBJDIR)/rebuild.h $(OBJDIR)/report_.c:$(OBJDIR)/report.h $(OBJDIR)/rss_.c:$(OBJDIR)/rss.h $(OBJDIR)/schema_.c:$(OBJDIR)/schema.h $(OBJDIR)/search_.c:$(OBJDIR)/search.h $(OBJDIR)/setup_.c:$(OBJDIR)/setup.h $(OBJDIR)/sha1_.c:$(OBJDIR)/sha1.h $(OBJDIR)/shun_.c:$(OBJDIR)/shun.h $(OBJDIR)/skins_.c:$(OBJDIR)/skins.h $(OBJDIR)/sqlcmd_.c:$(OBJDIR)/sqlcmd.h $(OBJDIR)/stash_.c:$(OBJDIR)/stash.h $(OBJDIR)/stat_.c:$(OBJDIR)/stat.h $(OBJDIR)/style_.c:$(OBJDIR)/style.h $(OBJDIR)/sync_.c:$(OBJDIR)/sync.h $(OBJDIR)/tag_.c:$(OBJDIR)/tag.h $(OBJDIR)/th_main_.c:$(OBJDIR)/th_main.h $(OBJDIR)/timeline_.c:$(OBJDIR)/timeline.h $(OBJDIR)/tkt_.c:$(OBJDIR)/tkt.h $(OBJDIR)/tktsetup_.c:$(OBJDIR)/tktsetup.h $(OBJDIR)/undo_.c:$(OBJDIR)/undo.h $(OBJDIR)/update_.c:$(OBJDIR)/update.h $(OBJDIR)/url_.c:$(OBJDIR)/url.h $(OBJDIR)/user_.c:$(OBJDIR)/user.h $(OBJDIR)/verify_.c:$(OBJDIR)/verify.h $(OBJDIR)/vfile_.c:$(OBJDIR)/vfile.h $(OBJDIR)/wiki_.c:$(OBJDIR)/wiki.h $(OBJDIR)/wikiformat_.c:$(OBJDIR)/wikiformat.h $(OBJDIR)/winhttp_.c:$(OBJDIR)/winhttp.h $(OBJDIR)/xfer_.c:$(OBJDIR)/xfer.h $(OBJDIR)/zip_.c:$(OBJDIR)/zip.h $(SRCDIR)/sqlite3.h $(SRCDIR)/th.h $(OBJDIR)/VERSION.h |
| 369 | + echo Done >$(OBJDIR)/headers | |
| 361 | 370 | |
| 362 | 371 | $(OBJDIR)/headers: Makefile |
| 363 | 372 | Makefile: |
| 364 | 373 | $(OBJDIR)/add_.c: $(SRCDIR)/add.c $(OBJDIR)/translate |
| 365 | 374 | $(TRANSLATE) $(SRCDIR)/add.c >$(OBJDIR)/add_.c |
| 366 | 375 |
| --- win/Makefile.mingw | |
| +++ win/Makefile.mingw | |
| @@ -21,18 +21,23 @@ | |
| 21 | BCC = gcc |
| 22 | |
| 23 | #### Enable HTTPS support via OpenSSL (links to libssl and libcrypto) |
| 24 | # |
| 25 | # FOSSIL_ENABLE_SSL=1 |
| 26 | |
| 27 | #### C Compile and options for use in building executables that |
| 28 | # will run on the target platform. This is usually the same |
| 29 | # as BCC, unless you are cross-compiling. This C compiler builds |
| 30 | # the finished binary for fossil. The BCC compiler above is used |
| 31 | # for building intermediate code-generator tools. |
| 32 | # |
| 33 | TCC = gcc -Os -Wall -DFOSSIL_I18N=0 -L/mingw/lib -I/mingw/include |
| 34 | |
| 35 | # With HTTPS support |
| 36 | ifdef FOSSIL_ENABLE_SSL |
| 37 | TCC += -DFOSSIL_ENABLE_SSL=1 |
| 38 | endif |
| @@ -347,19 +352,23 @@ | |
| 347 | # an executable named "manifest" out of the file named "manifest.c" |
| 348 | # |
| 349 | $(SRCDIR)/../manifest: |
| 350 | # noop |
| 351 | |
| 352 | clean: |
| 353 | del $(OBJDIR)/* |
| 354 | del $(APPNAME) |
| 355 | |
| 356 | |
| 357 | $(OBJDIR)/page_index.h: $(TRANS_SRC) $(OBJDIR)/mkindex |
| 358 | $(MKINDEX) $(TRANS_SRC) >$@ |
| 359 | $(OBJDIR)/headers: $(OBJDIR)/page_index.h $(OBJDIR)/makeheaders $(OBJDIR)/VERSION.h |
| 360 | $(MAKEHEADERS) $(OBJDIR)/add_.c:$(OBJDIR)/add.h $(OBJDIR)/allrepo_.c:$(OBJDIR)/allrepo.h $(OBJDIR)/attach_.c:$(OBJDIR)/attach.h $(OBJDIR)/bag_.c:$(OBJDIR)/bag.h $(OBJDIR)/bisect_.c:$(OBJDIR)/bisect.h $(OBJDIR)/blob_.c:$(OBJDIR)/blob.h $(OBJDIR)/branch_.c:$(OBJDIR)/branch.h $(OBJDIR)/browse_.c:$(OBJDIR)/browse.h $(OBJDIR)/captcha_.c:$(OBJDIR)/captcha.h $(OBJDIR)/cgi_.c:$(OBJDIR)/cgi.h $(OBJDIR)/checkin_.c:$(OBJDIR)/checkin.h $(OBJDIR)/checkout_.c:$(OBJDIR)/checkout.h $(OBJDIR)/clearsign_.c:$(OBJDIR)/clearsign.h $(OBJDIR)/clone_.c:$(OBJDIR)/clone.h $(OBJDIR)/comformat_.c:$(OBJDIR)/comformat.h $(OBJDIR)/configure_.c:$(OBJDIR)/configure.h $(OBJDIR)/content_.c:$(OBJDIR)/content.h $(OBJDIR)/db_.c:$(OBJDIR)/db.h $(OBJDIR)/delta_.c:$(OBJDIR)/delta.h $(OBJDIR)/deltacmd_.c:$(OBJDIR)/deltacmd.h $(OBJDIR)/descendants_.c:$(OBJDIR)/descendants.h $(OBJDIR)/diff_.c:$(OBJDIR)/diff.h $(OBJDIR)/diffcmd_.c:$(OBJDIR)/diffcmd.h $(OBJDIR)/doc_.c:$(OBJDIR)/doc.h $(OBJDIR)/encode_.c:$(OBJDIR)/encode.h $(OBJDIR)/event_.c:$(OBJDIR)/event.h $(OBJDIR)/export_.c:$(OBJDIR)/export.h $(OBJDIR)/file_.c:$(OBJDIR)/file.h $(OBJDIR)/finfo_.c:$(OBJDIR)/finfo.h $(OBJDIR)/graph_.c:$(OBJDIR)/graph.h $(OBJDIR)/http_.c:$(OBJDIR)/http.h $(OBJDIR)/http_socket_.c:$(OBJDIR)/http_socket.h $(OBJDIR)/http_ssl_.c:$(OBJDIR)/http_ssl.h $(OBJDIR)/http_transport_.c:$(OBJDIR)/http_transport.h $(OBJDIR)/import_.c:$(OBJDIR)/import.h $(OBJDIR)/info_.c:$(OBJDIR)/info.h $(OBJDIR)/login_.c:$(OBJDIR)/login.h $(OBJDIR)/main_.c:$(OBJDIR)/main.h $(OBJDIR)/manifest_.c:$(OBJDIR)/manifest.h $(OBJDIR)/md5_.c:$(OBJDIR)/md5.h $(OBJDIR)/merge_.c:$(OBJDIR)/merge.h $(OBJDIR)/merge3_.c:$(OBJDIR)/merge3.h $(OBJDIR)/name_.c:$(OBJDIR)/name.h $(OBJDIR)/pivot_.c:$(OBJDIR)/pivot.h $(OBJDIR)/popen_.c:$(OBJDIR)/popen.h $(OBJDIR)/pqueue_.c:$(OBJDIR)/pqueue.h $(OBJDIR)/printf_.c:$(OBJDIR)/printf.h $(OBJDIR)/rebuild_.c:$(OBJDIR)/rebuild.h $(OBJDIR)/report_.c:$(OBJDIR)/report.h $(OBJDIR)/rss_.c:$(OBJDIR)/rss.h $(OBJDIR)/schema_.c:$(OBJDIR)/schema.h $(OBJDIR)/search_.c:$(OBJDIR)/search.h $(OBJDIR)/setup_.c:$(OBJDIR)/setup.h $(OBJDIR)/sha1_.c:$(OBJDIR)/sha1.h $(OBJDIR)/shun_.c:$(OBJDIR)/shun.h $(OBJDIR)/skins_.c:$(OBJDIR)/skins.h $(OBJDIR)/sqlcmd_.c:$(OBJDIR)/sqlcmd.h $(OBJDIR)/stash_.c:$(OBJDIR)/stash.h $(OBJDIR)/stat_.c:$(OBJDIR)/stat.h $(OBJDIR)/style_.c:$(OBJDIR)/style.h $(OBJDIR)/sync_.c:$(OBJDIR)/sync.h $(OBJDIR)/tag_.c:$(OBJDIR)/tag.h $(OBJDIR)/th_main_.c:$(OBJDIR)/th_main.h $(OBJDIR)/timeline_.c:$(OBJDIR)/timeline.h $(OBJDIR)/tkt_.c:$(OBJDIR)/tkt.h $(OBJDIR)/tktsetup_.c:$(OBJDIR)/tktsetup.h $(OBJDIR)/undo_.c:$(OBJDIR)/undo.h $(OBJDIR)/update_.c:$(OBJDIR)/update.h $(OBJDIR)/url_.c:$(OBJDIR)/url.h $(OBJDIR)/user_.c:$(OBJDIR)/user.h $(OBJDIR)/verify_.c:$(OBJDIR)/verify.h $(OBJDIR)/vfile_.c:$(OBJDIR)/vfile.h $(OBJDIR)/wiki_.c:$(OBJDIR)/wiki.h $(OBJDIR)/wikiformat_.c:$(OBJDIR)/wikiformat.h $(OBJDIR)/winhttp_.c:$(OBJDIR)/winhttp.h $(OBJDIR)/xfer_.c:$(OBJDIR)/xfer.h $(OBJDIR)/zip_.c:$(OBJDIR)/zip.h $(SRCDIR)/sqlite3.h $(SRCDIR)/th.h $(OBJDIR)/VERSION.h |
| 361 | |
| 362 | $(OBJDIR)/headers: Makefile |
| 363 | Makefile: |
| 364 | $(OBJDIR)/add_.c: $(SRCDIR)/add.c $(OBJDIR)/translate |
| 365 | $(TRANSLATE) $(SRCDIR)/add.c >$(OBJDIR)/add_.c |
| 366 |
| --- win/Makefile.mingw | |
| +++ win/Makefile.mingw | |
| @@ -21,18 +21,23 @@ | |
| 21 | BCC = gcc |
| 22 | |
| 23 | #### Enable HTTPS support via OpenSSL (links to libssl and libcrypto) |
| 24 | # |
| 25 | # FOSSIL_ENABLE_SSL=1 |
| 26 | |
| 27 | #### The directory in which the zlib compression library is installed. |
| 28 | # |
| 29 | # |
| 30 | ZLIBDIR = /programs/gnuwin32 |
| 31 | |
| 32 | #### C Compile and options for use in building executables that |
| 33 | # will run on the target platform. This is usually the same |
| 34 | # as BCC, unless you are cross-compiling. This C compiler builds |
| 35 | # the finished binary for fossil. The BCC compiler above is used |
| 36 | # for building intermediate code-generator tools. |
| 37 | # |
| 38 | TCC = gcc -Os -Wall -DFOSSIL_I18N=0 -L$(ZLIBDIR)/lib -I$(ZLIBDIR)/include |
| 39 | |
| 40 | # With HTTPS support |
| 41 | ifdef FOSSIL_ENABLE_SSL |
| 42 | TCC += -DFOSSIL_ENABLE_SSL=1 |
| 43 | endif |
| @@ -347,19 +352,23 @@ | |
| 352 | # an executable named "manifest" out of the file named "manifest.c" |
| 353 | # |
| 354 | $(SRCDIR)/../manifest: |
| 355 | # noop |
| 356 | |
| 357 | # Requires msys to be installed in addition to the mingw, for the "rm" |
| 358 | # command. "del" will not work here because it is not a separate command |
| 359 | # but a MSDOS-shell builtin. |
| 360 | # |
| 361 | clean: |
| 362 | rm -rf $(OBJDIR) $(APPNAME) |
| 363 | |
| 364 | |
| 365 | $(OBJDIR)/page_index.h: $(TRANS_SRC) $(OBJDIR)/mkindex |
| 366 | $(MKINDEX) $(TRANS_SRC) >$@ |
| 367 | $(OBJDIR)/headers: $(OBJDIR)/page_index.h $(OBJDIR)/makeheaders $(OBJDIR)/VERSION.h |
| 368 | $(MAKEHEADERS) $(OBJDIR)/add_.c:$(OBJDIR)/add.h $(OBJDIR)/allrepo_.c:$(OBJDIR)/allrepo.h $(OBJDIR)/attach_.c:$(OBJDIR)/attach.h $(OBJDIR)/bag_.c:$(OBJDIR)/bag.h $(OBJDIR)/bisect_.c:$(OBJDIR)/bisect.h $(OBJDIR)/blob_.c:$(OBJDIR)/blob.h $(OBJDIR)/branch_.c:$(OBJDIR)/branch.h $(OBJDIR)/browse_.c:$(OBJDIR)/browse.h $(OBJDIR)/captcha_.c:$(OBJDIR)/captcha.h $(OBJDIR)/cgi_.c:$(OBJDIR)/cgi.h $(OBJDIR)/checkin_.c:$(OBJDIR)/checkin.h $(OBJDIR)/checkout_.c:$(OBJDIR)/checkout.h $(OBJDIR)/clearsign_.c:$(OBJDIR)/clearsign.h $(OBJDIR)/clone_.c:$(OBJDIR)/clone.h $(OBJDIR)/comformat_.c:$(OBJDIR)/comformat.h $(OBJDIR)/configure_.c:$(OBJDIR)/configure.h $(OBJDIR)/content_.c:$(OBJDIR)/content.h $(OBJDIR)/db_.c:$(OBJDIR)/db.h $(OBJDIR)/delta_.c:$(OBJDIR)/delta.h $(OBJDIR)/deltacmd_.c:$(OBJDIR)/deltacmd.h $(OBJDIR)/descendants_.c:$(OBJDIR)/descendants.h $(OBJDIR)/diff_.c:$(OBJDIR)/diff.h $(OBJDIR)/diffcmd_.c:$(OBJDIR)/diffcmd.h $(OBJDIR)/doc_.c:$(OBJDIR)/doc.h $(OBJDIR)/encode_.c:$(OBJDIR)/encode.h $(OBJDIR)/event_.c:$(OBJDIR)/event.h $(OBJDIR)/export_.c:$(OBJDIR)/export.h $(OBJDIR)/file_.c:$(OBJDIR)/file.h $(OBJDIR)/finfo_.c:$(OBJDIR)/finfo.h $(OBJDIR)/graph_.c:$(OBJDIR)/graph.h $(OBJDIR)/http_.c:$(OBJDIR)/http.h $(OBJDIR)/http_socket_.c:$(OBJDIR)/http_socket.h $(OBJDIR)/http_ssl_.c:$(OBJDIR)/http_ssl.h $(OBJDIR)/http_transport_.c:$(OBJDIR)/http_transport.h $(OBJDIR)/import_.c:$(OBJDIR)/import.h $(OBJDIR)/info_.c:$(OBJDIR)/info.h $(OBJDIR)/login_.c:$(OBJDIR)/login.h $(OBJDIR)/main_.c:$(OBJDIR)/main.h $(OBJDIR)/manifest_.c:$(OBJDIR)/manifest.h $(OBJDIR)/md5_.c:$(OBJDIR)/md5.h $(OBJDIR)/merge_.c:$(OBJDIR)/merge.h $(OBJDIR)/merge3_.c:$(OBJDIR)/merge3.h $(OBJDIR)/name_.c:$(OBJDIR)/name.h $(OBJDIR)/pivot_.c:$(OBJDIR)/pivot.h $(OBJDIR)/popen_.c:$(OBJDIR)/popen.h $(OBJDIR)/pqueue_.c:$(OBJDIR)/pqueue.h $(OBJDIR)/printf_.c:$(OBJDIR)/printf.h $(OBJDIR)/rebuild_.c:$(OBJDIR)/rebuild.h $(OBJDIR)/report_.c:$(OBJDIR)/report.h $(OBJDIR)/rss_.c:$(OBJDIR)/rss.h $(OBJDIR)/schema_.c:$(OBJDIR)/schema.h $(OBJDIR)/search_.c:$(OBJDIR)/search.h $(OBJDIR)/setup_.c:$(OBJDIR)/setup.h $(OBJDIR)/sha1_.c:$(OBJDIR)/sha1.h $(OBJDIR)/shun_.c:$(OBJDIR)/shun.h $(OBJDIR)/skins_.c:$(OBJDIR)/skins.h $(OBJDIR)/sqlcmd_.c:$(OBJDIR)/sqlcmd.h $(OBJDIR)/stash_.c:$(OBJDIR)/stash.h $(OBJDIR)/stat_.c:$(OBJDIR)/stat.h $(OBJDIR)/style_.c:$(OBJDIR)/style.h $(OBJDIR)/sync_.c:$(OBJDIR)/sync.h $(OBJDIR)/tag_.c:$(OBJDIR)/tag.h $(OBJDIR)/th_main_.c:$(OBJDIR)/th_main.h $(OBJDIR)/timeline_.c:$(OBJDIR)/timeline.h $(OBJDIR)/tkt_.c:$(OBJDIR)/tkt.h $(OBJDIR)/tktsetup_.c:$(OBJDIR)/tktsetup.h $(OBJDIR)/undo_.c:$(OBJDIR)/undo.h $(OBJDIR)/update_.c:$(OBJDIR)/update.h $(OBJDIR)/url_.c:$(OBJDIR)/url.h $(OBJDIR)/user_.c:$(OBJDIR)/user.h $(OBJDIR)/verify_.c:$(OBJDIR)/verify.h $(OBJDIR)/vfile_.c:$(OBJDIR)/vfile.h $(OBJDIR)/wiki_.c:$(OBJDIR)/wiki.h $(OBJDIR)/wikiformat_.c:$(OBJDIR)/wikiformat.h $(OBJDIR)/winhttp_.c:$(OBJDIR)/winhttp.h $(OBJDIR)/xfer_.c:$(OBJDIR)/xfer.h $(OBJDIR)/zip_.c:$(OBJDIR)/zip.h $(SRCDIR)/sqlite3.h $(SRCDIR)/th.h $(OBJDIR)/VERSION.h |
| 369 | echo Done >$(OBJDIR)/headers |
| 370 | |
| 371 | $(OBJDIR)/headers: Makefile |
| 372 | Makefile: |
| 373 | $(OBJDIR)/add_.c: $(SRCDIR)/add.c $(OBJDIR)/translate |
| 374 | $(TRANSLATE) $(SRCDIR)/add.c >$(OBJDIR)/add_.c |
| 375 |