gecko/netwerk/wifi/Makefile.in
Gregory Szorc 629b5d86c6 Bug 818246 - Part 4: Move XPIDLSRCS into moz.build (auto); rs=glandium
This is the result of running
|mach mozbuild-migrate --list XPIDLSRCS SDK_XPIDLSRCS XPIDL_SOURCES| and
reverting xpcom/sample/*.
2013-03-12 10:17:46 -07:00

55 lines
1.1 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
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
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