зеркало из https://github.com/mozilla/gecko-dev.git
Родитель
674d745ef3
Коммит
0f535e7061
|
@ -70,10 +70,6 @@ ifeq ($(OS_CONFIG),SunOS4.1)
|
|||
NSPR_CFLAGS += -I$(srcdir)/../nsprpub/pr/include/md
|
||||
endif
|
||||
|
||||
ifeq ($(OS_CONFIG),Rhapsody10.0)
|
||||
NSPR_CFLAGS += -DGETCWD_CANT_MALLOC
|
||||
endif
|
||||
|
||||
HEADERS = nsBuildID.h
|
||||
ifeq ($(MOZ_OS2_TOOLS),VACPP)
|
||||
HEADERS += $(srcdir)/os2/dirent.h
|
||||
|
|
|
@ -132,11 +132,6 @@ ifeq ($(OS_ARCH),OS_2)
|
|||
OS_ARCH := OS2
|
||||
OS_RELEASE := $(shell uname -v)
|
||||
endif
|
||||
ifeq ($(OS_ARCH),Mac OS)
|
||||
ifeq ($(OS_RELEASE),10.0)
|
||||
OS_ARCH := Rhapsody
|
||||
endif
|
||||
endif
|
||||
ifeq ($(OS_ARCH),BeOS)
|
||||
BEOS_ADDON_WORKAROUND = 1
|
||||
endif
|
||||
|
|
|
@ -29,8 +29,12 @@ include $(DEPTH)/config/autoconf.mk
|
|||
ifeq ($(OS_ARCH),OS2)
|
||||
DIRS = win
|
||||
else
|
||||
ifeq ($(MOZ_WIDGET_TOOLKIT),mac)
|
||||
DIRS = mac
|
||||
else
|
||||
DIRS = unix
|
||||
endif
|
||||
endif
|
||||
|
||||
include $(topsrcdir)/config/rules.mk
|
||||
|
||||
|
|
|
@ -28,6 +28,32 @@ EXPORT_LIBRARY = 1
|
|||
IS_COMPONENT = 1
|
||||
MODULE_NAME = nsWidgetMacModule
|
||||
XPIDL_MODULE = widget
|
||||
REQUIRES = xpcom \
|
||||
gfx \
|
||||
string \
|
||||
uconv \
|
||||
dom \
|
||||
webshell \
|
||||
docshell \
|
||||
plugin \
|
||||
content \
|
||||
layout \
|
||||
view \
|
||||
xul \
|
||||
necko \
|
||||
nkcache \
|
||||
locale \
|
||||
pref \
|
||||
appshell \
|
||||
intl \
|
||||
timer \
|
||||
mimetype \
|
||||
$(NULL)
|
||||
|
||||
GFX_LCPPSRCS = \
|
||||
nsRegionMac.cpp \
|
||||
nsWatchTask.cpp \
|
||||
$(NULL)
|
||||
|
||||
CPPSRCS = nsAppShell.cpp \
|
||||
nsBidiKeyboard.cpp \
|
||||
|
@ -37,6 +63,7 @@ CPPSRCS = nsAppShell.cpp \
|
|||
nsDeleteObserver.cpp \
|
||||
nsDragService.cpp \
|
||||
nsFilePicker.cpp \
|
||||
nsLabel.cpp \
|
||||
nsLookAndFeel.cpp \
|
||||
nsMacControl.cpp \
|
||||
nsMacEventHandler.cpp \
|
||||
|
@ -49,29 +76,43 @@ CPPSRCS = nsAppShell.cpp \
|
|||
nsMenuBarX.cpp \
|
||||
nsMenuItemX.cpp \
|
||||
nsMimeMapper.cpp \
|
||||
$(topsrcdir)/gfx/src/mac/nsRegionMac.cpp \
|
||||
nsScrollbar.cpp \
|
||||
nsSound.cpp \
|
||||
nsTextWidget.cpp \
|
||||
nsTSMStrategy.cpp \
|
||||
nsToolkit.cpp \
|
||||
nsWidgetFactory.cpp \
|
||||
nsWidgetSupport.cpp \
|
||||
nsWindow.cpp \
|
||||
$(GFX_LCPPSRCS) \
|
||||
$(NULL)
|
||||
|
||||
XPIDLSRCS += \
|
||||
nsIChangeManager.idl \
|
||||
$(NULL)
|
||||
|
||||
GARBAGE += $(GFX_LCPPSRCS)
|
||||
|
||||
include $(topsrcdir)/config/rules.mk
|
||||
|
||||
export:: $(addprefix $(topsrcdir)/gfx/src/mac/,$(GFX_LCPPSRCS))
|
||||
$(INSTALL) $^ .
|
||||
|
||||
EXTRA_DSO_LDOPTS += \
|
||||
$(DIST)/lib/libxpwidgets_s.a \
|
||||
$(TK_LIBS) \
|
||||
-lgkgfx \
|
||||
$(MOZ_COMPONENT_LIBS) \
|
||||
-lgkgfx \
|
||||
-ltimer_mac \
|
||||
$(NULL)
|
||||
|
||||
INCLUDES += $(TK_CFLAGS) -I$(topsrcdir)/gfx/src/mac -I$(srcdir)/../xpwidgets \
|
||||
-I$(topsrcdir)/widget/timer/src/mac \
|
||||
$(NULL)
|
||||
LOCAL_INCLUDES = \
|
||||
$(TK_CFLAGS) \
|
||||
-I$(topsrcdir)/gfx/src/mac \
|
||||
-I$(srcdir)/../xpwidgets \
|
||||
-I$(topsrcdir)/widget/timer/src/mac \
|
||||
$(NULL)
|
||||
|
||||
# for "EnterMovies" in nsSound.cpp
|
||||
LDFLAGS += -framework QuickTime
|
||||
|
||||
|
|
|
@ -25,16 +25,24 @@ include $(DEPTH)/config/autoconf.mk
|
|||
MODULE = timer
|
||||
LIBRARY_NAME = timer_mac
|
||||
EXPORT_LIBRARY = 1
|
||||
IS_COMPONENT = 1
|
||||
#IS_COMPONENT = 1
|
||||
MODULE_NAME = nsMacTimerModule
|
||||
|
||||
REQUIRES = xpcom \
|
||||
gfx \
|
||||
$(NULL)
|
||||
|
||||
EXPORTS = $(srcdir)/../unix/nsUnixTimerCIID.h
|
||||
|
||||
GFX_LCPPSRCS = nsRepeater.cpp
|
||||
|
||||
CPPSRCS = nsTimerMac.cpp \
|
||||
$(topsrcdir)/gfx/src/mac/nsRepeater.cpp \
|
||||
nsTimerPeriodical.cpp \
|
||||
$(GFX_LCPPSRCS) \
|
||||
$(NULL)
|
||||
|
||||
GARBAGE += $(GFX_LCPPSRCS)
|
||||
|
||||
include $(topsrcdir)/config/rules.mk
|
||||
|
||||
DEFINES += -D_IMPL_NS_TIMER
|
||||
|
@ -44,3 +52,7 @@ EXTRA_DSO_LDOPTS+= \
|
|||
$(NULL)
|
||||
|
||||
INCLUDES += -I../../../public
|
||||
|
||||
export:: $(addprefix $(topsrcdir)/gfx/src/mac/, $(GFX_LCPPSRCS))
|
||||
$(INSTALL) $^ .
|
||||
|
||||
|
|
|
@ -29,8 +29,12 @@ include $(DEPTH)/config/autoconf.mk
|
|||
ifeq ($(OS_ARCH), OS2)
|
||||
DIRS = win
|
||||
else
|
||||
ifeq ($(MOZ_WIDGET_TOOLKIT),mac)
|
||||
DIRS = mac
|
||||
else
|
||||
DIRS = unix
|
||||
endif
|
||||
endif
|
||||
|
||||
include $(topsrcdir)/config/rules.mk
|
||||
|
||||
|
|
|
@ -29,8 +29,12 @@ include $(DEPTH)/config/autoconf.mk
|
|||
ifeq ($(MOZ_WIDGET_TOOLKIT),os2)
|
||||
DIRS = win
|
||||
else
|
||||
ifeq ($(MOZ_WIDGET_TOOLKIT),mac)
|
||||
DIRS = mac
|
||||
else
|
||||
DIRS = unix
|
||||
endif
|
||||
endif
|
||||
|
||||
include $(topsrcdir)/config/rules.mk
|
||||
|
||||
|
|
|
@ -29,8 +29,12 @@ include $(DEPTH)/config/autoconf.mk
|
|||
ifeq ($(MOZ_WIDGET_TOOLKIT),os2)
|
||||
DIRS = win
|
||||
else
|
||||
ifeq ($(MOZ_WIDGET_TOOLKIT),mac)
|
||||
DIRS = mac
|
||||
else
|
||||
DIRS = unix
|
||||
endif
|
||||
endif
|
||||
|
||||
include $(topsrcdir)/config/rules.mk
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче