extensions/Makefile.in
author Doug Turner <dougt@meer.net>
Fri, 05 Dec 2008 08:59:24 -0800
changeset 22374 555e338a03ca69e3ce65e3dea86217801466acd6
parent 1 9b2a99adc05e53cd4010de512f50118594756650
child 22379 bd4d91cec13d0625785be50b11a9e7d7f9b9370d
permissions -rw-r--r--
Bug 454120 - Problems Compiling SECURITY module for WinMobile. r=ted

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

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)