forked from mirrors/gecko-dev
Bug 495228 - Remove checks for mac MOZ_WIDGET_TOOLKIT, r=ted
This commit is contained in:
parent
8490d39416
commit
6fce97e58d
59 changed files with 75 additions and 75 deletions
|
|
@ -105,14 +105,14 @@ STATIC_COMPONENTS_LINKER_PATH = -L$(DEPTH)/staticlib
|
||||||
endif
|
endif
|
||||||
LIBS += $(DEPTH)/toolkit/xre/$(LIB_PREFIX)xulapp_s.$(LIB_SUFFIX)
|
LIBS += $(DEPTH)/toolkit/xre/$(LIB_PREFIX)xulapp_s.$(LIB_SUFFIX)
|
||||||
else
|
else
|
||||||
ifneq (,$(filter mac cocoa,$(MOZ_WIDGET_TOOLKIT)))
|
ifeq (cocoa,$(MOZ_WIDGET_TOOLKIT))
|
||||||
LIBS += $(DIST)/bin/XUL
|
LIBS += $(DIST)/bin/XUL
|
||||||
else
|
else
|
||||||
EXTRA_DSO_LIBS += xul
|
EXTRA_DSO_LIBS += xul
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifneq (,$(filter mac cocoa,$(MOZ_WIDGET_TOOLKIT)))
|
ifeq (cocoa,$(MOZ_WIDGET_TOOLKIT))
|
||||||
TK_LIBS := $(TK_LIBS)
|
TK_LIBS := $(TK_LIBS)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
@ -308,7 +308,7 @@ libs:: $(srcdir)/profile/prefs.js
|
||||||
libs:: $(srcdir)/blocklist.xml
|
libs:: $(srcdir)/blocklist.xml
|
||||||
$(INSTALL) $(IFLAGS1) $^ $(DIST)/bin
|
$(INSTALL) $(IFLAGS1) $^ $(DIST)/bin
|
||||||
|
|
||||||
ifneq (,$(filter mac cocoa,$(MOZ_WIDGET_TOOLKIT)))
|
ifeq (cocoa,$(MOZ_WIDGET_TOOLKIT))
|
||||||
|
|
||||||
APP_NAME = $(MOZ_APP_DISPLAYNAME)
|
APP_NAME = $(MOZ_APP_DISPLAYNAME)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -68,7 +68,7 @@ DEFINES += \
|
||||||
-DPRE_RELEASE_SUFFIX="$(PRE_RELEASE_SUFFIX)" \
|
-DPRE_RELEASE_SUFFIX="$(PRE_RELEASE_SUFFIX)" \
|
||||||
$(NULL)
|
$(NULL)
|
||||||
|
|
||||||
ifneq (,$(filter windows gtk2 mac cocoa, $(MOZ_WIDGET_TOOLKIT)))
|
ifneq (,$(filter windows gtk2 cocoa, $(MOZ_WIDGET_TOOLKIT)))
|
||||||
DEFINES += -DHAVE_SHELL_SERVICE=1
|
DEFINES += -DHAVE_SHELL_SERVICE=1
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
@ -76,7 +76,7 @@ ifdef MOZ_UPDATER
|
||||||
DEFINES += -DMOZ_UPDATER=1
|
DEFINES += -DMOZ_UPDATER=1
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifneq (,$(filter windows mac cocoa gtk2, $(MOZ_WIDGET_TOOLKIT)))
|
ifneq (,$(filter windows cocoa gtk2, $(MOZ_WIDGET_TOOLKIT)))
|
||||||
ifneq ($(OS_ARCH),WINCE)
|
ifneq ($(OS_ARCH),WINCE)
|
||||||
DEFINES += -DCONTEXT_COPY_IMAGE_CONTENTS=1
|
DEFINES += -DCONTEXT_COPY_IMAGE_CONTENTS=1
|
||||||
endif
|
endif
|
||||||
|
|
|
||||||
|
|
@ -140,7 +140,7 @@ _BROWSER_FILES = \
|
||||||
browser_relatedTabs.js \
|
browser_relatedTabs.js \
|
||||||
$(NULL)
|
$(NULL)
|
||||||
|
|
||||||
ifeq (,$(filter mac cocoa,$(MOZ_WIDGET_TOOLKIT)))
|
ifneq (cocoa,$(MOZ_WIDGET_TOOLKIT))
|
||||||
_BROWSER_FILES += browser_bug462289.js
|
_BROWSER_FILES += browser_bug462289.js
|
||||||
else
|
else
|
||||||
_BROWSER_FILES += browser_customize.js
|
_BROWSER_FILES += browser_customize.js
|
||||||
|
|
|
||||||
|
|
@ -49,7 +49,7 @@ SHARED_LIBRARY_LIBS = \
|
||||||
../about/$(LIB_PREFIX)browserabout_s.$(LIB_SUFFIX) \
|
../about/$(LIB_PREFIX)browserabout_s.$(LIB_SUFFIX) \
|
||||||
$(NULL)
|
$(NULL)
|
||||||
|
|
||||||
ifneq (,$(filter windows mac cocoa gtk2, $(MOZ_WIDGET_TOOLKIT)))
|
ifneq (,$(filter windows cocoa gtk2, $(MOZ_WIDGET_TOOLKIT)))
|
||||||
SHARED_LIBRARY_LIBS += ../shell/src/$(LIB_PREFIX)shellservice_s.$(LIB_SUFFIX)
|
SHARED_LIBRARY_LIBS += ../shell/src/$(LIB_PREFIX)shellservice_s.$(LIB_SUFFIX)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
@ -72,7 +72,7 @@ EXTRA_DSO_LDOPTS += \
|
||||||
|
|
||||||
# Mac: Need to link with CoreFoundation for Mac Migrators (PList reading code)
|
# Mac: Need to link with CoreFoundation for Mac Migrators (PList reading code)
|
||||||
# GTK2: Need to link with glib for GNOME shell service
|
# GTK2: Need to link with glib for GNOME shell service
|
||||||
ifneq (,$(filter mac cocoa gtk2,$(MOZ_WIDGET_TOOLKIT)))
|
ifneq (,$(filter cocoa gtk2,$(MOZ_WIDGET_TOOLKIT)))
|
||||||
EXTRA_DSO_LDOPTS += \
|
EXTRA_DSO_LDOPTS += \
|
||||||
$(TK_LIBS) \
|
$(TK_LIBS) \
|
||||||
$(NULL)
|
$(NULL)
|
||||||
|
|
|
||||||
|
|
@ -72,7 +72,7 @@ CPPSRCS += nsIEProfileMigrator.cpp \
|
||||||
$(NULL)
|
$(NULL)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifneq (,$(filter mac cocoa,$(MOZ_WIDGET_TOOLKIT)))
|
ifeq (cocoa,$(MOZ_WIDGET_TOOLKIT))
|
||||||
CPPSRCS += nsSafariProfileMigrator.cpp \
|
CPPSRCS += nsSafariProfileMigrator.cpp \
|
||||||
nsMacIEProfileMigrator.cpp \
|
nsMacIEProfileMigrator.cpp \
|
||||||
nsOmniWebProfileMigrator.cpp \
|
nsOmniWebProfileMigrator.cpp \
|
||||||
|
|
|
||||||
|
|
@ -54,7 +54,7 @@ DEFINES += \
|
||||||
-DMOZ_APP_DISPLAYNAME=$(MOZ_APP_DISPLAYNAME) \
|
-DMOZ_APP_DISPLAYNAME=$(MOZ_APP_DISPLAYNAME) \
|
||||||
$(NULL)
|
$(NULL)
|
||||||
|
|
||||||
ifneq (,$(filter windows gtk2 mac cocoa, $(MOZ_WIDGET_TOOLKIT)))
|
ifneq (,$(filter windows gtk2 cocoa, $(MOZ_WIDGET_TOOLKIT)))
|
||||||
DEFINES += -DHAVE_SHELL_SERVICE=1
|
DEFINES += -DHAVE_SHELL_SERVICE=1
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -47,7 +47,7 @@ include $(topsrcdir)/config/rules.mk
|
||||||
|
|
||||||
# The browser chrome test for bug 415846 doesn't run on Mac because of its
|
# The browser chrome test for bug 415846 doesn't run on Mac because of its
|
||||||
# bizarre special-and-unique snowflake of a help menu.
|
# bizarre special-and-unique snowflake of a help menu.
|
||||||
ifeq (,$(filter mac cocoa,$(MOZ_WIDGET_TOOLKIT)))
|
ifneq (cocoa,$(MOZ_WIDGET_TOOLKIT)))
|
||||||
_NON_MAC_BROWSER_TESTS = browser_bug415846.js
|
_NON_MAC_BROWSER_TESTS = browser_bug415846.js
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -51,7 +51,7 @@ ifneq (,$(filter WINCE WINNT,$(OS_ARCH)))
|
||||||
XPIDLSRCS += nsIWindowsShellService.idl
|
XPIDLSRCS += nsIWindowsShellService.idl
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifneq (,$(filter mac cocoa,$(MOZ_WIDGET_TOOLKIT)))
|
ifeq (cocoa,$(MOZ_WIDGET_TOOLKIT))
|
||||||
XPIDLSRCS += nsIMacShellService.idl
|
XPIDLSRCS += nsIMacShellService.idl
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -53,7 +53,7 @@ endif
|
||||||
ifneq (,$(filter WINCE WINNT,$(OS_ARCH)))
|
ifneq (,$(filter WINCE WINNT,$(OS_ARCH)))
|
||||||
CPPSRCS = nsWindowsShellService.cpp
|
CPPSRCS = nsWindowsShellService.cpp
|
||||||
else
|
else
|
||||||
ifneq (,$(filter mac cocoa,$(MOZ_WIDGET_TOOLKIT)))
|
ifeq (cocoa,$(MOZ_WIDGET_TOOLKIT))
|
||||||
CPPSRCS = nsMacShellService.cpp
|
CPPSRCS = nsMacShellService.cpp
|
||||||
else
|
else
|
||||||
ifeq ($(MOZ_WIDGET_TOOLKIT), gtk2)
|
ifeq ($(MOZ_WIDGET_TOOLKIT), gtk2)
|
||||||
|
|
|
||||||
|
|
@ -103,7 +103,7 @@ $(MOZ_PKG_MANIFEST): $(MOZ_PKG_MANIFEST_P)
|
||||||
GARBAGE += $(MOZ_PKG_MANIFEST)
|
GARBAGE += $(MOZ_PKG_MANIFEST)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifneq (,$(filter mac cocoa,$(MOZ_WIDGET_TOOLKIT)))
|
ifeq (cocoa,$(MOZ_WIDGET_TOOLKIT))
|
||||||
MOZ_PKG_MAC_DSSTORE=branding/dsstore
|
MOZ_PKG_MAC_DSSTORE=branding/dsstore
|
||||||
MOZ_PKG_MAC_BACKGROUND=branding/background.png
|
MOZ_PKG_MAC_BACKGROUND=branding/background.png
|
||||||
MOZ_PKG_MAC_ICON=branding/disk.icns
|
MOZ_PKG_MAC_ICON=branding/disk.icns
|
||||||
|
|
|
||||||
|
|
@ -50,7 +50,7 @@ include $(DEPTH)/config/autoconf.mk
|
||||||
# MacOS X Pinstripe
|
# MacOS X Pinstripe
|
||||||
#
|
#
|
||||||
|
|
||||||
ifneq (,$(filter mac cocoa,$(MOZ_WIDGET_TOOLKIT)))
|
ifeq (cocoa,$(MOZ_WIDGET_TOOLKIT))
|
||||||
DIRS = pinstripe
|
DIRS = pinstripe
|
||||||
else
|
else
|
||||||
DIRS = winstripe
|
DIRS = winstripe
|
||||||
|
|
|
||||||
|
|
@ -66,7 +66,7 @@ ifneq (,$(filter gtk2,$(MOZ_WIDGET_TOOLKIT)))
|
||||||
EXTRA_DSO_LDOPTS += $(MOZ_GTK2_LIBS)
|
EXTRA_DSO_LDOPTS += $(MOZ_GTK2_LIBS)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifneq (,$(filter mac cocoa,$(MOZ_WIDGET_TOOLKIT)))
|
ifeq (cocoa,$(MOZ_WIDGET_TOOLKIT))
|
||||||
EXTRA_DSO_LDOPTS += $(TK_LIBS)
|
EXTRA_DSO_LDOPTS += $(TK_LIBS)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -20,6 +20,6 @@ ifeq ($(OS_ARCH),IRIX)
|
||||||
LDFLAGS += -Wl,-LD_LAYOUT:lgot_buffer=80
|
LDFLAGS += -Wl,-LD_LAYOUT:lgot_buffer=80
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifneq (,$(filter mac cocoa,$(MOZ_WIDGET_TOOLKIT)))
|
ifeq (cocoa,$(MOZ_WIDGET_TOOLKIT))
|
||||||
LIBS += -framework QuickTime -framework IOKit -lcrypto
|
LIBS += -framework QuickTime -framework IOKit -lcrypto
|
||||||
endif
|
endif
|
||||||
|
|
|
||||||
|
|
@ -7358,7 +7358,7 @@ if test "$MOZ_TREE_CAIRO"; then
|
||||||
if test "$MOZ_WIDGET_TOOLKIT" = "qt"; then
|
if test "$MOZ_WIDGET_TOOLKIT" = "qt"; then
|
||||||
QPAINTER_SURFACE_FEATURE="#define CAIRO_HAS_QPAINTER_SURFACE 1"
|
QPAINTER_SURFACE_FEATURE="#define CAIRO_HAS_QPAINTER_SURFACE 1"
|
||||||
fi
|
fi
|
||||||
if test "$MOZ_WIDGET_TOOLKIT" = "mac" -o "$MOZ_WIDGET_TOOLKIT" = "cocoa"; then
|
if test "$MOZ_WIDGET_TOOLKIT" = "cocoa"; then
|
||||||
QUARTZ_SURFACE_FEATURE="#define CAIRO_HAS_QUARTZ_SURFACE 1"
|
QUARTZ_SURFACE_FEATURE="#define CAIRO_HAS_QUARTZ_SURFACE 1"
|
||||||
QUARTZ_IMAGE_SURFACE_FEATURE="#define CAIRO_HAS_QUARTZ_IMAGE_SURFACE 1"
|
QUARTZ_IMAGE_SURFACE_FEATURE="#define CAIRO_HAS_QUARTZ_IMAGE_SURFACE 1"
|
||||||
QUARTZ_FONT_FEATURE="#define CAIRO_HAS_QUARTZ_FONT 1"
|
QUARTZ_FONT_FEATURE="#define CAIRO_HAS_QUARTZ_FONT 1"
|
||||||
|
|
|
||||||
|
|
@ -90,7 +90,7 @@ DEFINES += -DUSE_WGL
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifneq (,$(filter $(MOZ_WIDGET_TOOLKIT),mac cocoa))
|
ifeq (cocoa,$(MOZ_WIDGET_TOOLKIT))
|
||||||
CPPSRCS += nsGLPbufferCGL.cpp
|
CPPSRCS += nsGLPbufferCGL.cpp
|
||||||
DEFINES += -DUSE_CGL
|
DEFINES += -DUSE_CGL
|
||||||
endif
|
endif
|
||||||
|
|
|
||||||
|
|
@ -45,7 +45,7 @@ include $(DEPTH)/config/autoconf.mk
|
||||||
ifneq (,$(filter OS2 WINNT WINCE,$(OS_ARCH)))
|
ifneq (,$(filter OS2 WINNT WINCE,$(OS_ARCH)))
|
||||||
DIRS = win
|
DIRS = win
|
||||||
else
|
else
|
||||||
ifneq (,$(filter mac cocoa,$(MOZ_WIDGET_TOOLKIT)))
|
ifeq (cocoa,$(MOZ_WIDGET_TOOLKIT))
|
||||||
DIRS = mac
|
DIRS = mac
|
||||||
else
|
else
|
||||||
ifeq ($(MOZ_WIDGET_TOOLKIT),gtk2)
|
ifeq ($(MOZ_WIDGET_TOOLKIT),gtk2)
|
||||||
|
|
|
||||||
|
|
@ -96,7 +96,7 @@ LOCAL_INCLUDES = \
|
||||||
-I$(topsrcdir)/uriloader/exthandler \
|
-I$(topsrcdir)/uriloader/exthandler \
|
||||||
$(NULL)
|
$(NULL)
|
||||||
|
|
||||||
ifneq (,$(filter mac cocoa,$(MOZ_WIDGET_TOOLKIT)))
|
ifeq (cocoa,$(MOZ_WIDGET_TOOLKIT))
|
||||||
LOCAL_INCLUDES += -I$(topsrcdir)/uriloader/exthandler/mac
|
LOCAL_INCLUDES += -I$(topsrcdir)/uriloader/exthandler/mac
|
||||||
EXTRA_DSO_LDOPTS += \
|
EXTRA_DSO_LDOPTS += \
|
||||||
$(TK_LIBS) \
|
$(TK_LIBS) \
|
||||||
|
|
|
||||||
|
|
@ -71,7 +71,7 @@ EXTRA_DSO_LDOPTS= \
|
||||||
$(MOZ_COMPONENT_LIBS) \
|
$(MOZ_COMPONENT_LIBS) \
|
||||||
$(NULL)
|
$(NULL)
|
||||||
|
|
||||||
ifeq (mac,$(MOZ_WIDGET_TOOLKIT))
|
ifeq (cocoa,$(MOZ_WIDGET_TOOLKIT))
|
||||||
EXTRA_DSO_LDOPTS += $(TK_LIBS)
|
EXTRA_DSO_LDOPTS += $(TK_LIBS)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -95,7 +95,7 @@ OS_LIBS += $(call EXPAND_LIBNAME,winspool comdlg32)
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifneq (,$(filter mac cocoa,$(MOZ_WIDGET_TOOLKIT)))
|
ifeq (cocoa,$(MOZ_WIDGET_TOOLKIT))
|
||||||
LOCAL_INCLUDES += -I$(srcdir)/../printingui/src/mac
|
LOCAL_INCLUDES += -I$(srcdir)/../printingui/src/mac
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
@ -109,7 +109,7 @@ EXTRA_DSO_LDOPTS = \
|
||||||
$(MOZ_JS_LIBS) \
|
$(MOZ_JS_LIBS) \
|
||||||
$(NULL)
|
$(NULL)
|
||||||
|
|
||||||
ifneq (,$(filter mac cocoa,$(MOZ_WIDGET_TOOLKIT)))
|
ifeq (cocoa,$(MOZ_WIDGET_TOOLKIT))
|
||||||
EXTRA_DSO_LDOPTS += \
|
EXTRA_DSO_LDOPTS += \
|
||||||
$(TK_LIBS) \
|
$(TK_LIBS) \
|
||||||
$(NULL)
|
$(NULL)
|
||||||
|
|
|
||||||
|
|
@ -54,7 +54,7 @@ ifeq ($(MOZ_WIDGET_TOOLKIT),windows)
|
||||||
PLATFORM_DIR = win
|
PLATFORM_DIR = win
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifneq (,$(filter mac cocoa,$(MOZ_WIDGET_TOOLKIT)))
|
ifeq (cocoa,$(MOZ_WIDGET_TOOLKIT))
|
||||||
PLATFORM_DIR = mac
|
PLATFORM_DIR = mac
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -43,7 +43,7 @@ VPATH = @srcdir@
|
||||||
include $(DEPTH)/config/autoconf.mk
|
include $(DEPTH)/config/autoconf.mk
|
||||||
include $(topsrcdir)/config/rules.mk
|
include $(topsrcdir)/config/rules.mk
|
||||||
|
|
||||||
ifneq (,$(filter mac cocoa,$(MOZ_WIDGET_TOOLKIT)))
|
ifeq (cocoa,$(MOZ_WIDGET_TOOLKIT))
|
||||||
BASEBROWSER = basebrowser-mac-macho
|
BASEBROWSER = basebrowser-mac-macho
|
||||||
CLIENTMANIFEST = client-mac-macho
|
CLIENTMANIFEST = client-mac-macho
|
||||||
_PLATFORM = unix
|
_PLATFORM = unix
|
||||||
|
|
|
||||||
|
|
@ -81,7 +81,7 @@ EXTRA_DSO_LDOPTS = \
|
||||||
$(NULL)
|
$(NULL)
|
||||||
|
|
||||||
# Need to link with CoreFoundation on Mac
|
# Need to link with CoreFoundation on Mac
|
||||||
ifneq (,$(filter mac cocoa,$(MOZ_WIDGET_TOOLKIT)))
|
ifeq (cocoa,$(MOZ_WIDGET_TOOLKIT))
|
||||||
EXTRA_DSO_LDOPTS += $(TK_LIBS)
|
EXTRA_DSO_LDOPTS += $(TK_LIBS)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -78,7 +78,7 @@ AUTOCFG_JS_EXPORTS = \
|
||||||
$(srcdir)/prefcalls.js \
|
$(srcdir)/prefcalls.js \
|
||||||
$(NULL)
|
$(NULL)
|
||||||
|
|
||||||
ifneq (,$(filter mac cocoa,$(MOZ_WIDGET_TOOLKIT)))
|
ifeq (cocoa,$(MOZ_WIDGET_TOOLKIT))
|
||||||
AUTOCFG_JS_EXPORTS += $(srcdir)/mac/platform.js
|
AUTOCFG_JS_EXPORTS += $(srcdir)/mac/platform.js
|
||||||
else
|
else
|
||||||
ifeq ($(MOZ_WIDGET_TOOLKIT), windows)
|
ifeq ($(MOZ_WIDGET_TOOLKIT), windows)
|
||||||
|
|
|
||||||
|
|
@ -182,7 +182,7 @@ CSRCS += $(PSPDF_BASE_CSRCS) $(PDF_CSRCS)
|
||||||
EXPORTS_cairo += $(PDF_EXPORTS)
|
EXPORTS_cairo += $(PDF_EXPORTS)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifneq (,$(filter mac cocoa,$(MOZ_WIDGET_TOOLKIT)))
|
ifeq (cocoa,$(MOZ_WIDGET_TOOLKIT))
|
||||||
CSRCS += cairo-quartz-surface.c cairo-quartz-image-surface.c cairo-quartz-font.c
|
CSRCS += cairo-quartz-surface.c cairo-quartz-image-surface.c cairo-quartz-font.c
|
||||||
EXPORTS_cairo += cairo-quartz.h cairo-quartz-image.h
|
EXPORTS_cairo += cairo-quartz.h cairo-quartz-image.h
|
||||||
endif
|
endif
|
||||||
|
|
|
||||||
|
|
@ -92,7 +92,7 @@ EXPORTS += gfxPangoFonts.h
|
||||||
EXPORTS += gfxPDFSurface.h
|
EXPORTS += gfxPDFSurface.h
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifneq (,$(filter $(MOZ_WIDGET_TOOLKIT),mac cocoa))
|
ifeq (cocoa,$(MOZ_WIDGET_TOOLKIT))
|
||||||
EXPORTS += gfxPlatformMac.h \
|
EXPORTS += gfxPlatformMac.h \
|
||||||
gfxQuartzSurface.h \
|
gfxQuartzSurface.h \
|
||||||
gfxQuartzImageSurface.h \
|
gfxQuartzImageSurface.h \
|
||||||
|
|
|
||||||
|
|
@ -55,7 +55,7 @@ CPPSRCS = \
|
||||||
$(NULL)
|
$(NULL)
|
||||||
|
|
||||||
# see also intl/locale/src/Makefile.in
|
# see also intl/locale/src/Makefile.in
|
||||||
ifneq (,$(filter mac os2 windows, $(MOZ_WIDGET_TOOLKIT)))
|
ifneq (,$(filter os2 windows, $(MOZ_WIDGET_TOOLKIT)))
|
||||||
LOCALE_DIR = $(MOZ_WIDGET_TOOLKIT)
|
LOCALE_DIR = $(MOZ_WIDGET_TOOLKIT)
|
||||||
else
|
else
|
||||||
ifeq ($(MOZ_WIDGET_TOOLKIT), cocoa)
|
ifeq ($(MOZ_WIDGET_TOOLKIT), cocoa)
|
||||||
|
|
@ -86,7 +86,7 @@ EXTRA_DSO_LDOPTS = \
|
||||||
$(MOZ_COMPONENT_LIBS) \
|
$(MOZ_COMPONENT_LIBS) \
|
||||||
$(NULL)
|
$(NULL)
|
||||||
|
|
||||||
ifneq (,$(filter mac cocoa,$(MOZ_WIDGET_TOOLKIT)))
|
ifeq (cocoa,$(MOZ_WIDGET_TOOLKIT))
|
||||||
EXTRA_DSO_LDOPTS += \
|
EXTRA_DSO_LDOPTS += \
|
||||||
$(TK_LIBS) \
|
$(TK_LIBS) \
|
||||||
$(NULL)
|
$(NULL)
|
||||||
|
|
|
||||||
|
|
@ -49,7 +49,7 @@ DIRS = public idl src
|
||||||
|
|
||||||
ifdef ENABLE_TESTS
|
ifdef ENABLE_TESTS
|
||||||
DIRS += tests
|
DIRS += tests
|
||||||
ifneq (,$(filter mac cocoa windows, $(MOZ_WIDGET_TOOLKIT)))
|
ifneq (,$(filter cocoa windows, $(MOZ_WIDGET_TOOLKIT)))
|
||||||
DIRS += tests_multilocale
|
DIRS += tests_multilocale
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
|
||||||
|
|
@ -47,7 +47,7 @@ LIBRARY_NAME = nslocale_s
|
||||||
LIBXUL_LIBRARY = 1
|
LIBXUL_LIBRARY = 1
|
||||||
|
|
||||||
|
|
||||||
ifneq (,$(filter mac os2 windows, $(MOZ_WIDGET_TOOLKIT)))
|
ifneq (,$(filter os2 windows, $(MOZ_WIDGET_TOOLKIT)))
|
||||||
DIRS = $(MOZ_WIDGET_TOOLKIT)
|
DIRS = $(MOZ_WIDGET_TOOLKIT)
|
||||||
else
|
else
|
||||||
ifeq ($(MOZ_WIDGET_TOOLKIT), cocoa)
|
ifeq ($(MOZ_WIDGET_TOOLKIT), cocoa)
|
||||||
|
|
|
||||||
|
|
@ -87,7 +87,7 @@ else
|
||||||
ifeq ($(MOZ_WIDGET_TOOLKIT),windows)
|
ifeq ($(MOZ_WIDGET_TOOLKIT),windows)
|
||||||
CPPSRCS += nsWinCharset.cpp
|
CPPSRCS += nsWinCharset.cpp
|
||||||
else
|
else
|
||||||
ifneq (,$(filter cocoa mac, $(MOZ_WIDGET_TOOLKIT)))
|
ifeq (cocoa,$(MOZ_WIDGET_TOOLKIT))
|
||||||
CPPSRCS += nsMacCharset.cpp
|
CPPSRCS += nsMacCharset.cpp
|
||||||
else
|
else
|
||||||
ifeq ($(OS_ARCH),BeOS)
|
ifeq ($(OS_ARCH),BeOS)
|
||||||
|
|
@ -108,7 +108,7 @@ EXTRA_DSO_LDOPTS = \
|
||||||
|
|
||||||
LOCAL_INCLUDES = -I$(srcdir)/../util
|
LOCAL_INCLUDES = -I$(srcdir)/../util
|
||||||
|
|
||||||
ifneq (,$(filter cocoa mac, $(MOZ_WIDGET_TOOLKIT)))
|
ifeq (cocoa,$(MOZ_WIDGET_TOOLKIT))
|
||||||
EXTRA_DSO_LDOPTS += $(TK_LIBS)
|
EXTRA_DSO_LDOPTS += $(TK_LIBS)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -49,7 +49,7 @@ PROGRAM = xpcshell$(BIN_SUFFIX)
|
||||||
|
|
||||||
CPPSRCS = xpcshell.cpp
|
CPPSRCS = xpcshell.cpp
|
||||||
|
|
||||||
ifneq (,$(filter mac cocoa,$(MOZ_WIDGET_TOOLKIT)))
|
ifeq (cocoa,$(MOZ_WIDGET_TOOLKIT))
|
||||||
CMMSRCS += xpcshellMacUtils.mm
|
CMMSRCS += xpcshellMacUtils.mm
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -224,7 +224,7 @@ EXTRA_DSO_LDOPTS += $(MOZ_QT_LIBS) \
|
||||||
$(NULL)
|
$(NULL)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifneq (,$(filter mac cocoa,$(MOZ_WIDGET_TOOLKIT)))
|
ifeq (cocoa,$(MOZ_WIDGET_TOOLKIT))
|
||||||
EXTRA_DSO_LDOPTS += $(TK_LIBS)
|
EXTRA_DSO_LDOPTS += $(TK_LIBS)
|
||||||
OS_LIBS += -framework OpenGL
|
OS_LIBS += -framework OpenGL
|
||||||
endif
|
endif
|
||||||
|
|
|
||||||
|
|
@ -58,7 +58,7 @@ endif
|
||||||
ifeq ($(OS_ARCH),BeOS)
|
ifeq ($(OS_ARCH),BeOS)
|
||||||
DIRS = icon/beos icon
|
DIRS = icon/beos icon
|
||||||
endif
|
endif
|
||||||
ifneq (,$(filter mac cocoa,$(MOZ_WIDGET_TOOLKIT)))
|
ifeq (cocoa,$(MOZ_WIDGET_TOOLKIT))
|
||||||
DIRS = icon/mac icon
|
DIRS = icon/mac icon
|
||||||
endif
|
endif
|
||||||
endif # icon
|
endif # icon
|
||||||
|
|
|
||||||
|
|
@ -74,7 +74,7 @@ ifeq ($(MOZ_WIDGET_TOOLKIT),os2)
|
||||||
CPPSRCS += nsPluginsDirOS2.cpp
|
CPPSRCS += nsPluginsDirOS2.cpp
|
||||||
CPPSRCS += nsPluginNativeWindowOS2.cpp
|
CPPSRCS += nsPluginNativeWindowOS2.cpp
|
||||||
else
|
else
|
||||||
ifneq (,$(filter mac cocoa,$(MOZ_WIDGET_TOOLKIT)))
|
ifeq (cocoa,$(MOZ_WIDGET_TOOLKIT))
|
||||||
CPPSRCS += nsPluginsDirDarwin.cpp
|
CPPSRCS += nsPluginsDirDarwin.cpp
|
||||||
CPPSRCS += nsPluginNativeWindow.cpp
|
CPPSRCS += nsPluginNativeWindow.cpp
|
||||||
else
|
else
|
||||||
|
|
@ -103,7 +103,7 @@ EXTRA_DSO_LDOPTS = \
|
||||||
$(MOZ_JS_LIBS) \
|
$(MOZ_JS_LIBS) \
|
||||||
$(NULL)
|
$(NULL)
|
||||||
|
|
||||||
ifneq (,$(filter mac cocoa,$(MOZ_WIDGET_TOOLKIT)))
|
ifeq (cocoa,$(MOZ_WIDGET_TOOLKIT))
|
||||||
EXTRA_DSO_LDOPTS += $(TK_LIBS)
|
EXTRA_DSO_LDOPTS += $(TK_LIBS)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -101,7 +101,7 @@ else
|
||||||
CPPSRCS += nsAutodialWinCE.cpp
|
CPPSRCS += nsAutodialWinCE.cpp
|
||||||
endif
|
endif
|
||||||
else
|
else
|
||||||
ifneq (,$(filter mac cocoa,$(MOZ_WIDGET_TOOLKIT)))
|
ifeq (cocoa,$(MOZ_WIDGET_TOOLKIT))
|
||||||
CPPSRCS += nsURLHelperOSX.cpp
|
CPPSRCS += nsURLHelperOSX.cpp
|
||||||
else
|
else
|
||||||
CPPSRCS += nsURLHelperUnix.cpp
|
CPPSRCS += nsURLHelperUnix.cpp
|
||||||
|
|
|
||||||
|
|
@ -134,7 +134,7 @@ EXTRA_DSO_LDOPTS = \
|
||||||
$(ZLIB_LIBS) \
|
$(ZLIB_LIBS) \
|
||||||
$(NULL)
|
$(NULL)
|
||||||
|
|
||||||
ifneq (,$(filter mac cocoa,$(MOZ_WIDGET_TOOLKIT)))
|
ifeq (cocoa,$(MOZ_WIDGET_TOOLKIT)))
|
||||||
EXTRA_DSO_LDOPTS += \
|
EXTRA_DSO_LDOPTS += \
|
||||||
-framework SystemConfiguration \
|
-framework SystemConfiguration \
|
||||||
$(TK_LIBS) \
|
$(TK_LIBS) \
|
||||||
|
|
|
||||||
|
|
@ -75,7 +75,7 @@ CPPSRCS += \
|
||||||
$(NULL)
|
$(NULL)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq (,$(filter mac cocoa,$(MOZ_WIDGET_TOOLKIT)))
|
ifneq (cocoa,$(MOZ_WIDGET_TOOLKIT))
|
||||||
CPPSRCS += \
|
CPPSRCS += \
|
||||||
nsBinHexDecoder.cpp \
|
nsBinHexDecoder.cpp \
|
||||||
$(NULL)
|
$(NULL)
|
||||||
|
|
|
||||||
|
|
@ -122,7 +122,7 @@ EXTRA_DSO_LDOPTS += \
|
||||||
$(MOZ_JS_LIBS) \
|
$(MOZ_JS_LIBS) \
|
||||||
$(NULL)
|
$(NULL)
|
||||||
|
|
||||||
ifneq (,$(filter mac cocoa,$(MOZ_WIDGET_TOOLKIT)))
|
ifeq (cocoa,$(MOZ_WIDGET_TOOLKIT))
|
||||||
EXTRA_DSO_LDOPTS += $(TK_LIBS)
|
EXTRA_DSO_LDOPTS += $(TK_LIBS)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -63,7 +63,7 @@ EXTRA_DSO_LDOPTS += \
|
||||||
$(MOZ_COMPONENT_LIBS) \
|
$(MOZ_COMPONENT_LIBS) \
|
||||||
$(NULL)
|
$(NULL)
|
||||||
|
|
||||||
ifneq (,$(filter mac cocoa,$(MOZ_WIDGET_TOOLKIT)))
|
ifeq (cocoa,$(MOZ_WIDGET_TOOLKIT))
|
||||||
EXTRA_DSO_LDOPTS += $(TK_LIBS)
|
EXTRA_DSO_LDOPTS += $(TK_LIBS)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -44,7 +44,7 @@ VPATH = @srcdir@
|
||||||
include $(DEPTH)/config/autoconf.mk
|
include $(DEPTH)/config/autoconf.mk
|
||||||
|
|
||||||
ifdef MOZ_XUL
|
ifdef MOZ_XUL
|
||||||
ifeq (,$(filter qt beos os2 mac photon cocoa windows,$(MOZ_WIDGET_TOOLKIT)))
|
ifeq (,$(filter qt beos os2 photon cocoa windows,$(MOZ_WIDGET_TOOLKIT)))
|
||||||
DIRS = public src
|
DIRS = public src
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
|
||||||
|
|
@ -57,7 +57,7 @@ else
|
||||||
ifeq (,$(filter-out WINCE WINNT,$(OS_ARCH)))
|
ifeq (,$(filter-out WINCE WINNT,$(OS_ARCH)))
|
||||||
CPPSRCS += nsUserInfoWin.cpp
|
CPPSRCS += nsUserInfoWin.cpp
|
||||||
else
|
else
|
||||||
ifneq (,$(filter mac cocoa,$(MOZ_WIDGET_TOOLKIT)))
|
ifeq (cocoa,$(MOZ_WIDGET_TOOLKIT))
|
||||||
CMMSRCS += nsUserInfoMac.mm
|
CMMSRCS += nsUserInfoMac.mm
|
||||||
else
|
else
|
||||||
CPPSRCS += nsUserInfoUnix.cpp
|
CPPSRCS += nsUserInfoUnix.cpp
|
||||||
|
|
|
||||||
|
|
@ -95,7 +95,7 @@ _TEST_FILES = findbar_window.xul \
|
||||||
|
|
||||||
# test_panel_focus.xul won't work if the Full Keyboard Access preference is set to
|
# test_panel_focus.xul won't work if the Full Keyboard Access preference is set to
|
||||||
# textboxes and lists only, so skip this test on Mac
|
# textboxes and lists only, so skip this test on Mac
|
||||||
ifeq (,$(filter mac cocoa,$(MOZ_WIDGET_TOOLKIT)))
|
ifneq (cocoa,$(MOZ_WIDGET_TOOLKIT))
|
||||||
_TEST_FILES += test_panel_focus.xul \
|
_TEST_FILES += test_panel_focus.xul \
|
||||||
window_panel_focus.xul
|
window_panel_focus.xul
|
||||||
else
|
else
|
||||||
|
|
|
||||||
|
|
@ -135,7 +135,7 @@ _TEST_FILES = test_bug360220.xul \
|
||||||
videomask.css \
|
videomask.css \
|
||||||
$(NULL)
|
$(NULL)
|
||||||
|
|
||||||
ifeq (,$(filter mac cocoa,$(MOZ_WIDGET_TOOLKIT)))
|
ifneq (cocoa,$(MOZ_WIDGET_TOOLKIT))
|
||||||
_TEST_FILES += test_menubar.xul \
|
_TEST_FILES += test_menubar.xul \
|
||||||
window_menubar.xul
|
window_menubar.xul
|
||||||
endif
|
endif
|
||||||
|
|
|
||||||
|
|
@ -227,7 +227,7 @@ COMPONENT_LIBS += \
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq (,$(filter qt beos os2 mac photon cocoa windows,$(MOZ_WIDGET_TOOLKIT)))
|
ifeq (,$(filter qt beos os2 photon cocoa windows,$(MOZ_WIDGET_TOOLKIT)))
|
||||||
ifdef MOZ_XUL
|
ifdef MOZ_XUL
|
||||||
ifdef MOZ_XPFE_COMPONENTS
|
ifdef MOZ_XPFE_COMPONENTS
|
||||||
COMPONENT_LIBS += fileview
|
COMPONENT_LIBS += fileview
|
||||||
|
|
@ -306,7 +306,7 @@ endif
|
||||||
ifeq (os2,$(MOZ_WIDGET_TOOLKIT))
|
ifeq (os2,$(MOZ_WIDGET_TOOLKIT))
|
||||||
COMPONENT_LIBS += wdgtos2
|
COMPONENT_LIBS += wdgtos2
|
||||||
endif
|
endif
|
||||||
ifneq (,$(filter mac cocoa,$(MOZ_WIDGET_TOOLKIT)))
|
ifeq (cocoa,$(MOZ_WIDGET_TOOLKIT))
|
||||||
COMPONENT_LIBS += widget_mac
|
COMPONENT_LIBS += widget_mac
|
||||||
endif
|
endif
|
||||||
ifeq (qt,$(MOZ_WIDGET_TOOLKIT))
|
ifeq (qt,$(MOZ_WIDGET_TOOLKIT))
|
||||||
|
|
|
||||||
|
|
@ -79,7 +79,7 @@ ifneq ($(OS_ARCH),WINCE)
|
||||||
OS_LIBS += $(call EXPAND_LIBNAME,usp10 oleaut32)
|
OS_LIBS += $(call EXPAND_LIBNAME,usp10 oleaut32)
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
ifneq (,$(filter $(MOZ_WIDGET_TOOLKIT),mac cocoa))
|
ifeq (cocoa,$(MOZ_WIDGET_TOOLKIT))
|
||||||
EXTRA_DSO_LDOPTS += -lcups
|
EXTRA_DSO_LDOPTS += -lcups
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -76,7 +76,7 @@ endif
|
||||||
|
|
||||||
ifdef MOZ_CRASHREPORTER
|
ifdef MOZ_CRASHREPORTER
|
||||||
libs:: crashreporter.ini
|
libs:: crashreporter.ini
|
||||||
ifneq (,$(filter mac cocoa,$(MOZ_WIDGET_TOOLKIT)))
|
ifeq (cocoa,$(MOZ_WIDGET_TOOLKIT))
|
||||||
$(SYSINSTALL) $(IFLAGS1) $^ $(FINAL_TARGET)/crashreporter.app/Contents/MacOS
|
$(SYSINSTALL) $(IFLAGS1) $^ $(FINAL_TARGET)/crashreporter.app/Contents/MacOS
|
||||||
else
|
else
|
||||||
$(SYSINSTALL) $(IFLAGS1) $^ $(FINAL_TARGET)
|
$(SYSINSTALL) $(IFLAGS1) $^ $(FINAL_TARGET)
|
||||||
|
|
|
||||||
|
|
@ -98,7 +98,7 @@ PACKAGER_NO_LIBS = 1
|
||||||
include $(topsrcdir)/toolkit/mozapps/installer/packager.mk
|
include $(topsrcdir)/toolkit/mozapps/installer/packager.mk
|
||||||
|
|
||||||
|
|
||||||
ifneq (,$(filter mac cocoa,$(MOZ_WIDGET_TOOLKIT)))
|
ifeq (cocoa,$(MOZ_WIDGET_TOOLKIT))
|
||||||
STAGEDIST = $(_ABS_DIST)/l10n-stage/$(MOZ_PKG_APPNAME)/$(_APPNAME)/Contents/MacOS
|
STAGEDIST = $(_ABS_DIST)/l10n-stage/$(MOZ_PKG_APPNAME)/$(_APPNAME)/Contents/MacOS
|
||||||
else
|
else
|
||||||
STAGEDIST = $(_ABS_DIST)/l10n-stage/$(MOZ_PKG_DIR)
|
STAGEDIST = $(_ABS_DIST)/l10n-stage/$(MOZ_PKG_DIR)
|
||||||
|
|
@ -108,7 +108,7 @@ $(STAGEDIST): AB_CD:=en-US
|
||||||
$(STAGEDIST): UNPACKAGE=$(ZIP_IN)
|
$(STAGEDIST): UNPACKAGE=$(ZIP_IN)
|
||||||
$(STAGEDIST): $(ZIP_IN)
|
$(STAGEDIST): $(ZIP_IN)
|
||||||
# only mac needs to remove the parent of STAGEDIST...
|
# only mac needs to remove the parent of STAGEDIST...
|
||||||
ifneq (,$(filter mac cocoa,$(MOZ_WIDGET_TOOLKIT)))
|
ifeq (cocoa,$(MOZ_WIDGET_TOOLKIT))
|
||||||
$(RM) -r -v $(DIST)/l10n-stage
|
$(RM) -r -v $(DIST)/l10n-stage
|
||||||
else
|
else
|
||||||
# ... and windows doesn't like removing STAGEDIST itself, remove all children
|
# ... and windows doesn't like removing STAGEDIST itself, remove all children
|
||||||
|
|
@ -133,7 +133,7 @@ repackage-zip:
|
||||||
cd $(DIST)/xpi-stage/locale-$(AB_CD) && \
|
cd $(DIST)/xpi-stage/locale-$(AB_CD) && \
|
||||||
tar --exclude=install.rdf --exclude=chrome.manifest $(TAR_CREATE_FLAGS) - * | ( cd $(STAGEDIST) && tar -xf - )
|
tar --exclude=install.rdf --exclude=chrome.manifest $(TAR_CREATE_FLAGS) - * | ( cd $(STAGEDIST) && tar -xf - )
|
||||||
ifneq (en,$(AB))
|
ifneq (en,$(AB))
|
||||||
ifneq (,$(filter mac cocoa,$(MOZ_WIDGET_TOOLKIT)))
|
ifeq (cocoa,$(MOZ_WIDGET_TOOLKIT))
|
||||||
mv $(_ABS_DIST)/l10n-stage/$(MOZ_PKG_APPNAME)/$(_APPNAME)/Contents/Resources/en.lproj $(_ABS_DIST)/l10n-stage/$(MOZ_PKG_APPNAME)/$(_APPNAME)/Contents/Resources/$(AB).lproj
|
mv $(_ABS_DIST)/l10n-stage/$(MOZ_PKG_APPNAME)/$(_APPNAME)/Contents/Resources/en.lproj $(_ABS_DIST)/l10n-stage/$(MOZ_PKG_APPNAME)/$(_APPNAME)/Contents/Resources/$(AB).lproj
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
@ -148,7 +148,7 @@ ifdef MOZ_MAKE_COMPLETE_MAR
|
||||||
endif
|
endif
|
||||||
# packaging done, undo l10n stuff
|
# packaging done, undo l10n stuff
|
||||||
ifneq (en,$(AB))
|
ifneq (en,$(AB))
|
||||||
ifneq (,$(filter mac cocoa,$(MOZ_WIDGET_TOOLKIT)))
|
ifeq (cocoa,$(MOZ_WIDGET_TOOLKIT))
|
||||||
mv $(_ABS_DIST)/l10n-stage/$(MOZ_PKG_APPNAME)/$(_APPNAME)/Contents/Resources/$(AB).lproj $(_ABS_DIST)/l10n-stage/$(MOZ_PKG_APPNAME)/$(_APPNAME)/Contents/Resources/en.lproj
|
mv $(_ABS_DIST)/l10n-stage/$(MOZ_PKG_APPNAME)/$(_APPNAME)/Contents/Resources/$(AB).lproj $(_ABS_DIST)/l10n-stage/$(MOZ_PKG_APPNAME)/$(_APPNAME)/Contents/Resources/en.lproj
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
|
||||||
|
|
@ -43,7 +43,7 @@ include $(MOZILLA_DIR)/toolkit/mozapps/installer/package-name.mk
|
||||||
# This is how we create the binary packages we release to the public.
|
# This is how we create the binary packages we release to the public.
|
||||||
|
|
||||||
ifndef MOZ_PKG_FORMAT
|
ifndef MOZ_PKG_FORMAT
|
||||||
ifneq (,$(filter mac cocoa,$(MOZ_WIDGET_TOOLKIT)))
|
ifeq (cocoa,$(MOZ_WIDGET_TOOLKIT))
|
||||||
MOZ_PKG_FORMAT = DMG
|
MOZ_PKG_FORMAT = DMG
|
||||||
else
|
else
|
||||||
ifeq (,$(filter-out OS2 WINNT WINCE BeOS, $(OS_ARCH)))
|
ifeq (,$(filter-out OS2 WINNT WINCE BeOS, $(OS_ARCH)))
|
||||||
|
|
|
||||||
|
|
@ -106,7 +106,7 @@ OS_CXXFLAGS += $(TK_CFLAGS)
|
||||||
OS_LIBS += $(TK_LIBS)
|
OS_LIBS += $(TK_LIBS)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifneq (,$(filter mac cocoa,$(MOZ_WIDGET_TOOLKIT)))
|
ifeq (cocoa,$(MOZ_WIDGET_TOOLKIT))
|
||||||
HAVE_PROGRESSUI = 1
|
HAVE_PROGRESSUI = 1
|
||||||
CMMSRCS += progressui_osx.mm launchchild_osx.mm
|
CMMSRCS += progressui_osx.mm launchchild_osx.mm
|
||||||
OS_LIBS += -framework Cocoa
|
OS_LIBS += -framework Cocoa
|
||||||
|
|
@ -142,7 +142,7 @@ libs:: updater.png
|
||||||
$(INSTALL) $(IFLAGS1) $^ $(DIST)/bin/icons
|
$(INSTALL) $(IFLAGS1) $^ $(DIST)/bin/icons
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifneq (,$(filter mac cocoa,$(MOZ_WIDGET_TOOLKIT)))
|
ifeq (cocoa,$(MOZ_WIDGET_TOOLKIT))
|
||||||
libs::
|
libs::
|
||||||
$(NSINSTALL) -D $(DIST)/bin/updater.app
|
$(NSINSTALL) -D $(DIST)/bin/updater.app
|
||||||
rsync -a -C --exclude "*.in" $(srcdir)/macbuild/Contents $(DIST)/bin/updater.app
|
rsync -a -C --exclude "*.in" $(srcdir)/macbuild/Contents $(DIST)/bin/updater.app
|
||||||
|
|
|
||||||
|
|
@ -45,7 +45,7 @@ include $(DEPTH)/config/autoconf.mk
|
||||||
DIRS = public src
|
DIRS = public src
|
||||||
|
|
||||||
# Use Qute for non-Mac non-Phoenix apps
|
# Use Qute for non-Mac non-Phoenix apps
|
||||||
ifeq (,$(filter mac cocoa,$(MOZ_WIDGET_TOOLKIT)))
|
ifneq (cocoa,$(MOZ_WIDGET_TOOLKIT)))
|
||||||
ifndef MOZ_PHOENIX
|
ifndef MOZ_PHOENIX
|
||||||
DIRS += skin
|
DIRS += skin
|
||||||
endif
|
endif
|
||||||
|
|
|
||||||
|
|
@ -52,7 +52,7 @@ include $(DEPTH)/config/autoconf.mk
|
||||||
# PMStripe overrides (toolkit/themes/pmstripe)
|
# PMStripe overrides (toolkit/themes/pmstripe)
|
||||||
# faststripe Winstripe + faststripe (no native theme components)
|
# faststripe Winstripe + faststripe (no native theme components)
|
||||||
|
|
||||||
ifneq (,$(filter mac cocoa,$(MOZ_WIDGET_TOOLKIT)))
|
ifeq (cocoa,$(MOZ_WIDGET_TOOLKIT))
|
||||||
DIRS = pinstripe
|
DIRS = pinstripe
|
||||||
else
|
else
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -77,7 +77,7 @@ endif
|
||||||
include $(topsrcdir)/config/config.mk
|
include $(topsrcdir)/config/config.mk
|
||||||
|
|
||||||
ifdef MOZ_ENABLE_LIBXUL
|
ifdef MOZ_ENABLE_LIBXUL
|
||||||
ifeq (,$(filter mac cocoa,$(MOZ_WIDGET_TOOLKIT)))
|
ifneq (cocoa,$(MOZ_WIDGET_TOOLKIT))
|
||||||
EXTRA_DSO_LIBS = xul
|
EXTRA_DSO_LIBS = xul
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
@ -92,7 +92,7 @@ LIBS += \
|
||||||
$(NULL)
|
$(NULL)
|
||||||
|
|
||||||
ifdef MOZ_ENABLE_LIBXUL
|
ifdef MOZ_ENABLE_LIBXUL
|
||||||
ifneq (,$(filter mac cocoa,$(MOZ_WIDGET_TOOLKIT)))
|
ifeq (cocoa,$(MOZ_WIDGET_TOOLKIT))
|
||||||
LIBS += $(DIST)/bin/XUL
|
LIBS += $(DIST)/bin/XUL
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
|
||||||
|
|
@ -53,7 +53,7 @@ PACKAGE_BASE_DIR = $(DIST)
|
||||||
# Default output location for update archive
|
# Default output location for update archive
|
||||||
STAGE_DIR = $(DIST)/$(PKG_UPDATE_PATH)
|
STAGE_DIR = $(DIST)/$(PKG_UPDATE_PATH)
|
||||||
|
|
||||||
ifneq (,$(filter mac cocoa,$(MOZ_WIDGET_TOOLKIT)))
|
ifeq (cocoa,$(MOZ_WIDGET_TOOLKIT))
|
||||||
ifdef UNIVERSAL_BINARY
|
ifdef UNIVERSAL_BINARY
|
||||||
ifneq (,$(filter %/l10n-stage,$(PACKAGE_BASE_DIR)))
|
ifneq (,$(filter %/l10n-stage,$(PACKAGE_BASE_DIR)))
|
||||||
PACKAGE_DIR = $(PACKAGE_BASE_DIR)/$(MOZ_PKG_APPNAME)/$(MOZ_APP_DISPLAYNAME).app
|
PACKAGE_DIR = $(PACKAGE_BASE_DIR)/$(MOZ_PKG_APPNAME)/$(MOZ_APP_DISPLAYNAME).app
|
||||||
|
|
|
||||||
|
|
@ -66,7 +66,7 @@ CPPSRCS = \
|
||||||
nsMemoryReporterManager.cpp \
|
nsMemoryReporterManager.cpp \
|
||||||
$(NULL)
|
$(NULL)
|
||||||
|
|
||||||
ifneq (,$(filter mac cocoa,$(MOZ_WIDGET_TOOLKIT)))
|
ifeq (cocoa,$(MOZ_WIDGET_TOOLKIT))
|
||||||
CPPSRCS += nsMacUtilsImpl.cpp
|
CPPSRCS += nsMacUtilsImpl.cpp
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
@ -123,7 +123,7 @@ XPIDLSRCS = \
|
||||||
nsIMemoryReporter.idl \
|
nsIMemoryReporter.idl \
|
||||||
$(NULL)
|
$(NULL)
|
||||||
|
|
||||||
ifneq (,$(filter mac cocoa,$(MOZ_WIDGET_TOOLKIT)))
|
ifeq (cocoa,$(MOZ_WIDGET_TOOLKIT))
|
||||||
XPIDLSRCS += nsIMacUtils.idl
|
XPIDLSRCS += nsIMacUtils.idl
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -95,7 +95,7 @@ EXTRA_DSO_LDOPTS = \
|
||||||
$(NULL)
|
$(NULL)
|
||||||
|
|
||||||
# Need to link with CoreFoundation on Mac
|
# Need to link with CoreFoundation on Mac
|
||||||
ifneq (,$(filter mac cocoa,$(MOZ_WIDGET_TOOLKIT)))
|
ifeq (cocoa,$(MOZ_WIDGET_TOOLKIT))
|
||||||
EXTRA_DSO_LDOPTS += \
|
EXTRA_DSO_LDOPTS += \
|
||||||
$(TK_LIBS) \
|
$(TK_LIBS) \
|
||||||
$(NULL)
|
$(NULL)
|
||||||
|
|
|
||||||
|
|
@ -61,7 +61,7 @@ LIBS = \
|
||||||
$(NULL)
|
$(NULL)
|
||||||
|
|
||||||
# Need to link with CoreFoundation on Mac
|
# Need to link with CoreFoundation on Mac
|
||||||
ifneq (,$(filter mac cocoa,$(MOZ_WIDGET_TOOLKIT)))
|
ifeq (cocoa,$(MOZ_WIDGET_TOOLKIT))
|
||||||
LIBS += \
|
LIBS += \
|
||||||
$(TK_LIBS) \
|
$(TK_LIBS) \
|
||||||
$(NULL)
|
$(NULL)
|
||||||
|
|
|
||||||
|
|
@ -58,7 +58,7 @@ LIBS = \
|
||||||
$(NULL)
|
$(NULL)
|
||||||
|
|
||||||
# Need to link with CoreFoundation on Mac
|
# Need to link with CoreFoundation on Mac
|
||||||
ifneq (,$(filter mac cocoa,$(MOZ_WIDGET_TOOLKIT)))
|
ifeq (cocoa,$(MOZ_WIDGET_TOOLKIT))
|
||||||
LIBS += \
|
LIBS += \
|
||||||
$(TK_LIBS) \
|
$(TK_LIBS) \
|
||||||
$(NULL)
|
$(NULL)
|
||||||
|
|
|
||||||
|
|
@ -96,7 +96,7 @@ LOCAL_INCLUDES += \
|
||||||
-I$(topsrcdir)/toolkit/profile/src \
|
-I$(topsrcdir)/toolkit/profile/src \
|
||||||
$(NULL)
|
$(NULL)
|
||||||
|
|
||||||
ifneq (,$(filter mac cocoa,$(MOZ_WIDGET_TOOLKIT)))
|
ifeq (cocoa,$(MOZ_WIDGET_TOOLKIT))
|
||||||
TK_LIBS := -framework Cocoa $(TK_LIBS)
|
TK_LIBS := -framework Cocoa $(TK_LIBS)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
@ -268,7 +268,7 @@ endif
|
||||||
libs::
|
libs::
|
||||||
touch $(DIST)/bin/.autoreg
|
touch $(DIST)/bin/.autoreg
|
||||||
|
|
||||||
ifneq (,$(filter mac cocoa,$(MOZ_WIDGET_TOOLKIT)))
|
ifeq (cocoa,$(MOZ_WIDGET_TOOLKIT))
|
||||||
|
|
||||||
FRAMEWORK_NAME = XUL
|
FRAMEWORK_NAME = XUL
|
||||||
FRAMEWORK_VERSION = $(MOZILLA_VERSION)
|
FRAMEWORK_VERSION = $(MOZILLA_VERSION)
|
||||||
|
|
|
||||||
|
|
@ -53,7 +53,7 @@ NO_PKG_FILES = \
|
||||||
# If we're on mac, we want to make the .pkg first, in the mac/
|
# If we're on mac, we want to make the .pkg first, in the mac/
|
||||||
# directory. Then packager.mk can put it into a DMG
|
# directory. Then packager.mk can put it into a DMG
|
||||||
|
|
||||||
ifneq (,$(filter mac cocoa,$(MOZ_WIDGET_TOOLKIT)))
|
ifeq (cocoa,$(MOZ_WIDGET_TOOLKIT))
|
||||||
DIRS += mac
|
DIRS += mac
|
||||||
_APPNAME = $(PKG_BASENAME).pkg
|
_APPNAME = $(PKG_BASENAME).pkg
|
||||||
PKG_SKIP_STRIP = 1
|
PKG_SKIP_STRIP = 1
|
||||||
|
|
|
||||||
|
|
@ -66,7 +66,7 @@ LIBS = \
|
||||||
$(NULL)
|
$(NULL)
|
||||||
|
|
||||||
# Need to link with CoreFoundation on Mac
|
# Need to link with CoreFoundation on Mac
|
||||||
ifneq (,$(filter mac cocoa,$(MOZ_WIDGET_TOOLKIT)))
|
ifeq (cocoa,$(MOZ_WIDGET_TOOLKIT))
|
||||||
LIBS += \
|
LIBS += \
|
||||||
$(TK_LIBS) \
|
$(TK_LIBS) \
|
||||||
$(NULL)
|
$(NULL)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue