2013-04-01 22:36:59 +04:00
|
|
|
# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
|
2013-02-26 01:20:02 +04:00
|
|
|
# vim: set filetype=python:
|
|
|
|
# This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
|
|
|
2013-09-19 02:43:02 +04:00
|
|
|
# If you're copying from this file, you'll likely need to replace
|
|
|
|
# TEST_TOOL_DIRS with DIRS.
|
|
|
|
TEST_TOOL_DIRS += ['program']
|
2013-03-12 21:20:41 +04:00
|
|
|
|
|
|
|
# XPIDL_SOURCES specifies IDL files. The build system runs the xpidl tool
|
|
|
|
# on these files to generate C++ headers and .xpt typelib files.
|
|
|
|
XPIDL_SOURCES += ['nsISample.idl']
|
|
|
|
|
2013-11-19 06:47:43 +04:00
|
|
|
# XPIDL_MODULE specifies where header files from this Makefile are installed,
|
2013-06-12 00:38:22 +04:00
|
|
|
# i.e. dist/include/xpcomsample
|
2013-11-19 06:47:43 +04:00
|
|
|
XPIDL_MODULE = 'xpcomsample'
|
2013-03-19 22:47:00 +04:00
|
|
|
|
2013-06-12 00:38:22 +04:00
|
|
|
# CPP_SOURCES specifies C++ files to be built into a library.
|
2013-11-19 06:34:00 +04:00
|
|
|
UNIFIED_SOURCES += [
|
2013-04-24 01:54:15 +04:00
|
|
|
'nsSample.cpp',
|
|
|
|
'nsSampleModule.cpp',
|
|
|
|
]
|
|
|
|
|
2013-06-12 00:38:22 +04:00
|
|
|
# EXTRA_COMPONENTS installs components written JavaScript to
|
|
|
|
# dist/bin/components
|
|
|
|
EXTRA_COMPONENTS += [
|
|
|
|
'nsSample.js',
|
|
|
|
'nsSample.manifest',
|
|
|
|
]
|
2013-08-15 17:02:09 +04:00
|
|
|
|
|
|
|
# LIBRARY_NAME names the library generated by this makefile,
|
|
|
|
# i.e. dist/bin/components/libxpcomsample.so
|
|
|
|
LIBRARY_NAME = 'xpcomsample'
|
|
|
|
|
2013-09-20 01:29:32 +04:00
|
|
|
# IS_COMPONENT indicates that this makefile builds a component shared library.
|
|
|
|
IS_COMPONENT = True
|
|
|
|
|