netwerk/wifi/Makefile.in
author Kyle Machulis <kyle@nonpolynomial.com>
Fri, 29 Mar 2013 15:12:58 -0700
changeset 126736 0db3022ca2e6bec95897850f797f078464a7f529
parent 125792 c0dc803fc4b56a7c6c94692d78a3cdfc7bc5b11e
child 131735 496846474ed30201430d5c9b360c8a6956684d16
permissions -rw-r--r--
Backout for changeset 03452b187c14 (Bug 855465) due to bustage on a CLOSED TREE; r=qdot

# 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   = neckowifi_s
LIBXUL_LIBRARY = 1

FORCE_STATIC_LIB = 1

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

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