Backed out changeset 555e338a03ca

This commit is contained in:
Doug Turner 2008-12-05 09:25:19 -08:00
Родитель 671508fba6
Коммит 4f88f73f9e
2 изменённых файлов: 39 добавлений и 68 удалений

Просмотреть файл

@ -1,54 +1,47 @@
DEPTH = ../..
#
# ***** BEGIN LICENSE BLOCK *****
# Version: MPL 1.1/GPL 2.0/LGPL 2.1
#
# The contents of this file are subject to the Mozilla Public License Version
# 1.1 (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
# http://www.mozilla.org/MPL/
#
# Software distributed under the License is distributed on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
# for the specific language governing rights and limitations under the
# License.
#
# The Original Code is mozilla.org code.
#
# The Initial Developer of the Original Code is
# Netscape Communications Corporation.
# Portions created by the Initial Developer are Copyright (C) 1998
# the Initial Developer. All Rights Reserved.
#
# Contributor(s):
#
# Alternatively, the contents of this file may be used under the terms of
# either the GNU General Public License Version 2 or later (the "GPL"), or
# the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
# in which case the provisions of the GPL or the LGPL are applicable instead
# of those above. If you wish to allow use of your version of this file only
# under the terms of either the GPL or the LGPL, and not to allow others to
# use your version of this file under the terms of the MPL, indicate your
# decision by deleting the provisions above and replace them with the notice
# and other provisions required by the GPL or the LGPL. If you do not delete
# the provisions above, a recipient may use your version of this file under
# the terms of any one of the MPL, the GPL or the LGPL.
#
# ***** END LICENSE BLOCK *****
DEPTH = ..
topsrcdir = @top_srcdir@
srcdir = @srcdir@
VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
XPIDL_MODULE = wifi_geolocation_provider
IS_COMPONENT = 1
MODULE = wifi_geolocation_provider
LIBRARY_NAME = wifi_geolocation_provider
USE_STATIC_LIBS = 1
#MOZILLA_INTERNAL_API = 1
REQUIRES = xpcom \
string \
dom \
content \
necko \
js \
xpconnect \
$(NULL)
CPPSRCS = WifiLocationProvider.cpp \
WifiScannerPosition.cpp \
WifiScannerCommon.cpp \
$(NULL)
ifeq ($(MOZ_WIDGET_TOOLKIT),cocoa)
CPPSRCS += WifiScannerMac.cpp
else
ifeq ($(MOZ_WIDGET_TOOLKIT),windows)
CPPSRCS += WifiScannerWin.cpp
else
CPPSRCS += WifiScannerUnix.cpp
EXTRA_DSO_LDOPTS += -liw
endif # windows
endif # mac
XPIDLSRCS = INetworkLocationHandler.idl
DIRS = $(MOZ_EXTENSIONS)
include $(topsrcdir)/config/rules.mk
EXTRA_DSO_LDOPTS += \
$(XPCOM_GLUE_LDOPTS) \
$(XPCOM_FROZEN_LDOPTS) \
$(EXTRA_DSO_LIBS) \
$(XPCOM_LIBS) \
$(MOZ_JS_LIBS) \
$(NSPR_LIBS) \
$(NULL)

Просмотреть файл

@ -219,26 +219,6 @@ DEFAULT_GMAKE_FLAGS += MACOS_SDK_DIR=$(MACOS_SDK_DIR)
endif
endif
ifdef CROSS_COMPILE
ifdef WINCE
DEFAULT_GMAKE_FLAGS += \
NSINSTALL="$(NSINSTALL)" \
NATIVE_CC="$(HOST_CC)" \
CC="arm-wince-gcc.exe" \
CCC="arm-wince-gcc.exe" \
LINK="arm-wince-link.exe" \
LD="arm-wince-link.exe -DLL" \
AS="arm-wince-as.exe -Cp -Sn -Zi -coff $(INCLUDES)" \
AR='arm-wince-lib -NOLOG0 -OUT:$$@' \
RANLIB="echo" \
RC="arm-wince-res.exe $(RCFLAGS)" \
OS_ARCH="$(OS_ARCH)" \
OS_TEST="$(OS_TEST)" \
CPU_ARCH="ARM" \
USE_MSYS=1 \
WINCE=1 \
$(NULL)
else
DEFAULT_GMAKE_FLAGS += \
NSINSTALL="$(NSINSTALL)" \
NATIVE_CC="$(HOST_CC)" \
@ -253,8 +233,6 @@ DEFAULT_GMAKE_FLAGS += \
OS_TEST="$(OS_TEST)" \
CPU_ARCH="$(TARGET_CPU)" \
$(NULL)
endif
SKIP_CHK=1
endif
SUBMAKEFILES = boot/Makefile ssl/Makefile pki/Makefile locales/Makefile