Backed out changeset 555e338a03ca
authorDoug Turner <dougt@meer.net>
Fri, 05 Dec 2008 09:25:19 -0800
changeset 22379 bd4d91cec13d0625785be50b11a9e7d7f9b9370d
parent 22374 555e338a03ca69e3ce65e3dea86217801466acd6
child 22380 7636b76498b3c391581214b0d854eb6a51e71c05
push idunknown
push userunknown
push dateunknown
milestone1.9.2a1pre
backs out555e338a03ca69e3ce65e3dea86217801466acd6
Backed out changeset 555e338a03ca
extensions/Makefile.in
security/manager/Makefile.in
--- a/extensions/Makefile.in
+++ b/extensions/Makefile.in
@@ -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)
-
--- a/security/manager/Makefile.in
+++ b/security/manager/Makefile.in
@@ -214,52 +214,30 @@ ifeq ($(OS_ARCH),Darwin)
 ifndef NSDISTMODE
 DEFAULT_GMAKE_FLAGS += NSDISTMODE=absolute_symlink
 endif
 ifdef MACOS_SDK_DIR
 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)" \
 	CC="$(CC)" \
 	CCC="$(CXX)" \
 	LINK="$(LD)" \
 	AS="$(AS)" \
 	AR='$(AR) $(AR_FLAGS:$@=$$@)' \
 	RANLIB="$(RANLIB)" \
 	RC="$(RC) $(RCFLAGS)" \
 	OS_ARCH="$(OS_ARCH)" \
 	OS_TEST="$(OS_TEST)" \
 	CPU_ARCH="$(TARGET_CPU)" \
 	$(NULL)
-endif
-
 SKIP_CHK=1
 endif
 SUBMAKEFILES = boot/Makefile ssl/Makefile pki/Makefile locales/Makefile
 
 include $(topsrcdir)/config/rules.mk
 
 # Attempt to properly handle NSS' refusal to implement a dependency system
 export:: .nss.cleaned