| LEFT | RIGHT |
| 1 # Copyright 2005, Google Inc. | 1 # Copyright 2005, Google Inc. |
| 2 # | 2 # |
| 3 # Redistribution and use in source and binary forms, with or without | 3 # Redistribution and use in source and binary forms, with or without |
| 4 # modification, are permitted provided that the following conditions are met: | 4 # modification, are permitted provided that the following conditions are met: |
| 5 # | 5 # |
| 6 # 1. Redistributions of source code must retain the above copyright notice, | 6 # 1. Redistributions of source code must retain the above copyright notice, |
| 7 # this list of conditions and the following disclaimer. | 7 # this list of conditions and the following disclaimer. |
| 8 # 2. Redistributions in binary form must reproduce the above copyright notice, | 8 # 2. Redistributions in binary form must reproduce the above copyright notice, |
| 9 # this list of conditions and the following disclaimer in the documentation | 9 # this list of conditions and the following disclaimer in the documentation |
| 10 # and/or other materials provided with the distribution. | 10 # and/or other materials provided with the distribution. |
| 11 # 3. Neither the name of Google Inc. nor the names of its contributors may be | 11 # 3. Neither the name of Google Inc. nor the names of its contributors may be |
| 12 # used to endorse or promote products derived from this software without | 12 # used to endorse or promote products derived from this software without |
| 13 # specific prior written permission. | 13 # specific prior written permission. |
| 14 # | 14 # |
| 15 # THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED | 15 # THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED |
| 16 # WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF | 16 # WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF |
| 17 # MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO | 17 # MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO |
| 18 # EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | 18 # EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, |
| 19 # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, | 19 # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, |
| 20 # PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; | 20 # PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; |
| 21 # OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, | 21 # OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, |
| 22 # WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR | 22 # WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR |
| 23 # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF | 23 # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF |
| 24 # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 24 # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 25 | 25 |
| 26 include tools/version.mk | 26 include tools/version.mk |
| 27 include tools/config.mk | 27 include tools/config.mk |
| 28 include tools/sanity.mk | 28 include tools/sanity.mk |
| 29 | 29 |
| 30 MODULE = $(SHORT_NAME) | 30 MODULE = $(SHORT_NAME) |
| 31 | 31 |
| 32 #----------------------------------------------------------------------------- | 32 #----------------------------------------------------------------------------- |
| 33 # third_party/sqlite_google | 33 # third_party/sqlite_google |
| 34 | 34 |
| 35 THIRD_PARTY_VPATH += \ | 35 THIRD_PARTY_VPATH += \ |
| 36 third_party/sqlite_google/src \ | 36 third_party/sqlite_google/src \ |
| 37 third_party/sqlite_google/preprocessed \ | 37 third_party/sqlite_google/preprocessed \ |
| 38 third_party/sqlite_google/ext/fts1 \ | 38 third_party/sqlite_google/ext/fts1 \ |
| 39 third_party/sqlite_google/ext/fts2 \ | 39 third_party/sqlite_google/ext/fts2 \ |
| 40 $(NULL) | 40 $(NULL) |
| 41 | 41 |
| 42 SQLITE_CSRCS += \ | 42 SQLITE_CSRCS += \ |
| 43 alter.c \ | 43 alter.c \ |
| 44 analyze.c \ | 44 analyze.c \ |
| 45 attach.c \ | 45 attach.c \ |
| 46 auth.c \ | 46 auth.c \ |
| 47 btree.c \ | 47 btree.c \ |
| 48 build.c \ | 48 build.c \ |
| 49 callback.c \ | 49 callback.c \ |
| 50 complete.c \ | 50 complete.c \ |
| (...skipping 311 matching lines...) Show 10 above Show 10 below |
| 362 THIRD_PARTY_VPATH += \ | 362 THIRD_PARTY_VPATH += \ |
| 363 third_party/modp_b64 \ | 363 third_party/modp_b64 \ |
| 364 $(NULL) | 364 $(NULL) |
| 365 | 365 |
| 366 THIRD_PARTY_CPPSRCS += \ | 366 THIRD_PARTY_CPPSRCS += \ |
| 367 modp_b64.cc \ | 367 modp_b64.cc \ |
| 368 $(NULL) | 368 $(NULL) |
| 369 | 369 |
| 370 #----------------------------------------------------------------------------- | 370 #----------------------------------------------------------------------------- |
| 371 # base/common | 371 # base/common |
| 372 | 372 |
| 373 COMMON_VPATH += \ | 373 COMMON_VPATH += \ |
| 374 base/common \ | 374 base/common \ |
| 375 installer \ | 375 installer \ |
| 376 $(NULL) | 376 $(NULL) |
| 377 | 377 |
| 378 COMMON_M4SRCS += \ | 378 COMMON_M4SRCS += \ |
| 379 product_constants.h.m4 \ | 379 product_constants.h.m4 \ |
| 380 product_version.rc.m4 \ | 380 product_version.rc.m4 \ |
| 381 win32_msi.wxs.m4 \ | 381 win32_msi.wxs.m4 \ |
| 382 wince_cab.inf.m4 \ | 382 wince_cab.inf.m4 \ |
| 383 $(NULL) | 383 $(NULL) |
| 384 | 384 |
| 385 COMMON_CPPSRCS += \ | 385 COMMON_CPPSRCS += \ |
| 386 $(NULL) | 386 $(NULL) |
| 387 # WARNING: Think carefully before listing any non-third-party C/C++ files in | 387 # WARNING: Think carefully before listing any non-third-party C/C++ files in |
| 388 # COMMON_*SRCS. Such files only get built once per platform (not per browser), | 388 # COMMON_*SRCS. Such files only get built once per platform (not per browser), |
| 389 # and BROWSER_* #defines are not obeyed. Instead, use $(BROWSER)_CPPSRCS | 389 # and BROWSER_* #defines are not obeyed. Instead, use $(BROWSER)_CPPSRCS |
| 390 # when possible. | 390 # when possible. |
| 391 # One important exception: unit-tested code is only built once per platform, so | 391 # One important exception: unit-tested code is only built once per platform, so |
| 392 # it should be listed in CPPSRCS. Thus it must not use any BROWSER_* #defines, | 392 # it should be listed in CPPSRCS. Thus it must not use any BROWSER_* #defines, |
| 393 # directly or indirectly. | 393 # directly or indirectly. |
| 394 # | 394 # |
| 395 # TODO(cprince): investigate OS-specific sources (e.g. WIN32_CPPSRCS) | 395 # TODO(cprince): investigate OS-specific sources (e.g. WIN32_CPPSRCS) |
| 396 | 396 |
| 397 | 397 |
| 398 #----------------------------------------------------------------------------- | 398 #----------------------------------------------------------------------------- |
| 399 # base/common (built for all browsers) | 399 # base/common (built for all browsers) |
| 400 | 400 |
| 401 $(BROWSER)_VPATH += \ | 401 $(BROWSER)_VPATH += \ |
| 402 base/common \ | 402 base/common \ |
| 403 $(NULL) | 403 $(NULL) |
| 404 | 404 |
| 405 $(BROWSER)_CPPSRCS += \ | 405 $(BROWSER)_CPPSRCS += \ |
| 406 async_router.cc \ | 406 async_router.cc \ |
| 407 base_class.cc \ | 407 base_class.cc \ |
| 408 base_class_test.cc \ | 408 base_class_test.cc \ |
| 409 base64.cc \ | 409 base64.cc \ |
| 410 circular_buffer_test.cc \ | 410 circular_buffer_test.cc \ |
| 411 database_name_table.cc \ | 411 database_name_table.cc \ |
| 412 database2_versions_table.cc \ | 412 database2_metadata.cc \ |
| 413 database2_versions_table_test.cc \ | 413 database2_metadata_test.cc \ |
| 414 file.cc \ | 414 file.cc \ |
| 415 file_test.cc \ | 415 file_test.cc \ |
| 416 html_event_monitor.cc \ | 416 html_event_monitor.cc \ |
| 417 http_utils.cc \ | 417 http_utils.cc \ |
| 418 js_marshal.cc \ | 418 js_marshal.cc \ |
| 419 js_runner_utils.cc \ | 419 js_runner_utils.cc \ |
| 420 js_types.cc \ | 420 js_types.cc \ |
| 421 message_queue.cc \ | 421 message_queue.cc \ |
| 422 message_service.cc \ | 422 message_service.cc \ |
| 423 message_service_test.cc \ | 423 message_service_test.cc \ |
| 424 mutex.cc \ | 424 mutex.cc \ |
| 425 name_value_table.cc \ | 425 name_value_table.cc \ |
| 426 name_value_table_test.cc \ | 426 name_value_table_test.cc \ |
| 427 paths.cc \ | 427 paths.cc \ |
| 428 permissions_db.cc \ | 428 permissions_db.cc \ |
| 429 permissions_db_test.cc \ | 429 permissions_db_test.cc \ |
| 430 png_utils.cc \ | 430 png_utils.cc \ |
| 431 scoped_refptr_test.cc \ | 431 scoped_refptr_test.cc \ |
| 432 security_model.cc \ | 432 security_model.cc \ |
| 433 security_model_test.cc \ | 433 security_model_test.cc \ |
| 434 serialization.cc \ | 434 serialization.cc \ |
| 435 serialization_test.cc \ | 435 serialization_test.cc \ |
| 436 shortcut_table.cc \ | 436 shortcut_table.cc \ |
| 437 sqlite_wrapper.cc \ | 437 sqlite_wrapper.cc \ |
| 438 sqlite_wrapper_test.cc \ | 438 sqlite_wrapper_test.cc \ |
| 439 stopwatch.cc \ | 439 stopwatch.cc \ |
| 440 string16.cc \ | 440 string16.cc \ |
| 441 string_utils.cc \ | 441 string_utils.cc \ |
| 442 string_utils_test.cc \ | 442 string_utils_test.cc \ |
| 443 thread_locals.cc \ | 443 thread_locals.cc \ |
| 444 url_utils.cc \ | 444 url_utils.cc \ |
| 445 url_utils_test.cc \ | 445 url_utils_test.cc \ |
| 446 $(NULL) | 446 $(NULL) |
| 447 | 447 |
| 448 #----------------------------------------------------------------------------- | 448 #----------------------------------------------------------------------------- |
| 449 # base/firefox | 449 # base/firefox |
| 450 | 450 |
| 451 FF3_VPATH += \ | 451 FF3_VPATH += \ |
| 452 base/common \ | 452 base/common \ |
| 453 base/firefox \ | 453 base/firefox \ |
| 454 $(NULL) | 454 $(NULL) |
| 455 | 455 |
| 456 FF3_M4SRCS += \ | 456 FF3_M4SRCS += \ |
| 457 install.rdf.m4 \ | 457 install.rdf.m4 \ |
| 458 $(NULL) | 458 $(NULL) |
| 459 | 459 |
| 460 FF3_IDLSRCS += \ | 460 FF3_IDLSRCS += \ |
| 461 base_interface_ff.idl \ | 461 base_interface_ff.idl \ |
| 462 $(NULL) | 462 $(NULL) |
| 463 | 463 |
| (...skipping 761 matching lines...) Show 10 above Show 10 below |
| 1225 factory_wrapper.cc \ | 1225 factory_wrapper.cc \ |
| 1226 factory_utils.cc \ | 1226 factory_utils.cc \ |
| 1227 $(NULL) | 1227 $(NULL) |
| 1228 | 1228 |
| 1229 #----------------------------------------------------------------------------- | 1229 #----------------------------------------------------------------------------- |
| 1230 # installer/iemobile | 1230 # installer/iemobile |
| 1231 | 1231 |
| 1232 ifeq ($(OS),wince) | 1232 ifeq ($(OS),wince) |
| 1233 IE_VPATH += \ | 1233 IE_VPATH += \ |
| 1234 installer/iemobile \ | 1234 installer/iemobile \ |
| 1235 $(NULL) | 1235 $(NULL) |
| 1236 | 1236 |
| 1237 IE_WINCESETUP_CPPSRCS += \ | 1237 IE_WINCESETUP_CPPSRCS += \ |
| 1238 process_restarter.cc \ | 1238 process_restarter.cc \ |
| 1239 setup.cc \ | 1239 setup.cc \ |
| 1240 $(NULL) | 1240 $(NULL) |
| 1241 | 1241 |
| 1242 IE_WINCESETUP_LINK_EXTRAS += \ | 1242 IE_WINCESETUP_LINK_EXTRAS += \ |
| 1243 $(IE_OUTDIR)/setup.res \ | 1243 $(IE_OUTDIR)/setup.res \ |
| 1244 $(NULL) | 1244 $(NULL) |
| 1245 | 1245 |
| 1246 # List these setup-related items in IE_FOO just so they get built before used. | 1246 # List these setup-related items in IE_FOO just so they get built before used. |
| 1247 IE_M4SRCS += \ | 1247 IE_M4SRCS += \ |
| 1248 setup.rc.m4 \ | 1248 setup.rc.m4 \ |
| 1249 $(NULL) | 1249 $(NULL) |
| 1250 | 1250 |
| 1251 IE_LINK_EXTRAS += \ | 1251 IE_LINK_EXTRAS += \ |
| 1252 $(IE_OUTDIR)/setup.res \ | 1252 $(IE_OUTDIR)/setup.res \ |
| 1253 $(NULL) | 1253 $(NULL) |
| 1254 | 1254 |
| 1255 # TODO(cprince): move this to another source path; IE_MODULE_DLL links it. | 1255 # TODO(cprince): move this to another source path; IE_MODULE_DLL links it. |
| 1256 IE_CPPSRCS += \ | 1256 IE_CPPSRCS += \ |
| 1257 cab_updater.cc \ | 1257 cab_updater.cc \ |
| 1258 $(NULL) | 1258 $(NULL) |
| 1259 | 1259 |
| 1260 endif # wince | 1260 endif # wince |
| 1261 | 1261 |
| 1262 | 1262 |
| 1263 #----------------------------------------------------------------------------- | 1263 #----------------------------------------------------------------------------- |
| 1264 # Add any hard-coded "FF3_" sources to the FF2_ sources. | 1264 # Add any hard-coded "FF3_" sources to the FF2_ sources. |
| 1265 | 1265 |
| 1266 FF2_VPATH += $(FF3_VPATH) | 1266 FF2_VPATH += $(FF3_VPATH) |
| 1267 FF2_M4SRCS += $(FF3_M4SRCS) | 1267 FF2_M4SRCS += $(FF3_M4SRCS) |
| 1268 FF2_M4SRCS_I18N += $(FF3_M4SRCS_I18N) | 1268 FF2_M4SRCS_I18N += $(FF3_M4SRCS_I18N) |
| 1269 FF2_IDLSRCS += $(FF3_IDLSRCS) | 1269 FF2_IDLSRCS += $(FF3_IDLSRCS) |
| 1270 FF2_CPPSRCS += $(FF3_CPPSRCS) | 1270 FF2_CPPSRCS += $(FF3_CPPSRCS) |
| 1271 | 1271 |
| 1272 | 1272 |
| 1273 #----------------------------------------------------------------------------- | 1273 #----------------------------------------------------------------------------- |
| 1274 include tools/rules.mk | 1274 include tools/rules.mk |
| LEFT | RIGHT |