DXR is a code search and navigation tool aimed at making sense of large projects. It supports full-text and regex searches as well as structural queries.

Untracked file

Line Code
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57
# 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

DIRS = \
	content \
	locales \
	$(NULL)

include $(topsrcdir)/config/rules.mk

BROWSER_APP_FILES = \
	default.xpm \
	mozicon128.png \
	mozicon16.xpm \
	mozicon50.xpm \
	firefox.ico \
	document.ico \
	$(NULL)

export::
	$(NSINSTALL) -D $(DIST)/branding
	cp $(addprefix $(srcdir)/, $(BROWSER_APP_FILES)) $(DIST)/branding/
ifneq (,$(filter gtk gtk2,$(MOZ_WIDGET_TOOLKIT)))
	cp $(srcdir)/document.png  $(DIST)/branding/document.png
	$(NSINSTALL) -D $(DIST)/install
	cp $(srcdir)/header.png    $(DIST)/install/header.png
	cp $(srcdir)/watermark.png $(DIST)/install/watermark.png
endif
ifneq (,$(filter mac cocoa,$(MOZ_WIDGET_TOOLKIT)))
	cp $(srcdir)/firefox.icns  $(DIST)/branding/firefox.icns
	cp $(srcdir)/document.icns $(DIST)/branding/document.icns
	cp $(srcdir)/dsstore $(DIST)/branding/dsstore
	cp $(srcdir)/background.png $(DIST)/branding/background.png
	cp $(srcdir)/disk.icns $(DIST)/branding/disk.icns
	cp $(srcdir)/license.r $(DIST)/branding/license.r
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
ifeq ($(OS_ARCH),OS2)
	cp $(srcdir)/firefox-os2.ico  $(DIST)/branding/firefox.ico
	cp $(srcdir)/firefox-os2.ico  $(DIST)/branding/app.ico
	cp $(srcdir)/document-os2.ico  $(DIST)/branding/document.ico
	cp $(srcdir)/Header.bmp   $(DIST)/branding/Header.bmp
	cp $(srcdir)/Watermrk.bmp $(DIST)/branding/Watermrk.bmp
endif