netwerk/wifi/Makefile.in
author Justin Lebar <justin.lebar@gmail.com>
Tue, 11 Dec 2012 18:26:43 -0500
changeset 122875 6733372df4c10d02ac3f0cd6fc9aaccc9021fa02
parent 118477 e76aae8e80c9cb592757e2f29034677b76a0fd54
child 135844 d54481a205e308b645e33d977e40fe753c9e5682
permissions -rw-r--r--
Bug 820401 - Default DMD to sample-below=4093. r=njn, a=jlebar Also print out the sample size, since it's no longer explicit in the $DMD envvar.

# 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         = necko
LIBRARY_NAME   = neckowifi_s
LIBXUL_LIBRARY = 1
XPIDL_MODULE   = necko_wifi
GRE_MODULE     = 1

FORCE_STATIC_LIB = 1

ifneq ($(OS_ARCH),Darwin)
# osx_corewlan.mm has warnings I don't understand.
FAIL_ON_WARNINGS := 1
endif

XPIDLSRCS = \
  nsIWifiAccessPoint.idl \
  nsIWifiListener.idl \
  nsIWifiMonitor.idl \
  $(NULL)

ifeq (gonk,$(MOZ_WIDGET_TOOLKIT))
CPPSRCS += nsWifiMonitorGonk.cpp
else
CPPSRCS += nsWifiMonitor.cpp
endif

CPPSRCS += nsWifiAccessPoint.cpp

ifeq ($(OS_ARCH),Darwin)
CPPSRCS += nsWifiScannerMac.cpp
CMMSRCS = osx_corewlan.mm
endif

ifneq (,$(filter WINNT,$(OS_ARCH)))
CPPSRCS += nsWifiScannerWin.cpp
endif

ifeq ($(OS_ARCH),SunOS)
CPPSRCS += nsWifiScannerSolaris.cpp
OS_INCLUDES += $(GLIB_CFLAGS)
endif

ifdef MOZ_ENABLE_DBUS
CPPSRCS += nsWifiScannerDBus.cpp
OS_INCLUDES += $(MOZ_DBUS_GLIB_CFLAGS)
endif

include $(topsrcdir)/config/rules.mk

DEFINES += -DIMPL_NS_NET