dom/system/unix/Makefile.in
author Nils Maier <maierman@web.de>
Wed, 28 Nov 2012 13:13:13 -0500
changeset 114378 0e5ca55005ae8ef9002ac12472740104fb79fd47
parent 107595 870c876a6976cc5971570d5e87684d309097437e
child 125503 97e443115162450609702fc72c99b6d88d8703d6
permissions -rw-r--r--
Bug 719180: Part 2 - Add jar channel unit tests; r=taras

# 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

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
FAIL_ON_WARNINGS := 1

include $(topsrcdir)/config/config.mk
include $(topsrcdir)/ipc/chromium/chromium-config.mk


ifdef MOZ_MAEMO_LIBLOCATION
        CPPSRCS         += MaemoLocationProvider.cpp
        LOCAL_INCLUDES  += $(MOZ_PLATFORM_MAEMO_CFLAGS) \
                           -I$(topsrcdir)/dom/src/geolocation \
                           $(NULL)
endif

ifdef MOZ_PLATFORM_MAEMO
CPPSRCS += nsHapticFeedback.cpp
LOCAL_INCLUDES  += $(MOZ_DBUS_CFLAGS) \
                   $(NULL)
endif
ifdef MOZ_ENABLE_QTMOBILITY
MOCSRCS         += moc_QTMLocationProvider.cpp
CPPSRCS         += $(MOCSRCS) \
                   QTMLocationProvider.cpp \
                   $(NULL)
LOCAL_INCLUDES  += $(MOZ_QT_CFLAGS) \
                   -I$(topsrcdir)/dom/src/geolocation \
                   $(NULL)
endif

include $(topsrcdir)/config/rules.mk