mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
81 lines
1.8 KiB
Makefile
81 lines
1.8 KiB
Makefile
# 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/.
|
|
|
|
DEPTH = @DEPTH@
|
|
topsrcdir = @top_srcdir@
|
|
srcdir = @srcdir@
|
|
VPATH = @srcdir@
|
|
|
|
include $(DEPTH)/config/autoconf.mk
|
|
|
|
LIBRARY_NAME = domsystem_s
|
|
LIBXUL_LIBRARY = 1
|
|
FAIL_ON_WARNINGS := 1
|
|
|
|
DEFINES += -DDLL_PREFIX=\"$(DLL_PREFIX)\" -DDLL_SUFFIX=\"$(DLL_SUFFIX)\"
|
|
|
|
CPPSRCS = \
|
|
nsDeviceSensors.cpp \
|
|
OSFileConstants.cpp \
|
|
$(NULL)
|
|
|
|
ifdef MOZ_GAMEPAD
|
|
CPPSRCS += GamepadService.cpp
|
|
endif
|
|
|
|
# We fire the nsDOMDeviceAcceleration
|
|
LOCAL_INCLUDES += \
|
|
-I$(topsrcdir)/content/events/src \
|
|
-I$(topsrcdir)/dom/base \
|
|
-I$(topsrcdir)/dom/bindings \
|
|
$(NULL)
|
|
|
|
# On Systems that have build in geolocation providers,
|
|
# we really do not need these.
|
|
ifneq (Android,$(OS_TARGET))
|
|
EXTRA_COMPONENTS = \
|
|
NetworkGeolocationProvider.js \
|
|
NetworkGeolocationProvider.manifest \
|
|
GPSDGeolocationProvider.js \
|
|
GPSDGeolocationProvider.manifest \
|
|
$(NULL)
|
|
endif
|
|
|
|
ifeq (gonk,$(MOZ_WIDGET_TOOLKIT))
|
|
EXTRA_COMPONENTS = \
|
|
NetworkGeolocationProvider.js \
|
|
NetworkGeolocationProvider.manifest \
|
|
$(NULL)
|
|
endif
|
|
|
|
EXPORTS_NAMESPACES = mozilla
|
|
|
|
EXPORTS = \
|
|
nsDeviceSensors.h \
|
|
$(NULL)
|
|
|
|
EXPORTS_mozilla = \
|
|
OSFileConstants.h \
|
|
$(NULL)
|
|
|
|
LOCAL_INCLUDES += \
|
|
-I$(topsrcdir)/content/events/src \
|
|
-I$(topsrcdir)/js/xpconnect/loader \
|
|
$(NULL)
|
|
ifdef MOZ_GAMEPAD
|
|
EXPORTS_NAMESPACES += mozilla/dom
|
|
EXPORTS_mozilla/dom = \
|
|
GamepadService.h \
|
|
$(NULL)
|
|
endif
|
|
|
|
include $(topsrcdir)/config/config.mk
|
|
|
|
# we don't want the shared lib, but we want to force the creation of a static lib.
|
|
LIBXUL_LIBRARY = 1
|
|
FORCE_STATIC_LIB = 1
|
|
EXPORT_LIBRARY = 1
|
|
include $(topsrcdir)/ipc/chromium/chromium-config.mk
|
|
include $(topsrcdir)/config/rules.mk
|