mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
52 lines
1.0 KiB
Makefile
52 lines
1.0 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
|
|
|
|
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 += nsWifiScannerUnix.cpp
|
|
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
|