зеркало из https://github.com/mozilla/pjs.git
Bug 342897 Copy required suite files from xpfe/bootstrap (and elsewhere) to suite/app. r=kairo,sr=Neil
This commit is contained in:
Родитель
0db21d66a4
Коммит
d1766ff48d
|
@ -46,15 +46,10 @@ MOZILLA_INTERNAL_API = 1
|
|||
|
||||
AB_CD = $(MOZ_UI_LOCALE)
|
||||
|
||||
DEFINES += -DAB_CD=$(AB_CD)
|
||||
|
||||
DIRS = profile
|
||||
|
||||
# XXX browser-prefs.js should be moved to within the /suite directory at
|
||||
# some sensible stage.
|
||||
PREF_JS_EXPORTS = \
|
||||
$(topsrcdir)/xpfe/bootstrap/browser-prefs.js \
|
||||
$(NULL)
|
||||
DEFINES += \
|
||||
-DAB_CD=$(AB_CD) \
|
||||
-DAPP_VERSION="$(MOZ_APP_VERSION)" \
|
||||
$(NULL)
|
||||
|
||||
ifeq ($(USE_SHORT_LIBNAME), 1)
|
||||
PROGRAM = $(MOZ_APP_NAME)$(BIN_SUFFIX)
|
||||
|
@ -149,7 +144,7 @@ endif
|
|||
endif
|
||||
|
||||
ifeq ($(OS_ARCH),BeOS)
|
||||
BEOS_PROGRAM_RESOURCE = $(topsrcdir)/xpfe/bootstrap/apprunner-beos.rsrc
|
||||
BEOS_PROGRAM_RESOURCE = apprunner-beos.rsrc
|
||||
ifdef BUILD_STATIC_LIBS
|
||||
OS_LIBS += -ltracker -lgame
|
||||
endif
|
||||
|
@ -165,8 +160,6 @@ ifdef BUILD_STATIC_LIBS
|
|||
include $(topsrcdir)/config/static-rules.mk
|
||||
endif
|
||||
|
||||
DEFINES += -DAPP_VERSION="$(MOZ_APP_VERSION)"
|
||||
|
||||
ifneq (,$(filter mac cocoa,$(MOZ_WIDGET_TOOLKIT)))
|
||||
ifdef BUILD_STATIC_LIBS
|
||||
LIBS += -framework QuickTime -framework IOKit
|
||||
|
@ -192,7 +185,19 @@ endif
|
|||
$(PROGRAM): $(DIST)/lib/$(LIB_PREFIX)xulapp_s.$(LIB_SUFFIX)
|
||||
|
||||
ifneq (,$(filter-out OS2 WINNT Darwin,$(OS_ARCH)))
|
||||
$(MOZ_APP_NAME):: mozilla.in Makefile.in Makefile $(DEPTH)/config/autoconf.mk
|
||||
$(MOZ_APP_NAME).1: seamonkey.man.in Makefile.in Makefile $(DEPTH)/config/autoconf.mk
|
||||
@sed -e "s|\@bindir\@|$(bindir)|g" -e "s|\@mozappdir\@|$(mozappdir)|g" \
|
||||
-e "s|\@MOZ_APP_DISPLAYNAME\@|$(MOZ_APP_DISPLAYNAME)|g" \
|
||||
-e "s|\@MOZ_APP_NAME\@|$(MOZ_APP_NAME)|g" \
|
||||
-e "s|\@MOZ_APP_VERSION\@|${MOZ_APP_VERSION}|g" < $< > $@
|
||||
|
||||
libs:: $(MOZ_APP_NAME).1
|
||||
$(INSTALL) $< $(DIST)/man/man1
|
||||
|
||||
install:: $(MOZ_APP_NAME).1
|
||||
$(SYSINSTALL) $(IFLAGS1) $< $(DESTDIR)$(mandir)/man1
|
||||
|
||||
$(MOZ_APP_NAME):: seamonkey.in Makefile.in Makefile $(DEPTH)/config/autoconf.mk
|
||||
cat $< | sed -e "s|%MOZAPPDIR%|$(mozappdir)|" \
|
||||
-e "s|%MOZ_USER_DIR%|.mozilla|" \
|
||||
-e "s|%MREDIR%|$(mredir)|" \
|
||||
|
|
|
@ -44,4 +44,6 @@ include $(DEPTH)/config/autoconf.mk
|
|||
|
||||
EXTRA_COMPONENTS = nsBrowserContentHandler.js
|
||||
|
||||
PREF_JS_EXPORTS = $(srcdir)/browser-prefs.js
|
||||
|
||||
include $(topsrcdir)/config/rules.mk
|
||||
|
|
|
@ -45,3 +45,25 @@ include $(DEPTH)/config/autoconf.mk
|
|||
DEFINES += -DAB_CD=$(AB_CD)
|
||||
|
||||
include $(topsrcdir)/config/rules.mk
|
||||
|
||||
PROFILE_FILES = \
|
||||
bookmarks.html \
|
||||
mimeTypes.rdf \
|
||||
localstore.rdf \
|
||||
panels.rdf \
|
||||
search.rdf \
|
||||
$(NULL)
|
||||
|
||||
PROFILE_CHROME = userChrome-example.css userContent-example.css
|
||||
|
||||
libs:: $(addprefix $(LOCALE_SRCDIR)/profile/,$(PROFILE_FILES))
|
||||
$(INSTALL) $^ $(FINAL_TARGET)/defaults/profile
|
||||
|
||||
libs:: $(addprefix $(LOCALE_SRCDIR)/profile/chrome/,$(PROFILE_CHROME))
|
||||
$(INSTALL) $^ $(FINAL_TARGET)/defaults/profile/chrome
|
||||
|
||||
install:: $(addprefix $(LOCALE_SRCDIR)/profile/,$(PROFILE_FILES))
|
||||
$(SYSINSTALL) $(IFLAGS1) $^ $(DESTDIR)$(mozappdir)/defaults/profile
|
||||
|
||||
install:: $(addprefix $(LOCALE_SRCDIR)/profile/chrome/,$(PROFILE_CHROME))
|
||||
$(SYSINSTALL) $(IFLAGS1) $^ $(DESTDIR)$(mozappdir)/defaults/profile/chrome
|
||||
|
|
Загрузка…
Ссылка в новой задаче