383934 Re-organize targets to allow preference panes to use -bundle_loader. Use aggregate targets to build the application; set bundle loader for preference panes. r=smorgan sr=me

git-svn-id: svn://10.0.0.236/trunk@240756 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
mark%moxienet.com 2007-12-10 22:00:25 +00:00
parent 245e9ee724
commit fc60a67308
5 changed files with 458 additions and 1068 deletions

File diff suppressed because it is too large Load Diff

View File

@ -38,7 +38,6 @@
*
* ***** END LICENSE BLOCK ***** */
#import <Carbon/Carbon.h>
#import <Cocoa/Cocoa.h>
#import <ApplicationServices/ApplicationServices.h>
#import <Sparkle/Sparkle.h>

View File

@ -3,17 +3,17 @@ INSTALL_PATH = "$(USER_LIBRARY_DIR)/Bundles"
GCC_PREFIX_HEADER = src/includes/ChimeraPrefix.h
// Most/all of this will be removed when pref panes switch to bundle linking
// rather than actually compiling any core code.
GCC_PREPROCESSOR_DEFINITIONS = OSTYPE=Darwin1.4 OSARCH=Darwin MOZILLA_INTERNAL_API=1
OTHER_LDFLAGS = -lpthread -lm
OTHER_CFLAGS = -fshort-wchar
LIBRARY_STYLE = BUNDLE
GCC_ENABLE_PASCAL_STRINGS = YES
GCC_ENABLE_CPP_EXCEPTIONS = NO
GCC_ENABLE_CPP_RTTI = NO
// Thes warning settings should be revisited once pref panes aren't tied to core
// Needed because some preference panes still use libxpcom_core.dylib and
// related headers as an internal Mozilla user.
GCC_PREPROCESSOR_DEFINITIONS = OSTYPE=Darwin1.4 OSARCH=Darwin MOZILLA_INTERNAL_API=1
OTHER_CFLAGS = -fshort-wchar
GCC_WARN_SIGN_COMPARE = YES
WARNING_CFLAGS = -Wall -Wno-four-char-constants
OTHER_CPLUSPLUSFLAGS = $(OTHER_CPLUSPLUSFLAGS) -Wno-non-virtual-dtor
CONFIGURATION_BUILD_DIR = $(BUILD_DIR)/$(CONFIGURATION)/Camino.app/Contents/PreferencePanes
BUNDLE_LOADER = $(BUILD_DIR)/$(CONFIGURATION)/Camino.app/Contents/MacOS/Camino