зеркало из https://github.com/mozilla/gecko-dev.git
49 строки
1.3 KiB
Makefile
49 строки
1.3 KiB
Makefile
# Branding Makefile
|
|
# - jars chrome artwork
|
|
# - copies artwork to appropriate places in objdir for bundling into app
|
|
# resources
|
|
|
|
DEPTH = ../../..
|
|
topsrcdir = @top_srcdir@
|
|
srcdir = @srcdir@
|
|
VPATH = @srcdir@
|
|
|
|
include $(DEPTH)/config/autoconf.mk
|
|
|
|
include $(topsrcdir)/config/rules.mk
|
|
|
|
BROWSER_APP_FILES = \
|
|
default.xpm \
|
|
mozicon16.xpm \
|
|
mozicon50.xpm \
|
|
firefox.ico \
|
|
document.ico \
|
|
$(NULL)
|
|
|
|
BROWSER_CONTENT_FILES = \
|
|
aboutCredits.png \
|
|
aboutFooter.png \
|
|
about.png \
|
|
$(NULL)
|
|
|
|
export::
|
|
$(NSINSTALL) -D $(DIST)/branding
|
|
cp $(addprefix $(srcdir)/, $(BROWSER_APP_FILES)) $(DIST)/branding/
|
|
if [ ! -d $(DEPTH)/browser/base/content ] ; then \
|
|
mkdir $(DEPTH)/browser/base/content; \
|
|
fi
|
|
cp $(addprefix $(srcdir)/, $(BROWSER_CONTENT_FILES)) $(DEPTH)/browser/base/content
|
|
ifneq (,$(filter mac cocoa,$(MOZ_WIDGET_TOOLKIT)))
|
|
cp $(srcdir)/firefox.icns $(DIST)/branding/firefox.icns
|
|
cp $(srcdir)/document.icns $(DIST)/branding/document.icns
|
|
if [ ! -d $(DEPTH)/toolkit/skin/mac/icons ] ; then \
|
|
mkdir $(DEPTH)/toolkit/skin/mac/icons; \
|
|
fi
|
|
cp $(srcdir)/alert-exclam.png $(DEPTH)/toolkit/skin/mac/icons/alert-exclam.png
|
|
endif
|
|
ifeq ($(OS_ARCH),WINNT)
|
|
cp $(srcdir)/firefox.ico $(DIST)/branding/app.ico
|
|
cp $(srcdir)/Header.bmp $(DIST)/branding/Header.bmp
|
|
cp $(srcdir)/Watermrk.bmp $(DIST)/branding/Watermrk.bmp
|
|
endif
|