introduce touch events (or try that), start refactoring toolbar; also KILL THE XUL...
[mandelbrot.git] / Makefile.in
index 11f742e00969c47a85b940d7a32942fa6b725944..d7428b5b060ad98e7f7e7a16df06ab816d9da0b4 100644 (file)
 # The Original Code is KaiRo-Mandelbrot.
 #
 # The Initial Developer of the Original Code is
 # The Original Code is KaiRo-Mandelbrot.
 #
 # The Initial Developer of the Original Code is
-# Robert Kaiser.
-# Portions created by the Initial Developer are Copyright (C) 2010
+# Robert Kaiser <kairo@kairo.at>.
+# Portions created by the Initial Developer are Copyright (C) 2010-2011
 # the Initial Developer. All Rights Reserved.
 #
 # Contributor(s):
 # the Initial Developer. All Rights Reserved.
 #
 # Contributor(s):
-#  Robert Kaiser <kairo@kairo.at>
+#  Robert Kaiser <kairo@kairo.at> (original author)
 #
 # Alternatively, the contents of this file may be used under the terms of
 # either the GNU General Public License Version 2 or later (the "GPL"), or
 #
 # Alternatively, the contents of this file may be used under the terms of
 # either the GNU General Public License Version 2 or later (the "GPL"), or
@@ -43,9 +43,13 @@ relativesrcdir = extensions/mandelbrot
 
 include $(DEPTH)/config/autoconf.mk
 
 
 include $(DEPTH)/config/autoconf.mk
 
-MODULE       = mandelbrot
+ifdef ENABLE_TESTS
+PARALLEL_DIRS += tests
+endif
+
+MODULE                 = mandelbrot
 
 
-EXTENSION_VERSION      = 4.0b2
+EXTENSION_VERSION      = 4.0b3
 
 XPI_NAME               = mandelbrot
 USE_EXTENSION_MANIFEST = 1
 
 XPI_NAME               = mandelbrot
 USE_EXTENSION_MANIFEST = 1
@@ -54,12 +58,17 @@ NO_JS_MANIFEST         = 1
 INSTALL_EXTENSION_ID   = mandelbrot@kairo.at
 XPI_PKGNAME            = mandelbrot-$(EXTENSION_VERSION)
 
 INSTALL_EXTENSION_ID   = mandelbrot@kairo.at
 XPI_PKGNAME            = mandelbrot-$(EXTENSION_VERSION)
 
-DIST_FILES = extension/install.rdf
+DIST_FILES = \
+  install.rdf \
+  $(NULL)
 
 
-EXTRA_COMPONENTS = extension/aboutMandelbrot.js
+PREF_JS_EXPORTS = \
+  $(srcdir)/prefs.js \
+  $(NULL)
 
 
-# this interferes with e.g. Firefox prefs
-#PREF_JS_EXPORTS = $(srcdir)/xulapp/defaults/preferences/prefs.js
+EXTRA_COMPONENTS = \
+  aboutMandelbrot.js \
+  $(NULL)
 
 # include config.mk before using the AB_CD var
 include $(topsrcdir)/config/config.mk
 
 # include config.mk before using the AB_CD var
 include $(topsrcdir)/config/config.mk
@@ -70,10 +79,6 @@ DEFINES += -DAB_CD=en-US \
 
 include $(topsrcdir)/config/rules.mk
 
 
 include $(topsrcdir)/config/rules.mk
 
-export::
-       $(NSINSTALL) -D $(FINAL_TARGET)/chrome/icons/default
-       $(INSTALL) $(srcdir)/xulapp/chrome/icons/default/mandelbrotWindow* $(FINAL_TARGET)/chrome/icons/default
-
 ifdef MOZ_OMNIJAR
 ABS_DIST = $(call core_abspath,$(DIST)/bin)
 
 ifdef MOZ_OMNIJAR
 ABS_DIST = $(call core_abspath,$(DIST)/bin)