mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
38 lines
1.2 KiB
Python
38 lines
1.2 KiB
Python
# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
|
|
# 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/.
|
|
|
|
DIRS += ['program']
|
|
|
|
# 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']
|
|
|
|
# MODULE specifies where header files from this Makefile are installed,
|
|
# i.e. dist/include/xpcomsample
|
|
MODULE = 'xpcomsample'
|
|
|
|
# CPP_SOURCES specifies C++ files to be built into a library.
|
|
CPP_SOURCES += [
|
|
'nsSample.cpp',
|
|
'nsSampleModule.cpp',
|
|
]
|
|
|
|
# EXTRA_COMPONENTS installs components written JavaScript to
|
|
# dist/bin/components
|
|
EXTRA_COMPONENTS += [
|
|
'nsSample.js',
|
|
'nsSample.manifest',
|
|
]
|
|
|
|
# FORCE_SHARED_LIB tells the build system that this should be a shared library,
|
|
# even in a static build.
|
|
FORCE_SHARED_LIB = True
|
|
|
|
# LIBRARY_NAME names the library generated by this makefile,
|
|
# i.e. dist/bin/components/libxpcomsample.so
|
|
LIBRARY_NAME = 'xpcomsample'
|
|
|