forked from Floorp-Projects/Floorp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile.in
57 lines (47 loc) · 1.19 KB
/
Makefile.in
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
# 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)
CPPSRCS = \
nsWifiMonitor.cpp \
nsWifiAccessPoint.cpp \
$(NULL)
ifeq ($(OS_ARCH),Darwin)
CPPSRCS += nsWifiScannerMac.cpp
CMMSRCS = osx_corewlan.mm
else
ifneq (,$(filter WINNT,$(OS_ARCH)))
CPPSRCS += nsWifiScannerWin.cpp
else
ifeq ($(OS_ARCH),Linux)
CPPSRCS += nsWifiScannerDBus.cpp
OS_INCLUDES += $(MOZ_DBUS_GLIB_CFLAGS)
else
ifeq ($(OS_ARCH),SunOS)
CPPSRCS += nsWifiScannerSolaris.cpp
OS_INCLUDES += $(GLIB_CFLAGS)
endif # solaris
endif # linux
endif # windows
endif # mac
include $(topsrcdir)/config/rules.mk
DEFINES += -DIMPL_NS_NET