2012-05-14 16:54:25 -07:00
|
|
|
# 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/. */
|
2009-01-23 10:45:59 -08:00
|
|
|
|
2012-08-04 11:26:44 -07:00
|
|
|
DEPTH = @DEPTH@
|
2009-01-23 10:45:59 -08:00
|
|
|
topsrcdir = @top_srcdir@
|
|
|
|
srcdir = @srcdir@
|
|
|
|
VPATH = @srcdir@
|
|
|
|
|
|
|
|
include $(DEPTH)/config/autoconf.mk
|
|
|
|
|
|
|
|
ifeq ($(OS_ARCH),WINNT)
|
2012-05-14 16:54:25 -07:00
|
|
|
|
2009-01-23 10:45:59 -08:00
|
|
|
SDK_BINARY = \
|
2009-01-26 18:40:30 -08:00
|
|
|
$(PROGRAM) \
|
2009-01-23 10:45:59 -08:00
|
|
|
$(NULL)
|
2012-05-14 16:54:25 -07:00
|
|
|
|
|
|
|
DEFINES += -DWIN32_LEAN_AND_MEAN \
|
|
|
|
-DUNICODE \
|
|
|
|
-D_UNICODE \
|
|
|
|
-DXPCOM_GLUE \
|
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
LIBS = \
|
|
|
|
$(XPCOM_STANDALONE_GLUE_LDOPTS) \
|
|
|
|
$(NULL)
|
2012-05-22 01:44:13 -07:00
|
|
|
|
|
|
|
ifdef GNU_CC
|
|
|
|
WIN32_EXE_LDFLAGS = -municode
|
|
|
|
endif
|
|
|
|
|
2009-01-23 10:45:59 -08:00
|
|
|
endif
|
|
|
|
|
|
|
|
include $(topsrcdir)/config/rules.mk
|