Wed, 31 Dec 2014 06:09:35 +0100
Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.
michael@0 | 1 | # -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*- |
michael@0 | 2 | # vim: set filetype=python: |
michael@0 | 3 | # This Source Code Form is subject to the terms of the Mozilla Public |
michael@0 | 4 | # License, v. 2.0. If a copy of the MPL was not distributed with this |
michael@0 | 5 | # file, You can obtain one at http://mozilla.org/MPL/2.0/. |
michael@0 | 6 | |
michael@0 | 7 | # If you're copying from this file, you'll likely need to replace |
michael@0 | 8 | # TEST_TOOL_DIRS with DIRS. |
michael@0 | 9 | TEST_TOOL_DIRS += ['program'] |
michael@0 | 10 | |
michael@0 | 11 | # XPIDL_SOURCES specifies IDL files. The build system runs the xpidl tool |
michael@0 | 12 | # on these files to generate C++ headers and .xpt typelib files. |
michael@0 | 13 | XPIDL_SOURCES += ['nsISample.idl'] |
michael@0 | 14 | |
michael@0 | 15 | # XPIDL_MODULE specifies where header files from this Makefile are installed, |
michael@0 | 16 | # i.e. dist/include/xpcomsample |
michael@0 | 17 | XPIDL_MODULE = 'xpcomsample' |
michael@0 | 18 | |
michael@0 | 19 | # CPP_SOURCES specifies C++ files to be built into a library. |
michael@0 | 20 | UNIFIED_SOURCES += [ |
michael@0 | 21 | 'nsSample.cpp', |
michael@0 | 22 | 'nsSampleModule.cpp', |
michael@0 | 23 | ] |
michael@0 | 24 | |
michael@0 | 25 | # EXTRA_COMPONENTS installs components written JavaScript to |
michael@0 | 26 | # dist/bin/components |
michael@0 | 27 | EXTRA_COMPONENTS += [ |
michael@0 | 28 | 'nsSample.js', |
michael@0 | 29 | 'nsSample.manifest', |
michael@0 | 30 | ] |
michael@0 | 31 | |
michael@0 | 32 | # LIBRARY_NAME names the library generated by this makefile, |
michael@0 | 33 | # i.e. dist/bin/components/libxpcomsample.so |
michael@0 | 34 | LIBRARY_NAME = 'xpcomsample' |
michael@0 | 35 | |
michael@0 | 36 | # IS_COMPONENT indicates that this makefile builds a component shared library. |
michael@0 | 37 | IS_COMPONENT = True |
michael@0 | 38 | |
michael@0 | 39 | RESOURCE_FILES.samples += [ |
michael@0 | 40 | 'xpconnect-sample.html', |
michael@0 | 41 | ] |