Fossil SCM
Added initial /json/dir implementation.
Commit
318a0ac132251555e38e0c0e03f112d0b14b56be
Parent
ac6366218035ed6…
8 files changed
+1
-1
+24
-3
+170
+12
-2
+5
-2
+11
-4
+12
-2
+11
-3
+1
-1
| --- src/browse.c | ||
| +++ src/browse.c | ||
| @@ -34,11 +34,11 @@ | ||
| 34 | 34 | ** |
| 35 | 35 | ** pathelement('abc/pqr/xyz', 4) -> '/pqr' |
| 36 | 36 | ** pathelement('abc/pqr', 4) -> 'pqr' |
| 37 | 37 | ** pathelement('abc/pqr/xyz', 0) -> '/abc' |
| 38 | 38 | */ |
| 39 | -static void pathelementFunc( | |
| 39 | +void pathelementFunc( | |
| 40 | 40 | sqlite3_context *context, |
| 41 | 41 | int argc, |
| 42 | 42 | sqlite3_value **argv |
| 43 | 43 | ){ |
| 44 | 44 | const unsigned char *z; |
| 45 | 45 |
| --- src/browse.c | |
| +++ src/browse.c | |
| @@ -34,11 +34,11 @@ | |
| 34 | ** |
| 35 | ** pathelement('abc/pqr/xyz', 4) -> '/pqr' |
| 36 | ** pathelement('abc/pqr', 4) -> 'pqr' |
| 37 | ** pathelement('abc/pqr/xyz', 0) -> '/abc' |
| 38 | */ |
| 39 | static void pathelementFunc( |
| 40 | sqlite3_context *context, |
| 41 | int argc, |
| 42 | sqlite3_value **argv |
| 43 | ){ |
| 44 | const unsigned char *z; |
| 45 |
| --- src/browse.c | |
| +++ src/browse.c | |
| @@ -34,11 +34,11 @@ | |
| 34 | ** |
| 35 | ** pathelement('abc/pqr/xyz', 4) -> '/pqr' |
| 36 | ** pathelement('abc/pqr', 4) -> 'pqr' |
| 37 | ** pathelement('abc/pqr/xyz', 0) -> '/abc' |
| 38 | */ |
| 39 | void pathelementFunc( |
| 40 | sqlite3_context *context, |
| 41 | int argc, |
| 42 | sqlite3_value **argv |
| 43 | ){ |
| 44 | const unsigned char *z; |
| 45 |
+24
-3
| --- src/json.c | ||
| +++ src/json.c | ||
| @@ -1343,13 +1343,15 @@ | ||
| 1343 | 1343 | unsigned int aLen = g.json.dispatchDepth+1; /*cson_array_length_get(g.json.cmd.a);*/ |
| 1344 | 1344 | unsigned int i = 1; |
| 1345 | 1345 | for( ; i < aLen; ++i ){ |
| 1346 | 1346 | char const * part = cson_string_cstr(cson_value_get_string(cson_array_get(g.json.cmd.a, i))); |
| 1347 | 1347 | if(!part){ |
| 1348 | - fossil_warning("Iterating further than expected in %s.", | |
| 1348 | +#if 1 | |
| 1349 | + fossil_warning("Iterating further than expected in %s.", | |
| 1349 | 1350 | __FILE__); |
| 1350 | - break; | |
| 1351 | +#endif | |
| 1352 | + break; | |
| 1351 | 1353 | } |
| 1352 | 1354 | blob_appendf(&path,"%s%s", (i>1 ? "/": ""), part); |
| 1353 | 1355 | } |
| 1354 | 1356 | rc = json_new_string((blob_size(&path)>0) |
| 1355 | 1357 | ? blob_buffer(&path) |
| @@ -1751,10 +1753,27 @@ | ||
| 1751 | 1753 | cson_array_append(a, row); |
| 1752 | 1754 | } |
| 1753 | 1755 | return cson_array_value(a); |
| 1754 | 1756 | } |
| 1755 | 1757 | |
| 1758 | +cson_value * json_stmt_to_array_of_values(Stmt *pStmt, | |
| 1759 | + int resultColumn, | |
| 1760 | + cson_array * pTgt){ | |
| 1761 | + cson_array * a = pTgt; | |
| 1762 | + while( (SQLITE_ROW==db_step(pStmt)) ){ | |
| 1763 | + cson_value * row = cson_sqlite3_column_to_value(pStmt->pStmt, | |
| 1764 | + resultColumn); | |
| 1765 | + if(row){ | |
| 1766 | + if(!a){ | |
| 1767 | + a = cson_new_array(); | |
| 1768 | + assert(NULL!=a); | |
| 1769 | + } | |
| 1770 | + cson_array_append(a, row); | |
| 1771 | + } | |
| 1772 | + } | |
| 1773 | + return cson_array_value(a); | |
| 1774 | +} | |
| 1756 | 1775 | |
| 1757 | 1776 | /* |
| 1758 | 1777 | ** Executes the given SQL and runs it through |
| 1759 | 1778 | ** json_stmt_to_array_of_obj(), returning the result of that |
| 1760 | 1779 | ** function. If resetBlob is true then blob_reset(pSql) is called |
| @@ -2219,10 +2238,12 @@ | ||
| 2219 | 2238 | cson_value * json_page_artifact(); |
| 2220 | 2239 | /* Impl in json_branch.c. */ |
| 2221 | 2240 | cson_value * json_page_branch(); |
| 2222 | 2241 | /* Impl in json_diff.c. */ |
| 2223 | 2242 | cson_value * json_page_diff(); |
| 2243 | +/* Impl in json_dir.c. */ | |
| 2244 | +cson_value * json_page_dir(); | |
| 2224 | 2245 | /* Impl in json_login.c. */ |
| 2225 | 2246 | cson_value * json_page_login(); |
| 2226 | 2247 | /* Impl in json_login.c. */ |
| 2227 | 2248 | cson_value * json_page_logout(); |
| 2228 | 2249 | /* Impl in json_query.c. */ |
| @@ -2248,11 +2269,11 @@ | ||
| 2248 | 2269 | {"artifact", json_page_artifact, 0}, |
| 2249 | 2270 | {"branch", json_page_branch,0}, |
| 2250 | 2271 | {"cap", json_page_cap, 0}, |
| 2251 | 2272 | {"config", json_page_config, 0 }, |
| 2252 | 2273 | {"diff", json_page_diff, 0}, |
| 2253 | -/*{"dir", json_page_nyi, 0},*/ | |
| 2274 | +{"dir", json_page_dir, 0}, | |
| 2254 | 2275 | {"finfo", json_page_finfo, 0}, |
| 2255 | 2276 | {"g", json_page_g, 0}, |
| 2256 | 2277 | {"HAI",json_page_version,0}, |
| 2257 | 2278 | {"login",json_page_login,0}, |
| 2258 | 2279 | {"logout",json_page_logout,0}, |
| 2259 | 2280 | |
| 2260 | 2281 | ADDED src/json_dir.c |
| --- src/json.c | |
| +++ src/json.c | |
| @@ -1343,13 +1343,15 @@ | |
| 1343 | unsigned int aLen = g.json.dispatchDepth+1; /*cson_array_length_get(g.json.cmd.a);*/ |
| 1344 | unsigned int i = 1; |
| 1345 | for( ; i < aLen; ++i ){ |
| 1346 | char const * part = cson_string_cstr(cson_value_get_string(cson_array_get(g.json.cmd.a, i))); |
| 1347 | if(!part){ |
| 1348 | fossil_warning("Iterating further than expected in %s.", |
| 1349 | __FILE__); |
| 1350 | break; |
| 1351 | } |
| 1352 | blob_appendf(&path,"%s%s", (i>1 ? "/": ""), part); |
| 1353 | } |
| 1354 | rc = json_new_string((blob_size(&path)>0) |
| 1355 | ? blob_buffer(&path) |
| @@ -1751,10 +1753,27 @@ | |
| 1751 | cson_array_append(a, row); |
| 1752 | } |
| 1753 | return cson_array_value(a); |
| 1754 | } |
| 1755 | |
| 1756 | |
| 1757 | /* |
| 1758 | ** Executes the given SQL and runs it through |
| 1759 | ** json_stmt_to_array_of_obj(), returning the result of that |
| 1760 | ** function. If resetBlob is true then blob_reset(pSql) is called |
| @@ -2219,10 +2238,12 @@ | |
| 2219 | cson_value * json_page_artifact(); |
| 2220 | /* Impl in json_branch.c. */ |
| 2221 | cson_value * json_page_branch(); |
| 2222 | /* Impl in json_diff.c. */ |
| 2223 | cson_value * json_page_diff(); |
| 2224 | /* Impl in json_login.c. */ |
| 2225 | cson_value * json_page_login(); |
| 2226 | /* Impl in json_login.c. */ |
| 2227 | cson_value * json_page_logout(); |
| 2228 | /* Impl in json_query.c. */ |
| @@ -2248,11 +2269,11 @@ | |
| 2248 | {"artifact", json_page_artifact, 0}, |
| 2249 | {"branch", json_page_branch,0}, |
| 2250 | {"cap", json_page_cap, 0}, |
| 2251 | {"config", json_page_config, 0 }, |
| 2252 | {"diff", json_page_diff, 0}, |
| 2253 | /*{"dir", json_page_nyi, 0},*/ |
| 2254 | {"finfo", json_page_finfo, 0}, |
| 2255 | {"g", json_page_g, 0}, |
| 2256 | {"HAI",json_page_version,0}, |
| 2257 | {"login",json_page_login,0}, |
| 2258 | {"logout",json_page_logout,0}, |
| 2259 | |
| 2260 | DDED src/json_dir.c |
| --- src/json.c | |
| +++ src/json.c | |
| @@ -1343,13 +1343,15 @@ | |
| 1343 | unsigned int aLen = g.json.dispatchDepth+1; /*cson_array_length_get(g.json.cmd.a);*/ |
| 1344 | unsigned int i = 1; |
| 1345 | for( ; i < aLen; ++i ){ |
| 1346 | char const * part = cson_string_cstr(cson_value_get_string(cson_array_get(g.json.cmd.a, i))); |
| 1347 | if(!part){ |
| 1348 | #if 1 |
| 1349 | fossil_warning("Iterating further than expected in %s.", |
| 1350 | __FILE__); |
| 1351 | #endif |
| 1352 | break; |
| 1353 | } |
| 1354 | blob_appendf(&path,"%s%s", (i>1 ? "/": ""), part); |
| 1355 | } |
| 1356 | rc = json_new_string((blob_size(&path)>0) |
| 1357 | ? blob_buffer(&path) |
| @@ -1751,10 +1753,27 @@ | |
| 1753 | cson_array_append(a, row); |
| 1754 | } |
| 1755 | return cson_array_value(a); |
| 1756 | } |
| 1757 | |
| 1758 | cson_value * json_stmt_to_array_of_values(Stmt *pStmt, |
| 1759 | int resultColumn, |
| 1760 | cson_array * pTgt){ |
| 1761 | cson_array * a = pTgt; |
| 1762 | while( (SQLITE_ROW==db_step(pStmt)) ){ |
| 1763 | cson_value * row = cson_sqlite3_column_to_value(pStmt->pStmt, |
| 1764 | resultColumn); |
| 1765 | if(row){ |
| 1766 | if(!a){ |
| 1767 | a = cson_new_array(); |
| 1768 | assert(NULL!=a); |
| 1769 | } |
| 1770 | cson_array_append(a, row); |
| 1771 | } |
| 1772 | } |
| 1773 | return cson_array_value(a); |
| 1774 | } |
| 1775 | |
| 1776 | /* |
| 1777 | ** Executes the given SQL and runs it through |
| 1778 | ** json_stmt_to_array_of_obj(), returning the result of that |
| 1779 | ** function. If resetBlob is true then blob_reset(pSql) is called |
| @@ -2219,10 +2238,12 @@ | |
| 2238 | cson_value * json_page_artifact(); |
| 2239 | /* Impl in json_branch.c. */ |
| 2240 | cson_value * json_page_branch(); |
| 2241 | /* Impl in json_diff.c. */ |
| 2242 | cson_value * json_page_diff(); |
| 2243 | /* Impl in json_dir.c. */ |
| 2244 | cson_value * json_page_dir(); |
| 2245 | /* Impl in json_login.c. */ |
| 2246 | cson_value * json_page_login(); |
| 2247 | /* Impl in json_login.c. */ |
| 2248 | cson_value * json_page_logout(); |
| 2249 | /* Impl in json_query.c. */ |
| @@ -2248,11 +2269,11 @@ | |
| 2269 | {"artifact", json_page_artifact, 0}, |
| 2270 | {"branch", json_page_branch,0}, |
| 2271 | {"cap", json_page_cap, 0}, |
| 2272 | {"config", json_page_config, 0 }, |
| 2273 | {"diff", json_page_diff, 0}, |
| 2274 | {"dir", json_page_dir, 0}, |
| 2275 | {"finfo", json_page_finfo, 0}, |
| 2276 | {"g", json_page_g, 0}, |
| 2277 | {"HAI",json_page_version,0}, |
| 2278 | {"login",json_page_login,0}, |
| 2279 | {"logout",json_page_logout,0}, |
| 2280 | |
| 2281 | DDED src/json_dir.c |
+170
| --- a/src/json_dir.c | ||
| +++ b/src/json_dir.c | ||
| @@ -0,0 +1,170 @@ | ||
| 1 | +Filestic char const * zP = NULDir; | |
| 2 | + while(zP && *zP && ('/'==*zP)){ | |
| 3 | + ++zP_JSON | |
| 4 | +/* | |
| 5 | +** Copyrigaxe; you can redistribute italue const * zDVyright (c) 2011 D. Richard Hipp | |
| 6 | +** | |
| 7 | +** This program ibute it and/or | |
| 8 | +** modify it under the terms of tchar * zPrefix = NULLof the Simplified BSD License (also | |
| 9 | +** known as pathelement(:x,0), :u, License (also | |
| 10 | +**hat it will License (also | |
| 11 | +**plied warranty of | |
| 12 | +** merchantability or fitness for a particular purpose. | |
| 13 | +** | |
| 14 | +** Author contact information: | |
| 15 | +** [email protected] | |
| 16 | +** http://www.hwaci.com/drh/ | |
| 17 | +** | |
| 18 | +*/ | |
| 19 | +#include "VERSION.h" | |
| 20 | +#include "config.h" | |
| 21 | +#include "json_dir.h" | |
| 22 | + | |
| 23 | +#if INTERFACE | |
| 24 | +#include "json_detail.h" | |
| 25 | +#endif | |
| 26 | + | |
| 27 | +static cson_e json_page_dir_list(void); | |
| 28 | +/* | |
| 29 | +** Mapping of /json/wiki/XXX commastatic const JsonPageDef JsonPageDefs_Dir[] = { | |
| 30 | +/* Last entry MUST have a NULLands/pathsTODO: Not used? */ | |
| 31 | +static char c){ | |
| 32 | + static char const * zP = NULL; | |
| 33 | + if( !zP ){ | |
| 34 | + zP = g.zExtra; | |
| 35 | + while(zP && *zP && ('/'==*zP)){ | |
| 36 | + ++zP; | |
| 37 | + } | |
| 38 | + } | |
| 39 | + rxxxx | |
| 40 | +a NULLands/pathsTODO: Nif((!zDX || !*zDX)c cson_e json_page_sg.isHTTP ? json_dir_path_extra() : NULL; | |
| 41 | + if(!zDX || !*zDX){ | |
| 42 | + !zDX || !*zDX)c cson_e json_2("name",NULL,"n", zDXstatic const JsonPageDef JsonPageDefs_Dir[] = { | |
| 43 | +/* Last entry MUST have a NULLands/pathsTODO: Not used? */ | |
| 44 | +static char c){ | |
| 45 | + static chr const * zP = NULL; | |
| 46 | + if( !zP ){ | |
| 47 | + zP = g.zExtra; | |
| 48 | + while(zP && *zP && ('/'==*zP)){ | |
| 49 | + ++zP; | |
| 50 | + } | |
| 51 | + } | |
| 52 | + return zP; | |
| 53 | +} | |
| 54 | +#endif | |
| 55 | + | |
| 56 | +/* | |
| 57 | +** Impl of /json/** from browse.c::page_dir() | |
| 58 | +*/ | |
| 59 | +static cson_value * json_page_dir_list(E_JSON | |
| 60 | +/* | |
| 61 | +** Copyright (c) 2011 D. Richard Hipp | |
| 62 | +**3istorys?name=%s" char c){ | |
| 63 | + static char const * zP = NULL; | |
| 64 | + if( !zP ){ | |
| 65 | + zP = g.zExtra; | |
| 66 | + while(zP && zP = NULFilestic char const * zP = NULDir; | |
| 67 | + while(zP && *zP && ('/'==*zP)){ | |
| 68 | + ++zP_JSON | |
| 69 | +/* | |
| 70 | +** Copyrigaxe; you can redistribute italue const * zDVyright (c) 2011 D. Richard Hipp | |
| 71 | +** | |
| 72 | +** This program ibute it and/or | |
| 73 | +** modify it under the terms of tchar * zPrefix = NULLof the Simplified BSD License (also | |
| 74 | +** known as pathelement(:x,0), :u, License (also | |
| 75 | +**hat it will License (also | |
| 76 | +**plied warranty of | |
| 77 | +** merchantability or fitness for a particular purpose. | |
| 78 | +** | |
| 79 | +** Author contact information: | |
| 80 | +** [email protected] | |
| 81 | +** http://www.hwaci.com/drh/ | |
| 82 | +** | |
| 83 | +*/ | |
| 84 | +#include "VERSION.h" | |
| 85 | +#include "config.h" | |
| 86 | +#include "json_dir.h" | |
| 87 | + | |
| 88 | +#if INTERFACE | |
| 89 | +#include "json_detail.h" | |
| 90 | +#endif | |
| 91 | + | |
| 92 | +static cson_e json_page_dir_list(void); | |
| 93 | +/* | |
| 94 | +** Mapping of /json/wiki/XXX commastatic const JsonPageDef JsonPageDefs_Dir[] = { | |
| 95 | +/* Last entry MUST have a NULLands/pathsTODO: Not used? */ | |
| 96 | +static char c){ | |
| 97 | + static char const * zP = NULL; | |
| 98 | + if( !zP ){ | |
| 99 | + zP = g.zExtra; | |
| 100 | + while(zP && *zP && ('/'==*zP)){ | |
| 101 | + ++zP; | |
| 102 | + } | |
| 103 | + } | |
| 104 | + rxxxx | |
| 105 | +a NULLands/pathsTODO: Nif((!zDX || !*zDX)c cson_e json_page_static cson_e json_pag} | |
| 106 | + zD = (zDX && *zDX) | |
| 107 | + | |
| 108 | +/* | |
| 109 | +** Impl of /json/** from browse.c::page_dir() | |
| 110 | +*/ | |
| 111 | +static cson_value * json_page_dir_list(E_JSON | |
| 112 | +/* | |
| 113 | +** Copyright (c) 2011 D. Richard Hipp | |
| 114 | +**3istorys?name=%s" char c){ | |
| 115 | + static char const * zP = NULL; | |
| 116 | + if( !zP ){ | |
| 117 | + zP = g.zExtra; | |
| 118 | + while(zP && *zP && ('/'==*zP)){ | |
| 119 | + ++zP_JSON | |
| 120 | +/* | |
| 121 | +** Copyrigaxe; you can redistribute italue const * zDVyright (c) 2011 D. Richard Hipp | |
| 122 | +** | |
| 123 | +** This program is free software; you can redistribute it and/or | |
| 124 | +** modify it under the terms of tchar * zPrefix = NULLof the Simplified BSD License (also | |
| 125 | +** known as pathelement(:x,0), :u, License (also | |
| 126 | +**hat it will License (also | |
| 127 | +**plied warranty of | |
| 128 | +** merchantability or fitness for a particular purpose. | |
| 129 | +** | |
| 130 | +** Author contact information: | |
| 131 | +** [email protected] | |
| 132 | +** http://www.hwaci.com/drh/ | |
| 133 | +** | |
| 134 | +*/ | |
| 135 | +#include "VERSION.h" | |
| 136 | +#include "config.h" | |
| 137 | +#include "json_dir.h" | |
| 138 | + | |
| 139 | +#if INTERFACE | |
| 140 | +#include "json_detail.h" | |
| 141 | +#endif | |
| 142 | + | |
| 143 | +static cson_e json_page_dir_list(void); | |
| 144 | +/* | |
| 145 | +** Mapping of /json/wiki/XXX commastatic const&& ( Last entry MUST have a NULLan!=0 || pFile->zName[nD-1]!#ifdef FOSSIL_E(c)LE_JSON | |
| 146 | +/* | |
| 147 | +** Copyright (c) 2011 D. Richard Hipp | |
| 148 | +** | |
| 149 | +** This program is free software; you can redistribute it and/or | |
| 150 | +** modify it under the terms of the Simplified BSD License (also | |
| 151 | +** known as the "2-Clause License" or "FreeBSD License".) | |
| 152 | +** | |
| 153 | +** This program is distributed in the hope that it will be useful, | |
| 154 | +** but without any warr warranty of | |
| 155 | +** merchantability or fitness for a particular purposeFiles){ | |
| 156 | + zFileentri} | |
| 157 | +if('/'==*n){#include "config.h" | |
| 158 | +#include "jsifdef FOSSIL_E(c)LE_JSON | |
| 159 | +/* | |
| 160 | +* Copyrightt&& ( Last entry MUST have a NULLan!=0 || pFile->zName[nD-1]!#ifdef FOSSIL_E(c)LE_JSON | |
| 161 | +/* | |
| 162 | +** Copyright (c) 2011 D. Richard Hipp | |
| 163 | +** | |
| 164 | +** This program is free software; you can redistribute it and/or | |
| 165 | +** modify it under the terms of the Simplified BSD License (also | |
| 166 | +** known as the "2-Clause License" or "FreeBSD License".) | |
| 167 | +** | |
| 168 | +** This program is distributed in the hope that it will be useful, | |
| 169 | +** but without any warranty; without even the implied warranty of | |
| 170 | +** merchantability or fitness for a particular purpose |
| --- a/src/json_dir.c | |
| +++ b/src/json_dir.c | |
| @@ -0,0 +1,170 @@ | |
| --- a/src/json_dir.c | |
| +++ b/src/json_dir.c | |
| @@ -0,0 +1,170 @@ | |
| 1 | Filestic char const * zP = NULDir; |
| 2 | while(zP && *zP && ('/'==*zP)){ |
| 3 | ++zP_JSON |
| 4 | /* |
| 5 | ** Copyrigaxe; you can redistribute italue const * zDVyright (c) 2011 D. Richard Hipp |
| 6 | ** |
| 7 | ** This program ibute it and/or |
| 8 | ** modify it under the terms of tchar * zPrefix = NULLof the Simplified BSD License (also |
| 9 | ** known as pathelement(:x,0), :u, License (also |
| 10 | **hat it will License (also |
| 11 | **plied warranty of |
| 12 | ** merchantability or fitness for a particular purpose. |
| 13 | ** |
| 14 | ** Author contact information: |
| 15 | ** [email protected] |
| 16 | ** http://www.hwaci.com/drh/ |
| 17 | ** |
| 18 | */ |
| 19 | #include "VERSION.h" |
| 20 | #include "config.h" |
| 21 | #include "json_dir.h" |
| 22 | |
| 23 | #if INTERFACE |
| 24 | #include "json_detail.h" |
| 25 | #endif |
| 26 | |
| 27 | static cson_e json_page_dir_list(void); |
| 28 | /* |
| 29 | ** Mapping of /json/wiki/XXX commastatic const JsonPageDef JsonPageDefs_Dir[] = { |
| 30 | /* Last entry MUST have a NULLands/pathsTODO: Not used? */ |
| 31 | static char c){ |
| 32 | static char const * zP = NULL; |
| 33 | if( !zP ){ |
| 34 | zP = g.zExtra; |
| 35 | while(zP && *zP && ('/'==*zP)){ |
| 36 | ++zP; |
| 37 | } |
| 38 | } |
| 39 | rxxxx |
| 40 | a NULLands/pathsTODO: Nif((!zDX || !*zDX)c cson_e json_page_sg.isHTTP ? json_dir_path_extra() : NULL; |
| 41 | if(!zDX || !*zDX){ |
| 42 | !zDX || !*zDX)c cson_e json_2("name",NULL,"n", zDXstatic const JsonPageDef JsonPageDefs_Dir[] = { |
| 43 | /* Last entry MUST have a NULLands/pathsTODO: Not used? */ |
| 44 | static char c){ |
| 45 | static chr const * zP = NULL; |
| 46 | if( !zP ){ |
| 47 | zP = g.zExtra; |
| 48 | while(zP && *zP && ('/'==*zP)){ |
| 49 | ++zP; |
| 50 | } |
| 51 | } |
| 52 | return zP; |
| 53 | } |
| 54 | #endif |
| 55 | |
| 56 | /* |
| 57 | ** Impl of /json/** from browse.c::page_dir() |
| 58 | */ |
| 59 | static cson_value * json_page_dir_list(E_JSON |
| 60 | /* |
| 61 | ** Copyright (c) 2011 D. Richard Hipp |
| 62 | **3istorys?name=%s" char c){ |
| 63 | static char const * zP = NULL; |
| 64 | if( !zP ){ |
| 65 | zP = g.zExtra; |
| 66 | while(zP && zP = NULFilestic char const * zP = NULDir; |
| 67 | while(zP && *zP && ('/'==*zP)){ |
| 68 | ++zP_JSON |
| 69 | /* |
| 70 | ** Copyrigaxe; you can redistribute italue const * zDVyright (c) 2011 D. Richard Hipp |
| 71 | ** |
| 72 | ** This program ibute it and/or |
| 73 | ** modify it under the terms of tchar * zPrefix = NULLof the Simplified BSD License (also |
| 74 | ** known as pathelement(:x,0), :u, License (also |
| 75 | **hat it will License (also |
| 76 | **plied warranty of |
| 77 | ** merchantability or fitness for a particular purpose. |
| 78 | ** |
| 79 | ** Author contact information: |
| 80 | ** [email protected] |
| 81 | ** http://www.hwaci.com/drh/ |
| 82 | ** |
| 83 | */ |
| 84 | #include "VERSION.h" |
| 85 | #include "config.h" |
| 86 | #include "json_dir.h" |
| 87 | |
| 88 | #if INTERFACE |
| 89 | #include "json_detail.h" |
| 90 | #endif |
| 91 | |
| 92 | static cson_e json_page_dir_list(void); |
| 93 | /* |
| 94 | ** Mapping of /json/wiki/XXX commastatic const JsonPageDef JsonPageDefs_Dir[] = { |
| 95 | /* Last entry MUST have a NULLands/pathsTODO: Not used? */ |
| 96 | static char c){ |
| 97 | static char const * zP = NULL; |
| 98 | if( !zP ){ |
| 99 | zP = g.zExtra; |
| 100 | while(zP && *zP && ('/'==*zP)){ |
| 101 | ++zP; |
| 102 | } |
| 103 | } |
| 104 | rxxxx |
| 105 | a NULLands/pathsTODO: Nif((!zDX || !*zDX)c cson_e json_page_static cson_e json_pag} |
| 106 | zD = (zDX && *zDX) |
| 107 | |
| 108 | /* |
| 109 | ** Impl of /json/** from browse.c::page_dir() |
| 110 | */ |
| 111 | static cson_value * json_page_dir_list(E_JSON |
| 112 | /* |
| 113 | ** Copyright (c) 2011 D. Richard Hipp |
| 114 | **3istorys?name=%s" char c){ |
| 115 | static char const * zP = NULL; |
| 116 | if( !zP ){ |
| 117 | zP = g.zExtra; |
| 118 | while(zP && *zP && ('/'==*zP)){ |
| 119 | ++zP_JSON |
| 120 | /* |
| 121 | ** Copyrigaxe; you can redistribute italue const * zDVyright (c) 2011 D. Richard Hipp |
| 122 | ** |
| 123 | ** This program is free software; you can redistribute it and/or |
| 124 | ** modify it under the terms of tchar * zPrefix = NULLof the Simplified BSD License (also |
| 125 | ** known as pathelement(:x,0), :u, License (also |
| 126 | **hat it will License (also |
| 127 | **plied warranty of |
| 128 | ** merchantability or fitness for a particular purpose. |
| 129 | ** |
| 130 | ** Author contact information: |
| 131 | ** [email protected] |
| 132 | ** http://www.hwaci.com/drh/ |
| 133 | ** |
| 134 | */ |
| 135 | #include "VERSION.h" |
| 136 | #include "config.h" |
| 137 | #include "json_dir.h" |
| 138 | |
| 139 | #if INTERFACE |
| 140 | #include "json_detail.h" |
| 141 | #endif |
| 142 | |
| 143 | static cson_e json_page_dir_list(void); |
| 144 | /* |
| 145 | ** Mapping of /json/wiki/XXX commastatic const&& ( Last entry MUST have a NULLan!=0 || pFile->zName[nD-1]!#ifdef FOSSIL_E(c)LE_JSON |
| 146 | /* |
| 147 | ** Copyright (c) 2011 D. Richard Hipp |
| 148 | ** |
| 149 | ** This program is free software; you can redistribute it and/or |
| 150 | ** modify it under the terms of the Simplified BSD License (also |
| 151 | ** known as the "2-Clause License" or "FreeBSD License".) |
| 152 | ** |
| 153 | ** This program is distributed in the hope that it will be useful, |
| 154 | ** but without any warr warranty of |
| 155 | ** merchantability or fitness for a particular purposeFiles){ |
| 156 | zFileentri} |
| 157 | if('/'==*n){#include "config.h" |
| 158 | #include "jsifdef FOSSIL_E(c)LE_JSON |
| 159 | /* |
| 160 | * Copyrightt&& ( Last entry MUST have a NULLan!=0 || pFile->zName[nD-1]!#ifdef FOSSIL_E(c)LE_JSON |
| 161 | /* |
| 162 | ** Copyright (c) 2011 D. Richard Hipp |
| 163 | ** |
| 164 | ** This program is free software; you can redistribute it and/or |
| 165 | ** modify it under the terms of the Simplified BSD License (also |
| 166 | ** known as the "2-Clause License" or "FreeBSD License".) |
| 167 | ** |
| 168 | ** This program is distributed in the hope that it will be useful, |
| 169 | ** but without any warranty; without even the implied warranty of |
| 170 | ** merchantability or fitness for a particular purpose |
+12
-2
| --- src/main.mk | ||
| +++ src/main.mk | ||
| @@ -55,10 +55,11 @@ | ||
| 55 | 55 | $(SRCDIR)/json.c \ |
| 56 | 56 | $(SRCDIR)/json_artifact.c \ |
| 57 | 57 | $(SRCDIR)/json_branch.c \ |
| 58 | 58 | $(SRCDIR)/json_config.c \ |
| 59 | 59 | $(SRCDIR)/json_diff.c \ |
| 60 | + $(SRCDIR)/json_dir.c \ | |
| 60 | 61 | $(SRCDIR)/json_finfo.c \ |
| 61 | 62 | $(SRCDIR)/json_login.c \ |
| 62 | 63 | $(SRCDIR)/json_query.c \ |
| 63 | 64 | $(SRCDIR)/json_report.c \ |
| 64 | 65 | $(SRCDIR)/json_tag.c \ |
| @@ -153,10 +154,11 @@ | ||
| 153 | 154 | $(OBJDIR)/json_.c \ |
| 154 | 155 | $(OBJDIR)/json_artifact_.c \ |
| 155 | 156 | $(OBJDIR)/json_branch_.c \ |
| 156 | 157 | $(OBJDIR)/json_config_.c \ |
| 157 | 158 | $(OBJDIR)/json_diff_.c \ |
| 159 | + $(OBJDIR)/json_dir_.c \ | |
| 158 | 160 | $(OBJDIR)/json_finfo_.c \ |
| 159 | 161 | $(OBJDIR)/json_login_.c \ |
| 160 | 162 | $(OBJDIR)/json_query_.c \ |
| 161 | 163 | $(OBJDIR)/json_report_.c \ |
| 162 | 164 | $(OBJDIR)/json_tag_.c \ |
| @@ -251,10 +253,11 @@ | ||
| 251 | 253 | $(OBJDIR)/json.o \ |
| 252 | 254 | $(OBJDIR)/json_artifact.o \ |
| 253 | 255 | $(OBJDIR)/json_branch.o \ |
| 254 | 256 | $(OBJDIR)/json_config.o \ |
| 255 | 257 | $(OBJDIR)/json_diff.o \ |
| 258 | + $(OBJDIR)/json_dir.o \ | |
| 256 | 259 | $(OBJDIR)/json_finfo.o \ |
| 257 | 260 | $(OBJDIR)/json_login.o \ |
| 258 | 261 | $(OBJDIR)/json_query.o \ |
| 259 | 262 | $(OBJDIR)/json_report.o \ |
| 260 | 263 | $(OBJDIR)/json_tag.o \ |
| @@ -371,14 +374,14 @@ | ||
| 371 | 374 | |
| 372 | 375 | |
| 373 | 376 | $(OBJDIR)/page_index.h: $(TRANS_SRC) $(OBJDIR)/mkindex |
| 374 | 377 | $(OBJDIR)/mkindex $(TRANS_SRC) >$@ |
| 375 | 378 | $(OBJDIR)/headers: $(OBJDIR)/page_index.h $(OBJDIR)/makeheaders $(OBJDIR)/VERSION.h |
| 376 | - $(OBJDIR)/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)/glob_.c:$(OBJDIR)/glob.h $(OBJDIR)/graph_.c:$(OBJDIR)/graph.h $(OBJDIR)/gzip_.c:$(OBJDIR)/gzip.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)/json_.c:$(OBJDIR)/json.h $(OBJDIR)/json_artifact_.c:$(OBJDIR)/json_artifact.h $(OBJDIR)/json_branch_.c:$(OBJDIR)/json_branch.h $(OBJDIR)/json_config_.c:$(OBJDIR)/json_config.h $(OBJDIR)/json_diff_.c:$(OBJDIR)/json_diff.h $(OBJDIR)/json_finfo_.c:$(OBJDIR)/json_finfo.h $(OBJDIR)/json_login_.c:$(OBJDIR)/json_login.h $(OBJDIR)/json_query_.c:$(OBJDIR)/json_query.h $(OBJDIR)/json_report_.c:$(OBJDIR)/json_report.h $(OBJDIR)/json_tag_.c:$(OBJDIR)/json_tag.h $(OBJDIR)/json_timeline_.c:$(OBJDIR)/json_timeline.h $(OBJDIR)/json_user_.c:$(OBJDIR)/json_user.h $(OBJDIR)/json_wiki_.c:$(OBJDIR)/json_wiki.h $(OBJDIR)/leaf_.c:$(OBJDIR)/leaf.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)/path_.c:$(OBJDIR)/path.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)/tar_.c:$(OBJDIR)/tar.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)/xfersetup_.c:$(OBJDIR)/xfersetup.h $(OBJDIR)/zip_.c:$(OBJDIR)/zip.h $(SRCDIR)/sqlite3.h $(SRCDIR)/th.h $(OBJDIR)/VERSION.h | |
| 379 | + $(OBJDIR)/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)/glob_.c:$(OBJDIR)/glob.h $(OBJDIR)/graph_.c:$(OBJDIR)/graph.h $(OBJDIR)/gzip_.c:$(OBJDIR)/gzip.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)/json_.c:$(OBJDIR)/json.h $(OBJDIR)/json_artifact_.c:$(OBJDIR)/json_artifact.h $(OBJDIR)/json_branch_.c:$(OBJDIR)/json_branch.h $(OBJDIR)/json_config_.c:$(OBJDIR)/json_config.h $(OBJDIR)/json_diff_.c:$(OBJDIR)/json_diff.h $(OBJDIR)/json_dir_.c:$(OBJDIR)/json_dir.h $(OBJDIR)/json_finfo_.c:$(OBJDIR)/json_finfo.h $(OBJDIR)/json_login_.c:$(OBJDIR)/json_login.h $(OBJDIR)/json_query_.c:$(OBJDIR)/json_query.h $(OBJDIR)/json_report_.c:$(OBJDIR)/json_report.h $(OBJDIR)/json_tag_.c:$(OBJDIR)/json_tag.h $(OBJDIR)/json_timeline_.c:$(OBJDIR)/json_timeline.h $(OBJDIR)/json_user_.c:$(OBJDIR)/json_user.h $(OBJDIR)/json_wiki_.c:$(OBJDIR)/json_wiki.h $(OBJDIR)/leaf_.c:$(OBJDIR)/leaf.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)/path_.c:$(OBJDIR)/path.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)/tar_.c:$(OBJDIR)/tar.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)/xfersetup_.c:$(OBJDIR)/xfersetup.h $(OBJDIR)/zip_.c:$(OBJDIR)/zip.h $(SRCDIR)/sqlite3.h $(SRCDIR)/th.h $(OBJDIR)/VERSION.h | |
| 377 | 380 | touch $(OBJDIR)/headers |
| 378 | 381 | $(OBJDIR)/headers: Makefile |
| 379 | -$(OBJDIR)/json.o $(OBJDIR)/json_artifact.o $(OBJDIR)/json_branch.o $(OBJDIR)/json_config.o $(OBJDIR)/json_diff.o $(OBJDIR)/json_finfo.o $(OBJDIR)/json_login.o $(OBJDIR)/json_query.o $(OBJDIR)/json_report.o $(OBJDIR)/json_tag.o $(OBJDIR)/json_timeline.o $(OBJDIR)/json_user.o $(OBJDIR)/json_wiki.o : $(SRCDIR)/json_detail.h | |
| 382 | +$(OBJDIR)/json.o $(OBJDIR)/json_artifact.o $(OBJDIR)/json_branch.o $(OBJDIR)/json_config.o $(OBJDIR)/json_diff.o $(OBJDIR)/json_dir.o $(OBJDIR)/json_finfo.o $(OBJDIR)/json_login.o $(OBJDIR)/json_query.o $(OBJDIR)/json_report.o $(OBJDIR)/json_tag.o $(OBJDIR)/json_timeline.o $(OBJDIR)/json_user.o $(OBJDIR)/json_wiki.o : $(SRCDIR)/json_detail.h | |
| 380 | 383 | Makefile: |
| 381 | 384 | $(OBJDIR)/add_.c: $(SRCDIR)/add.c $(OBJDIR)/translate |
| 382 | 385 | $(OBJDIR)/translate $(SRCDIR)/add.c >$(OBJDIR)/add_.c |
| 383 | 386 | |
| 384 | 387 | $(OBJDIR)/add.o: $(OBJDIR)/add_.c $(OBJDIR)/add.h $(SRCDIR)/config.h |
| @@ -677,10 +680,17 @@ | ||
| 677 | 680 | |
| 678 | 681 | $(OBJDIR)/json_diff.o: $(OBJDIR)/json_diff_.c $(OBJDIR)/json_diff.h $(SRCDIR)/config.h |
| 679 | 682 | $(XTCC) -o $(OBJDIR)/json_diff.o -c $(OBJDIR)/json_diff_.c |
| 680 | 683 | |
| 681 | 684 | $(OBJDIR)/json_diff.h: $(OBJDIR)/headers |
| 685 | +$(OBJDIR)/json_dir_.c: $(SRCDIR)/json_dir.c $(OBJDIR)/translate | |
| 686 | + $(OBJDIR)/translate $(SRCDIR)/json_dir.c >$(OBJDIR)/json_dir_.c | |
| 687 | + | |
| 688 | +$(OBJDIR)/json_dir.o: $(OBJDIR)/json_dir_.c $(OBJDIR)/json_dir.h $(SRCDIR)/config.h | |
| 689 | + $(XTCC) -o $(OBJDIR)/json_dir.o -c $(OBJDIR)/json_dir_.c | |
| 690 | + | |
| 691 | +$(OBJDIR)/json_dir.h: $(OBJDIR)/headers | |
| 682 | 692 | $(OBJDIR)/json_finfo_.c: $(SRCDIR)/json_finfo.c $(OBJDIR)/translate |
| 683 | 693 | $(OBJDIR)/translate $(SRCDIR)/json_finfo.c >$(OBJDIR)/json_finfo_.c |
| 684 | 694 | |
| 685 | 695 | $(OBJDIR)/json_finfo.o: $(OBJDIR)/json_finfo_.c $(OBJDIR)/json_finfo.h $(SRCDIR)/config.h |
| 686 | 696 | $(XTCC) -o $(OBJDIR)/json_finfo.o -c $(OBJDIR)/json_finfo_.c |
| 687 | 697 |
| --- src/main.mk | |
| +++ src/main.mk | |
| @@ -55,10 +55,11 @@ | |
| 55 | $(SRCDIR)/json.c \ |
| 56 | $(SRCDIR)/json_artifact.c \ |
| 57 | $(SRCDIR)/json_branch.c \ |
| 58 | $(SRCDIR)/json_config.c \ |
| 59 | $(SRCDIR)/json_diff.c \ |
| 60 | $(SRCDIR)/json_finfo.c \ |
| 61 | $(SRCDIR)/json_login.c \ |
| 62 | $(SRCDIR)/json_query.c \ |
| 63 | $(SRCDIR)/json_report.c \ |
| 64 | $(SRCDIR)/json_tag.c \ |
| @@ -153,10 +154,11 @@ | |
| 153 | $(OBJDIR)/json_.c \ |
| 154 | $(OBJDIR)/json_artifact_.c \ |
| 155 | $(OBJDIR)/json_branch_.c \ |
| 156 | $(OBJDIR)/json_config_.c \ |
| 157 | $(OBJDIR)/json_diff_.c \ |
| 158 | $(OBJDIR)/json_finfo_.c \ |
| 159 | $(OBJDIR)/json_login_.c \ |
| 160 | $(OBJDIR)/json_query_.c \ |
| 161 | $(OBJDIR)/json_report_.c \ |
| 162 | $(OBJDIR)/json_tag_.c \ |
| @@ -251,10 +253,11 @@ | |
| 251 | $(OBJDIR)/json.o \ |
| 252 | $(OBJDIR)/json_artifact.o \ |
| 253 | $(OBJDIR)/json_branch.o \ |
| 254 | $(OBJDIR)/json_config.o \ |
| 255 | $(OBJDIR)/json_diff.o \ |
| 256 | $(OBJDIR)/json_finfo.o \ |
| 257 | $(OBJDIR)/json_login.o \ |
| 258 | $(OBJDIR)/json_query.o \ |
| 259 | $(OBJDIR)/json_report.o \ |
| 260 | $(OBJDIR)/json_tag.o \ |
| @@ -371,14 +374,14 @@ | |
| 371 | |
| 372 | |
| 373 | $(OBJDIR)/page_index.h: $(TRANS_SRC) $(OBJDIR)/mkindex |
| 374 | $(OBJDIR)/mkindex $(TRANS_SRC) >$@ |
| 375 | $(OBJDIR)/headers: $(OBJDIR)/page_index.h $(OBJDIR)/makeheaders $(OBJDIR)/VERSION.h |
| 376 | $(OBJDIR)/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)/glob_.c:$(OBJDIR)/glob.h $(OBJDIR)/graph_.c:$(OBJDIR)/graph.h $(OBJDIR)/gzip_.c:$(OBJDIR)/gzip.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)/json_.c:$(OBJDIR)/json.h $(OBJDIR)/json_artifact_.c:$(OBJDIR)/json_artifact.h $(OBJDIR)/json_branch_.c:$(OBJDIR)/json_branch.h $(OBJDIR)/json_config_.c:$(OBJDIR)/json_config.h $(OBJDIR)/json_diff_.c:$(OBJDIR)/json_diff.h $(OBJDIR)/json_finfo_.c:$(OBJDIR)/json_finfo.h $(OBJDIR)/json_login_.c:$(OBJDIR)/json_login.h $(OBJDIR)/json_query_.c:$(OBJDIR)/json_query.h $(OBJDIR)/json_report_.c:$(OBJDIR)/json_report.h $(OBJDIR)/json_tag_.c:$(OBJDIR)/json_tag.h $(OBJDIR)/json_timeline_.c:$(OBJDIR)/json_timeline.h $(OBJDIR)/json_user_.c:$(OBJDIR)/json_user.h $(OBJDIR)/json_wiki_.c:$(OBJDIR)/json_wiki.h $(OBJDIR)/leaf_.c:$(OBJDIR)/leaf.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)/path_.c:$(OBJDIR)/path.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)/tar_.c:$(OBJDIR)/tar.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)/xfersetup_.c:$(OBJDIR)/xfersetup.h $(OBJDIR)/zip_.c:$(OBJDIR)/zip.h $(SRCDIR)/sqlite3.h $(SRCDIR)/th.h $(OBJDIR)/VERSION.h |
| 377 | touch $(OBJDIR)/headers |
| 378 | $(OBJDIR)/headers: Makefile |
| 379 | $(OBJDIR)/json.o $(OBJDIR)/json_artifact.o $(OBJDIR)/json_branch.o $(OBJDIR)/json_config.o $(OBJDIR)/json_diff.o $(OBJDIR)/json_finfo.o $(OBJDIR)/json_login.o $(OBJDIR)/json_query.o $(OBJDIR)/json_report.o $(OBJDIR)/json_tag.o $(OBJDIR)/json_timeline.o $(OBJDIR)/json_user.o $(OBJDIR)/json_wiki.o : $(SRCDIR)/json_detail.h |
| 380 | Makefile: |
| 381 | $(OBJDIR)/add_.c: $(SRCDIR)/add.c $(OBJDIR)/translate |
| 382 | $(OBJDIR)/translate $(SRCDIR)/add.c >$(OBJDIR)/add_.c |
| 383 | |
| 384 | $(OBJDIR)/add.o: $(OBJDIR)/add_.c $(OBJDIR)/add.h $(SRCDIR)/config.h |
| @@ -677,10 +680,17 @@ | |
| 677 | |
| 678 | $(OBJDIR)/json_diff.o: $(OBJDIR)/json_diff_.c $(OBJDIR)/json_diff.h $(SRCDIR)/config.h |
| 679 | $(XTCC) -o $(OBJDIR)/json_diff.o -c $(OBJDIR)/json_diff_.c |
| 680 | |
| 681 | $(OBJDIR)/json_diff.h: $(OBJDIR)/headers |
| 682 | $(OBJDIR)/json_finfo_.c: $(SRCDIR)/json_finfo.c $(OBJDIR)/translate |
| 683 | $(OBJDIR)/translate $(SRCDIR)/json_finfo.c >$(OBJDIR)/json_finfo_.c |
| 684 | |
| 685 | $(OBJDIR)/json_finfo.o: $(OBJDIR)/json_finfo_.c $(OBJDIR)/json_finfo.h $(SRCDIR)/config.h |
| 686 | $(XTCC) -o $(OBJDIR)/json_finfo.o -c $(OBJDIR)/json_finfo_.c |
| 687 |
| --- src/main.mk | |
| +++ src/main.mk | |
| @@ -55,10 +55,11 @@ | |
| 55 | $(SRCDIR)/json.c \ |
| 56 | $(SRCDIR)/json_artifact.c \ |
| 57 | $(SRCDIR)/json_branch.c \ |
| 58 | $(SRCDIR)/json_config.c \ |
| 59 | $(SRCDIR)/json_diff.c \ |
| 60 | $(SRCDIR)/json_dir.c \ |
| 61 | $(SRCDIR)/json_finfo.c \ |
| 62 | $(SRCDIR)/json_login.c \ |
| 63 | $(SRCDIR)/json_query.c \ |
| 64 | $(SRCDIR)/json_report.c \ |
| 65 | $(SRCDIR)/json_tag.c \ |
| @@ -153,10 +154,11 @@ | |
| 154 | $(OBJDIR)/json_.c \ |
| 155 | $(OBJDIR)/json_artifact_.c \ |
| 156 | $(OBJDIR)/json_branch_.c \ |
| 157 | $(OBJDIR)/json_config_.c \ |
| 158 | $(OBJDIR)/json_diff_.c \ |
| 159 | $(OBJDIR)/json_dir_.c \ |
| 160 | $(OBJDIR)/json_finfo_.c \ |
| 161 | $(OBJDIR)/json_login_.c \ |
| 162 | $(OBJDIR)/json_query_.c \ |
| 163 | $(OBJDIR)/json_report_.c \ |
| 164 | $(OBJDIR)/json_tag_.c \ |
| @@ -251,10 +253,11 @@ | |
| 253 | $(OBJDIR)/json.o \ |
| 254 | $(OBJDIR)/json_artifact.o \ |
| 255 | $(OBJDIR)/json_branch.o \ |
| 256 | $(OBJDIR)/json_config.o \ |
| 257 | $(OBJDIR)/json_diff.o \ |
| 258 | $(OBJDIR)/json_dir.o \ |
| 259 | $(OBJDIR)/json_finfo.o \ |
| 260 | $(OBJDIR)/json_login.o \ |
| 261 | $(OBJDIR)/json_query.o \ |
| 262 | $(OBJDIR)/json_report.o \ |
| 263 | $(OBJDIR)/json_tag.o \ |
| @@ -371,14 +374,14 @@ | |
| 374 | |
| 375 | |
| 376 | $(OBJDIR)/page_index.h: $(TRANS_SRC) $(OBJDIR)/mkindex |
| 377 | $(OBJDIR)/mkindex $(TRANS_SRC) >$@ |
| 378 | $(OBJDIR)/headers: $(OBJDIR)/page_index.h $(OBJDIR)/makeheaders $(OBJDIR)/VERSION.h |
| 379 | $(OBJDIR)/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)/glob_.c:$(OBJDIR)/glob.h $(OBJDIR)/graph_.c:$(OBJDIR)/graph.h $(OBJDIR)/gzip_.c:$(OBJDIR)/gzip.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)/json_.c:$(OBJDIR)/json.h $(OBJDIR)/json_artifact_.c:$(OBJDIR)/json_artifact.h $(OBJDIR)/json_branch_.c:$(OBJDIR)/json_branch.h $(OBJDIR)/json_config_.c:$(OBJDIR)/json_config.h $(OBJDIR)/json_diff_.c:$(OBJDIR)/json_diff.h $(OBJDIR)/json_dir_.c:$(OBJDIR)/json_dir.h $(OBJDIR)/json_finfo_.c:$(OBJDIR)/json_finfo.h $(OBJDIR)/json_login_.c:$(OBJDIR)/json_login.h $(OBJDIR)/json_query_.c:$(OBJDIR)/json_query.h $(OBJDIR)/json_report_.c:$(OBJDIR)/json_report.h $(OBJDIR)/json_tag_.c:$(OBJDIR)/json_tag.h $(OBJDIR)/json_timeline_.c:$(OBJDIR)/json_timeline.h $(OBJDIR)/json_user_.c:$(OBJDIR)/json_user.h $(OBJDIR)/json_wiki_.c:$(OBJDIR)/json_wiki.h $(OBJDIR)/leaf_.c:$(OBJDIR)/leaf.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)/path_.c:$(OBJDIR)/path.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)/tar_.c:$(OBJDIR)/tar.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)/xfersetup_.c:$(OBJDIR)/xfersetup.h $(OBJDIR)/zip_.c:$(OBJDIR)/zip.h $(SRCDIR)/sqlite3.h $(SRCDIR)/th.h $(OBJDIR)/VERSION.h |
| 380 | touch $(OBJDIR)/headers |
| 381 | $(OBJDIR)/headers: Makefile |
| 382 | $(OBJDIR)/json.o $(OBJDIR)/json_artifact.o $(OBJDIR)/json_branch.o $(OBJDIR)/json_config.o $(OBJDIR)/json_diff.o $(OBJDIR)/json_dir.o $(OBJDIR)/json_finfo.o $(OBJDIR)/json_login.o $(OBJDIR)/json_query.o $(OBJDIR)/json_report.o $(OBJDIR)/json_tag.o $(OBJDIR)/json_timeline.o $(OBJDIR)/json_user.o $(OBJDIR)/json_wiki.o : $(SRCDIR)/json_detail.h |
| 383 | Makefile: |
| 384 | $(OBJDIR)/add_.c: $(SRCDIR)/add.c $(OBJDIR)/translate |
| 385 | $(OBJDIR)/translate $(SRCDIR)/add.c >$(OBJDIR)/add_.c |
| 386 | |
| 387 | $(OBJDIR)/add.o: $(OBJDIR)/add_.c $(OBJDIR)/add.h $(SRCDIR)/config.h |
| @@ -677,10 +680,17 @@ | |
| 680 | |
| 681 | $(OBJDIR)/json_diff.o: $(OBJDIR)/json_diff_.c $(OBJDIR)/json_diff.h $(SRCDIR)/config.h |
| 682 | $(XTCC) -o $(OBJDIR)/json_diff.o -c $(OBJDIR)/json_diff_.c |
| 683 | |
| 684 | $(OBJDIR)/json_diff.h: $(OBJDIR)/headers |
| 685 | $(OBJDIR)/json_dir_.c: $(SRCDIR)/json_dir.c $(OBJDIR)/translate |
| 686 | $(OBJDIR)/translate $(SRCDIR)/json_dir.c >$(OBJDIR)/json_dir_.c |
| 687 | |
| 688 | $(OBJDIR)/json_dir.o: $(OBJDIR)/json_dir_.c $(OBJDIR)/json_dir.h $(SRCDIR)/config.h |
| 689 | $(XTCC) -o $(OBJDIR)/json_dir.o -c $(OBJDIR)/json_dir_.c |
| 690 | |
| 691 | $(OBJDIR)/json_dir.h: $(OBJDIR)/headers |
| 692 | $(OBJDIR)/json_finfo_.c: $(SRCDIR)/json_finfo.c $(OBJDIR)/translate |
| 693 | $(OBJDIR)/translate $(SRCDIR)/json_finfo.c >$(OBJDIR)/json_finfo_.c |
| 694 | |
| 695 | $(OBJDIR)/json_finfo.o: $(OBJDIR)/json_finfo_.c $(OBJDIR)/json_finfo.h $(SRCDIR)/config.h |
| 696 | $(XTCC) -o $(OBJDIR)/json_finfo.o -c $(OBJDIR)/json_finfo_.c |
| 697 |
+5
-2
| --- src/makemake.tcl | ||
| +++ src/makemake.tcl | ||
| @@ -58,10 +58,11 @@ | ||
| 58 | 58 | json |
| 59 | 59 | json_artifact |
| 60 | 60 | json_branch |
| 61 | 61 | json_config |
| 62 | 62 | json_diff |
| 63 | + json_dir | |
| 63 | 64 | json_finfo |
| 64 | 65 | json_login |
| 65 | 66 | json_query |
| 66 | 67 | json_report |
| 67 | 68 | json_tag |
| @@ -259,11 +260,11 @@ | ||
| 259 | 260 | writeln "\t\$(OBJDIR)/mkindex \$(TRANS_SRC) >$@" |
| 260 | 261 | writeln "\$(OBJDIR)/headers:\t\$(OBJDIR)/page_index.h \$(OBJDIR)/makeheaders \$(OBJDIR)/VERSION.h" |
| 261 | 262 | writeln "\t\$(OBJDIR)/makeheaders $mhargs" |
| 262 | 263 | writeln "\ttouch \$(OBJDIR)/headers" |
| 263 | 264 | writeln "\$(OBJDIR)/headers: Makefile" |
| 264 | -writeln "\$(OBJDIR)/json.o \$(OBJDIR)/json_artifact.o \$(OBJDIR)/json_branch.o \$(OBJDIR)/json_config.o \$(OBJDIR)/json_diff.o \$(OBJDIR)/json_finfo.o \$(OBJDIR)/json_login.o \$(OBJDIR)/json_query.o \$(OBJDIR)/json_report.o \$(OBJDIR)/json_tag.o \$(OBJDIR)/json_timeline.o \$(OBJDIR)/json_user.o \$(OBJDIR)/json_wiki.o : \$(SRCDIR)/json_detail.h" | |
| 265 | +writeln "\$(OBJDIR)/json.o \$(OBJDIR)/json_artifact.o \$(OBJDIR)/json_branch.o \$(OBJDIR)/json_config.o \$(OBJDIR)/json_diff.o \$(OBJDIR)/json_dir.o \$(OBJDIR)/json_finfo.o \$(OBJDIR)/json_login.o \$(OBJDIR)/json_query.o \$(OBJDIR)/json_report.o \$(OBJDIR)/json_tag.o \$(OBJDIR)/json_timeline.o \$(OBJDIR)/json_user.o \$(OBJDIR)/json_wiki.o : \$(SRCDIR)/json_detail.h" | |
| 265 | 266 | writeln "Makefile:" |
| 266 | 267 | set extra_h(main) \$(OBJDIR)/page_index.h |
| 267 | 268 | |
| 268 | 269 | foreach s [lsort $src] { |
| 269 | 270 | writeln "\$(OBJDIR)/${s}_.c:\t\$(SRCDIR)/$s.c \$(OBJDIR)/translate" |
| @@ -611,11 +612,11 @@ | ||
| 611 | 612 | writeln "\t\$(XTCC) $opt -c \$(SRCDIR)/sqlite3.c -o \$(OBJDIR)/sqlite3.o\n" |
| 612 | 613 | |
| 613 | 614 | set opt {} |
| 614 | 615 | writeln "\$(OBJDIR)/cson_amalgamation.o:\t\$(SRCDIR)/cson_amalgamation.c" |
| 615 | 616 | writeln "\t\$(XTCC) $opt -c \$(SRCDIR)/cson_amalgamation.c -o \$(OBJDIR)/cson_amalgamation.o -DCSON_FOSSIL_MODE\n" |
| 616 | -writeln "\$(OBJDIR)/json.o \$(OBJDIR)/json_artifact.o \$(OBJDIR)/json_branch.o \$(OBJDIR)/json_config.o \$(OBJDIR)/json_diff.o \$(OBJDIR)/jsos_finfo.o \$(OBJDIR)/json_login.o \$(OBJDIR)/json_query.o \$(OBJDIR)/json_report.o \$(OBJDIR)/json_tag.o \$(OBJDIR)/json_timeline.o \$(OBJDIR)/json_user.o \$(OBJDIR)/json_wiki.o : \$(SRCDIR)/json_detail.h\n" | |
| 617 | +writeln "\$(OBJDIR)/json.o \$(OBJDIR)/json_artifact.o \$(OBJDIR)/json_branch.o \$(OBJDIR)/json_config.o \$(OBJDIR)/json_diff.o \$(OBJDIR)/json_dir.o \$(OBJDIR)/jsos_finfo.o \$(OBJDIR)/json_login.o \$(OBJDIR)/json_query.o \$(OBJDIR)/json_report.o \$(OBJDIR)/json_tag.o \$(OBJDIR)/json_timeline.o \$(OBJDIR)/json_user.o \$(OBJDIR)/json_wiki.o : \$(SRCDIR)/json_detail.h\n" | |
| 617 | 618 | |
| 618 | 619 | writeln "\$(OBJDIR)/shell.o:\t\$(SRCDIR)/shell.c \$(SRCDIR)/sqlite3.h" |
| 619 | 620 | set opt {-Dmain=sqlite3_shell} |
| 620 | 621 | append opt " -DSQLITE_OMIT_LOAD_EXTENSION=1" |
| 621 | 622 | writeln "\t\$(XTCC) $opt -c \$(SRCDIR)/shell.c -o \$(OBJDIR)/shell.o\n" |
| @@ -755,10 +756,11 @@ | ||
| 755 | 756 | $(OBJDIR)\json$O : $(SRCDIR)\json_detail.h |
| 756 | 757 | $(OBJDIR)\json_artifact$O : $(SRCDIR)\json_detail.h |
| 757 | 758 | $(OBJDIR)\json_branch$O : $(SRCDIR)\json_detail.h |
| 758 | 759 | $(OBJDIR)\json_config$O : $(SRCDIR)\json_detail.h |
| 759 | 760 | $(OBJDIR)\json_diff$O : $(SRCDIR)\json_detail.h |
| 761 | +$(OBJDIR)\json_dir$O : $(SRCDIR)\json_detail.h | |
| 760 | 762 | $(OBJDIR)\json_finfo$O : $(SRCDIR)\json_detail.h |
| 761 | 763 | $(OBJDIR)\json_login$O : $(SRCDIR)\json_detail.h |
| 762 | 764 | $(OBJDIR)\json_query$O : $(SRCDIR)\json_detail.h |
| 763 | 765 | $(OBJDIR)\json_report$O : $(SRCDIR)\json_detail.h |
| 764 | 766 | $(OBJDIR)\json_tag$O : $(SRCDIR)\json_detail.h |
| @@ -914,10 +916,11 @@ | ||
| 914 | 916 | $(OBJDIR)\json$O : $(SRCDIR)\json_detail.h |
| 915 | 917 | $(OBJDIR)\json_artifact$O : $(SRCDIR)\json_detail.h |
| 916 | 918 | $(OBJDIR)\json_branch$O : $(SRCDIR)\json_detail.h |
| 917 | 919 | $(OBJDIR)\json_config$O : $(SRCDIR)\json_detail.h |
| 918 | 920 | $(OBJDIR)\json_diff$O : $(SRCDIR)\json_detail.h |
| 921 | +$(OBJDIR)\json_dir$O : $(SRCDIR)\json_detail.h | |
| 919 | 922 | $(OBJDIR)\json_finfo$O : $(SRCDIR)\json_detail.h |
| 920 | 923 | $(OBJDIR)\json_login$O : $(SRCDIR)\json_detail.h |
| 921 | 924 | $(OBJDIR)\json_query$O : $(SRCDIR)\json_detail.h |
| 922 | 925 | $(OBJDIR)\json_report$O : $(SRCDIR)\json_detail.h |
| 923 | 926 | $(OBJDIR)\json_tag$O : $(SRCDIR)\json_detail.h |
| 924 | 927 |
| --- src/makemake.tcl | |
| +++ src/makemake.tcl | |
| @@ -58,10 +58,11 @@ | |
| 58 | json |
| 59 | json_artifact |
| 60 | json_branch |
| 61 | json_config |
| 62 | json_diff |
| 63 | json_finfo |
| 64 | json_login |
| 65 | json_query |
| 66 | json_report |
| 67 | json_tag |
| @@ -259,11 +260,11 @@ | |
| 259 | writeln "\t\$(OBJDIR)/mkindex \$(TRANS_SRC) >$@" |
| 260 | writeln "\$(OBJDIR)/headers:\t\$(OBJDIR)/page_index.h \$(OBJDIR)/makeheaders \$(OBJDIR)/VERSION.h" |
| 261 | writeln "\t\$(OBJDIR)/makeheaders $mhargs" |
| 262 | writeln "\ttouch \$(OBJDIR)/headers" |
| 263 | writeln "\$(OBJDIR)/headers: Makefile" |
| 264 | writeln "\$(OBJDIR)/json.o \$(OBJDIR)/json_artifact.o \$(OBJDIR)/json_branch.o \$(OBJDIR)/json_config.o \$(OBJDIR)/json_diff.o \$(OBJDIR)/json_finfo.o \$(OBJDIR)/json_login.o \$(OBJDIR)/json_query.o \$(OBJDIR)/json_report.o \$(OBJDIR)/json_tag.o \$(OBJDIR)/json_timeline.o \$(OBJDIR)/json_user.o \$(OBJDIR)/json_wiki.o : \$(SRCDIR)/json_detail.h" |
| 265 | writeln "Makefile:" |
| 266 | set extra_h(main) \$(OBJDIR)/page_index.h |
| 267 | |
| 268 | foreach s [lsort $src] { |
| 269 | writeln "\$(OBJDIR)/${s}_.c:\t\$(SRCDIR)/$s.c \$(OBJDIR)/translate" |
| @@ -611,11 +612,11 @@ | |
| 611 | writeln "\t\$(XTCC) $opt -c \$(SRCDIR)/sqlite3.c -o \$(OBJDIR)/sqlite3.o\n" |
| 612 | |
| 613 | set opt {} |
| 614 | writeln "\$(OBJDIR)/cson_amalgamation.o:\t\$(SRCDIR)/cson_amalgamation.c" |
| 615 | writeln "\t\$(XTCC) $opt -c \$(SRCDIR)/cson_amalgamation.c -o \$(OBJDIR)/cson_amalgamation.o -DCSON_FOSSIL_MODE\n" |
| 616 | writeln "\$(OBJDIR)/json.o \$(OBJDIR)/json_artifact.o \$(OBJDIR)/json_branch.o \$(OBJDIR)/json_config.o \$(OBJDIR)/json_diff.o \$(OBJDIR)/jsos_finfo.o \$(OBJDIR)/json_login.o \$(OBJDIR)/json_query.o \$(OBJDIR)/json_report.o \$(OBJDIR)/json_tag.o \$(OBJDIR)/json_timeline.o \$(OBJDIR)/json_user.o \$(OBJDIR)/json_wiki.o : \$(SRCDIR)/json_detail.h\n" |
| 617 | |
| 618 | writeln "\$(OBJDIR)/shell.o:\t\$(SRCDIR)/shell.c \$(SRCDIR)/sqlite3.h" |
| 619 | set opt {-Dmain=sqlite3_shell} |
| 620 | append opt " -DSQLITE_OMIT_LOAD_EXTENSION=1" |
| 621 | writeln "\t\$(XTCC) $opt -c \$(SRCDIR)/shell.c -o \$(OBJDIR)/shell.o\n" |
| @@ -755,10 +756,11 @@ | |
| 755 | $(OBJDIR)\json$O : $(SRCDIR)\json_detail.h |
| 756 | $(OBJDIR)\json_artifact$O : $(SRCDIR)\json_detail.h |
| 757 | $(OBJDIR)\json_branch$O : $(SRCDIR)\json_detail.h |
| 758 | $(OBJDIR)\json_config$O : $(SRCDIR)\json_detail.h |
| 759 | $(OBJDIR)\json_diff$O : $(SRCDIR)\json_detail.h |
| 760 | $(OBJDIR)\json_finfo$O : $(SRCDIR)\json_detail.h |
| 761 | $(OBJDIR)\json_login$O : $(SRCDIR)\json_detail.h |
| 762 | $(OBJDIR)\json_query$O : $(SRCDIR)\json_detail.h |
| 763 | $(OBJDIR)\json_report$O : $(SRCDIR)\json_detail.h |
| 764 | $(OBJDIR)\json_tag$O : $(SRCDIR)\json_detail.h |
| @@ -914,10 +916,11 @@ | |
| 914 | $(OBJDIR)\json$O : $(SRCDIR)\json_detail.h |
| 915 | $(OBJDIR)\json_artifact$O : $(SRCDIR)\json_detail.h |
| 916 | $(OBJDIR)\json_branch$O : $(SRCDIR)\json_detail.h |
| 917 | $(OBJDIR)\json_config$O : $(SRCDIR)\json_detail.h |
| 918 | $(OBJDIR)\json_diff$O : $(SRCDIR)\json_detail.h |
| 919 | $(OBJDIR)\json_finfo$O : $(SRCDIR)\json_detail.h |
| 920 | $(OBJDIR)\json_login$O : $(SRCDIR)\json_detail.h |
| 921 | $(OBJDIR)\json_query$O : $(SRCDIR)\json_detail.h |
| 922 | $(OBJDIR)\json_report$O : $(SRCDIR)\json_detail.h |
| 923 | $(OBJDIR)\json_tag$O : $(SRCDIR)\json_detail.h |
| 924 |
| --- src/makemake.tcl | |
| +++ src/makemake.tcl | |
| @@ -58,10 +58,11 @@ | |
| 58 | json |
| 59 | json_artifact |
| 60 | json_branch |
| 61 | json_config |
| 62 | json_diff |
| 63 | json_dir |
| 64 | json_finfo |
| 65 | json_login |
| 66 | json_query |
| 67 | json_report |
| 68 | json_tag |
| @@ -259,11 +260,11 @@ | |
| 260 | writeln "\t\$(OBJDIR)/mkindex \$(TRANS_SRC) >$@" |
| 261 | writeln "\$(OBJDIR)/headers:\t\$(OBJDIR)/page_index.h \$(OBJDIR)/makeheaders \$(OBJDIR)/VERSION.h" |
| 262 | writeln "\t\$(OBJDIR)/makeheaders $mhargs" |
| 263 | writeln "\ttouch \$(OBJDIR)/headers" |
| 264 | writeln "\$(OBJDIR)/headers: Makefile" |
| 265 | writeln "\$(OBJDIR)/json.o \$(OBJDIR)/json_artifact.o \$(OBJDIR)/json_branch.o \$(OBJDIR)/json_config.o \$(OBJDIR)/json_diff.o \$(OBJDIR)/json_dir.o \$(OBJDIR)/json_finfo.o \$(OBJDIR)/json_login.o \$(OBJDIR)/json_query.o \$(OBJDIR)/json_report.o \$(OBJDIR)/json_tag.o \$(OBJDIR)/json_timeline.o \$(OBJDIR)/json_user.o \$(OBJDIR)/json_wiki.o : \$(SRCDIR)/json_detail.h" |
| 266 | writeln "Makefile:" |
| 267 | set extra_h(main) \$(OBJDIR)/page_index.h |
| 268 | |
| 269 | foreach s [lsort $src] { |
| 270 | writeln "\$(OBJDIR)/${s}_.c:\t\$(SRCDIR)/$s.c \$(OBJDIR)/translate" |
| @@ -611,11 +612,11 @@ | |
| 612 | writeln "\t\$(XTCC) $opt -c \$(SRCDIR)/sqlite3.c -o \$(OBJDIR)/sqlite3.o\n" |
| 613 | |
| 614 | set opt {} |
| 615 | writeln "\$(OBJDIR)/cson_amalgamation.o:\t\$(SRCDIR)/cson_amalgamation.c" |
| 616 | writeln "\t\$(XTCC) $opt -c \$(SRCDIR)/cson_amalgamation.c -o \$(OBJDIR)/cson_amalgamation.o -DCSON_FOSSIL_MODE\n" |
| 617 | writeln "\$(OBJDIR)/json.o \$(OBJDIR)/json_artifact.o \$(OBJDIR)/json_branch.o \$(OBJDIR)/json_config.o \$(OBJDIR)/json_diff.o \$(OBJDIR)/json_dir.o \$(OBJDIR)/jsos_finfo.o \$(OBJDIR)/json_login.o \$(OBJDIR)/json_query.o \$(OBJDIR)/json_report.o \$(OBJDIR)/json_tag.o \$(OBJDIR)/json_timeline.o \$(OBJDIR)/json_user.o \$(OBJDIR)/json_wiki.o : \$(SRCDIR)/json_detail.h\n" |
| 618 | |
| 619 | writeln "\$(OBJDIR)/shell.o:\t\$(SRCDIR)/shell.c \$(SRCDIR)/sqlite3.h" |
| 620 | set opt {-Dmain=sqlite3_shell} |
| 621 | append opt " -DSQLITE_OMIT_LOAD_EXTENSION=1" |
| 622 | writeln "\t\$(XTCC) $opt -c \$(SRCDIR)/shell.c -o \$(OBJDIR)/shell.o\n" |
| @@ -755,10 +756,11 @@ | |
| 756 | $(OBJDIR)\json$O : $(SRCDIR)\json_detail.h |
| 757 | $(OBJDIR)\json_artifact$O : $(SRCDIR)\json_detail.h |
| 758 | $(OBJDIR)\json_branch$O : $(SRCDIR)\json_detail.h |
| 759 | $(OBJDIR)\json_config$O : $(SRCDIR)\json_detail.h |
| 760 | $(OBJDIR)\json_diff$O : $(SRCDIR)\json_detail.h |
| 761 | $(OBJDIR)\json_dir$O : $(SRCDIR)\json_detail.h |
| 762 | $(OBJDIR)\json_finfo$O : $(SRCDIR)\json_detail.h |
| 763 | $(OBJDIR)\json_login$O : $(SRCDIR)\json_detail.h |
| 764 | $(OBJDIR)\json_query$O : $(SRCDIR)\json_detail.h |
| 765 | $(OBJDIR)\json_report$O : $(SRCDIR)\json_detail.h |
| 766 | $(OBJDIR)\json_tag$O : $(SRCDIR)\json_detail.h |
| @@ -914,10 +916,11 @@ | |
| 916 | $(OBJDIR)\json$O : $(SRCDIR)\json_detail.h |
| 917 | $(OBJDIR)\json_artifact$O : $(SRCDIR)\json_detail.h |
| 918 | $(OBJDIR)\json_branch$O : $(SRCDIR)\json_detail.h |
| 919 | $(OBJDIR)\json_config$O : $(SRCDIR)\json_detail.h |
| 920 | $(OBJDIR)\json_diff$O : $(SRCDIR)\json_detail.h |
| 921 | $(OBJDIR)\json_dir$O : $(SRCDIR)\json_detail.h |
| 922 | $(OBJDIR)\json_finfo$O : $(SRCDIR)\json_detail.h |
| 923 | $(OBJDIR)\json_login$O : $(SRCDIR)\json_detail.h |
| 924 | $(OBJDIR)\json_query$O : $(SRCDIR)\json_detail.h |
| 925 | $(OBJDIR)\json_report$O : $(SRCDIR)\json_detail.h |
| 926 | $(OBJDIR)\json_tag$O : $(SRCDIR)\json_detail.h |
| 927 |
+11
-4
| --- win/Makefile.dmc | ||
| +++ win/Makefile.dmc | ||
| @@ -26,13 +26,13 @@ | ||
| 26 | 26 | TCC = $(DMDIR)\bin\dmc $(CFLAGS) $(DMCDEF) $(SSL) $(INCL) |
| 27 | 27 | LIBS = $(DMDIR)\extra\lib\ zlib wsock32 |
| 28 | 28 | |
| 29 | 29 | SQLITE_OPTIONS = -DSQLITE_OMIT_LOAD_EXTENSION=1 -DSQLITE_THREADSAFE=0 -DSQLITE_DEFAULT_FILE_FORMAT=4 -DSQLITE_ENABLE_STAT3 -Dlocaltime=fossil_localtime -DSQLITE_ENABLE_LOCKING_STYLE=0 |
| 30 | 30 | |
| 31 | -SRC = add_.c allrepo_.c attach_.c bag_.c bisect_.c blob_.c branch_.c browse_.c captcha_.c cgi_.c checkin_.c checkout_.c clearsign_.c clone_.c comformat_.c configure_.c content_.c db_.c delta_.c deltacmd_.c descendants_.c diff_.c diffcmd_.c doc_.c encode_.c event_.c export_.c file_.c finfo_.c glob_.c graph_.c gzip_.c http_.c http_socket_.c http_ssl_.c http_transport_.c import_.c info_.c json_.c json_artifact_.c json_branch_.c json_config_.c json_diff_.c json_finfo_.c json_login_.c json_query_.c json_report_.c json_tag_.c json_timeline_.c json_user_.c json_wiki_.c leaf_.c login_.c main_.c manifest_.c md5_.c merge_.c merge3_.c name_.c path_.c pivot_.c popen_.c pqueue_.c printf_.c rebuild_.c report_.c rss_.c schema_.c search_.c setup_.c sha1_.c shun_.c skins_.c sqlcmd_.c stash_.c stat_.c style_.c sync_.c tag_.c tar_.c th_main_.c timeline_.c tkt_.c tktsetup_.c undo_.c update_.c url_.c user_.c verify_.c vfile_.c wiki_.c wikiformat_.c winhttp_.c xfer_.c xfersetup_.c zip_.c | |
| 31 | +SRC = add_.c allrepo_.c attach_.c bag_.c bisect_.c blob_.c branch_.c browse_.c captcha_.c cgi_.c checkin_.c checkout_.c clearsign_.c clone_.c comformat_.c configure_.c content_.c db_.c delta_.c deltacmd_.c descendants_.c diff_.c diffcmd_.c doc_.c encode_.c event_.c export_.c file_.c finfo_.c glob_.c graph_.c gzip_.c http_.c http_socket_.c http_ssl_.c http_transport_.c import_.c info_.c json_.c json_artifact_.c json_branch_.c json_config_.c json_diff_.c json_dir_.c json_finfo_.c json_login_.c json_query_.c json_report_.c json_tag_.c json_timeline_.c json_user_.c json_wiki_.c leaf_.c login_.c main_.c manifest_.c md5_.c merge_.c merge3_.c name_.c path_.c pivot_.c popen_.c pqueue_.c printf_.c rebuild_.c report_.c rss_.c schema_.c search_.c setup_.c sha1_.c shun_.c skins_.c sqlcmd_.c stash_.c stat_.c style_.c sync_.c tag_.c tar_.c th_main_.c timeline_.c tkt_.c tktsetup_.c undo_.c update_.c url_.c user_.c verify_.c vfile_.c wiki_.c wikiformat_.c winhttp_.c xfer_.c xfersetup_.c zip_.c | |
| 32 | 32 | |
| 33 | -OBJ = $(OBJDIR)\add$O $(OBJDIR)\allrepo$O $(OBJDIR)\attach$O $(OBJDIR)\bag$O $(OBJDIR)\bisect$O $(OBJDIR)\blob$O $(OBJDIR)\branch$O $(OBJDIR)\browse$O $(OBJDIR)\captcha$O $(OBJDIR)\cgi$O $(OBJDIR)\checkin$O $(OBJDIR)\checkout$O $(OBJDIR)\clearsign$O $(OBJDIR)\clone$O $(OBJDIR)\comformat$O $(OBJDIR)\configure$O $(OBJDIR)\content$O $(OBJDIR)\db$O $(OBJDIR)\delta$O $(OBJDIR)\deltacmd$O $(OBJDIR)\descendants$O $(OBJDIR)\diff$O $(OBJDIR)\diffcmd$O $(OBJDIR)\doc$O $(OBJDIR)\encode$O $(OBJDIR)\event$O $(OBJDIR)\export$O $(OBJDIR)\file$O $(OBJDIR)\finfo$O $(OBJDIR)\glob$O $(OBJDIR)\graph$O $(OBJDIR)\gzip$O $(OBJDIR)\http$O $(OBJDIR)\http_socket$O $(OBJDIR)\http_ssl$O $(OBJDIR)\http_transport$O $(OBJDIR)\import$O $(OBJDIR)\info$O $(OBJDIR)\json$O $(OBJDIR)\json_artifact$O $(OBJDIR)\json_branch$O $(OBJDIR)\json_config$O $(OBJDIR)\json_diff$O $(OBJDIR)\json_finfo$O $(OBJDIR)\json_login$O $(OBJDIR)\json_query$O $(OBJDIR)\json_report$O $(OBJDIR)\json_tag$O $(OBJDIR)\json_timeline$O $(OBJDIR)\json_user$O $(OBJDIR)\json_wiki$O $(OBJDIR)\leaf$O $(OBJDIR)\login$O $(OBJDIR)\main$O $(OBJDIR)\manifest$O $(OBJDIR)\md5$O $(OBJDIR)\merge$O $(OBJDIR)\merge3$O $(OBJDIR)\name$O $(OBJDIR)\path$O $(OBJDIR)\pivot$O $(OBJDIR)\popen$O $(OBJDIR)\pqueue$O $(OBJDIR)\printf$O $(OBJDIR)\rebuild$O $(OBJDIR)\report$O $(OBJDIR)\rss$O $(OBJDIR)\schema$O $(OBJDIR)\search$O $(OBJDIR)\setup$O $(OBJDIR)\sha1$O $(OBJDIR)\shun$O $(OBJDIR)\skins$O $(OBJDIR)\sqlcmd$O $(OBJDIR)\stash$O $(OBJDIR)\stat$O $(OBJDIR)\style$O $(OBJDIR)\sync$O $(OBJDIR)\tag$O $(OBJDIR)\tar$O $(OBJDIR)\th_main$O $(OBJDIR)\timeline$O $(OBJDIR)\tkt$O $(OBJDIR)\tktsetup$O $(OBJDIR)\undo$O $(OBJDIR)\update$O $(OBJDIR)\url$O $(OBJDIR)\user$O $(OBJDIR)\verify$O $(OBJDIR)\vfile$O $(OBJDIR)\wiki$O $(OBJDIR)\wikiformat$O $(OBJDIR)\winhttp$O $(OBJDIR)\xfer$O $(OBJDIR)\xfersetup$O $(OBJDIR)\zip$O $(OBJDIR)\shell$O $(OBJDIR)\sqlite3$O $(OBJDIR)\th$O $(OBJDIR)\th_lang$O | |
| 33 | +OBJ = $(OBJDIR)\add$O $(OBJDIR)\allrepo$O $(OBJDIR)\attach$O $(OBJDIR)\bag$O $(OBJDIR)\bisect$O $(OBJDIR)\blob$O $(OBJDIR)\branch$O $(OBJDIR)\browse$O $(OBJDIR)\captcha$O $(OBJDIR)\cgi$O $(OBJDIR)\checkin$O $(OBJDIR)\checkout$O $(OBJDIR)\clearsign$O $(OBJDIR)\clone$O $(OBJDIR)\comformat$O $(OBJDIR)\configure$O $(OBJDIR)\content$O $(OBJDIR)\db$O $(OBJDIR)\delta$O $(OBJDIR)\deltacmd$O $(OBJDIR)\descendants$O $(OBJDIR)\diff$O $(OBJDIR)\diffcmd$O $(OBJDIR)\doc$O $(OBJDIR)\encode$O $(OBJDIR)\event$O $(OBJDIR)\export$O $(OBJDIR)\file$O $(OBJDIR)\finfo$O $(OBJDIR)\glob$O $(OBJDIR)\graph$O $(OBJDIR)\gzip$O $(OBJDIR)\http$O $(OBJDIR)\http_socket$O $(OBJDIR)\http_ssl$O $(OBJDIR)\http_transport$O $(OBJDIR)\import$O $(OBJDIR)\info$O $(OBJDIR)\json$O $(OBJDIR)\json_artifact$O $(OBJDIR)\json_branch$O $(OBJDIR)\json_config$O $(OBJDIR)\json_diff$O $(OBJDIR)\json_dir$O $(OBJDIR)\json_finfo$O $(OBJDIR)\json_login$O $(OBJDIR)\json_query$O $(OBJDIR)\json_report$O $(OBJDIR)\json_tag$O $(OBJDIR)\json_timeline$O $(OBJDIR)\json_user$O $(OBJDIR)\json_wiki$O $(OBJDIR)\leaf$O $(OBJDIR)\login$O $(OBJDIR)\main$O $(OBJDIR)\manifest$O $(OBJDIR)\md5$O $(OBJDIR)\merge$O $(OBJDIR)\merge3$O $(OBJDIR)\name$O $(OBJDIR)\path$O $(OBJDIR)\pivot$O $(OBJDIR)\popen$O $(OBJDIR)\pqueue$O $(OBJDIR)\printf$O $(OBJDIR)\rebuild$O $(OBJDIR)\report$O $(OBJDIR)\rss$O $(OBJDIR)\schema$O $(OBJDIR)\search$O $(OBJDIR)\setup$O $(OBJDIR)\sha1$O $(OBJDIR)\shun$O $(OBJDIR)\skins$O $(OBJDIR)\sqlcmd$O $(OBJDIR)\stash$O $(OBJDIR)\stat$O $(OBJDIR)\style$O $(OBJDIR)\sync$O $(OBJDIR)\tag$O $(OBJDIR)\tar$O $(OBJDIR)\th_main$O $(OBJDIR)\timeline$O $(OBJDIR)\tkt$O $(OBJDIR)\tktsetup$O $(OBJDIR)\undo$O $(OBJDIR)\update$O $(OBJDIR)\url$O $(OBJDIR)\user$O $(OBJDIR)\verify$O $(OBJDIR)\vfile$O $(OBJDIR)\wiki$O $(OBJDIR)\wikiformat$O $(OBJDIR)\winhttp$O $(OBJDIR)\xfer$O $(OBJDIR)\xfersetup$O $(OBJDIR)\zip$O $(OBJDIR)\shell$O $(OBJDIR)\sqlite3$O $(OBJDIR)\th$O $(OBJDIR)\th_lang$O | |
| 34 | 34 | |
| 35 | 35 | |
| 36 | 36 | RC=$(DMDIR)\bin\rcc |
| 37 | 37 | RCFLAGS=-32 -w1 -I$(SRCDIR) /D__DMC__ |
| 38 | 38 | |
| @@ -46,11 +46,11 @@ | ||
| 46 | 46 | |
| 47 | 47 | $(OBJDIR)\fossil.res: $B\win\fossil.rc |
| 48 | 48 | $(RC) $(RCFLAGS) -o$@ $** |
| 49 | 49 | |
| 50 | 50 | $(OBJDIR)\link: $B\win\Makefile.dmc $(OBJDIR)\fossil.res |
| 51 | - +echo add allrepo attach bag bisect blob branch browse captcha cgi checkin checkout clearsign clone comformat configure content db delta deltacmd descendants diff diffcmd doc encode event export file finfo glob graph gzip http http_socket http_ssl http_transport import info json json_artifact json_branch json_config json_diff json_finfo json_login json_query json_report json_tag json_timeline json_user json_wiki leaf login main manifest md5 merge merge3 name path pivot popen pqueue printf rebuild report rss schema search setup sha1 shun skins sqlcmd stash stat style sync tag tar th_main timeline tkt tktsetup undo update url user verify vfile wiki wikiformat winhttp xfer xfersetup zip shell sqlite3 th th_lang > $@ | |
| 51 | + +echo add allrepo attach bag bisect blob branch browse captcha cgi checkin checkout clearsign clone comformat configure content db delta deltacmd descendants diff diffcmd doc encode event export file finfo glob graph gzip http http_socket http_ssl http_transport import info json json_artifact json_branch json_config json_diff json_dir json_finfo json_login json_query json_report json_tag json_timeline json_user json_wiki leaf login main manifest md5 merge merge3 name path pivot popen pqueue printf rebuild report rss schema search setup sha1 shun skins sqlcmd stash stat style sync tag tar th_main timeline tkt tktsetup undo update url user verify vfile wiki wikiformat winhttp xfer xfersetup zip shell sqlite3 th th_lang > $@ | |
| 52 | 52 | +echo fossil >> $@ |
| 53 | 53 | +echo fossil >> $@ |
| 54 | 54 | +echo $(LIBS) >> $@ |
| 55 | 55 | +echo. >> $@ |
| 56 | 56 | +echo fossil >> $@ |
| @@ -98,10 +98,11 @@ | ||
| 98 | 98 | $(OBJDIR)\json$O : $(SRCDIR)\json_detail.h |
| 99 | 99 | $(OBJDIR)\json_artifact$O : $(SRCDIR)\json_detail.h |
| 100 | 100 | $(OBJDIR)\json_branch$O : $(SRCDIR)\json_detail.h |
| 101 | 101 | $(OBJDIR)\json_config$O : $(SRCDIR)\json_detail.h |
| 102 | 102 | $(OBJDIR)\json_diff$O : $(SRCDIR)\json_detail.h |
| 103 | +$(OBJDIR)\json_dir$O : $(SRCDIR)\json_detail.h | |
| 103 | 104 | $(OBJDIR)\json_finfo$O : $(SRCDIR)\json_detail.h |
| 104 | 105 | $(OBJDIR)\json_login$O : $(SRCDIR)\json_detail.h |
| 105 | 106 | $(OBJDIR)\json_query$O : $(SRCDIR)\json_detail.h |
| 106 | 107 | $(OBJDIR)\json_report$O : $(SRCDIR)\json_detail.h |
| 107 | 108 | $(OBJDIR)\json_tag$O : $(SRCDIR)\json_detail.h |
| @@ -366,10 +367,16 @@ | ||
| 366 | 367 | $(OBJDIR)\json_diff$O : json_diff_.c json_diff.h |
| 367 | 368 | $(TCC) -o$@ -c json_diff_.c |
| 368 | 369 | |
| 369 | 370 | json_diff_.c : $(SRCDIR)\json_diff.c |
| 370 | 371 | +translate$E $** > $@ |
| 372 | + | |
| 373 | +$(OBJDIR)\json_dir$O : json_dir_.c json_dir.h | |
| 374 | + $(TCC) -o$@ -c json_dir_.c | |
| 375 | + | |
| 376 | +json_dir_.c : $(SRCDIR)\json_dir.c | |
| 377 | + +translate$E $** > $@ | |
| 371 | 378 | |
| 372 | 379 | $(OBJDIR)\json_finfo$O : json_finfo_.c json_finfo.h |
| 373 | 380 | $(TCC) -o$@ -c json_finfo_.c |
| 374 | 381 | |
| 375 | 382 | json_finfo_.c : $(SRCDIR)\json_finfo.c |
| @@ -686,7 +693,7 @@ | ||
| 686 | 693 | |
| 687 | 694 | zip_.c : $(SRCDIR)\zip.c |
| 688 | 695 | +translate$E $** > $@ |
| 689 | 696 | |
| 690 | 697 | headers: makeheaders$E page_index.h VERSION.h |
| 691 | - +makeheaders$E add_.c:add.h allrepo_.c:allrepo.h attach_.c:attach.h bag_.c:bag.h bisect_.c:bisect.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 event_.c:event.h export_.c:export.h file_.c:file.h finfo_.c:finfo.h glob_.c:glob.h graph_.c:graph.h gzip_.c:gzip.h http_.c:http.h http_socket_.c:http_socket.h http_ssl_.c:http_ssl.h http_transport_.c:http_transport.h import_.c:import.h info_.c:info.h json_.c:json.h json_artifact_.c:json_artifact.h json_branch_.c:json_branch.h json_config_.c:json_config.h json_diff_.c:json_diff.h json_finfo_.c:json_finfo.h json_login_.c:json_login.h json_query_.c:json_query.h json_report_.c:json_report.h json_tag_.c:json_tag.h json_timeline_.c:json_timeline.h json_user_.c:json_user.h json_wiki_.c:json_wiki.h leaf_.c:leaf.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 path_.c:path.h pivot_.c:pivot.h popen_.c:popen.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 sqlcmd_.c:sqlcmd.h stash_.c:stash.h stat_.c:stat.h style_.c:style.h sync_.c:sync.h tag_.c:tag.h tar_.c:tar.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 xfersetup_.c:xfersetup.h zip_.c:zip.h $(SRCDIR)\sqlite3.h $(SRCDIR)\th.h VERSION.h $(SRCDIR)\cson_amalgamation.h | |
| 698 | + +makeheaders$E add_.c:add.h allrepo_.c:allrepo.h attach_.c:attach.h bag_.c:bag.h bisect_.c:bisect.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 event_.c:event.h export_.c:export.h file_.c:file.h finfo_.c:finfo.h glob_.c:glob.h graph_.c:graph.h gzip_.c:gzip.h http_.c:http.h http_socket_.c:http_socket.h http_ssl_.c:http_ssl.h http_transport_.c:http_transport.h import_.c:import.h info_.c:info.h json_.c:json.h json_artifact_.c:json_artifact.h json_branch_.c:json_branch.h json_config_.c:json_config.h json_diff_.c:json_diff.h json_dir_.c:json_dir.h json_finfo_.c:json_finfo.h json_login_.c:json_login.h json_query_.c:json_query.h json_report_.c:json_report.h json_tag_.c:json_tag.h json_timeline_.c:json_timeline.h json_user_.c:json_user.h json_wiki_.c:json_wiki.h leaf_.c:leaf.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 path_.c:path.h pivot_.c:pivot.h popen_.c:popen.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 sqlcmd_.c:sqlcmd.h stash_.c:stash.h stat_.c:stat.h style_.c:style.h sync_.c:sync.h tag_.c:tag.h tar_.c:tar.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 xfersetup_.c:xfersetup.h zip_.c:zip.h $(SRCDIR)\sqlite3.h $(SRCDIR)\th.h VERSION.h $(SRCDIR)\cson_amalgamation.h | |
| 692 | 699 | @copy /Y nul: headers |
| 693 | 700 |
| --- win/Makefile.dmc | |
| +++ win/Makefile.dmc | |
| @@ -26,13 +26,13 @@ | |
| 26 | TCC = $(DMDIR)\bin\dmc $(CFLAGS) $(DMCDEF) $(SSL) $(INCL) |
| 27 | LIBS = $(DMDIR)\extra\lib\ zlib wsock32 |
| 28 | |
| 29 | SQLITE_OPTIONS = -DSQLITE_OMIT_LOAD_EXTENSION=1 -DSQLITE_THREADSAFE=0 -DSQLITE_DEFAULT_FILE_FORMAT=4 -DSQLITE_ENABLE_STAT3 -Dlocaltime=fossil_localtime -DSQLITE_ENABLE_LOCKING_STYLE=0 |
| 30 | |
| 31 | SRC = add_.c allrepo_.c attach_.c bag_.c bisect_.c blob_.c branch_.c browse_.c captcha_.c cgi_.c checkin_.c checkout_.c clearsign_.c clone_.c comformat_.c configure_.c content_.c db_.c delta_.c deltacmd_.c descendants_.c diff_.c diffcmd_.c doc_.c encode_.c event_.c export_.c file_.c finfo_.c glob_.c graph_.c gzip_.c http_.c http_socket_.c http_ssl_.c http_transport_.c import_.c info_.c json_.c json_artifact_.c json_branch_.c json_config_.c json_diff_.c json_finfo_.c json_login_.c json_query_.c json_report_.c json_tag_.c json_timeline_.c json_user_.c json_wiki_.c leaf_.c login_.c main_.c manifest_.c md5_.c merge_.c merge3_.c name_.c path_.c pivot_.c popen_.c pqueue_.c printf_.c rebuild_.c report_.c rss_.c schema_.c search_.c setup_.c sha1_.c shun_.c skins_.c sqlcmd_.c stash_.c stat_.c style_.c sync_.c tag_.c tar_.c th_main_.c timeline_.c tkt_.c tktsetup_.c undo_.c update_.c url_.c user_.c verify_.c vfile_.c wiki_.c wikiformat_.c winhttp_.c xfer_.c xfersetup_.c zip_.c |
| 32 | |
| 33 | OBJ = $(OBJDIR)\add$O $(OBJDIR)\allrepo$O $(OBJDIR)\attach$O $(OBJDIR)\bag$O $(OBJDIR)\bisect$O $(OBJDIR)\blob$O $(OBJDIR)\branch$O $(OBJDIR)\browse$O $(OBJDIR)\captcha$O $(OBJDIR)\cgi$O $(OBJDIR)\checkin$O $(OBJDIR)\checkout$O $(OBJDIR)\clearsign$O $(OBJDIR)\clone$O $(OBJDIR)\comformat$O $(OBJDIR)\configure$O $(OBJDIR)\content$O $(OBJDIR)\db$O $(OBJDIR)\delta$O $(OBJDIR)\deltacmd$O $(OBJDIR)\descendants$O $(OBJDIR)\diff$O $(OBJDIR)\diffcmd$O $(OBJDIR)\doc$O $(OBJDIR)\encode$O $(OBJDIR)\event$O $(OBJDIR)\export$O $(OBJDIR)\file$O $(OBJDIR)\finfo$O $(OBJDIR)\glob$O $(OBJDIR)\graph$O $(OBJDIR)\gzip$O $(OBJDIR)\http$O $(OBJDIR)\http_socket$O $(OBJDIR)\http_ssl$O $(OBJDIR)\http_transport$O $(OBJDIR)\import$O $(OBJDIR)\info$O $(OBJDIR)\json$O $(OBJDIR)\json_artifact$O $(OBJDIR)\json_branch$O $(OBJDIR)\json_config$O $(OBJDIR)\json_diff$O $(OBJDIR)\json_finfo$O $(OBJDIR)\json_login$O $(OBJDIR)\json_query$O $(OBJDIR)\json_report$O $(OBJDIR)\json_tag$O $(OBJDIR)\json_timeline$O $(OBJDIR)\json_user$O $(OBJDIR)\json_wiki$O $(OBJDIR)\leaf$O $(OBJDIR)\login$O $(OBJDIR)\main$O $(OBJDIR)\manifest$O $(OBJDIR)\md5$O $(OBJDIR)\merge$O $(OBJDIR)\merge3$O $(OBJDIR)\name$O $(OBJDIR)\path$O $(OBJDIR)\pivot$O $(OBJDIR)\popen$O $(OBJDIR)\pqueue$O $(OBJDIR)\printf$O $(OBJDIR)\rebuild$O $(OBJDIR)\report$O $(OBJDIR)\rss$O $(OBJDIR)\schema$O $(OBJDIR)\search$O $(OBJDIR)\setup$O $(OBJDIR)\sha1$O $(OBJDIR)\shun$O $(OBJDIR)\skins$O $(OBJDIR)\sqlcmd$O $(OBJDIR)\stash$O $(OBJDIR)\stat$O $(OBJDIR)\style$O $(OBJDIR)\sync$O $(OBJDIR)\tag$O $(OBJDIR)\tar$O $(OBJDIR)\th_main$O $(OBJDIR)\timeline$O $(OBJDIR)\tkt$O $(OBJDIR)\tktsetup$O $(OBJDIR)\undo$O $(OBJDIR)\update$O $(OBJDIR)\url$O $(OBJDIR)\user$O $(OBJDIR)\verify$O $(OBJDIR)\vfile$O $(OBJDIR)\wiki$O $(OBJDIR)\wikiformat$O $(OBJDIR)\winhttp$O $(OBJDIR)\xfer$O $(OBJDIR)\xfersetup$O $(OBJDIR)\zip$O $(OBJDIR)\shell$O $(OBJDIR)\sqlite3$O $(OBJDIR)\th$O $(OBJDIR)\th_lang$O |
| 34 | |
| 35 | |
| 36 | RC=$(DMDIR)\bin\rcc |
| 37 | RCFLAGS=-32 -w1 -I$(SRCDIR) /D__DMC__ |
| 38 | |
| @@ -46,11 +46,11 @@ | |
| 46 | |
| 47 | $(OBJDIR)\fossil.res: $B\win\fossil.rc |
| 48 | $(RC) $(RCFLAGS) -o$@ $** |
| 49 | |
| 50 | $(OBJDIR)\link: $B\win\Makefile.dmc $(OBJDIR)\fossil.res |
| 51 | +echo add allrepo attach bag bisect blob branch browse captcha cgi checkin checkout clearsign clone comformat configure content db delta deltacmd descendants diff diffcmd doc encode event export file finfo glob graph gzip http http_socket http_ssl http_transport import info json json_artifact json_branch json_config json_diff json_finfo json_login json_query json_report json_tag json_timeline json_user json_wiki leaf login main manifest md5 merge merge3 name path pivot popen pqueue printf rebuild report rss schema search setup sha1 shun skins sqlcmd stash stat style sync tag tar th_main timeline tkt tktsetup undo update url user verify vfile wiki wikiformat winhttp xfer xfersetup zip shell sqlite3 th th_lang > $@ |
| 52 | +echo fossil >> $@ |
| 53 | +echo fossil >> $@ |
| 54 | +echo $(LIBS) >> $@ |
| 55 | +echo. >> $@ |
| 56 | +echo fossil >> $@ |
| @@ -98,10 +98,11 @@ | |
| 98 | $(OBJDIR)\json$O : $(SRCDIR)\json_detail.h |
| 99 | $(OBJDIR)\json_artifact$O : $(SRCDIR)\json_detail.h |
| 100 | $(OBJDIR)\json_branch$O : $(SRCDIR)\json_detail.h |
| 101 | $(OBJDIR)\json_config$O : $(SRCDIR)\json_detail.h |
| 102 | $(OBJDIR)\json_diff$O : $(SRCDIR)\json_detail.h |
| 103 | $(OBJDIR)\json_finfo$O : $(SRCDIR)\json_detail.h |
| 104 | $(OBJDIR)\json_login$O : $(SRCDIR)\json_detail.h |
| 105 | $(OBJDIR)\json_query$O : $(SRCDIR)\json_detail.h |
| 106 | $(OBJDIR)\json_report$O : $(SRCDIR)\json_detail.h |
| 107 | $(OBJDIR)\json_tag$O : $(SRCDIR)\json_detail.h |
| @@ -366,10 +367,16 @@ | |
| 366 | $(OBJDIR)\json_diff$O : json_diff_.c json_diff.h |
| 367 | $(TCC) -o$@ -c json_diff_.c |
| 368 | |
| 369 | json_diff_.c : $(SRCDIR)\json_diff.c |
| 370 | +translate$E $** > $@ |
| 371 | |
| 372 | $(OBJDIR)\json_finfo$O : json_finfo_.c json_finfo.h |
| 373 | $(TCC) -o$@ -c json_finfo_.c |
| 374 | |
| 375 | json_finfo_.c : $(SRCDIR)\json_finfo.c |
| @@ -686,7 +693,7 @@ | |
| 686 | |
| 687 | zip_.c : $(SRCDIR)\zip.c |
| 688 | +translate$E $** > $@ |
| 689 | |
| 690 | headers: makeheaders$E page_index.h VERSION.h |
| 691 | +makeheaders$E add_.c:add.h allrepo_.c:allrepo.h attach_.c:attach.h bag_.c:bag.h bisect_.c:bisect.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 event_.c:event.h export_.c:export.h file_.c:file.h finfo_.c:finfo.h glob_.c:glob.h graph_.c:graph.h gzip_.c:gzip.h http_.c:http.h http_socket_.c:http_socket.h http_ssl_.c:http_ssl.h http_transport_.c:http_transport.h import_.c:import.h info_.c:info.h json_.c:json.h json_artifact_.c:json_artifact.h json_branch_.c:json_branch.h json_config_.c:json_config.h json_diff_.c:json_diff.h json_finfo_.c:json_finfo.h json_login_.c:json_login.h json_query_.c:json_query.h json_report_.c:json_report.h json_tag_.c:json_tag.h json_timeline_.c:json_timeline.h json_user_.c:json_user.h json_wiki_.c:json_wiki.h leaf_.c:leaf.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 path_.c:path.h pivot_.c:pivot.h popen_.c:popen.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 sqlcmd_.c:sqlcmd.h stash_.c:stash.h stat_.c:stat.h style_.c:style.h sync_.c:sync.h tag_.c:tag.h tar_.c:tar.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 xfersetup_.c:xfersetup.h zip_.c:zip.h $(SRCDIR)\sqlite3.h $(SRCDIR)\th.h VERSION.h $(SRCDIR)\cson_amalgamation.h |
| 692 | @copy /Y nul: headers |
| 693 |
| --- win/Makefile.dmc | |
| +++ win/Makefile.dmc | |
| @@ -26,13 +26,13 @@ | |
| 26 | TCC = $(DMDIR)\bin\dmc $(CFLAGS) $(DMCDEF) $(SSL) $(INCL) |
| 27 | LIBS = $(DMDIR)\extra\lib\ zlib wsock32 |
| 28 | |
| 29 | SQLITE_OPTIONS = -DSQLITE_OMIT_LOAD_EXTENSION=1 -DSQLITE_THREADSAFE=0 -DSQLITE_DEFAULT_FILE_FORMAT=4 -DSQLITE_ENABLE_STAT3 -Dlocaltime=fossil_localtime -DSQLITE_ENABLE_LOCKING_STYLE=0 |
| 30 | |
| 31 | SRC = add_.c allrepo_.c attach_.c bag_.c bisect_.c blob_.c branch_.c browse_.c captcha_.c cgi_.c checkin_.c checkout_.c clearsign_.c clone_.c comformat_.c configure_.c content_.c db_.c delta_.c deltacmd_.c descendants_.c diff_.c diffcmd_.c doc_.c encode_.c event_.c export_.c file_.c finfo_.c glob_.c graph_.c gzip_.c http_.c http_socket_.c http_ssl_.c http_transport_.c import_.c info_.c json_.c json_artifact_.c json_branch_.c json_config_.c json_diff_.c json_dir_.c json_finfo_.c json_login_.c json_query_.c json_report_.c json_tag_.c json_timeline_.c json_user_.c json_wiki_.c leaf_.c login_.c main_.c manifest_.c md5_.c merge_.c merge3_.c name_.c path_.c pivot_.c popen_.c pqueue_.c printf_.c rebuild_.c report_.c rss_.c schema_.c search_.c setup_.c sha1_.c shun_.c skins_.c sqlcmd_.c stash_.c stat_.c style_.c sync_.c tag_.c tar_.c th_main_.c timeline_.c tkt_.c tktsetup_.c undo_.c update_.c url_.c user_.c verify_.c vfile_.c wiki_.c wikiformat_.c winhttp_.c xfer_.c xfersetup_.c zip_.c |
| 32 | |
| 33 | OBJ = $(OBJDIR)\add$O $(OBJDIR)\allrepo$O $(OBJDIR)\attach$O $(OBJDIR)\bag$O $(OBJDIR)\bisect$O $(OBJDIR)\blob$O $(OBJDIR)\branch$O $(OBJDIR)\browse$O $(OBJDIR)\captcha$O $(OBJDIR)\cgi$O $(OBJDIR)\checkin$O $(OBJDIR)\checkout$O $(OBJDIR)\clearsign$O $(OBJDIR)\clone$O $(OBJDIR)\comformat$O $(OBJDIR)\configure$O $(OBJDIR)\content$O $(OBJDIR)\db$O $(OBJDIR)\delta$O $(OBJDIR)\deltacmd$O $(OBJDIR)\descendants$O $(OBJDIR)\diff$O $(OBJDIR)\diffcmd$O $(OBJDIR)\doc$O $(OBJDIR)\encode$O $(OBJDIR)\event$O $(OBJDIR)\export$O $(OBJDIR)\file$O $(OBJDIR)\finfo$O $(OBJDIR)\glob$O $(OBJDIR)\graph$O $(OBJDIR)\gzip$O $(OBJDIR)\http$O $(OBJDIR)\http_socket$O $(OBJDIR)\http_ssl$O $(OBJDIR)\http_transport$O $(OBJDIR)\import$O $(OBJDIR)\info$O $(OBJDIR)\json$O $(OBJDIR)\json_artifact$O $(OBJDIR)\json_branch$O $(OBJDIR)\json_config$O $(OBJDIR)\json_diff$O $(OBJDIR)\json_dir$O $(OBJDIR)\json_finfo$O $(OBJDIR)\json_login$O $(OBJDIR)\json_query$O $(OBJDIR)\json_report$O $(OBJDIR)\json_tag$O $(OBJDIR)\json_timeline$O $(OBJDIR)\json_user$O $(OBJDIR)\json_wiki$O $(OBJDIR)\leaf$O $(OBJDIR)\login$O $(OBJDIR)\main$O $(OBJDIR)\manifest$O $(OBJDIR)\md5$O $(OBJDIR)\merge$O $(OBJDIR)\merge3$O $(OBJDIR)\name$O $(OBJDIR)\path$O $(OBJDIR)\pivot$O $(OBJDIR)\popen$O $(OBJDIR)\pqueue$O $(OBJDIR)\printf$O $(OBJDIR)\rebuild$O $(OBJDIR)\report$O $(OBJDIR)\rss$O $(OBJDIR)\schema$O $(OBJDIR)\search$O $(OBJDIR)\setup$O $(OBJDIR)\sha1$O $(OBJDIR)\shun$O $(OBJDIR)\skins$O $(OBJDIR)\sqlcmd$O $(OBJDIR)\stash$O $(OBJDIR)\stat$O $(OBJDIR)\style$O $(OBJDIR)\sync$O $(OBJDIR)\tag$O $(OBJDIR)\tar$O $(OBJDIR)\th_main$O $(OBJDIR)\timeline$O $(OBJDIR)\tkt$O $(OBJDIR)\tktsetup$O $(OBJDIR)\undo$O $(OBJDIR)\update$O $(OBJDIR)\url$O $(OBJDIR)\user$O $(OBJDIR)\verify$O $(OBJDIR)\vfile$O $(OBJDIR)\wiki$O $(OBJDIR)\wikiformat$O $(OBJDIR)\winhttp$O $(OBJDIR)\xfer$O $(OBJDIR)\xfersetup$O $(OBJDIR)\zip$O $(OBJDIR)\shell$O $(OBJDIR)\sqlite3$O $(OBJDIR)\th$O $(OBJDIR)\th_lang$O |
| 34 | |
| 35 | |
| 36 | RC=$(DMDIR)\bin\rcc |
| 37 | RCFLAGS=-32 -w1 -I$(SRCDIR) /D__DMC__ |
| 38 | |
| @@ -46,11 +46,11 @@ | |
| 46 | |
| 47 | $(OBJDIR)\fossil.res: $B\win\fossil.rc |
| 48 | $(RC) $(RCFLAGS) -o$@ $** |
| 49 | |
| 50 | $(OBJDIR)\link: $B\win\Makefile.dmc $(OBJDIR)\fossil.res |
| 51 | +echo add allrepo attach bag bisect blob branch browse captcha cgi checkin checkout clearsign clone comformat configure content db delta deltacmd descendants diff diffcmd doc encode event export file finfo glob graph gzip http http_socket http_ssl http_transport import info json json_artifact json_branch json_config json_diff json_dir json_finfo json_login json_query json_report json_tag json_timeline json_user json_wiki leaf login main manifest md5 merge merge3 name path pivot popen pqueue printf rebuild report rss schema search setup sha1 shun skins sqlcmd stash stat style sync tag tar th_main timeline tkt tktsetup undo update url user verify vfile wiki wikiformat winhttp xfer xfersetup zip shell sqlite3 th th_lang > $@ |
| 52 | +echo fossil >> $@ |
| 53 | +echo fossil >> $@ |
| 54 | +echo $(LIBS) >> $@ |
| 55 | +echo. >> $@ |
| 56 | +echo fossil >> $@ |
| @@ -98,10 +98,11 @@ | |
| 98 | $(OBJDIR)\json$O : $(SRCDIR)\json_detail.h |
| 99 | $(OBJDIR)\json_artifact$O : $(SRCDIR)\json_detail.h |
| 100 | $(OBJDIR)\json_branch$O : $(SRCDIR)\json_detail.h |
| 101 | $(OBJDIR)\json_config$O : $(SRCDIR)\json_detail.h |
| 102 | $(OBJDIR)\json_diff$O : $(SRCDIR)\json_detail.h |
| 103 | $(OBJDIR)\json_dir$O : $(SRCDIR)\json_detail.h |
| 104 | $(OBJDIR)\json_finfo$O : $(SRCDIR)\json_detail.h |
| 105 | $(OBJDIR)\json_login$O : $(SRCDIR)\json_detail.h |
| 106 | $(OBJDIR)\json_query$O : $(SRCDIR)\json_detail.h |
| 107 | $(OBJDIR)\json_report$O : $(SRCDIR)\json_detail.h |
| 108 | $(OBJDIR)\json_tag$O : $(SRCDIR)\json_detail.h |
| @@ -366,10 +367,16 @@ | |
| 367 | $(OBJDIR)\json_diff$O : json_diff_.c json_diff.h |
| 368 | $(TCC) -o$@ -c json_diff_.c |
| 369 | |
| 370 | json_diff_.c : $(SRCDIR)\json_diff.c |
| 371 | +translate$E $** > $@ |
| 372 | |
| 373 | $(OBJDIR)\json_dir$O : json_dir_.c json_dir.h |
| 374 | $(TCC) -o$@ -c json_dir_.c |
| 375 | |
| 376 | json_dir_.c : $(SRCDIR)\json_dir.c |
| 377 | +translate$E $** > $@ |
| 378 | |
| 379 | $(OBJDIR)\json_finfo$O : json_finfo_.c json_finfo.h |
| 380 | $(TCC) -o$@ -c json_finfo_.c |
| 381 | |
| 382 | json_finfo_.c : $(SRCDIR)\json_finfo.c |
| @@ -686,7 +693,7 @@ | |
| 693 | |
| 694 | zip_.c : $(SRCDIR)\zip.c |
| 695 | +translate$E $** > $@ |
| 696 | |
| 697 | headers: makeheaders$E page_index.h VERSION.h |
| 698 | +makeheaders$E add_.c:add.h allrepo_.c:allrepo.h attach_.c:attach.h bag_.c:bag.h bisect_.c:bisect.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 event_.c:event.h export_.c:export.h file_.c:file.h finfo_.c:finfo.h glob_.c:glob.h graph_.c:graph.h gzip_.c:gzip.h http_.c:http.h http_socket_.c:http_socket.h http_ssl_.c:http_ssl.h http_transport_.c:http_transport.h import_.c:import.h info_.c:info.h json_.c:json.h json_artifact_.c:json_artifact.h json_branch_.c:json_branch.h json_config_.c:json_config.h json_diff_.c:json_diff.h json_dir_.c:json_dir.h json_finfo_.c:json_finfo.h json_login_.c:json_login.h json_query_.c:json_query.h json_report_.c:json_report.h json_tag_.c:json_tag.h json_timeline_.c:json_timeline.h json_user_.c:json_user.h json_wiki_.c:json_wiki.h leaf_.c:leaf.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 path_.c:path.h pivot_.c:pivot.h popen_.c:popen.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 sqlcmd_.c:sqlcmd.h stash_.c:stash.h stat_.c:stat.h style_.c:style.h sync_.c:sync.h tag_.c:tag.h tar_.c:tar.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 xfersetup_.c:xfersetup.h zip_.c:zip.h $(SRCDIR)\sqlite3.h $(SRCDIR)\th.h VERSION.h $(SRCDIR)\cson_amalgamation.h |
| 699 | @copy /Y nul: headers |
| 700 |
+12
-2
| --- win/Makefile.mingw | ||
| +++ win/Makefile.mingw | ||
| @@ -215,10 +215,11 @@ | ||
| 215 | 215 | $(SRCDIR)/json.c \ |
| 216 | 216 | $(SRCDIR)/json_artifact.c \ |
| 217 | 217 | $(SRCDIR)/json_branch.c \ |
| 218 | 218 | $(SRCDIR)/json_config.c \ |
| 219 | 219 | $(SRCDIR)/json_diff.c \ |
| 220 | + $(SRCDIR)/json_dir.c \ | |
| 220 | 221 | $(SRCDIR)/json_finfo.c \ |
| 221 | 222 | $(SRCDIR)/json_login.c \ |
| 222 | 223 | $(SRCDIR)/json_query.c \ |
| 223 | 224 | $(SRCDIR)/json_report.c \ |
| 224 | 225 | $(SRCDIR)/json_tag.c \ |
| @@ -313,10 +314,11 @@ | ||
| 313 | 314 | $(OBJDIR)/json_.c \ |
| 314 | 315 | $(OBJDIR)/json_artifact_.c \ |
| 315 | 316 | $(OBJDIR)/json_branch_.c \ |
| 316 | 317 | $(OBJDIR)/json_config_.c \ |
| 317 | 318 | $(OBJDIR)/json_diff_.c \ |
| 319 | + $(OBJDIR)/json_dir_.c \ | |
| 318 | 320 | $(OBJDIR)/json_finfo_.c \ |
| 319 | 321 | $(OBJDIR)/json_login_.c \ |
| 320 | 322 | $(OBJDIR)/json_query_.c \ |
| 321 | 323 | $(OBJDIR)/json_report_.c \ |
| 322 | 324 | $(OBJDIR)/json_tag_.c \ |
| @@ -411,10 +413,11 @@ | ||
| 411 | 413 | $(OBJDIR)/json.o \ |
| 412 | 414 | $(OBJDIR)/json_artifact.o \ |
| 413 | 415 | $(OBJDIR)/json_branch.o \ |
| 414 | 416 | $(OBJDIR)/json_config.o \ |
| 415 | 417 | $(OBJDIR)/json_diff.o \ |
| 418 | + $(OBJDIR)/json_dir.o \ | |
| 416 | 419 | $(OBJDIR)/json_finfo.o \ |
| 417 | 420 | $(OBJDIR)/json_login.o \ |
| 418 | 421 | $(OBJDIR)/json_query.o \ |
| 419 | 422 | $(OBJDIR)/json_report.o \ |
| 420 | 423 | $(OBJDIR)/json_tag.o \ |
| @@ -534,11 +537,11 @@ | ||
| 534 | 537 | |
| 535 | 538 | |
| 536 | 539 | $(OBJDIR)/page_index.h: $(TRANS_SRC) $(OBJDIR)/mkindex |
| 537 | 540 | $(MKINDEX) $(TRANS_SRC) >$@ |
| 538 | 541 | $(OBJDIR)/headers: $(OBJDIR)/page_index.h $(OBJDIR)/makeheaders $(OBJDIR)/VERSION.h |
| 539 | - $(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)/glob_.c:$(OBJDIR)/glob.h $(OBJDIR)/graph_.c:$(OBJDIR)/graph.h $(OBJDIR)/gzip_.c:$(OBJDIR)/gzip.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)/json_.c:$(OBJDIR)/json.h $(OBJDIR)/json_artifact_.c:$(OBJDIR)/json_artifact.h $(OBJDIR)/json_branch_.c:$(OBJDIR)/json_branch.h $(OBJDIR)/json_config_.c:$(OBJDIR)/json_config.h $(OBJDIR)/json_diff_.c:$(OBJDIR)/json_diff.h $(OBJDIR)/json_finfo_.c:$(OBJDIR)/json_finfo.h $(OBJDIR)/json_login_.c:$(OBJDIR)/json_login.h $(OBJDIR)/json_query_.c:$(OBJDIR)/json_query.h $(OBJDIR)/json_report_.c:$(OBJDIR)/json_report.h $(OBJDIR)/json_tag_.c:$(OBJDIR)/json_tag.h $(OBJDIR)/json_timeline_.c:$(OBJDIR)/json_timeline.h $(OBJDIR)/json_user_.c:$(OBJDIR)/json_user.h $(OBJDIR)/json_wiki_.c:$(OBJDIR)/json_wiki.h $(OBJDIR)/leaf_.c:$(OBJDIR)/leaf.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)/path_.c:$(OBJDIR)/path.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)/tar_.c:$(OBJDIR)/tar.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)/xfersetup_.c:$(OBJDIR)/xfersetup.h $(OBJDIR)/zip_.c:$(OBJDIR)/zip.h $(SRCDIR)/sqlite3.h $(SRCDIR)/th.h $(OBJDIR)/VERSION.h | |
| 542 | + $(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)/glob_.c:$(OBJDIR)/glob.h $(OBJDIR)/graph_.c:$(OBJDIR)/graph.h $(OBJDIR)/gzip_.c:$(OBJDIR)/gzip.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)/json_.c:$(OBJDIR)/json.h $(OBJDIR)/json_artifact_.c:$(OBJDIR)/json_artifact.h $(OBJDIR)/json_branch_.c:$(OBJDIR)/json_branch.h $(OBJDIR)/json_config_.c:$(OBJDIR)/json_config.h $(OBJDIR)/json_diff_.c:$(OBJDIR)/json_diff.h $(OBJDIR)/json_dir_.c:$(OBJDIR)/json_dir.h $(OBJDIR)/json_finfo_.c:$(OBJDIR)/json_finfo.h $(OBJDIR)/json_login_.c:$(OBJDIR)/json_login.h $(OBJDIR)/json_query_.c:$(OBJDIR)/json_query.h $(OBJDIR)/json_report_.c:$(OBJDIR)/json_report.h $(OBJDIR)/json_tag_.c:$(OBJDIR)/json_tag.h $(OBJDIR)/json_timeline_.c:$(OBJDIR)/json_timeline.h $(OBJDIR)/json_user_.c:$(OBJDIR)/json_user.h $(OBJDIR)/json_wiki_.c:$(OBJDIR)/json_wiki.h $(OBJDIR)/leaf_.c:$(OBJDIR)/leaf.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)/path_.c:$(OBJDIR)/path.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)/tar_.c:$(OBJDIR)/tar.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)/xfersetup_.c:$(OBJDIR)/xfersetup.h $(OBJDIR)/zip_.c:$(OBJDIR)/zip.h $(SRCDIR)/sqlite3.h $(SRCDIR)/th.h $(OBJDIR)/VERSION.h | |
| 540 | 543 | echo Done >$(OBJDIR)/headers |
| 541 | 544 | |
| 542 | 545 | $(OBJDIR)/headers: Makefile |
| 543 | 546 | Makefile: |
| 544 | 547 | $(OBJDIR)/add_.c: $(SRCDIR)/add.c $(OBJDIR)/translate |
| @@ -840,10 +843,17 @@ | ||
| 840 | 843 | |
| 841 | 844 | $(OBJDIR)/json_diff.o: $(OBJDIR)/json_diff_.c $(OBJDIR)/json_diff.h $(SRCDIR)/config.h |
| 842 | 845 | $(XTCC) -o $(OBJDIR)/json_diff.o -c $(OBJDIR)/json_diff_.c |
| 843 | 846 | |
| 844 | 847 | json_diff.h: $(OBJDIR)/headers |
| 848 | +$(OBJDIR)/json_dir_.c: $(SRCDIR)/json_dir.c $(OBJDIR)/translate | |
| 849 | + $(TRANSLATE) $(SRCDIR)/json_dir.c >$(OBJDIR)/json_dir_.c | |
| 850 | + | |
| 851 | +$(OBJDIR)/json_dir.o: $(OBJDIR)/json_dir_.c $(OBJDIR)/json_dir.h $(SRCDIR)/config.h | |
| 852 | + $(XTCC) -o $(OBJDIR)/json_dir.o -c $(OBJDIR)/json_dir_.c | |
| 853 | + | |
| 854 | +json_dir.h: $(OBJDIR)/headers | |
| 845 | 855 | $(OBJDIR)/json_finfo_.c: $(SRCDIR)/json_finfo.c $(OBJDIR)/translate |
| 846 | 856 | $(TRANSLATE) $(SRCDIR)/json_finfo.c >$(OBJDIR)/json_finfo_.c |
| 847 | 857 | |
| 848 | 858 | $(OBJDIR)/json_finfo.o: $(OBJDIR)/json_finfo_.c $(OBJDIR)/json_finfo.h $(SRCDIR)/config.h |
| 849 | 859 | $(XTCC) -o $(OBJDIR)/json_finfo.o -c $(OBJDIR)/json_finfo_.c |
| @@ -1217,11 +1227,11 @@ | ||
| 1217 | 1227 | $(XTCC) -DSQLITE_OMIT_LOAD_EXTENSION=1 -DSQLITE_THREADSAFE=0 -DSQLITE_DEFAULT_FILE_FORMAT=4 -DSQLITE_ENABLE_STAT3 -Dlocaltime=fossil_localtime -DSQLITE_ENABLE_LOCKING_STYLE=0 -c $(SRCDIR)/sqlite3.c -o $(OBJDIR)/sqlite3.o |
| 1218 | 1228 | |
| 1219 | 1229 | $(OBJDIR)/cson_amalgamation.o: $(SRCDIR)/cson_amalgamation.c |
| 1220 | 1230 | $(XTCC) -c $(SRCDIR)/cson_amalgamation.c -o $(OBJDIR)/cson_amalgamation.o -DCSON_FOSSIL_MODE |
| 1221 | 1231 | |
| 1222 | -$(OBJDIR)/json.o $(OBJDIR)/json_artifact.o $(OBJDIR)/json_branch.o $(OBJDIR)/json_config.o $(OBJDIR)/json_diff.o $(OBJDIR)/jsos_finfo.o $(OBJDIR)/json_login.o $(OBJDIR)/json_query.o $(OBJDIR)/json_report.o $(OBJDIR)/json_tag.o $(OBJDIR)/json_timeline.o $(OBJDIR)/json_user.o $(OBJDIR)/json_wiki.o : $(SRCDIR)/json_detail.h | |
| 1232 | +$(OBJDIR)/json.o $(OBJDIR)/json_artifact.o $(OBJDIR)/json_branch.o $(OBJDIR)/json_config.o $(OBJDIR)/json_diff.o $(OBJDIR)/json_dir.o $(OBJDIR)/jsos_finfo.o $(OBJDIR)/json_login.o $(OBJDIR)/json_query.o $(OBJDIR)/json_report.o $(OBJDIR)/json_tag.o $(OBJDIR)/json_timeline.o $(OBJDIR)/json_user.o $(OBJDIR)/json_wiki.o : $(SRCDIR)/json_detail.h | |
| 1223 | 1233 | |
| 1224 | 1234 | $(OBJDIR)/shell.o: $(SRCDIR)/shell.c $(SRCDIR)/sqlite3.h |
| 1225 | 1235 | $(XTCC) -Dmain=sqlite3_shell -DSQLITE_OMIT_LOAD_EXTENSION=1 -c $(SRCDIR)/shell.c -o $(OBJDIR)/shell.o |
| 1226 | 1236 | |
| 1227 | 1237 | $(OBJDIR)/th.o: $(SRCDIR)/th.c |
| 1228 | 1238 |
| --- win/Makefile.mingw | |
| +++ win/Makefile.mingw | |
| @@ -215,10 +215,11 @@ | |
| 215 | $(SRCDIR)/json.c \ |
| 216 | $(SRCDIR)/json_artifact.c \ |
| 217 | $(SRCDIR)/json_branch.c \ |
| 218 | $(SRCDIR)/json_config.c \ |
| 219 | $(SRCDIR)/json_diff.c \ |
| 220 | $(SRCDIR)/json_finfo.c \ |
| 221 | $(SRCDIR)/json_login.c \ |
| 222 | $(SRCDIR)/json_query.c \ |
| 223 | $(SRCDIR)/json_report.c \ |
| 224 | $(SRCDIR)/json_tag.c \ |
| @@ -313,10 +314,11 @@ | |
| 313 | $(OBJDIR)/json_.c \ |
| 314 | $(OBJDIR)/json_artifact_.c \ |
| 315 | $(OBJDIR)/json_branch_.c \ |
| 316 | $(OBJDIR)/json_config_.c \ |
| 317 | $(OBJDIR)/json_diff_.c \ |
| 318 | $(OBJDIR)/json_finfo_.c \ |
| 319 | $(OBJDIR)/json_login_.c \ |
| 320 | $(OBJDIR)/json_query_.c \ |
| 321 | $(OBJDIR)/json_report_.c \ |
| 322 | $(OBJDIR)/json_tag_.c \ |
| @@ -411,10 +413,11 @@ | |
| 411 | $(OBJDIR)/json.o \ |
| 412 | $(OBJDIR)/json_artifact.o \ |
| 413 | $(OBJDIR)/json_branch.o \ |
| 414 | $(OBJDIR)/json_config.o \ |
| 415 | $(OBJDIR)/json_diff.o \ |
| 416 | $(OBJDIR)/json_finfo.o \ |
| 417 | $(OBJDIR)/json_login.o \ |
| 418 | $(OBJDIR)/json_query.o \ |
| 419 | $(OBJDIR)/json_report.o \ |
| 420 | $(OBJDIR)/json_tag.o \ |
| @@ -534,11 +537,11 @@ | |
| 534 | |
| 535 | |
| 536 | $(OBJDIR)/page_index.h: $(TRANS_SRC) $(OBJDIR)/mkindex |
| 537 | $(MKINDEX) $(TRANS_SRC) >$@ |
| 538 | $(OBJDIR)/headers: $(OBJDIR)/page_index.h $(OBJDIR)/makeheaders $(OBJDIR)/VERSION.h |
| 539 | $(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)/glob_.c:$(OBJDIR)/glob.h $(OBJDIR)/graph_.c:$(OBJDIR)/graph.h $(OBJDIR)/gzip_.c:$(OBJDIR)/gzip.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)/json_.c:$(OBJDIR)/json.h $(OBJDIR)/json_artifact_.c:$(OBJDIR)/json_artifact.h $(OBJDIR)/json_branch_.c:$(OBJDIR)/json_branch.h $(OBJDIR)/json_config_.c:$(OBJDIR)/json_config.h $(OBJDIR)/json_diff_.c:$(OBJDIR)/json_diff.h $(OBJDIR)/json_finfo_.c:$(OBJDIR)/json_finfo.h $(OBJDIR)/json_login_.c:$(OBJDIR)/json_login.h $(OBJDIR)/json_query_.c:$(OBJDIR)/json_query.h $(OBJDIR)/json_report_.c:$(OBJDIR)/json_report.h $(OBJDIR)/json_tag_.c:$(OBJDIR)/json_tag.h $(OBJDIR)/json_timeline_.c:$(OBJDIR)/json_timeline.h $(OBJDIR)/json_user_.c:$(OBJDIR)/json_user.h $(OBJDIR)/json_wiki_.c:$(OBJDIR)/json_wiki.h $(OBJDIR)/leaf_.c:$(OBJDIR)/leaf.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)/path_.c:$(OBJDIR)/path.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)/tar_.c:$(OBJDIR)/tar.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)/xfersetup_.c:$(OBJDIR)/xfersetup.h $(OBJDIR)/zip_.c:$(OBJDIR)/zip.h $(SRCDIR)/sqlite3.h $(SRCDIR)/th.h $(OBJDIR)/VERSION.h |
| 540 | echo Done >$(OBJDIR)/headers |
| 541 | |
| 542 | $(OBJDIR)/headers: Makefile |
| 543 | Makefile: |
| 544 | $(OBJDIR)/add_.c: $(SRCDIR)/add.c $(OBJDIR)/translate |
| @@ -840,10 +843,17 @@ | |
| 840 | |
| 841 | $(OBJDIR)/json_diff.o: $(OBJDIR)/json_diff_.c $(OBJDIR)/json_diff.h $(SRCDIR)/config.h |
| 842 | $(XTCC) -o $(OBJDIR)/json_diff.o -c $(OBJDIR)/json_diff_.c |
| 843 | |
| 844 | json_diff.h: $(OBJDIR)/headers |
| 845 | $(OBJDIR)/json_finfo_.c: $(SRCDIR)/json_finfo.c $(OBJDIR)/translate |
| 846 | $(TRANSLATE) $(SRCDIR)/json_finfo.c >$(OBJDIR)/json_finfo_.c |
| 847 | |
| 848 | $(OBJDIR)/json_finfo.o: $(OBJDIR)/json_finfo_.c $(OBJDIR)/json_finfo.h $(SRCDIR)/config.h |
| 849 | $(XTCC) -o $(OBJDIR)/json_finfo.o -c $(OBJDIR)/json_finfo_.c |
| @@ -1217,11 +1227,11 @@ | |
| 1217 | $(XTCC) -DSQLITE_OMIT_LOAD_EXTENSION=1 -DSQLITE_THREADSAFE=0 -DSQLITE_DEFAULT_FILE_FORMAT=4 -DSQLITE_ENABLE_STAT3 -Dlocaltime=fossil_localtime -DSQLITE_ENABLE_LOCKING_STYLE=0 -c $(SRCDIR)/sqlite3.c -o $(OBJDIR)/sqlite3.o |
| 1218 | |
| 1219 | $(OBJDIR)/cson_amalgamation.o: $(SRCDIR)/cson_amalgamation.c |
| 1220 | $(XTCC) -c $(SRCDIR)/cson_amalgamation.c -o $(OBJDIR)/cson_amalgamation.o -DCSON_FOSSIL_MODE |
| 1221 | |
| 1222 | $(OBJDIR)/json.o $(OBJDIR)/json_artifact.o $(OBJDIR)/json_branch.o $(OBJDIR)/json_config.o $(OBJDIR)/json_diff.o $(OBJDIR)/jsos_finfo.o $(OBJDIR)/json_login.o $(OBJDIR)/json_query.o $(OBJDIR)/json_report.o $(OBJDIR)/json_tag.o $(OBJDIR)/json_timeline.o $(OBJDIR)/json_user.o $(OBJDIR)/json_wiki.o : $(SRCDIR)/json_detail.h |
| 1223 | |
| 1224 | $(OBJDIR)/shell.o: $(SRCDIR)/shell.c $(SRCDIR)/sqlite3.h |
| 1225 | $(XTCC) -Dmain=sqlite3_shell -DSQLITE_OMIT_LOAD_EXTENSION=1 -c $(SRCDIR)/shell.c -o $(OBJDIR)/shell.o |
| 1226 | |
| 1227 | $(OBJDIR)/th.o: $(SRCDIR)/th.c |
| 1228 |
| --- win/Makefile.mingw | |
| +++ win/Makefile.mingw | |
| @@ -215,10 +215,11 @@ | |
| 215 | $(SRCDIR)/json.c \ |
| 216 | $(SRCDIR)/json_artifact.c \ |
| 217 | $(SRCDIR)/json_branch.c \ |
| 218 | $(SRCDIR)/json_config.c \ |
| 219 | $(SRCDIR)/json_diff.c \ |
| 220 | $(SRCDIR)/json_dir.c \ |
| 221 | $(SRCDIR)/json_finfo.c \ |
| 222 | $(SRCDIR)/json_login.c \ |
| 223 | $(SRCDIR)/json_query.c \ |
| 224 | $(SRCDIR)/json_report.c \ |
| 225 | $(SRCDIR)/json_tag.c \ |
| @@ -313,10 +314,11 @@ | |
| 314 | $(OBJDIR)/json_.c \ |
| 315 | $(OBJDIR)/json_artifact_.c \ |
| 316 | $(OBJDIR)/json_branch_.c \ |
| 317 | $(OBJDIR)/json_config_.c \ |
| 318 | $(OBJDIR)/json_diff_.c \ |
| 319 | $(OBJDIR)/json_dir_.c \ |
| 320 | $(OBJDIR)/json_finfo_.c \ |
| 321 | $(OBJDIR)/json_login_.c \ |
| 322 | $(OBJDIR)/json_query_.c \ |
| 323 | $(OBJDIR)/json_report_.c \ |
| 324 | $(OBJDIR)/json_tag_.c \ |
| @@ -411,10 +413,11 @@ | |
| 413 | $(OBJDIR)/json.o \ |
| 414 | $(OBJDIR)/json_artifact.o \ |
| 415 | $(OBJDIR)/json_branch.o \ |
| 416 | $(OBJDIR)/json_config.o \ |
| 417 | $(OBJDIR)/json_diff.o \ |
| 418 | $(OBJDIR)/json_dir.o \ |
| 419 | $(OBJDIR)/json_finfo.o \ |
| 420 | $(OBJDIR)/json_login.o \ |
| 421 | $(OBJDIR)/json_query.o \ |
| 422 | $(OBJDIR)/json_report.o \ |
| 423 | $(OBJDIR)/json_tag.o \ |
| @@ -534,11 +537,11 @@ | |
| 537 | |
| 538 | |
| 539 | $(OBJDIR)/page_index.h: $(TRANS_SRC) $(OBJDIR)/mkindex |
| 540 | $(MKINDEX) $(TRANS_SRC) >$@ |
| 541 | $(OBJDIR)/headers: $(OBJDIR)/page_index.h $(OBJDIR)/makeheaders $(OBJDIR)/VERSION.h |
| 542 | $(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)/glob_.c:$(OBJDIR)/glob.h $(OBJDIR)/graph_.c:$(OBJDIR)/graph.h $(OBJDIR)/gzip_.c:$(OBJDIR)/gzip.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)/json_.c:$(OBJDIR)/json.h $(OBJDIR)/json_artifact_.c:$(OBJDIR)/json_artifact.h $(OBJDIR)/json_branch_.c:$(OBJDIR)/json_branch.h $(OBJDIR)/json_config_.c:$(OBJDIR)/json_config.h $(OBJDIR)/json_diff_.c:$(OBJDIR)/json_diff.h $(OBJDIR)/json_dir_.c:$(OBJDIR)/json_dir.h $(OBJDIR)/json_finfo_.c:$(OBJDIR)/json_finfo.h $(OBJDIR)/json_login_.c:$(OBJDIR)/json_login.h $(OBJDIR)/json_query_.c:$(OBJDIR)/json_query.h $(OBJDIR)/json_report_.c:$(OBJDIR)/json_report.h $(OBJDIR)/json_tag_.c:$(OBJDIR)/json_tag.h $(OBJDIR)/json_timeline_.c:$(OBJDIR)/json_timeline.h $(OBJDIR)/json_user_.c:$(OBJDIR)/json_user.h $(OBJDIR)/json_wiki_.c:$(OBJDIR)/json_wiki.h $(OBJDIR)/leaf_.c:$(OBJDIR)/leaf.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)/path_.c:$(OBJDIR)/path.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)/tar_.c:$(OBJDIR)/tar.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)/xfersetup_.c:$(OBJDIR)/xfersetup.h $(OBJDIR)/zip_.c:$(OBJDIR)/zip.h $(SRCDIR)/sqlite3.h $(SRCDIR)/th.h $(OBJDIR)/VERSION.h |
| 543 | echo Done >$(OBJDIR)/headers |
| 544 | |
| 545 | $(OBJDIR)/headers: Makefile |
| 546 | Makefile: |
| 547 | $(OBJDIR)/add_.c: $(SRCDIR)/add.c $(OBJDIR)/translate |
| @@ -840,10 +843,17 @@ | |
| 843 | |
| 844 | $(OBJDIR)/json_diff.o: $(OBJDIR)/json_diff_.c $(OBJDIR)/json_diff.h $(SRCDIR)/config.h |
| 845 | $(XTCC) -o $(OBJDIR)/json_diff.o -c $(OBJDIR)/json_diff_.c |
| 846 | |
| 847 | json_diff.h: $(OBJDIR)/headers |
| 848 | $(OBJDIR)/json_dir_.c: $(SRCDIR)/json_dir.c $(OBJDIR)/translate |
| 849 | $(TRANSLATE) $(SRCDIR)/json_dir.c >$(OBJDIR)/json_dir_.c |
| 850 | |
| 851 | $(OBJDIR)/json_dir.o: $(OBJDIR)/json_dir_.c $(OBJDIR)/json_dir.h $(SRCDIR)/config.h |
| 852 | $(XTCC) -o $(OBJDIR)/json_dir.o -c $(OBJDIR)/json_dir_.c |
| 853 | |
| 854 | json_dir.h: $(OBJDIR)/headers |
| 855 | $(OBJDIR)/json_finfo_.c: $(SRCDIR)/json_finfo.c $(OBJDIR)/translate |
| 856 | $(TRANSLATE) $(SRCDIR)/json_finfo.c >$(OBJDIR)/json_finfo_.c |
| 857 | |
| 858 | $(OBJDIR)/json_finfo.o: $(OBJDIR)/json_finfo_.c $(OBJDIR)/json_finfo.h $(SRCDIR)/config.h |
| 859 | $(XTCC) -o $(OBJDIR)/json_finfo.o -c $(OBJDIR)/json_finfo_.c |
| @@ -1217,11 +1227,11 @@ | |
| 1227 | $(XTCC) -DSQLITE_OMIT_LOAD_EXTENSION=1 -DSQLITE_THREADSAFE=0 -DSQLITE_DEFAULT_FILE_FORMAT=4 -DSQLITE_ENABLE_STAT3 -Dlocaltime=fossil_localtime -DSQLITE_ENABLE_LOCKING_STYLE=0 -c $(SRCDIR)/sqlite3.c -o $(OBJDIR)/sqlite3.o |
| 1228 | |
| 1229 | $(OBJDIR)/cson_amalgamation.o: $(SRCDIR)/cson_amalgamation.c |
| 1230 | $(XTCC) -c $(SRCDIR)/cson_amalgamation.c -o $(OBJDIR)/cson_amalgamation.o -DCSON_FOSSIL_MODE |
| 1231 | |
| 1232 | $(OBJDIR)/json.o $(OBJDIR)/json_artifact.o $(OBJDIR)/json_branch.o $(OBJDIR)/json_config.o $(OBJDIR)/json_diff.o $(OBJDIR)/json_dir.o $(OBJDIR)/jsos_finfo.o $(OBJDIR)/json_login.o $(OBJDIR)/json_query.o $(OBJDIR)/json_report.o $(OBJDIR)/json_tag.o $(OBJDIR)/json_timeline.o $(OBJDIR)/json_user.o $(OBJDIR)/json_wiki.o : $(SRCDIR)/json_detail.h |
| 1233 | |
| 1234 | $(OBJDIR)/shell.o: $(SRCDIR)/shell.c $(SRCDIR)/sqlite3.h |
| 1235 | $(XTCC) -Dmain=sqlite3_shell -DSQLITE_OMIT_LOAD_EXTENSION=1 -c $(SRCDIR)/shell.c -o $(OBJDIR)/shell.o |
| 1236 | |
| 1237 | $(OBJDIR)/th.o: $(SRCDIR)/th.c |
| 1238 |
+11
-3
| --- win/Makefile.msc | ||
| +++ win/Makefile.msc | ||
| @@ -40,13 +40,13 @@ | ||
| 40 | 40 | LIBS = $(ZLIB) ws2_32.lib advapi32.lib $(SSLLIB) |
| 41 | 41 | LIBDIR = -LIBPATH:$(MSCDIR)\extra\lib -LIBPATH:$(ZLIBDIR) |
| 42 | 42 | |
| 43 | 43 | SQLITE_OPTIONS = /DSQLITE_OMIT_LOAD_EXTENSION=1 /DSQLITE_THREADSAFE=0 /DSQLITE_DEFAULT_FILE_FORMAT=4 /DSQLITE_ENABLE_STAT3 /Dlocaltime=fossil_localtime /DSQLITE_ENABLE_LOCKING_STYLE=0 |
| 44 | 44 | |
| 45 | -SRC = add_.c allrepo_.c attach_.c bag_.c bisect_.c blob_.c branch_.c browse_.c captcha_.c cgi_.c checkin_.c checkout_.c clearsign_.c clone_.c comformat_.c configure_.c content_.c db_.c delta_.c deltacmd_.c descendants_.c diff_.c diffcmd_.c doc_.c encode_.c event_.c export_.c file_.c finfo_.c glob_.c graph_.c gzip_.c http_.c http_socket_.c http_ssl_.c http_transport_.c import_.c info_.c json_.c json_artifact_.c json_branch_.c json_config_.c json_diff_.c json_finfo_.c json_login_.c json_query_.c json_report_.c json_tag_.c json_timeline_.c json_user_.c json_wiki_.c leaf_.c login_.c main_.c manifest_.c md5_.c merge_.c merge3_.c name_.c path_.c pivot_.c popen_.c pqueue_.c printf_.c rebuild_.c report_.c rss_.c schema_.c search_.c setup_.c sha1_.c shun_.c skins_.c sqlcmd_.c stash_.c stat_.c style_.c sync_.c tag_.c tar_.c th_main_.c timeline_.c tkt_.c tktsetup_.c undo_.c update_.c url_.c user_.c verify_.c vfile_.c wiki_.c wikiformat_.c winhttp_.c xfer_.c xfersetup_.c zip_.c | |
| 45 | +SRC = add_.c allrepo_.c attach_.c bag_.c bisect_.c blob_.c branch_.c browse_.c captcha_.c cgi_.c checkin_.c checkout_.c clearsign_.c clone_.c comformat_.c configure_.c content_.c db_.c delta_.c deltacmd_.c descendants_.c diff_.c diffcmd_.c doc_.c encode_.c event_.c export_.c file_.c finfo_.c glob_.c graph_.c gzip_.c http_.c http_socket_.c http_ssl_.c http_transport_.c import_.c info_.c json_.c json_artifact_.c json_branch_.c json_config_.c json_diff_.c json_dir_.c json_finfo_.c json_login_.c json_query_.c json_report_.c json_tag_.c json_timeline_.c json_user_.c json_wiki_.c leaf_.c login_.c main_.c manifest_.c md5_.c merge_.c merge3_.c name_.c path_.c pivot_.c popen_.c pqueue_.c printf_.c rebuild_.c report_.c rss_.c schema_.c search_.c setup_.c sha1_.c shun_.c skins_.c sqlcmd_.c stash_.c stat_.c style_.c sync_.c tag_.c tar_.c th_main_.c timeline_.c tkt_.c tktsetup_.c undo_.c update_.c url_.c user_.c verify_.c vfile_.c wiki_.c wikiformat_.c winhttp_.c xfer_.c xfersetup_.c zip_.c | |
| 46 | 46 | |
| 47 | -OBJ = $(OX)\add$O $(OX)\allrepo$O $(OX)\attach$O $(OX)\bag$O $(OX)\bisect$O $(OX)\blob$O $(OX)\branch$O $(OX)\browse$O $(OX)\captcha$O $(OX)\cgi$O $(OX)\checkin$O $(OX)\checkout$O $(OX)\clearsign$O $(OX)\clone$O $(OX)\comformat$O $(OX)\configure$O $(OX)\content$O $(OX)\db$O $(OX)\delta$O $(OX)\deltacmd$O $(OX)\descendants$O $(OX)\diff$O $(OX)\diffcmd$O $(OX)\doc$O $(OX)\encode$O $(OX)\event$O $(OX)\export$O $(OX)\file$O $(OX)\finfo$O $(OX)\glob$O $(OX)\graph$O $(OX)\gzip$O $(OX)\http$O $(OX)\http_socket$O $(OX)\http_ssl$O $(OX)\http_transport$O $(OX)\import$O $(OX)\info$O $(OX)\json$O $(OX)\json_artifact$O $(OX)\json_branch$O $(OX)\json_config$O $(OX)\json_diff$O $(OX)\json_finfo$O $(OX)\json_login$O $(OX)\json_query$O $(OX)\json_report$O $(OX)\json_tag$O $(OX)\json_timeline$O $(OX)\json_user$O $(OX)\json_wiki$O $(OX)\leaf$O $(OX)\login$O $(OX)\main$O $(OX)\manifest$O $(OX)\md5$O $(OX)\merge$O $(OX)\merge3$O $(OX)\name$O $(OX)\path$O $(OX)\pivot$O $(OX)\popen$O $(OX)\pqueue$O $(OX)\printf$O $(OX)\rebuild$O $(OX)\report$O $(OX)\rss$O $(OX)\schema$O $(OX)\search$O $(OX)\setup$O $(OX)\sha1$O $(OX)\shun$O $(OX)\skins$O $(OX)\sqlcmd$O $(OX)\stash$O $(OX)\stat$O $(OX)\style$O $(OX)\sync$O $(OX)\tag$O $(OX)\tar$O $(OX)\th_main$O $(OX)\timeline$O $(OX)\tkt$O $(OX)\tktsetup$O $(OX)\undo$O $(OX)\update$O $(OX)\url$O $(OX)\user$O $(OX)\verify$O $(OX)\vfile$O $(OX)\wiki$O $(OX)\wikiformat$O $(OX)\winhttp$O $(OX)\xfer$O $(OX)\xfersetup$O $(OX)\zip$O $(OX)\shell$O $(OX)\sqlite3$O $(OX)\th$O $(OX)\th_lang$O | |
| 47 | +OBJ = $(OX)\add$O $(OX)\allrepo$O $(OX)\attach$O $(OX)\bag$O $(OX)\bisect$O $(OX)\blob$O $(OX)\branch$O $(OX)\browse$O $(OX)\captcha$O $(OX)\cgi$O $(OX)\checkin$O $(OX)\checkout$O $(OX)\clearsign$O $(OX)\clone$O $(OX)\comformat$O $(OX)\configure$O $(OX)\content$O $(OX)\db$O $(OX)\delta$O $(OX)\deltacmd$O $(OX)\descendants$O $(OX)\diff$O $(OX)\diffcmd$O $(OX)\doc$O $(OX)\encode$O $(OX)\event$O $(OX)\export$O $(OX)\file$O $(OX)\finfo$O $(OX)\glob$O $(OX)\graph$O $(OX)\gzip$O $(OX)\http$O $(OX)\http_socket$O $(OX)\http_ssl$O $(OX)\http_transport$O $(OX)\import$O $(OX)\info$O $(OX)\json$O $(OX)\json_artifact$O $(OX)\json_branch$O $(OX)\json_config$O $(OX)\json_diff$O $(OX)\json_dir$O $(OX)\json_finfo$O $(OX)\json_login$O $(OX)\json_query$O $(OX)\json_report$O $(OX)\json_tag$O $(OX)\json_timeline$O $(OX)\json_user$O $(OX)\json_wiki$O $(OX)\leaf$O $(OX)\login$O $(OX)\main$O $(OX)\manifest$O $(OX)\md5$O $(OX)\merge$O $(OX)\merge3$O $(OX)\name$O $(OX)\path$O $(OX)\pivot$O $(OX)\popen$O $(OX)\pqueue$O $(OX)\printf$O $(OX)\rebuild$O $(OX)\report$O $(OX)\rss$O $(OX)\schema$O $(OX)\search$O $(OX)\setup$O $(OX)\sha1$O $(OX)\shun$O $(OX)\skins$O $(OX)\sqlcmd$O $(OX)\stash$O $(OX)\stat$O $(OX)\style$O $(OX)\sync$O $(OX)\tag$O $(OX)\tar$O $(OX)\th_main$O $(OX)\timeline$O $(OX)\tkt$O $(OX)\tktsetup$O $(OX)\undo$O $(OX)\update$O $(OX)\url$O $(OX)\user$O $(OX)\verify$O $(OX)\vfile$O $(OX)\wiki$O $(OX)\wikiformat$O $(OX)\winhttp$O $(OX)\xfer$O $(OX)\xfersetup$O $(OX)\zip$O $(OX)\shell$O $(OX)\sqlite3$O $(OX)\th$O $(OX)\th_lang$O | |
| 48 | 48 | |
| 49 | 49 | |
| 50 | 50 | APPNAME = $(OX)\fossil$(E) |
| 51 | 51 | |
| 52 | 52 | all: $(OX) $(APPNAME) |
| @@ -97,10 +97,11 @@ | ||
| 97 | 97 | echo $(OX)\json.obj >> $@ |
| 98 | 98 | echo $(OX)\json_artifact.obj >> $@ |
| 99 | 99 | echo $(OX)\json_branch.obj >> $@ |
| 100 | 100 | echo $(OX)\json_config.obj >> $@ |
| 101 | 101 | echo $(OX)\json_diff.obj >> $@ |
| 102 | + echo $(OX)\json_dir.obj >> $@ | |
| 102 | 103 | echo $(OX)\json_finfo.obj >> $@ |
| 103 | 104 | echo $(OX)\json_login.obj >> $@ |
| 104 | 105 | echo $(OX)\json_query.obj >> $@ |
| 105 | 106 | echo $(OX)\json_report.obj >> $@ |
| 106 | 107 | echo $(OX)\json_tag.obj >> $@ |
| @@ -207,10 +208,11 @@ | ||
| 207 | 208 | $(OBJDIR)\json$O : $(SRCDIR)\json_detail.h |
| 208 | 209 | $(OBJDIR)\json_artifact$O : $(SRCDIR)\json_detail.h |
| 209 | 210 | $(OBJDIR)\json_branch$O : $(SRCDIR)\json_detail.h |
| 210 | 211 | $(OBJDIR)\json_config$O : $(SRCDIR)\json_detail.h |
| 211 | 212 | $(OBJDIR)\json_diff$O : $(SRCDIR)\json_detail.h |
| 213 | +$(OBJDIR)\json_dir$O : $(SRCDIR)\json_detail.h | |
| 212 | 214 | $(OBJDIR)\json_finfo$O : $(SRCDIR)\json_detail.h |
| 213 | 215 | $(OBJDIR)\json_login$O : $(SRCDIR)\json_detail.h |
| 214 | 216 | $(OBJDIR)\json_query$O : $(SRCDIR)\json_detail.h |
| 215 | 217 | $(OBJDIR)\json_report$O : $(SRCDIR)\json_detail.h |
| 216 | 218 | $(OBJDIR)\json_tag$O : $(SRCDIR)\json_detail.h |
| @@ -474,10 +476,16 @@ | ||
| 474 | 476 | $(OX)\json_diff$O : json_diff_.c json_diff.h |
| 475 | 477 | $(TCC) /Fo$@ -c json_diff_.c |
| 476 | 478 | |
| 477 | 479 | json_diff_.c : $(SRCDIR)\json_diff.c |
| 478 | 480 | translate$E $** > $@ |
| 481 | + | |
| 482 | +$(OX)\json_dir$O : json_dir_.c json_dir.h | |
| 483 | + $(TCC) /Fo$@ -c json_dir_.c | |
| 484 | + | |
| 485 | +json_dir_.c : $(SRCDIR)\json_dir.c | |
| 486 | + translate$E $** > $@ | |
| 479 | 487 | |
| 480 | 488 | $(OX)\json_finfo$O : json_finfo_.c json_finfo.h |
| 481 | 489 | $(TCC) /Fo$@ -c json_finfo_.c |
| 482 | 490 | |
| 483 | 491 | json_finfo_.c : $(SRCDIR)\json_finfo.c |
| @@ -794,7 +802,7 @@ | ||
| 794 | 802 | |
| 795 | 803 | zip_.c : $(SRCDIR)\zip.c |
| 796 | 804 | translate$E $** > $@ |
| 797 | 805 | |
| 798 | 806 | headers: makeheaders$E page_index.h VERSION.h |
| 799 | - makeheaders$E add_.c:add.h allrepo_.c:allrepo.h attach_.c:attach.h bag_.c:bag.h bisect_.c:bisect.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 event_.c:event.h export_.c:export.h file_.c:file.h finfo_.c:finfo.h glob_.c:glob.h graph_.c:graph.h gzip_.c:gzip.h http_.c:http.h http_socket_.c:http_socket.h http_ssl_.c:http_ssl.h http_transport_.c:http_transport.h import_.c:import.h info_.c:info.h json_.c:json.h json_artifact_.c:json_artifact.h json_branch_.c:json_branch.h json_config_.c:json_config.h json_diff_.c:json_diff.h json_finfo_.c:json_finfo.h json_login_.c:json_login.h json_query_.c:json_query.h json_report_.c:json_report.h json_tag_.c:json_tag.h json_timeline_.c:json_timeline.h json_user_.c:json_user.h json_wiki_.c:json_wiki.h leaf_.c:leaf.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 path_.c:path.h pivot_.c:pivot.h popen_.c:popen.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 sqlcmd_.c:sqlcmd.h stash_.c:stash.h stat_.c:stat.h style_.c:style.h sync_.c:sync.h tag_.c:tag.h tar_.c:tar.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 xfersetup_.c:xfersetup.h zip_.c:zip.h $(SRCDIR)\sqlite3.h $(SRCDIR)\th.h VERSION.h $(SRCDIR)\cson_amalgamation.h | |
| 807 | + makeheaders$E add_.c:add.h allrepo_.c:allrepo.h attach_.c:attach.h bag_.c:bag.h bisect_.c:bisect.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 event_.c:event.h export_.c:export.h file_.c:file.h finfo_.c:finfo.h glob_.c:glob.h graph_.c:graph.h gzip_.c:gzip.h http_.c:http.h http_socket_.c:http_socket.h http_ssl_.c:http_ssl.h http_transport_.c:http_transport.h import_.c:import.h info_.c:info.h json_.c:json.h json_artifact_.c:json_artifact.h json_branch_.c:json_branch.h json_config_.c:json_config.h json_diff_.c:json_diff.h json_dir_.c:json_dir.h json_finfo_.c:json_finfo.h json_login_.c:json_login.h json_query_.c:json_query.h json_report_.c:json_report.h json_tag_.c:json_tag.h json_timeline_.c:json_timeline.h json_user_.c:json_user.h json_wiki_.c:json_wiki.h leaf_.c:leaf.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 path_.c:path.h pivot_.c:pivot.h popen_.c:popen.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 sqlcmd_.c:sqlcmd.h stash_.c:stash.h stat_.c:stat.h style_.c:style.h sync_.c:sync.h tag_.c:tag.h tar_.c:tar.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 xfersetup_.c:xfersetup.h zip_.c:zip.h $(SRCDIR)\sqlite3.h $(SRCDIR)\th.h VERSION.h $(SRCDIR)\cson_amalgamation.h | |
| 800 | 808 | @copy /Y nul: headers |
| 801 | 809 |
| --- win/Makefile.msc | |
| +++ win/Makefile.msc | |
| @@ -40,13 +40,13 @@ | |
| 40 | LIBS = $(ZLIB) ws2_32.lib advapi32.lib $(SSLLIB) |
| 41 | LIBDIR = -LIBPATH:$(MSCDIR)\extra\lib -LIBPATH:$(ZLIBDIR) |
| 42 | |
| 43 | SQLITE_OPTIONS = /DSQLITE_OMIT_LOAD_EXTENSION=1 /DSQLITE_THREADSAFE=0 /DSQLITE_DEFAULT_FILE_FORMAT=4 /DSQLITE_ENABLE_STAT3 /Dlocaltime=fossil_localtime /DSQLITE_ENABLE_LOCKING_STYLE=0 |
| 44 | |
| 45 | SRC = add_.c allrepo_.c attach_.c bag_.c bisect_.c blob_.c branch_.c browse_.c captcha_.c cgi_.c checkin_.c checkout_.c clearsign_.c clone_.c comformat_.c configure_.c content_.c db_.c delta_.c deltacmd_.c descendants_.c diff_.c diffcmd_.c doc_.c encode_.c event_.c export_.c file_.c finfo_.c glob_.c graph_.c gzip_.c http_.c http_socket_.c http_ssl_.c http_transport_.c import_.c info_.c json_.c json_artifact_.c json_branch_.c json_config_.c json_diff_.c json_finfo_.c json_login_.c json_query_.c json_report_.c json_tag_.c json_timeline_.c json_user_.c json_wiki_.c leaf_.c login_.c main_.c manifest_.c md5_.c merge_.c merge3_.c name_.c path_.c pivot_.c popen_.c pqueue_.c printf_.c rebuild_.c report_.c rss_.c schema_.c search_.c setup_.c sha1_.c shun_.c skins_.c sqlcmd_.c stash_.c stat_.c style_.c sync_.c tag_.c tar_.c th_main_.c timeline_.c tkt_.c tktsetup_.c undo_.c update_.c url_.c user_.c verify_.c vfile_.c wiki_.c wikiformat_.c winhttp_.c xfer_.c xfersetup_.c zip_.c |
| 46 | |
| 47 | OBJ = $(OX)\add$O $(OX)\allrepo$O $(OX)\attach$O $(OX)\bag$O $(OX)\bisect$O $(OX)\blob$O $(OX)\branch$O $(OX)\browse$O $(OX)\captcha$O $(OX)\cgi$O $(OX)\checkin$O $(OX)\checkout$O $(OX)\clearsign$O $(OX)\clone$O $(OX)\comformat$O $(OX)\configure$O $(OX)\content$O $(OX)\db$O $(OX)\delta$O $(OX)\deltacmd$O $(OX)\descendants$O $(OX)\diff$O $(OX)\diffcmd$O $(OX)\doc$O $(OX)\encode$O $(OX)\event$O $(OX)\export$O $(OX)\file$O $(OX)\finfo$O $(OX)\glob$O $(OX)\graph$O $(OX)\gzip$O $(OX)\http$O $(OX)\http_socket$O $(OX)\http_ssl$O $(OX)\http_transport$O $(OX)\import$O $(OX)\info$O $(OX)\json$O $(OX)\json_artifact$O $(OX)\json_branch$O $(OX)\json_config$O $(OX)\json_diff$O $(OX)\json_finfo$O $(OX)\json_login$O $(OX)\json_query$O $(OX)\json_report$O $(OX)\json_tag$O $(OX)\json_timeline$O $(OX)\json_user$O $(OX)\json_wiki$O $(OX)\leaf$O $(OX)\login$O $(OX)\main$O $(OX)\manifest$O $(OX)\md5$O $(OX)\merge$O $(OX)\merge3$O $(OX)\name$O $(OX)\path$O $(OX)\pivot$O $(OX)\popen$O $(OX)\pqueue$O $(OX)\printf$O $(OX)\rebuild$O $(OX)\report$O $(OX)\rss$O $(OX)\schema$O $(OX)\search$O $(OX)\setup$O $(OX)\sha1$O $(OX)\shun$O $(OX)\skins$O $(OX)\sqlcmd$O $(OX)\stash$O $(OX)\stat$O $(OX)\style$O $(OX)\sync$O $(OX)\tag$O $(OX)\tar$O $(OX)\th_main$O $(OX)\timeline$O $(OX)\tkt$O $(OX)\tktsetup$O $(OX)\undo$O $(OX)\update$O $(OX)\url$O $(OX)\user$O $(OX)\verify$O $(OX)\vfile$O $(OX)\wiki$O $(OX)\wikiformat$O $(OX)\winhttp$O $(OX)\xfer$O $(OX)\xfersetup$O $(OX)\zip$O $(OX)\shell$O $(OX)\sqlite3$O $(OX)\th$O $(OX)\th_lang$O |
| 48 | |
| 49 | |
| 50 | APPNAME = $(OX)\fossil$(E) |
| 51 | |
| 52 | all: $(OX) $(APPNAME) |
| @@ -97,10 +97,11 @@ | |
| 97 | echo $(OX)\json.obj >> $@ |
| 98 | echo $(OX)\json_artifact.obj >> $@ |
| 99 | echo $(OX)\json_branch.obj >> $@ |
| 100 | echo $(OX)\json_config.obj >> $@ |
| 101 | echo $(OX)\json_diff.obj >> $@ |
| 102 | echo $(OX)\json_finfo.obj >> $@ |
| 103 | echo $(OX)\json_login.obj >> $@ |
| 104 | echo $(OX)\json_query.obj >> $@ |
| 105 | echo $(OX)\json_report.obj >> $@ |
| 106 | echo $(OX)\json_tag.obj >> $@ |
| @@ -207,10 +208,11 @@ | |
| 207 | $(OBJDIR)\json$O : $(SRCDIR)\json_detail.h |
| 208 | $(OBJDIR)\json_artifact$O : $(SRCDIR)\json_detail.h |
| 209 | $(OBJDIR)\json_branch$O : $(SRCDIR)\json_detail.h |
| 210 | $(OBJDIR)\json_config$O : $(SRCDIR)\json_detail.h |
| 211 | $(OBJDIR)\json_diff$O : $(SRCDIR)\json_detail.h |
| 212 | $(OBJDIR)\json_finfo$O : $(SRCDIR)\json_detail.h |
| 213 | $(OBJDIR)\json_login$O : $(SRCDIR)\json_detail.h |
| 214 | $(OBJDIR)\json_query$O : $(SRCDIR)\json_detail.h |
| 215 | $(OBJDIR)\json_report$O : $(SRCDIR)\json_detail.h |
| 216 | $(OBJDIR)\json_tag$O : $(SRCDIR)\json_detail.h |
| @@ -474,10 +476,16 @@ | |
| 474 | $(OX)\json_diff$O : json_diff_.c json_diff.h |
| 475 | $(TCC) /Fo$@ -c json_diff_.c |
| 476 | |
| 477 | json_diff_.c : $(SRCDIR)\json_diff.c |
| 478 | translate$E $** > $@ |
| 479 | |
| 480 | $(OX)\json_finfo$O : json_finfo_.c json_finfo.h |
| 481 | $(TCC) /Fo$@ -c json_finfo_.c |
| 482 | |
| 483 | json_finfo_.c : $(SRCDIR)\json_finfo.c |
| @@ -794,7 +802,7 @@ | |
| 794 | |
| 795 | zip_.c : $(SRCDIR)\zip.c |
| 796 | translate$E $** > $@ |
| 797 | |
| 798 | headers: makeheaders$E page_index.h VERSION.h |
| 799 | makeheaders$E add_.c:add.h allrepo_.c:allrepo.h attach_.c:attach.h bag_.c:bag.h bisect_.c:bisect.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 event_.c:event.h export_.c:export.h file_.c:file.h finfo_.c:finfo.h glob_.c:glob.h graph_.c:graph.h gzip_.c:gzip.h http_.c:http.h http_socket_.c:http_socket.h http_ssl_.c:http_ssl.h http_transport_.c:http_transport.h import_.c:import.h info_.c:info.h json_.c:json.h json_artifact_.c:json_artifact.h json_branch_.c:json_branch.h json_config_.c:json_config.h json_diff_.c:json_diff.h json_finfo_.c:json_finfo.h json_login_.c:json_login.h json_query_.c:json_query.h json_report_.c:json_report.h json_tag_.c:json_tag.h json_timeline_.c:json_timeline.h json_user_.c:json_user.h json_wiki_.c:json_wiki.h leaf_.c:leaf.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 path_.c:path.h pivot_.c:pivot.h popen_.c:popen.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 sqlcmd_.c:sqlcmd.h stash_.c:stash.h stat_.c:stat.h style_.c:style.h sync_.c:sync.h tag_.c:tag.h tar_.c:tar.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 xfersetup_.c:xfersetup.h zip_.c:zip.h $(SRCDIR)\sqlite3.h $(SRCDIR)\th.h VERSION.h $(SRCDIR)\cson_amalgamation.h |
| 800 | @copy /Y nul: headers |
| 801 |
| --- win/Makefile.msc | |
| +++ win/Makefile.msc | |
| @@ -40,13 +40,13 @@ | |
| 40 | LIBS = $(ZLIB) ws2_32.lib advapi32.lib $(SSLLIB) |
| 41 | LIBDIR = -LIBPATH:$(MSCDIR)\extra\lib -LIBPATH:$(ZLIBDIR) |
| 42 | |
| 43 | SQLITE_OPTIONS = /DSQLITE_OMIT_LOAD_EXTENSION=1 /DSQLITE_THREADSAFE=0 /DSQLITE_DEFAULT_FILE_FORMAT=4 /DSQLITE_ENABLE_STAT3 /Dlocaltime=fossil_localtime /DSQLITE_ENABLE_LOCKING_STYLE=0 |
| 44 | |
| 45 | SRC = add_.c allrepo_.c attach_.c bag_.c bisect_.c blob_.c branch_.c browse_.c captcha_.c cgi_.c checkin_.c checkout_.c clearsign_.c clone_.c comformat_.c configure_.c content_.c db_.c delta_.c deltacmd_.c descendants_.c diff_.c diffcmd_.c doc_.c encode_.c event_.c export_.c file_.c finfo_.c glob_.c graph_.c gzip_.c http_.c http_socket_.c http_ssl_.c http_transport_.c import_.c info_.c json_.c json_artifact_.c json_branch_.c json_config_.c json_diff_.c json_dir_.c json_finfo_.c json_login_.c json_query_.c json_report_.c json_tag_.c json_timeline_.c json_user_.c json_wiki_.c leaf_.c login_.c main_.c manifest_.c md5_.c merge_.c merge3_.c name_.c path_.c pivot_.c popen_.c pqueue_.c printf_.c rebuild_.c report_.c rss_.c schema_.c search_.c setup_.c sha1_.c shun_.c skins_.c sqlcmd_.c stash_.c stat_.c style_.c sync_.c tag_.c tar_.c th_main_.c timeline_.c tkt_.c tktsetup_.c undo_.c update_.c url_.c user_.c verify_.c vfile_.c wiki_.c wikiformat_.c winhttp_.c xfer_.c xfersetup_.c zip_.c |
| 46 | |
| 47 | OBJ = $(OX)\add$O $(OX)\allrepo$O $(OX)\attach$O $(OX)\bag$O $(OX)\bisect$O $(OX)\blob$O $(OX)\branch$O $(OX)\browse$O $(OX)\captcha$O $(OX)\cgi$O $(OX)\checkin$O $(OX)\checkout$O $(OX)\clearsign$O $(OX)\clone$O $(OX)\comformat$O $(OX)\configure$O $(OX)\content$O $(OX)\db$O $(OX)\delta$O $(OX)\deltacmd$O $(OX)\descendants$O $(OX)\diff$O $(OX)\diffcmd$O $(OX)\doc$O $(OX)\encode$O $(OX)\event$O $(OX)\export$O $(OX)\file$O $(OX)\finfo$O $(OX)\glob$O $(OX)\graph$O $(OX)\gzip$O $(OX)\http$O $(OX)\http_socket$O $(OX)\http_ssl$O $(OX)\http_transport$O $(OX)\import$O $(OX)\info$O $(OX)\json$O $(OX)\json_artifact$O $(OX)\json_branch$O $(OX)\json_config$O $(OX)\json_diff$O $(OX)\json_dir$O $(OX)\json_finfo$O $(OX)\json_login$O $(OX)\json_query$O $(OX)\json_report$O $(OX)\json_tag$O $(OX)\json_timeline$O $(OX)\json_user$O $(OX)\json_wiki$O $(OX)\leaf$O $(OX)\login$O $(OX)\main$O $(OX)\manifest$O $(OX)\md5$O $(OX)\merge$O $(OX)\merge3$O $(OX)\name$O $(OX)\path$O $(OX)\pivot$O $(OX)\popen$O $(OX)\pqueue$O $(OX)\printf$O $(OX)\rebuild$O $(OX)\report$O $(OX)\rss$O $(OX)\schema$O $(OX)\search$O $(OX)\setup$O $(OX)\sha1$O $(OX)\shun$O $(OX)\skins$O $(OX)\sqlcmd$O $(OX)\stash$O $(OX)\stat$O $(OX)\style$O $(OX)\sync$O $(OX)\tag$O $(OX)\tar$O $(OX)\th_main$O $(OX)\timeline$O $(OX)\tkt$O $(OX)\tktsetup$O $(OX)\undo$O $(OX)\update$O $(OX)\url$O $(OX)\user$O $(OX)\verify$O $(OX)\vfile$O $(OX)\wiki$O $(OX)\wikiformat$O $(OX)\winhttp$O $(OX)\xfer$O $(OX)\xfersetup$O $(OX)\zip$O $(OX)\shell$O $(OX)\sqlite3$O $(OX)\th$O $(OX)\th_lang$O |
| 48 | |
| 49 | |
| 50 | APPNAME = $(OX)\fossil$(E) |
| 51 | |
| 52 | all: $(OX) $(APPNAME) |
| @@ -97,10 +97,11 @@ | |
| 97 | echo $(OX)\json.obj >> $@ |
| 98 | echo $(OX)\json_artifact.obj >> $@ |
| 99 | echo $(OX)\json_branch.obj >> $@ |
| 100 | echo $(OX)\json_config.obj >> $@ |
| 101 | echo $(OX)\json_diff.obj >> $@ |
| 102 | echo $(OX)\json_dir.obj >> $@ |
| 103 | echo $(OX)\json_finfo.obj >> $@ |
| 104 | echo $(OX)\json_login.obj >> $@ |
| 105 | echo $(OX)\json_query.obj >> $@ |
| 106 | echo $(OX)\json_report.obj >> $@ |
| 107 | echo $(OX)\json_tag.obj >> $@ |
| @@ -207,10 +208,11 @@ | |
| 208 | $(OBJDIR)\json$O : $(SRCDIR)\json_detail.h |
| 209 | $(OBJDIR)\json_artifact$O : $(SRCDIR)\json_detail.h |
| 210 | $(OBJDIR)\json_branch$O : $(SRCDIR)\json_detail.h |
| 211 | $(OBJDIR)\json_config$O : $(SRCDIR)\json_detail.h |
| 212 | $(OBJDIR)\json_diff$O : $(SRCDIR)\json_detail.h |
| 213 | $(OBJDIR)\json_dir$O : $(SRCDIR)\json_detail.h |
| 214 | $(OBJDIR)\json_finfo$O : $(SRCDIR)\json_detail.h |
| 215 | $(OBJDIR)\json_login$O : $(SRCDIR)\json_detail.h |
| 216 | $(OBJDIR)\json_query$O : $(SRCDIR)\json_detail.h |
| 217 | $(OBJDIR)\json_report$O : $(SRCDIR)\json_detail.h |
| 218 | $(OBJDIR)\json_tag$O : $(SRCDIR)\json_detail.h |
| @@ -474,10 +476,16 @@ | |
| 476 | $(OX)\json_diff$O : json_diff_.c json_diff.h |
| 477 | $(TCC) /Fo$@ -c json_diff_.c |
| 478 | |
| 479 | json_diff_.c : $(SRCDIR)\json_diff.c |
| 480 | translate$E $** > $@ |
| 481 | |
| 482 | $(OX)\json_dir$O : json_dir_.c json_dir.h |
| 483 | $(TCC) /Fo$@ -c json_dir_.c |
| 484 | |
| 485 | json_dir_.c : $(SRCDIR)\json_dir.c |
| 486 | translate$E $** > $@ |
| 487 | |
| 488 | $(OX)\json_finfo$O : json_finfo_.c json_finfo.h |
| 489 | $(TCC) /Fo$@ -c json_finfo_.c |
| 490 | |
| 491 | json_finfo_.c : $(SRCDIR)\json_finfo.c |
| @@ -794,7 +802,7 @@ | |
| 802 | |
| 803 | zip_.c : $(SRCDIR)\zip.c |
| 804 | translate$E $** > $@ |
| 805 | |
| 806 | headers: makeheaders$E page_index.h VERSION.h |
| 807 | makeheaders$E add_.c:add.h allrepo_.c:allrepo.h attach_.c:attach.h bag_.c:bag.h bisect_.c:bisect.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 event_.c:event.h export_.c:export.h file_.c:file.h finfo_.c:finfo.h glob_.c:glob.h graph_.c:graph.h gzip_.c:gzip.h http_.c:http.h http_socket_.c:http_socket.h http_ssl_.c:http_ssl.h http_transport_.c:http_transport.h import_.c:import.h info_.c:info.h json_.c:json.h json_artifact_.c:json_artifact.h json_branch_.c:json_branch.h json_config_.c:json_config.h json_diff_.c:json_diff.h json_dir_.c:json_dir.h json_finfo_.c:json_finfo.h json_login_.c:json_login.h json_query_.c:json_query.h json_report_.c:json_report.h json_tag_.c:json_tag.h json_timeline_.c:json_timeline.h json_user_.c:json_user.h json_wiki_.c:json_wiki.h leaf_.c:leaf.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 path_.c:path.h pivot_.c:pivot.h popen_.c:popen.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 sqlcmd_.c:sqlcmd.h stash_.c:stash.h stat_.c:stat.h style_.c:style.h sync_.c:sync.h tag_.c:tag.h tar_.c:tar.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 xfersetup_.c:xfersetup.h zip_.c:zip.h $(SRCDIR)\sqlite3.h $(SRCDIR)\th.h VERSION.h $(SRCDIR)\cson_amalgamation.h |
| 808 | @copy /Y nul: headers |
| 809 |