2012-05-21 04:12:37 -07:00
|
|
|
# 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/.
|
2010-06-25 05:25:31 -07:00
|
|
|
|
2012-08-04 11:26:44 -07:00
|
|
|
DEPTH = @DEPTH@
|
2010-06-25 05:25:31 -07:00
|
|
|
topsrcdir = @top_srcdir@
|
|
|
|
srcdir = @srcdir@
|
|
|
|
VPATH = @srcdir@
|
|
|
|
|
|
|
|
include $(DEPTH)/config/autoconf.mk
|
|
|
|
|
|
|
|
MODULE = dom
|
|
|
|
LIBRARY_NAME = domsystemunix_s
|
|
|
|
|
|
|
|
# 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
|
2012-09-20 00:55:36 -07:00
|
|
|
FAIL_ON_WARNINGS := 1
|
2010-06-25 05:25:31 -07:00
|
|
|
|
|
|
|
include $(topsrcdir)/config/config.mk
|
2011-08-15 17:25:43 -07:00
|
|
|
include $(topsrcdir)/ipc/chromium/chromium-config.mk
|
|
|
|
|
2010-06-25 05:25:31 -07:00
|
|
|
|
2010-07-14 10:09:25 -07:00
|
|
|
ifdef MOZ_MAEMO_LIBLOCATION
|
|
|
|
CPPSRCS += MaemoLocationProvider.cpp
|
|
|
|
LOCAL_INCLUDES += $(MOZ_PLATFORM_MAEMO_CFLAGS) \
|
|
|
|
-I$(topsrcdir)/dom/src/geolocation \
|
|
|
|
$(NULL)
|
|
|
|
endif
|
|
|
|
|
2010-11-22 13:23:40 -08:00
|
|
|
ifdef MOZ_PLATFORM_MAEMO
|
|
|
|
CPPSRCS += nsHapticFeedback.cpp
|
2010-11-28 23:33:34 -08:00
|
|
|
LOCAL_INCLUDES += $(MOZ_DBUS_CFLAGS) \
|
|
|
|
$(NULL)
|
2012-07-09 17:53:17 -07:00
|
|
|
endif
|
2011-08-16 09:27:01 -07:00
|
|
|
ifdef MOZ_ENABLE_QTMOBILITY
|
2012-03-20 23:36:17 -07:00
|
|
|
MOCSRCS += moc_QTMLocationProvider.cpp
|
2011-08-15 17:25:43 -07:00
|
|
|
CPPSRCS += $(MOCSRCS) \
|
|
|
|
QTMLocationProvider.cpp \
|
|
|
|
$(NULL)
|
2011-08-16 09:27:01 -07:00
|
|
|
LOCAL_INCLUDES += $(MOZ_QT_CFLAGS) \
|
2011-08-15 17:25:43 -07:00
|
|
|
-I$(topsrcdir)/dom/src/geolocation \
|
2011-08-16 09:27:01 -07:00
|
|
|
$(NULL)
|
|
|
|
endif
|
2010-11-22 13:23:40 -08:00
|
|
|
|
|
|
|
include $(topsrcdir)/config/rules.mk
|