331827 Provisional build patch to make gtk2/darwin builds functional out of the box. There may be additional changes needed for static builds. r=bsmedberg

This commit is contained in:
mark%moxienet.com 2006-03-28 20:06:17 +00:00
Родитель c83688efe5
Коммит 0f9d7359a9
4 изменённых файлов: 7 добавлений и 6 удалений

Просмотреть файл

@ -103,8 +103,9 @@ ifdef MOZ_PLACES
EXTRA_DSO_LDOPTS += $(DEPTH)/db/morkreader/$(LIB_PREFIX)morkreader_s.$(LIB_SUFFIX) EXTRA_DSO_LDOPTS += $(DEPTH)/db/morkreader/$(LIB_PREFIX)morkreader_s.$(LIB_SUFFIX)
endif endif
# Need to link to CoreFoundation for Mac Migrators (PList reading code) # Mac: Need to link with CoreFoundation for Mac Migrators (PList reading code)
ifneq (,$(filter mac cocoa,$(MOZ_WIDGET_TOOLKIT))) # GTK2: Need to link with glib for GNOME shell service
ifneq (,$(filter mac cocoa gtk2,$(MOZ_WIDGET_TOOLKIT)))
EXTRA_DSO_LDOPTS += \ EXTRA_DSO_LDOPTS += \
$(TK_LIBS) \ $(TK_LIBS) \
$(NULL) $(NULL)

Просмотреть файл

@ -146,7 +146,7 @@ endif
ifdef MOZ_ENABLE_CAIRO_FT ifdef MOZ_ENABLE_CAIRO_FT
CSRCS += cairo-ft-font.c CSRCS += cairo-ft-font.c
EXPORTS += cairo-ft.h EXPORTS += cairo-ft.h
LOCAL_INCLUDES += $(CAIRO_FT_CFLAGS) OS_INCLUDES += $(CAIRO_FT_CFLAGS)
endif endif

Просмотреть файл

@ -48,7 +48,7 @@ FORCE_USE_PIC = 1
FORCE_SHARED_LIB = 1 FORCE_SHARED_LIB = 1
MOZILLA_INTERNAL_API = 1 MOZILLA_INTERNAL_API = 1
ifeq ($(OS_ARCH),Darwin) ifneq (,$(filter mac cocoa,$(MOZ_WIDGET_TOOLKIT)))
# This is going to be a framework named "XUL", not an ordinary library named # This is going to be a framework named "XUL", not an ordinary library named
# "libxul.dylib" # "libxul.dylib"
LIBRARY_NAME=XUL LIBRARY_NAME=XUL

Просмотреть файл

@ -71,7 +71,7 @@ CPPSRCS += nsLeakDetector.cpp
REQUIRES += boehm REQUIRES += boehm
endif endif
ifeq ($(OS_ARCH),Darwin) ifneq (,$(filter mac cocoa,$(MOZ_WIDGET_TOOLKIT)))
CPPSRCS += nsMacUtilsImpl.cpp CPPSRCS += nsMacUtilsImpl.cpp
endif endif
@ -130,7 +130,7 @@ ifdef GC_LEAK_DETECTOR
XPIDLSRCS += nsILeakDetector.idl XPIDLSRCS += nsILeakDetector.idl
endif endif
ifeq ($(OS_ARCH),Darwin) ifneq (,$(filter mac cocoa,$(MOZ_WIDGET_TOOLKIT)))
XPIDLSRCS += nsIMacUtils.idl XPIDLSRCS += nsIMacUtils.idl
endif endif