File:  [mozdev] / moji / source / moji / Makefile
Revision 1.10: download - view: text, annotated - select for diffs - revision graph
Tue Jun 29 08:41:41 2010 UTC (9 years, 5 months ago) by gvogt
Branches: MAIN
CVS tags: HEAD
tb3.1 support. 1.0 dicts.

#######################################################################
#
# Makefile for the Moji XPI
# Erwan LOISANT, (c) 2003-2004
#
#######################################################################

TOPDIR=..

include $(TOPDIR)/paths.mk

NAME=moji

include version.mk

XPIFILES=   install.js \
	        install.rdf \
	        chrome.manifest \
	        chrome/moji.jar \
	        defaults/preferences/moji.js

CONTENTFILES= content/contents.rdf \
	          content/dictionaries.js \
	          content/gpl.txt \
	          content/moji.js \
	          content/moji.xul \
	          content/msidebar.xul \
	          content/tbmoji.xul \
	          content/tb3moji.xul \
#	          content/tsbComposer.xul \
#	          content/tsbContactsSidebar.xul \
#	          content/tsbMessageView.xul \
#	          content/tsbMessenger.xul \
#	          content/tsbSidebar.js \
#	          content/tsbSidebar.xul
	          
PREFFILES=	content/prefs/prefs.js \
	          content/prefs/prefs.xul
	          
SKINFILES=	skin/classic/contents.rdf \
	          skin/classic/moji.css \
	          skin/classic/output.css \
#	          skin/classic/xsidebar.css
	          
IMGFILES=	 skin/classic/img/bken-20.png \
	          skin/classic/img/bken-32.png \
	          skin/classic/img/bkja-20.png \
	          skin/classic/img/bkja-32.png \
	          skin/classic/img/clear-21.png \
	          skin/classic/img/gen-24.png \
	          skin/classic/img/kan-24.png \
	          skin/classic/img/moji-icon-16.png \
	          skin/classic/img/moji-icon-24.png \
	          skin/classic/img/moji-icon.png \
	          skin/classic/img/moji.png \
#	          skin/classic/img/close.png

LOCALETMPL=   locale/LANG/contents.rdf \
	          locale/LANG/moji.dtd \
	          locale/LANG/moji.properties \
	          locale/LANG/welcome.html \
#	          locale/LANG/xsidebar.dtd
	          
LOCALEFILES=  $(subst LANG,de-DE,$(LOCALETMPL)) \
              $(subst LANG,en-US,$(LOCALETMPL)) \
              $(subst LANG,fr-FR,$(LOCALETMPL))
	          
XPINAME=$(NAME)-$(VERSION).xpi

all:  $(XPINAME)

include $(TOPDIR)/common.mk

chrome/moji.jar: $(CONTENTFILES) $(PREFFILES) $(SKINFILES) $(IMGFILES) $(LOCALEFILES)
	-$(ZIP) -u $@ $?

include $(TOPDIR)/version.mk

clean::
	-$(RM) chrome/moji.jar

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>