summaryrefslogtreecommitdiff
path: root/www/firefox3
diff options
context:
space:
mode:
authortnn <tnn@pkgsrc.org>2008-06-28 10:01:06 +0000
committertnn <tnn@pkgsrc.org>2008-06-28 10:01:06 +0000
commit434d590a4808df98d6d04fe3f3a0d06c6f15193e (patch)
tree0cd68d93adf27d2d395169bc123e6e04b84b39e1 /www/firefox3
parent6179ea57a8af671170da53fa06d77a62827b7da8 (diff)
downloadpkgsrc-434d590a4808df98d6d04fe3f3a0d06c6f15193e.tar.gz
Import firefox3-3.0 as www/firefox3.
This is a new major release of the popular Firefox browser from Mozilla. Based on Gecko 1.9, it brings improvements in the areas of performance, stability, rendering correctness, security, usability and more. Release notes: http://www.mozilla.com/en-US/firefox/3.0/releasenotes/
Diffstat (limited to 'www/firefox3')
-rw-r--r--www/firefox3/Makefile83
-rw-r--r--www/firefox3/PLIST2786
-rw-r--r--www/firefox3/PLIST.Linux2
-rw-r--r--www/firefox3/TODO17
-rw-r--r--www/firefox3/buildlink3.mk27
-rw-r--r--www/firefox3/distinfo42
-rw-r--r--www/firefox3/files/firefox3-js.pc11
-rw-r--r--www/firefox3/files/firefox3-libxul.pc11
-rw-r--r--www/firefox3/files/firefox3-nspr.pc10
-rw-r--r--www/firefox3/files/firefox3-nss.pc11
-rw-r--r--www/firefox3/files/firefox3-plugin.pc10
-rw-r--r--www/firefox3/files/firefox3-xpcom.pc12
-rw-r--r--www/firefox3/patches/patch-aa23
-rw-r--r--www/firefox3/patches/patch-ab46
-rw-r--r--www/firefox3/patches/patch-ac68
-rw-r--r--www/firefox3/patches/patch-ad76
-rw-r--r--www/firefox3/patches/patch-ae42
-rw-r--r--www/firefox3/patches/patch-ap13
-rw-r--r--www/firefox3/patches/patch-ax15
-rw-r--r--www/firefox3/patches/patch-ba125
-rw-r--r--www/firefox3/patches/patch-bb35
-rw-r--r--www/firefox3/patches/patch-bm32
-rw-r--r--www/firefox3/patches/patch-bo84
-rw-r--r--www/firefox3/patches/patch-bq14
-rw-r--r--www/firefox3/patches/patch-br23
-rw-r--r--www/firefox3/patches/patch-bs33
-rw-r--r--www/firefox3/patches/patch-bu180
-rw-r--r--www/firefox3/patches/patch-bv212
-rw-r--r--www/firefox3/patches/patch-bx85
-rw-r--r--www/firefox3/patches/patch-cb27
-rw-r--r--www/firefox3/patches/patch-de13
-rw-r--r--www/firefox3/patches/patch-df32
-rw-r--r--www/firefox3/patches/patch-dh19
-rw-r--r--www/firefox3/patches/patch-dj14
-rw-r--r--www/firefox3/patches/patch-dk14
-rw-r--r--www/firefox3/patches/patch-dl89
-rw-r--r--www/firefox3/patches/patch-dm16
-rw-r--r--www/firefox3/patches/patch-do88
-rw-r--r--www/firefox3/patches/patch-dr14
-rw-r--r--www/firefox3/patches/patch-ds14
-rw-r--r--www/firefox3/patches/patch-du18
-rw-r--r--www/firefox3/patches/patch-dv15
-rw-r--r--www/firefox3/patches/patch-ea14
-rw-r--r--www/firefox3/patches/patch-eb14
-rw-r--r--www/firefox3/patches/patch-ed20
-rw-r--r--www/firefox3/patches/patch-wc12
-rw-r--r--www/firefox3/patches/patch-wd12
-rw-r--r--www/firefox3/patches/patch-we13
-rw-r--r--www/firefox3/patches/patch-wf13
49 files changed, 4599 insertions, 0 deletions
diff --git a/www/firefox3/Makefile b/www/firefox3/Makefile
new file mode 100644
index 00000000000..87d9e496cb3
--- /dev/null
+++ b/www/firefox3/Makefile
@@ -0,0 +1,83 @@
+# $NetBSD: Makefile,v 1.1.1.1 2008/06/28 10:01:06 tnn Exp $
+
+MOZILLA= firefox3 # allow coexisting with firefox2
+COMMENT= Lightweight gecko-based web browser
+
+MOZILLA_USE_GTK2= # yes
+MOZILLA_USE_XFT= YES
+
+INSTALLATION_DIRS= lib/pkgconfig
+
+CHECK_PORTABILITY_SKIP= security/nss/tests/libpkix/libpkix.sh
+
+BUILDLINK_API_DEPENDS.cairo+= cairo>=1.6.4
+.include "../../databases/sqlite3/buildlink3.mk"
+
+PYTHON_FOR_BUILD_ONLY= yes
+.include "../../lang/python/application.mk"
+CONFIGURE_ENV+= PYTHON=${PYTHONBIN:Q}
+
+# Pull in standard firefox build framework, and override some things below
+.include "../../www/firefox/Makefile-firefox.common"
+
+MOZ_VER= 3.0
+
+DESCR_SRC= ${.CURDIR}/../../www/firefox/DESCR
+
+DISTINFO_FILE= ${.CURDIR}/../../www/firefox3/distinfo
+PATCHDIR= ${.CURDIR}/../../www/firefox3/patches
+
+post-extract: copy-pkgconfig
+.PHONY: copy-pkgconfig
+copy-pkgconfig:
+ cp ${.CURDIR}/../../www/firefox3/files/*.pc ${WRKSRC:Q}/build/unix
+
+SUBST_CLASSES+= fix-pc
+SUBST_STAGE.fix-pc= pre-configure
+SUBST_MESSAGE.fix-pc= Substituting prefix in pkg-config files.
+SUBST_FILES.fix-pc+= build/unix/*.pc
+SUBST_SED.fix-pc= -e 's,@PREFIX@,${PREFIX},g'
+
+# Need this to be able to reuse existing firefox pkgsrc infrastructure
+pre-configure: create-dummy-c-sdk
+.PHONY: create-dummy-c-sdk
+create-dummy-c-sdk:
+ mkdir -p ${WRKSRC:Q}/directory/c-sdk
+ touch ${WRKSRC:Q}/directory/c-sdk/configure.in
+
+# Makefiles sometimes call "rm -f" without more arguments. Kludge around ...
+pre-configure: ye-olde-rm-hack
+.PHONY: ye-olde-rm-hack
+ye-olde-rm-hack:
+ printf '#!/bin/sh\n[ "$$*" = "-f" ] && exit 0\nexec /bin/rm $$@\n' > \
+ ${WRAPPER_DIR}/bin/rm
+ chmod +x ${WRAPPER_DIR}/bin/rm
+
+# Link browser.xpt
+post-build: stage-package
+.PHONY: stage-package
+stage-package:
+ cd ${WRKSRC}/browser/installer && \
+ ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} stage-package
+ cp ${WRKSRC}/dist/firefox/components/browser.xpt \
+ ${WRKSRC}/dist/bin/components/browser.xpt
+
+# Install libjemalloc.so which is needed on Linux.
+.if ${OPSYS} == "Linux"
+post-install: install-libjemalloc
+.PHONY: install-libjemalloc
+install-libjemalloc:
+ ${INSTALL_LIB} ${WRKSRC}/dist/lib/libjemalloc.so \
+ ${DESTDIR}${PREFIX}/lib/${MOZILLA}/libjemalloc.${SO_SUFFIX}
+.endif
+
+INSTALLATION_DIRS+= lib/${MOZILLA}/modules
+
+# Can't use system PNG because it doesn't have APNG support?
+CONFIGURE_ARGS+= --without-system-png
+# Override www/firefox's idea of toolkit
+CONFIGURE_ARGS+= --enable-default-toolkit=cairo-gtk2
+# Is dbus support useful for anything?
+CONFIGURE_ARGS+= --disable-dbus
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/www/firefox3/PLIST b/www/firefox3/PLIST
new file mode 100644
index 00000000000..d1bcb55e610
--- /dev/null
+++ b/www/firefox3/PLIST
@@ -0,0 +1,2786 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2008/06/28 10:01:07 tnn Exp $
+bin/${MOZILLA}
+@comment begin PROGRAMS
+lib/${MOZILLA}/${MOZILLA_BIN}
+lib/${MOZILLA}/mangle
+lib/${MOZILLA}/mozilla-xremote-client
+lib/${MOZILLA}/nsinstall
+lib/${MOZILLA}/regxpcom
+lib/${MOZILLA}/shlibsign
+lib/${MOZILLA}/xpcshell
+@comment lib/${MOZILLA}/xpicleanup
+lib/${MOZILLA}/xpidl
+lib/${MOZILLA}/xpt_dump
+lib/${MOZILLA}/xpt_link
+@comment end PROGRAMS
+@comment begin SCRIPTS
+@comment lib/${MOZILLA}/firefox-config
+@comment end SCRIPTS
+@comment begin DSO
+lib/${MOZILLA}/components/libbrowsercomps.${SO_SUFFIX}
+lib/${MOZILLA}/components/libbrowserdirprovider.${SO_SUFFIX}
+lib/${MOZILLA}/components/libimgicon.${SO_SUFFIX}
+@comment libfreebl
+lib/${MOZILLA}/libmozjs.${SO_SUFFIX}
+lib/${MOZILLA}/libnspr4.${SO_SUFFIX}
+lib/${MOZILLA}/libnss3.${SO_SUFFIX}
+lib/${MOZILLA}/libnssckbi.${SO_SUFFIX}
+lib/${MOZILLA}/libnssdbm3.${SO_SUFFIX}
+lib/${MOZILLA}/libnssutil3.${SO_SUFFIX}
+lib/${MOZILLA}/libplc4.${SO_SUFFIX}
+lib/${MOZILLA}/libplds4.${SO_SUFFIX}
+lib/${MOZILLA}/libsmime3.${SO_SUFFIX}
+lib/${MOZILLA}/libsoftokn3.${SO_SUFFIX}
+lib/${MOZILLA}/libsqlite3.${SO_SUFFIX}
+lib/${MOZILLA}/libssl3.${SO_SUFFIX}
+lib/${MOZILLA}/libxpcom.${SO_SUFFIX}
+lib/${MOZILLA}/libxul.${SO_SUFFIX}
+lib/${MOZILLA}/plugins/libunixprintplugin.${SO_SUFFIX}
+@comment end DSO
+@comment begin PKGCONFIG
+lib/pkgconfig/firefox3-js.pc
+lib/pkgconfig/firefox3-libxul.pc
+lib/pkgconfig/firefox3-nspr.pc
+lib/pkgconfig/firefox3-nss.pc
+lib/pkgconfig/firefox3-plugin.pc
+lib/pkgconfig/firefox3-xpcom.pc
+@comment end PKGCONFIG
+@comment begin DATA
+lib/${MOZILLA}/application.ini
+lib/${MOZILLA}/LICENSE
+lib/${MOZILLA}/README.txt
+lib/${MOZILLA}/blocklist.xml
+lib/${MOZILLA}/browserconfig.properties
+lib/${MOZILLA}/chrome/browser.jar
+lib/${MOZILLA}/chrome/browser.manifest
+@comment lib/${MOZILLA}/chrome/chromelist.txt
+lib/${MOZILLA}/chrome/classic.jar
+lib/${MOZILLA}/chrome/classic.manifest
+lib/${MOZILLA}/chrome/comm.jar
+lib/${MOZILLA}/chrome/comm.manifest
+lib/${MOZILLA}/chrome/en-US.jar
+lib/${MOZILLA}/chrome/en-US.manifest
+lib/${MOZILLA}/chrome/icons/default/default16.png
+lib/${MOZILLA}/chrome/icons/default/default32.png
+lib/${MOZILLA}/chrome/icons/default/default48.png
+lib/${MOZILLA}/chrome/installed-chrome.txt
+lib/${MOZILLA}/chrome/pippki.jar
+lib/${MOZILLA}/chrome/pippki.manifest
+lib/${MOZILLA}/chrome/reporter.jar
+lib/${MOZILLA}/chrome/reporter.manifest
+lib/${MOZILLA}/chrome/toolkit.jar
+lib/${MOZILLA}/chrome/toolkit.manifest
+lib/${MOZILLA}/components/FeedConverter.js
+lib/${MOZILLA}/components/FeedProcessor.js
+lib/${MOZILLA}/components/FeedWriter.js
+lib/${MOZILLA}/components/WebContentConverter.js
+lib/${MOZILLA}/components/aboutRobots.js
+lib/${MOZILLA}/components/fuelApplication.js
+lib/${MOZILLA}/components/jsconsole-clhandler.js
+lib/${MOZILLA}/components/nsAddonRepository.js
+lib/${MOZILLA}/components/nsBlocklistService.js
+lib/${MOZILLA}/components/nsBrowserContentHandler.js
+lib/${MOZILLA}/components/nsBrowserGlue.js
+lib/${MOZILLA}/components/nsContentDispatchChooser.js
+lib/${MOZILLA}/components/nsContentPrefService.js
+lib/${MOZILLA}/components/nsDefaultCLH.js
+lib/${MOZILLA}/components/nsDownloadManagerUI.js
+lib/${MOZILLA}/components/nsExtensionManager.js
+lib/${MOZILLA}/components/nsFilePicker.js
+lib/${MOZILLA}/components/nsHandlerService.js
+lib/${MOZILLA}/components/nsHelperAppDlg.js
+lib/${MOZILLA}/components/nsLivemarkService.js
+lib/${MOZILLA}/components/nsLoginInfo.js
+lib/${MOZILLA}/components/nsLoginManager.js
+lib/${MOZILLA}/components/nsLoginManagerPrompter.js
+lib/${MOZILLA}/components/nsMicrosummaryService.js
+lib/${MOZILLA}/components/nsPlacesTransactionsService.js
+lib/${MOZILLA}/components/nsProxyAutoConfig.js
+lib/${MOZILLA}/components/nsSafebrowsingApplication.js
+lib/${MOZILLA}/components/nsSearchService.js
+lib/${MOZILLA}/components/nsSearchSuggestions.js
+lib/${MOZILLA}/components/nsSessionStartup.js
+lib/${MOZILLA}/components/nsSessionStore.js
+lib/${MOZILLA}/components/nsSetDefaultBrowser.js
+lib/${MOZILLA}/components/nsSidebar.js
+lib/${MOZILLA}/components/nsTaggingService.js
+lib/${MOZILLA}/components/nsTryToClose.js
+lib/${MOZILLA}/components/nsURLFormatter.js
+lib/${MOZILLA}/components/nsUpdateService.js
+lib/${MOZILLA}/components/nsUrlClassifierLib.js
+lib/${MOZILLA}/components/nsUrlClassifierListManager.js
+lib/${MOZILLA}/components/nsWebHandlerApp.js
+lib/${MOZILLA}/components/pluginGlue.js
+lib/${MOZILLA}/components/storage-Legacy.js
+lib/${MOZILLA}/components/txEXSLTRegExFunctions.js
+lib/${MOZILLA}/components/browser.xpt
+lib/${MOZILLA}/defaults/autoconfig/platform.js
+lib/${MOZILLA}/defaults/autoconfig/prefcalls.js
+lib/${MOZILLA}/defaults/pref/channel-prefs.js
+lib/${MOZILLA}/defaults/pref/firefox-branding.js
+lib/${MOZILLA}/defaults/pref/firefox-l10n.js
+lib/${MOZILLA}/defaults/pref/firefox.js
+lib/${MOZILLA}/defaults/pref/reporter.js
+lib/${MOZILLA}/defaults/profile/bookmarks.html
+lib/${MOZILLA}/defaults/profile/chrome/userChrome-example.css
+lib/${MOZILLA}/defaults/profile/chrome/userContent-example.css
+lib/${MOZILLA}/defaults/profile/localstore.rdf
+lib/${MOZILLA}/defaults/profile/mimeTypes.rdf
+lib/${MOZILLA}/defaults/profile/prefs.js
+lib/${MOZILLA}/dictionaries/en-US.aff
+lib/${MOZILLA}/dictionaries/en-US.dic
+lib/${MOZILLA}/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}/install.rdf
+lib/${MOZILLA}/firefox
+lib/${MOZILLA}/greprefs/all.js
+lib/${MOZILLA}/greprefs/security-prefs.js
+lib/${MOZILLA}/greprefs/xpinstall.js
+lib/${MOZILLA}/icons/document.png
+lib/${MOZILLA}/icons/mozicon128.png
+lib/${MOZILLA}/icons/mozicon16.xpm
+lib/${MOZILLA}/icons/mozicon50.xpm
+@comment lib/${MOZILLA}/init.d/README
+@comment libfreebl.chk
+lib/${MOZILLA}/libsoftokn3.chk
+lib/${MOZILLA}/modules/DownloadUtils.jsm
+lib/${MOZILLA}/modules/ISO8601DateUtils.jsm
+lib/${MOZILLA}/modules/JSON.jsm
+lib/${MOZILLA}/modules/Microformats.js
+lib/${MOZILLA}/modules/PluralForm.jsm
+lib/${MOZILLA}/modules/XPCOMUtils.jsm
+lib/${MOZILLA}/modules/debug.js
+lib/${MOZILLA}/modules/distribution.js
+lib/${MOZILLA}/modules/utils.js
+lib/${MOZILLA}/old-homepage-default.properties
+lib/${MOZILLA}/platform.ini
+lib/${MOZILLA}/res/EditorOverride.css
+lib/${MOZILLA}/res/arrow.gif
+lib/${MOZILLA}/res/arrowd.gif
+lib/${MOZILLA}/res/broken-image.gif
+lib/${MOZILLA}/res/charsetData.properties
+lib/${MOZILLA}/res/charsetalias.properties
+lib/${MOZILLA}/res/contenteditable.css
+lib/${MOZILLA}/res/designmode.css
+lib/${MOZILLA}/res/dtd/mathml.dtd
+lib/${MOZILLA}/res/dtd/xhtml11.dtd
+lib/${MOZILLA}/res/entityTables/html40Latin1.properties
+lib/${MOZILLA}/res/entityTables/html40Special.properties
+lib/${MOZILLA}/res/entityTables/html40Symbols.properties
+lib/${MOZILLA}/res/entityTables/htmlEntityVersions.properties
+lib/${MOZILLA}/res/entityTables/mathml20.properties
+lib/${MOZILLA}/res/entityTables/transliterate.properties
+lib/${MOZILLA}/res/fonts/mathfont.properties
+lib/${MOZILLA}/res/fonts/mathfontSTIXNonUnicode.properties
+lib/${MOZILLA}/res/fonts/mathfontSTIXSize1.properties
+lib/${MOZILLA}/res/fonts/mathfontStandardSymbolsL.properties
+lib/${MOZILLA}/res/fonts/mathfontUnicode.properties
+lib/${MOZILLA}/res/forms.css
+lib/${MOZILLA}/res/grabber.gif
+lib/${MOZILLA}/res/hiddenWindow.html
+lib/${MOZILLA}/res/html/folder.png
+lib/${MOZILLA}/res/html.css
+lib/${MOZILLA}/res/langGroups.properties
+lib/${MOZILLA}/res/language.properties
+lib/${MOZILLA}/res/loading-image.gif
+lib/${MOZILLA}/res/mathml.css
+lib/${MOZILLA}/res/quirk.css
+lib/${MOZILLA}/res/svg.css
+lib/${MOZILLA}/res/table-add-column-after-active.gif
+lib/${MOZILLA}/res/table-add-column-after-hover.gif
+lib/${MOZILLA}/res/table-add-column-after.gif
+lib/${MOZILLA}/res/table-add-column-before-active.gif
+lib/${MOZILLA}/res/table-add-column-before-hover.gif
+lib/${MOZILLA}/res/table-add-column-before.gif
+lib/${MOZILLA}/res/table-add-row-after-active.gif
+lib/${MOZILLA}/res/table-add-row-after-hover.gif
+lib/${MOZILLA}/res/table-add-row-after.gif
+lib/${MOZILLA}/res/table-add-row-before-active.gif
+lib/${MOZILLA}/res/table-add-row-before-hover.gif
+lib/${MOZILLA}/res/table-add-row-before.gif
+lib/${MOZILLA}/res/table-remove-column-active.gif
+lib/${MOZILLA}/res/table-remove-column-hover.gif
+lib/${MOZILLA}/res/table-remove-column.gif
+lib/${MOZILLA}/res/table-remove-row-active.gif
+lib/${MOZILLA}/res/table-remove-row-hover.gif
+lib/${MOZILLA}/res/table-remove-row.gif
+lib/${MOZILLA}/res/ua.css
+lib/${MOZILLA}/res/unixcharset.properties
+lib/${MOZILLA}/res/viewsource.css
+lib/${MOZILLA}/searchplugins/amazondotcom.xml
+lib/${MOZILLA}/searchplugins/answers.xml
+lib/${MOZILLA}/searchplugins/creativecommons.xml
+lib/${MOZILLA}/searchplugins/eBay.xml
+lib/${MOZILLA}/searchplugins/google.xml
+lib/${MOZILLA}/searchplugins/wikipedia.xml
+lib/${MOZILLA}/searchplugins/yahoo.xml
+lib/${MOZILLA}/updater
+lib/${MOZILLA}/updater.ini
+@comment end DATA
+@comment begin INCLUDE-SDK
+include/${MOZILLA}/base64.h
+include/${MOZILLA}/blapit.h
+include/${MOZILLA}/cert.h
+include/${MOZILLA}/certdb.h
+include/${MOZILLA}/certt.h
+include/${MOZILLA}/ciferfam.h
+include/${MOZILLA}/cmmf.h
+include/${MOZILLA}/cmmft.h
+include/${MOZILLA}/cms.h
+include/${MOZILLA}/cmsreclist.h
+include/${MOZILLA}/cmst.h
+include/${MOZILLA}/crmf.h
+include/${MOZILLA}/crmft.h
+include/${MOZILLA}/cryptohi.h
+include/${MOZILLA}/cryptoht.h
+include/${MOZILLA}/domstubs.h
+include/${MOZILLA}/ecl-exp.h
+include/${MOZILLA}/hasht.h
+include/${MOZILLA}/jar-ds.h
+include/${MOZILLA}/jar.h
+include/${MOZILLA}/jarfile.h
+include/${MOZILLA}/jni.h
+include/${MOZILLA}/jni_md.h
+include/${MOZILLA}/jri.h
+include/${MOZILLA}/jri_md.h
+include/${MOZILLA}/jritypes.h
+include/${MOZILLA}/key.h
+include/${MOZILLA}/keyhi.h
+include/${MOZILLA}/keyt.h
+include/${MOZILLA}/keythi.h
+include/${MOZILLA}/mozIJSSubScriptLoader.h
+include/${MOZILLA}/npapi.h
+include/${MOZILLA}/npruntime.h
+include/${MOZILLA}/nptypes.h
+include/${MOZILLA}/npupp.h
+include/${MOZILLA}/nsArrayEnumerator.h
+include/${MOZILLA}/nsArrayUtils.h
+include/${MOZILLA}/nsAutoLock.h
+include/${MOZILLA}/nsBaseHashtable.h
+include/${MOZILLA}/nsCOMArray.h
+include/${MOZILLA}/nsCOMPtr.h
+include/${MOZILLA}/nsCRTGlue.h
+include/${MOZILLA}/nsCategoryCache.h
+include/${MOZILLA}/nsClassHashtable.h
+include/${MOZILLA}/nsComponentManagerUtils.h
+include/${MOZILLA}/nsCycleCollectionParticipant.h
+include/${MOZILLA}/nsCycleCollector.h
+include/${MOZILLA}/nsDataHashtable.h
+include/${MOZILLA}/nsDebug.h
+include/${MOZILLA}/nsDeque.h
+include/${MOZILLA}/nsDirectoryServiceDefs.h
+include/${MOZILLA}/nsDirectoryServiceUtils.h
+include/${MOZILLA}/nsEmbedAPI.h
+include/${MOZILLA}/nsEmbedCID.h
+include/${MOZILLA}/nsEmbedString.h
+include/${MOZILLA}/nsEnumeratorUtils.h
+include/${MOZILLA}/nsError.h
+include/${MOZILLA}/nsGenericFactory.h
+include/${MOZILLA}/nsHashKeys.h
+include/${MOZILLA}/nsIASN1Object.h
+include/${MOZILLA}/nsIASN1Sequence.h
+include/${MOZILLA}/nsIArray.h
+include/${MOZILLA}/nsICRLInfo.h
+include/${MOZILLA}/nsICategoryManager.h
+include/${MOZILLA}/nsICertificateDialogs.h
+include/${MOZILLA}/nsIChannel.h
+include/${MOZILLA}/nsIClassInfo.h
+include/${MOZILLA}/nsIClassInfoImpl.h
+include/${MOZILLA}/nsIClipboardCommands.h
+include/${MOZILLA}/nsIComponentManager.h
+include/${MOZILLA}/nsIComponentRegistrar.h
+include/${MOZILLA}/nsIContextMenuListener.h
+include/${MOZILLA}/nsICookie.h
+include/${MOZILLA}/nsICookieManager.h
+include/${MOZILLA}/nsID.h
+include/${MOZILLA}/nsIDOM3DocumentEvent.h
+include/${MOZILLA}/nsIDOM3EventTarget.h
+include/${MOZILLA}/nsIDOMAbstractView.h
+include/${MOZILLA}/nsIDOMAttr.h
+include/${MOZILLA}/nsIDOMBarProp.h
+include/${MOZILLA}/nsIDOMCDATASection.h
+include/${MOZILLA}/nsIDOMCSSPrimitiveValue.h
+include/${MOZILLA}/nsIDOMCSSRule.h
+include/${MOZILLA}/nsIDOMCSSRuleList.h
+include/${MOZILLA}/nsIDOMCSSStyleDeclaration.h
+include/${MOZILLA}/nsIDOMCSSStyleSheet.h
+include/${MOZILLA}/nsIDOMCSSValue.h
+include/${MOZILLA}/nsIDOMCSSValueList.h
+include/${MOZILLA}/nsIDOMCharacterData.h
+include/${MOZILLA}/nsIDOMComment.h
+include/${MOZILLA}/nsIDOMCustomEvent.h
+include/${MOZILLA}/nsIDOMDOMException.h
+include/${MOZILLA}/nsIDOMDOMImplementation.h
+include/${MOZILLA}/nsIDOMDocument.h
+include/${MOZILLA}/nsIDOMDocumentEvent.h
+include/${MOZILLA}/nsIDOMDocumentFragment.h
+include/${MOZILLA}/nsIDOMDocumentRange.h
+include/${MOZILLA}/nsIDOMDocumentStyle.h
+include/${MOZILLA}/nsIDOMDocumentType.h
+include/${MOZILLA}/nsIDOMDocumentView.h
+include/${MOZILLA}/nsIDOMElement.h
+include/${MOZILLA}/nsIDOMElementCSSInlineStyle.h
+include/${MOZILLA}/nsIDOMEntity.h
+include/${MOZILLA}/nsIDOMEntityReference.h
+include/${MOZILLA}/nsIDOMEvent.h
+include/${MOZILLA}/nsIDOMEventGroup.h
+include/${MOZILLA}/nsIDOMEventListener.h
+include/${MOZILLA}/nsIDOMEventTarget.h
+include/${MOZILLA}/nsIDOMHTMLAnchorElement.h
+include/${MOZILLA}/nsIDOMHTMLAppletElement.h
+include/${MOZILLA}/nsIDOMHTMLAreaElement.h
+include/${MOZILLA}/nsIDOMHTMLBRElement.h
+include/${MOZILLA}/nsIDOMHTMLBaseElement.h
+include/${MOZILLA}/nsIDOMHTMLBaseFontElement.h
+include/${MOZILLA}/nsIDOMHTMLBodyElement.h
+include/${MOZILLA}/nsIDOMHTMLButtonElement.h
+include/${MOZILLA}/nsIDOMHTMLCollection.h
+include/${MOZILLA}/nsIDOMHTMLDListElement.h
+include/${MOZILLA}/nsIDOMHTMLDirectoryElement.h
+include/${MOZILLA}/nsIDOMHTMLDivElement.h
+include/${MOZILLA}/nsIDOMHTMLDocument.h
+include/${MOZILLA}/nsIDOMHTMLElement.h
+include/${MOZILLA}/nsIDOMHTMLEmbedElement.h
+include/${MOZILLA}/nsIDOMHTMLFieldSetElement.h
+include/${MOZILLA}/nsIDOMHTMLFontElement.h
+include/${MOZILLA}/nsIDOMHTMLFormElement.h
+include/${MOZILLA}/nsIDOMHTMLFrameElement.h
+include/${MOZILLA}/nsIDOMHTMLFrameSetElement.h
+include/${MOZILLA}/nsIDOMHTMLHRElement.h
+include/${MOZILLA}/nsIDOMHTMLHeadElement.h
+include/${MOZILLA}/nsIDOMHTMLHeadingElement.h
+include/${MOZILLA}/nsIDOMHTMLHtmlElement.h
+include/${MOZILLA}/nsIDOMHTMLIFrameElement.h
+include/${MOZILLA}/nsIDOMHTMLImageElement.h
+include/${MOZILLA}/nsIDOMHTMLInputElement.h
+include/${MOZILLA}/nsIDOMHTMLIsIndexElement.h
+include/${MOZILLA}/nsIDOMHTMLLIElement.h
+include/${MOZILLA}/nsIDOMHTMLLabelElement.h
+include/${MOZILLA}/nsIDOMHTMLLegendElement.h
+include/${MOZILLA}/nsIDOMHTMLLinkElement.h
+include/${MOZILLA}/nsIDOMHTMLMapElement.h
+include/${MOZILLA}/nsIDOMHTMLMenuElement.h
+include/${MOZILLA}/nsIDOMHTMLMetaElement.h
+include/${MOZILLA}/nsIDOMHTMLModElement.h
+include/${MOZILLA}/nsIDOMHTMLOListElement.h
+include/${MOZILLA}/nsIDOMHTMLObjectElement.h
+include/${MOZILLA}/nsIDOMHTMLOptGroupElement.h
+include/${MOZILLA}/nsIDOMHTMLOptionElement.h
+include/${MOZILLA}/nsIDOMHTMLOptionsCollection.h
+include/${MOZILLA}/nsIDOMHTMLParagraphElement.h
+include/${MOZILLA}/nsIDOMHTMLParamElement.h
+include/${MOZILLA}/nsIDOMHTMLPreElement.h
+include/${MOZILLA}/nsIDOMHTMLQuoteElement.h
+include/${MOZILLA}/nsIDOMHTMLScriptElement.h
+include/${MOZILLA}/nsIDOMHTMLSelectElement.h
+include/${MOZILLA}/nsIDOMHTMLStyleElement.h
+include/${MOZILLA}/nsIDOMHTMLTableCaptionElem.h
+include/${MOZILLA}/nsIDOMHTMLTableCellElement.h
+include/${MOZILLA}/nsIDOMHTMLTableColElement.h
+include/${MOZILLA}/nsIDOMHTMLTableElement.h
+include/${MOZILLA}/nsIDOMHTMLTableRowElement.h
+include/${MOZILLA}/nsIDOMHTMLTableSectionElem.h
+include/${MOZILLA}/nsIDOMHTMLTextAreaElement.h
+include/${MOZILLA}/nsIDOMHTMLTitleElement.h
+include/${MOZILLA}/nsIDOMHTMLUListElement.h
+include/${MOZILLA}/nsIDOMMediaList.h
+include/${MOZILLA}/nsIDOMMouseEvent.h
+include/${MOZILLA}/nsIDOMNamedNodeMap.h
+include/${MOZILLA}/nsIDOMNode.h
+include/${MOZILLA}/nsIDOMNodeList.h
+include/${MOZILLA}/nsIDOMNotation.h
+include/${MOZILLA}/nsIDOMProcessingInstruction.h
+include/${MOZILLA}/nsIDOMRange.h
+include/${MOZILLA}/nsIDOMStorage.h
+include/${MOZILLA}/nsIDOMStorageEvent.h
+include/${MOZILLA}/nsIDOMStorageItem.h
+include/${MOZILLA}/nsIDOMStorageList.h
+include/${MOZILLA}/nsIDOMStorageWindow.h
+include/${MOZILLA}/nsIDOMStyleSheet.h
+include/${MOZILLA}/nsIDOMStyleSheetList.h
+include/${MOZILLA}/nsIDOMText.h
+include/${MOZILLA}/nsIDOMUIEvent.h
+include/${MOZILLA}/nsIDOMWindow.h
+include/${MOZILLA}/nsIDOMWindow2.h
+include/${MOZILLA}/nsIDOMWindowCollection.h
+include/${MOZILLA}/nsIDOMWindowUtils.h
+include/${MOZILLA}/nsIDebug.h
+include/${MOZILLA}/nsIDirectoryService.h
+include/${MOZILLA}/nsIEmbeddingSiteWindow.h
+include/${MOZILLA}/nsIFactory.h
+include/${MOZILLA}/nsIFile.h
+include/${MOZILLA}/nsIFileURL.h
+include/${MOZILLA}/nsIGenericFactory.h
+include/${MOZILLA}/nsIGlobalHistory.h
+include/${MOZILLA}/nsIHashable.h
+include/${MOZILLA}/nsIHistoryEntry.h
+include/${MOZILLA}/nsIHttpChannel.h
+include/${MOZILLA}/nsIHttpHeaderVisitor.h
+include/${MOZILLA}/nsIIOService.h
+include/${MOZILLA}/nsIInputStream.h
+include/${MOZILLA}/nsIInterfaceRequestor.h
+include/${MOZILLA}/nsIInterfaceRequestorUtils.h
+include/${MOZILLA}/nsIJSON.h
+include/${MOZILLA}/nsILoadGroup.h
+include/${MOZILLA}/nsILocalFile.h
+include/${MOZILLA}/nsIMemory.h
+include/${MOZILLA}/nsIModule.h
+include/${MOZILLA}/nsIMutableArray.h
+include/${MOZILLA}/nsINIParser.h
+include/${MOZILLA}/nsIObserver.h
+include/${MOZILLA}/nsIObserverService.h
+include/${MOZILLA}/nsIOutputStream.h
+include/${MOZILLA}/nsIPrefBranch.h
+include/${MOZILLA}/nsIPrefBranch2.h
+include/${MOZILLA}/nsIPrefLocalizedString.h
+include/${MOZILLA}/nsIPrefService.h
+include/${MOZILLA}/nsIProfile.h
+include/${MOZILLA}/nsIProfileChangeStatus.h
+include/${MOZILLA}/nsIProgrammingLanguage.h
+include/${MOZILLA}/nsIPromptService.h
+include/${MOZILLA}/nsIProperties.h
+include/${MOZILLA}/nsIProtocolHandler.h
+include/${MOZILLA}/nsIRequest.h
+include/${MOZILLA}/nsIRequestObserver.h
+include/${MOZILLA}/nsISHistory.h
+include/${MOZILLA}/nsISHistoryListener.h
+include/${MOZILLA}/nsIScriptableInputStream.h
+include/${MOZILLA}/nsISecurityWarningDialogs.h
+include/${MOZILLA}/nsISelection.h
+include/${MOZILLA}/nsIServiceManager.h
+include/${MOZILLA}/nsISimpleEnumerator.h
+include/${MOZILLA}/nsIStreamListener.h
+include/${MOZILLA}/nsISupports.h
+include/${MOZILLA}/nsISupportsBase.h
+include/${MOZILLA}/nsISupportsImpl.h
+include/${MOZILLA}/nsISupportsPrimitives.h
+include/${MOZILLA}/nsISupportsUtils.h
+include/${MOZILLA}/nsITooltipListener.h
+include/${MOZILLA}/nsITooltipTextProvider.h
+include/${MOZILLA}/nsITraceRefcnt.h
+include/${MOZILLA}/nsIURI.h
+include/${MOZILLA}/nsIURIContentListener.h
+include/${MOZILLA}/nsIURL.h
+include/${MOZILLA}/nsIUnicharStreamListener.h
+include/${MOZILLA}/nsIUploadChannel.h
+include/${MOZILLA}/nsIWeakReference.h
+include/${MOZILLA}/nsIWeakReferenceUtils.h
+include/${MOZILLA}/nsIWebBrowser.h
+include/${MOZILLA}/nsIWebBrowserChrome.h
+include/${MOZILLA}/nsIWebBrowserChromeFocus.h
+include/${MOZILLA}/nsIWebBrowserFind.h
+include/${MOZILLA}/nsIWebBrowserFocus.h
+include/${MOZILLA}/nsIWebBrowserPrint.h
+include/${MOZILLA}/nsIWebBrowserSetup.h
+include/${MOZILLA}/nsIWebBrowserStream.h
+include/${MOZILLA}/nsIWebProgress.h
+include/${MOZILLA}/nsIWebProgressListener.h
+include/${MOZILLA}/nsIWindowCreator.h
+include/${MOZILLA}/nsIWindowWatcher.h
+include/${MOZILLA}/nsIX509Cert.h
+include/${MOZILLA}/nsIX509CertDB.h
+include/${MOZILLA}/nsIX509CertValidity.h
+include/${MOZILLA}/nsInterfaceHashtable.h
+include/${MOZILLA}/nsMemory.h
+include/${MOZILLA}/nsObjCExceptions.h
+include/${MOZILLA}/nsParserDataListener.h
+include/${MOZILLA}/nsQuickSort.h
+include/${MOZILLA}/nsRefPtrHashtable.h
+include/${MOZILLA}/nsServiceManagerUtils.h
+include/${MOZILLA}/nsStringAPI.h
+include/${MOZILLA}/nsStringGlue.h
+include/${MOZILLA}/nsTArray.h
+include/${MOZILLA}/nsTHashtable.h
+include/${MOZILLA}/nsTObserverArray.h
+include/${MOZILLA}/nsTPtrArray.h
+include/${MOZILLA}/nsTWeakRef.h
+include/${MOZILLA}/nsTextFormatter.h
+include/${MOZILLA}/nsTraceRefcnt.h
+include/${MOZILLA}/nsUnicharUtils.h
+include/${MOZILLA}/nsVersionComparator.h
+include/${MOZILLA}/nsVoidArray.h
+include/${MOZILLA}/nsWeakReference.h
+include/${MOZILLA}/nsXPCOM.h
+include/${MOZILLA}/nsXPCOMCID.h
+include/${MOZILLA}/nsXPCOMGlue.h
+include/${MOZILLA}/nsXPCOMStrings.h
+include/${MOZILLA}/nscore.h
+include/${MOZILLA}/nspr.h
+include/${MOZILLA}/nsrootidl.h
+include/${MOZILLA}/nss.h
+include/${MOZILLA}/nssb64.h
+include/${MOZILLA}/nssb64t.h
+include/${MOZILLA}/nssbase.h
+include/${MOZILLA}/nssbaset.h
+include/${MOZILLA}/nssck.api
+include/${MOZILLA}/nssckbi.h
+include/${MOZILLA}/nssckepv.h
+include/${MOZILLA}/nssckft.h
+include/${MOZILLA}/nssckfw.h
+include/${MOZILLA}/nssckfwc.h
+include/${MOZILLA}/nssckfwt.h
+include/${MOZILLA}/nssckg.h
+include/${MOZILLA}/nssckmdt.h
+include/${MOZILLA}/nssckt.h
+include/${MOZILLA}/nssilckt.h
+include/${MOZILLA}/nssilock.h
+include/${MOZILLA}/nsslocks.h
+include/${MOZILLA}/nssrwlk.h
+include/${MOZILLA}/nssrwlkt.h
+include/${MOZILLA}/obsolete/pralarm.h
+include/${MOZILLA}/obsolete/probslet.h
+include/${MOZILLA}/obsolete/protypes.h
+include/${MOZILLA}/obsolete/prsem.h
+include/${MOZILLA}/ocsp.h
+include/${MOZILLA}/ocspt.h
+include/${MOZILLA}/p12.h
+include/${MOZILLA}/p12plcy.h
+include/${MOZILLA}/p12t.h
+include/${MOZILLA}/pk11func.h
+include/${MOZILLA}/pk11pqg.h
+include/${MOZILLA}/pk11priv.h
+include/${MOZILLA}/pk11pub.h
+include/${MOZILLA}/pk11sdr.h
+include/${MOZILLA}/pkcs11.h
+include/${MOZILLA}/pkcs11f.h
+include/${MOZILLA}/pkcs11n.h
+include/${MOZILLA}/pkcs11p.h
+include/${MOZILLA}/pkcs11t.h
+include/${MOZILLA}/pkcs11u.h
+include/${MOZILLA}/pkcs12.h
+include/${MOZILLA}/pkcs12t.h
+include/${MOZILLA}/pkcs7t.h
+include/${MOZILLA}/plarena.h
+include/${MOZILLA}/plarenas.h
+include/${MOZILLA}/plbase64.h
+include/${MOZILLA}/pldhash.h
+include/${MOZILLA}/plerror.h
+include/${MOZILLA}/plgetopt.h
+include/${MOZILLA}/plhash.h
+include/${MOZILLA}/plresolv.h
+include/${MOZILLA}/plstr.h
+include/${MOZILLA}/portreg.h
+include/${MOZILLA}/pratom.h
+include/${MOZILLA}/prbit.h
+include/${MOZILLA}/prclist.h
+include/${MOZILLA}/prcmon.h
+include/${MOZILLA}/prcountr.h
+include/${MOZILLA}/prcpucfg.h
+include/${MOZILLA}/prcvar.h
+include/${MOZILLA}/prdtoa.h
+include/${MOZILLA}/preenc.h
+include/${MOZILLA}/prenv.h
+include/${MOZILLA}/prerr.h
+include/${MOZILLA}/prerror.h
+include/${MOZILLA}/prinet.h
+include/${MOZILLA}/prinit.h
+include/${MOZILLA}/prinrval.h
+include/${MOZILLA}/prio.h
+include/${MOZILLA}/pripcsem.h
+include/${MOZILLA}/private/pprio.h
+include/${MOZILLA}/private/pprthred.h
+include/${MOZILLA}/private/prpriv.h
+include/${MOZILLA}/prlink.h
+include/${MOZILLA}/prlock.h
+include/${MOZILLA}/prlog.h
+include/${MOZILLA}/prlong.h
+include/${MOZILLA}/prmem.h
+include/${MOZILLA}/prmon.h
+include/${MOZILLA}/prmwait.h
+include/${MOZILLA}/prnetdb.h
+include/${MOZILLA}/prolock.h
+include/${MOZILLA}/prpdce.h
+include/${MOZILLA}/prprf.h
+include/${MOZILLA}/prproces.h
+include/${MOZILLA}/prrng.h
+include/${MOZILLA}/prrwlock.h
+include/${MOZILLA}/prshm.h
+include/${MOZILLA}/prshma.h
+include/${MOZILLA}/prsystem.h
+include/${MOZILLA}/prthread.h
+include/${MOZILLA}/prtime.h
+include/${MOZILLA}/prtpool.h
+include/${MOZILLA}/prtrace.h
+include/${MOZILLA}/prtypes.h
+include/${MOZILLA}/prvrsion.h
+include/${MOZILLA}/prwin16.h
+include/${MOZILLA}/secasn1.h
+include/${MOZILLA}/secasn1t.h
+include/${MOZILLA}/seccomon.h
+include/${MOZILLA}/secder.h
+include/${MOZILLA}/secdert.h
+include/${MOZILLA}/secdig.h
+include/${MOZILLA}/secdigt.h
+include/${MOZILLA}/secerr.h
+include/${MOZILLA}/sechash.h
+include/${MOZILLA}/secitem.h
+include/${MOZILLA}/secmime.h
+include/${MOZILLA}/secmod.h
+include/${MOZILLA}/secmodt.h
+include/${MOZILLA}/secoid.h
+include/${MOZILLA}/secoidt.h
+include/${MOZILLA}/secpkcs5.h
+include/${MOZILLA}/secpkcs7.h
+include/${MOZILLA}/secport.h
+include/${MOZILLA}/shsign.h
+include/${MOZILLA}/smime.h
+include/${MOZILLA}/ssl.h
+include/${MOZILLA}/sslerr.h
+include/${MOZILLA}/sslproto.h
+include/${MOZILLA}/sslt.h
+include/${MOZILLA}/utilrename.h
+include/${MOZILLA}/watcomfx.h
+include/${MOZILLA}/xpcom-config.h
+@comment end INCLUDE-SDK
+@comment begin INCLUDE
+include/${MOZILLA}/mozilla-config.h
+include/${MOZILLA}/nsStaticComponents.h
+include/${MOZILLA}/nspr/private/pprio.h
+include/${MOZILLA}/nspr/private/pprthred.h
+include/${MOZILLA}/nspr/private/prpriv.h
+include/${MOZILLA}/nspr/prcpucfg.h
+include/${MOZILLA}/nspr/obsolete/pralarm.h
+include/${MOZILLA}/nspr/obsolete/probslet.h
+include/${MOZILLA}/nspr/obsolete/protypes.h
+include/${MOZILLA}/nspr/obsolete/prsem.h
+include/${MOZILLA}/nspr/nspr.h
+include/${MOZILLA}/nspr/pratom.h
+include/${MOZILLA}/nspr/prbit.h
+include/${MOZILLA}/nspr/prclist.h
+include/${MOZILLA}/nspr/prcmon.h
+include/${MOZILLA}/nspr/prcountr.h
+include/${MOZILLA}/nspr/prcvar.h
+include/${MOZILLA}/nspr/prdtoa.h
+include/${MOZILLA}/nspr/prenv.h
+include/${MOZILLA}/nspr/prerr.h
+include/${MOZILLA}/nspr/prerror.h
+include/${MOZILLA}/nspr/prinet.h
+include/${MOZILLA}/nspr/prinit.h
+include/${MOZILLA}/nspr/prinrval.h
+include/${MOZILLA}/nspr/prio.h
+include/${MOZILLA}/nspr/pripcsem.h
+include/${MOZILLA}/nspr/prlink.h
+include/${MOZILLA}/nspr/prlock.h
+include/${MOZILLA}/nspr/prlog.h
+include/${MOZILLA}/nspr/prlong.h
+include/${MOZILLA}/nspr/prmem.h
+include/${MOZILLA}/nspr/prmon.h
+include/${MOZILLA}/nspr/prmwait.h
+include/${MOZILLA}/nspr/prnetdb.h
+include/${MOZILLA}/nspr/prolock.h
+include/${MOZILLA}/nspr/prpdce.h
+include/${MOZILLA}/nspr/prprf.h
+include/${MOZILLA}/nspr/prproces.h
+include/${MOZILLA}/nspr/prrng.h
+include/${MOZILLA}/nspr/prrwlock.h
+include/${MOZILLA}/nspr/prshm.h
+include/${MOZILLA}/nspr/prshma.h
+include/${MOZILLA}/nspr/prsystem.h
+include/${MOZILLA}/nspr/prthread.h
+include/${MOZILLA}/nspr/prtime.h
+include/${MOZILLA}/nspr/prtpool.h
+include/${MOZILLA}/nspr/prtrace.h
+include/${MOZILLA}/nspr/prtypes.h
+include/${MOZILLA}/nspr/prvrsion.h
+include/${MOZILLA}/nspr/prwin16.h
+include/${MOZILLA}/nspr/plarenas.h
+include/${MOZILLA}/nspr/plarena.h
+include/${MOZILLA}/nspr/plhash.h
+include/${MOZILLA}/nspr/plbase64.h
+include/${MOZILLA}/nspr/plerror.h
+include/${MOZILLA}/nspr/plgetopt.h
+include/${MOZILLA}/nspr/plresolv.h
+include/${MOZILLA}/nspr/plstr.h
+include/${MOZILLA}/js/fdlibm.h
+include/${MOZILLA}/js/js.msg
+include/${MOZILLA}/js/jsautocfg.h
+include/${MOZILLA}/js/jsautokw.h
+include/${MOZILLA}/js/jsapi.h
+include/${MOZILLA}/js/jsarray.h
+include/${MOZILLA}/js/jsarena.h
+include/${MOZILLA}/js/jsatom.h
+include/${MOZILLA}/js/jsbit.h
+include/${MOZILLA}/js/jsbool.h
+include/${MOZILLA}/js/jsclist.h
+include/${MOZILLA}/js/jscntxt.h
+include/${MOZILLA}/js/jscompat.h
+include/${MOZILLA}/js/jsconfig.h
+include/${MOZILLA}/js/jsdate.h
+include/${MOZILLA}/js/jsdbgapi.h
+include/${MOZILLA}/js/jsdhash.h
+include/${MOZILLA}/js/jsdtoa.h
+include/${MOZILLA}/js/jsemit.h
+include/${MOZILLA}/js/jsfun.h
+include/${MOZILLA}/js/jsgc.h
+include/${MOZILLA}/js/jshash.h
+include/${MOZILLA}/js/jsinterp.h
+include/${MOZILLA}/js/jsiter.h
+include/${MOZILLA}/js/jslock.h
+include/${MOZILLA}/js/jslong.h
+include/${MOZILLA}/js/jsmath.h
+include/${MOZILLA}/js/jsnum.h
+include/${MOZILLA}/js/jsobj.h
+include/${MOZILLA}/js/jsopcode.h
+include/${MOZILLA}/js/jsopcode.tbl
+include/${MOZILLA}/js/jsotypes.h
+include/${MOZILLA}/js/jsparse.h
+include/${MOZILLA}/js/jsprf.h
+include/${MOZILLA}/js/jsproto.tbl
+include/${MOZILLA}/js/jsprvtd.h
+include/${MOZILLA}/js/jspubtd.h
+include/${MOZILLA}/js/jsregexp.h
+include/${MOZILLA}/js/jsscan.h
+include/${MOZILLA}/js/jsscope.h
+include/${MOZILLA}/js/jsscript.h
+include/${MOZILLA}/js/jsstddef.h
+include/${MOZILLA}/js/jsstr.h
+include/${MOZILLA}/js/jstypes.h
+include/${MOZILLA}/js/jsutil.h
+include/${MOZILLA}/js/jsxdrapi.h
+include/${MOZILLA}/js/jsxml.h
+include/${MOZILLA}/xpcom/xpt_arena.h
+include/${MOZILLA}/xpcom/xpt_struct.h
+include/${MOZILLA}/xpcom/xpt_xdr.h
+include/${MOZILLA}/xpcom/nsXPCOMGlue.h
+include/${MOZILLA}/xpcom/nsThreadUtils.h
+include/${MOZILLA}/xpcom/nsProxyRelease.h
+include/${MOZILLA}/xpcom/nsXPTCUtils.h
+include/${MOZILLA}/xpcom/pldhash.h
+include/${MOZILLA}/xpcom/nsArrayEnumerator.h
+include/${MOZILLA}/xpcom/nsArrayUtils.h
+include/${MOZILLA}/xpcom/nsAutoLock.h
+include/${MOZILLA}/xpcom/nsBaseHashtable.h
+include/${MOZILLA}/xpcom/nsCategoryCache.h
+include/${MOZILLA}/xpcom/nsCOMArray.h
+include/${MOZILLA}/xpcom/nsCRTGlue.h
+include/${MOZILLA}/xpcom/nsClassHashtable.h
+include/${MOZILLA}/xpcom/nsDataHashtable.h
+include/${MOZILLA}/xpcom/nsEnumeratorUtils.h
+include/${MOZILLA}/xpcom/nsHashKeys.h
+include/${MOZILLA}/xpcom/nsTArray.h
+include/${MOZILLA}/xpcom/nsINIParser.h
+include/${MOZILLA}/xpcom/nsInterfaceHashtable.h
+include/${MOZILLA}/xpcom/nsQuickSort.h
+include/${MOZILLA}/xpcom/nsStringGlue.h
+include/${MOZILLA}/xpcom/nsRefPtrHashtable.h
+include/${MOZILLA}/xpcom/nsStringAPI.h
+include/${MOZILLA}/xpcom/nsTextFormatter.h
+include/${MOZILLA}/xpcom/nsTHashtable.h
+include/${MOZILLA}/xpcom/nsVoidArray.h
+include/${MOZILLA}/xpcom/nsTPtrArray.h
+include/${MOZILLA}/xpcom/nsTWeakRef.h
+include/${MOZILLA}/xpcom/nsID.h
+include/${MOZILLA}/xpcom/nsIGenericFactory.h
+include/${MOZILLA}/xpcom/nsIInterfaceRequestorUtils.h
+include/${MOZILLA}/xpcom/nsISupportsImpl.h
+include/${MOZILLA}/xpcom/nsISupportsUtils.h
+include/${MOZILLA}/xpcom/nsIWeakReferenceUtils.h
+include/${MOZILLA}/xpcom/nsCOMPtr.h
+include/${MOZILLA}/xpcom/nsDebug.h
+include/${MOZILLA}/xpcom/nsMemory.h
+include/${MOZILLA}/xpcom/nsGenericFactory.h
+include/${MOZILLA}/xpcom/nsTraceRefcnt.h
+include/${MOZILLA}/xpcom/nsWeakReference.h
+include/${MOZILLA}/xpcom/nsComponentManagerUtils.h
+include/${MOZILLA}/xpcom/nsServiceManagerUtils.h
+include/${MOZILLA}/xpcom/nsVersionComparator.h
+include/${MOZILLA}/xpcom/nsIClassInfoImpl.h
+include/${MOZILLA}/xpcom/nsTObserverArray.h
+include/${MOZILLA}/xpcom/nsCycleCollectionParticipant.h
+include/${MOZILLA}/xpcom/nsDeque.h
+include/${MOZILLA}/xpcom/nsAgg.h
+include/${MOZILLA}/xpcom/nsAutoPtr.h
+include/${MOZILLA}/xpcom/nsCom.h
+include/${MOZILLA}/xpcom/nsDebugImpl.h
+include/${MOZILLA}/xpcom/nsIAllocator.h
+include/${MOZILLA}/xpcom/nsIID.h
+include/${MOZILLA}/xpcom/nsISupportsObsolete.h
+include/${MOZILLA}/xpcom/nsStackWalk.h
+include/${MOZILLA}/xpcom/nsTraceRefcntImpl.h
+include/${MOZILLA}/xpcom/nsCRT.h
+include/${MOZILLA}/xpcom/nsWeakPtr.h
+include/${MOZILLA}/xpcom/nsInterfaceRequestorAgg.h
+include/${MOZILLA}/xpcom/nsError.h
+include/${MOZILLA}/xpcom/nsISupportsBase.h
+include/${MOZILLA}/xpcom/nscore.h
+include/${MOZILLA}/xpcom/nsCycleCollector.h
+include/${MOZILLA}/xpcom/nsObjCExceptions.h
+include/${MOZILLA}/xpcom/nsIConsoleListener.h
+include/${MOZILLA}/xpcom/nsIConsoleMessage.h
+include/${MOZILLA}/xpcom/nsIConsoleService.h
+include/${MOZILLA}/xpcom/nsIErrorService.h
+include/${MOZILLA}/xpcom/nsIException.h
+include/${MOZILLA}/xpcom/nsIExceptionService.h
+include/${MOZILLA}/xpcom/nsIVersionComparator.h
+include/${MOZILLA}/xpcom/nsIUUIDGenerator.h
+include/${MOZILLA}/xpcom/nsIMutable.h
+include/${MOZILLA}/xpcom/nsIMemoryReporter.h
+include/${MOZILLA}/xpcom/nsIDebug.h
+include/${MOZILLA}/xpcom/nsIMemory.h
+include/${MOZILLA}/xpcom/nsIInterfaceRequestor.h
+include/${MOZILLA}/xpcom/nsIProgrammingLanguage.h
+include/${MOZILLA}/xpcom/nsISupports.h
+include/${MOZILLA}/xpcom/nsITraceRefcnt.h
+include/${MOZILLA}/xpcom/nsIWeakReference.h
+include/${MOZILLA}/xpcom/nsrootidl.h
+include/${MOZILLA}/xpcom/nsAtomService.h
+include/${MOZILLA}/xpcom/nsCheapSets.h
+include/${MOZILLA}/xpcom/nsCppSharedAllocator.h
+include/${MOZILLA}/xpcom/nsDoubleHashtable.h
+include/${MOZILLA}/xpcom/nsExpirationTracker.h
+include/${MOZILLA}/xpcom/nsFixedSizeAllocator.h
+include/${MOZILLA}/xpcom/nsHashSets.h
+include/${MOZILLA}/xpcom/nsHashtable.h
+include/${MOZILLA}/xpcom/nsIByteBuffer.h
+include/${MOZILLA}/xpcom/nsIUnicharBuffer.h
+include/${MOZILLA}/xpcom/nsInt64.h
+include/${MOZILLA}/xpcom/nsMathUtils.h
+include/${MOZILLA}/xpcom/nsObserverService.h
+include/${MOZILLA}/xpcom/nsRecyclingAllocator.h
+include/${MOZILLA}/xpcom/nsStaticNameTable.h
+include/${MOZILLA}/xpcom/nsStaticAtom.h
+include/${MOZILLA}/xpcom/nsSupportsArray.h
+include/${MOZILLA}/xpcom/nsSupportsPrimitives.h
+include/${MOZILLA}/xpcom/nsTime.h
+include/${MOZILLA}/xpcom/nsVariant.h
+include/${MOZILLA}/xpcom/nsStringEnumerator.h
+include/${MOZILLA}/xpcom/nsHashPropertyBag.h
+include/${MOZILLA}/xpcom/nsWhitespaceTokenizer.h
+include/${MOZILLA}/xpcom/nsIAtom.h
+include/${MOZILLA}/xpcom/nsIAtomService.h
+include/${MOZILLA}/xpcom/nsICollection.h
+include/${MOZILLA}/xpcom/nsIEnumerator.h
+include/${MOZILLA}/xpcom/nsIINIParser.h
+include/${MOZILLA}/xpcom/nsIPersistentProperties2.h
+include/${MOZILLA}/xpcom/nsIProperty.h
+include/${MOZILLA}/xpcom/nsIPropertyBag.h
+include/${MOZILLA}/xpcom/nsIPropertyBag2.h
+include/${MOZILLA}/xpcom/nsIWritablePropertyBag.h
+include/${MOZILLA}/xpcom/nsIWritablePropertyBag2.h
+include/${MOZILLA}/xpcom/nsIRecyclingAllocator.h
+include/${MOZILLA}/xpcom/nsIVariant.h
+include/${MOZILLA}/xpcom/nsISerializable.h
+include/${MOZILLA}/xpcom/nsIStringEnumerator.h
+include/${MOZILLA}/xpcom/nsISupportsArray.h
+include/${MOZILLA}/xpcom/nsISupportsIterators.h
+include/${MOZILLA}/xpcom/nsITimelineService.h
+include/${MOZILLA}/xpcom/nsIArray.h
+include/${MOZILLA}/xpcom/nsIHashable.h
+include/${MOZILLA}/xpcom/nsIMutableArray.h
+include/${MOZILLA}/xpcom/nsIObserverService.h
+include/${MOZILLA}/xpcom/nsIObserver.h
+include/${MOZILLA}/xpcom/nsIProperties.h
+include/${MOZILLA}/xpcom/nsISimpleEnumerator.h
+include/${MOZILLA}/xpcom/nsISupportsPrimitives.h
+include/${MOZILLA}/xpcom/nsAppDirectoryServiceDefs.h
+include/${MOZILLA}/xpcom/nsDirectoryService.h
+include/${MOZILLA}/xpcom/nsEscape.h
+include/${MOZILLA}/xpcom/nsFastLoadService.h
+include/${MOZILLA}/xpcom/nsLinebreakConverter.h
+include/${MOZILLA}/xpcom/nsLocalFile.h
+include/${MOZILLA}/xpcom/nsMultiplexInputStream.h
+include/${MOZILLA}/xpcom/nsScriptableInputStream.h
+include/${MOZILLA}/xpcom/nsStorageStream.h
+include/${MOZILLA}/xpcom/nsStringStream.h
+include/${MOZILLA}/xpcom/nsStreamUtils.h
+include/${MOZILLA}/xpcom/nsNativeCharsetUtils.h
+include/${MOZILLA}/xpcom/nsLocalFileUnix.h
+include/${MOZILLA}/xpcom/nsDirectoryServiceDefs.h
+include/${MOZILLA}/xpcom/nsDirectoryServiceUtils.h
+include/${MOZILLA}/xpcom/nsIBinaryInputStream.h
+include/${MOZILLA}/xpcom/nsIPipe.h
+include/${MOZILLA}/xpcom/nsIBinaryOutputStream.h
+include/${MOZILLA}/xpcom/nsIDirectoryEnumerator.h
+include/${MOZILLA}/xpcom/nsIFastLoadFileControl.h
+include/${MOZILLA}/xpcom/nsIFastLoadService.h
+include/${MOZILLA}/xpcom/nsIInputStreamTee.h
+include/${MOZILLA}/xpcom/nsILocalFileWin.h
+include/${MOZILLA}/xpcom/nsILineInputStream.h
+include/${MOZILLA}/xpcom/nsIUnicharLineInputStream.h
+include/${MOZILLA}/xpcom/nsISimpleUnicharStreamFactory.h
+include/${MOZILLA}/xpcom/nsIMultiplexInputStream.h
+include/${MOZILLA}/xpcom/nsIObjectInputStream.h
+include/${MOZILLA}/xpcom/nsIObjectOutputStream.h
+include/${MOZILLA}/xpcom/nsISeekableStream.h
+include/${MOZILLA}/xpcom/nsIStorageStream.h
+include/${MOZILLA}/xpcom/nsIStringStream.h
+include/${MOZILLA}/xpcom/nsIFile.h
+include/${MOZILLA}/xpcom/nsIStreamBufferAccess.h
+include/${MOZILLA}/xpcom/nsIAsyncInputStream.h
+include/${MOZILLA}/xpcom/nsIAsyncOutputStream.h
+include/${MOZILLA}/xpcom/nsIUnicharInputStream.h
+include/${MOZILLA}/xpcom/nsIUnicharOutputStream.h
+include/${MOZILLA}/xpcom/nsIConverterInputStream.h
+include/${MOZILLA}/xpcom/nsIConverterOutputStream.h
+include/${MOZILLA}/xpcom/nsIDirectoryService.h
+include/${MOZILLA}/xpcom/nsILocalFile.h
+include/${MOZILLA}/xpcom/nsIInputStream.h
+include/${MOZILLA}/xpcom/nsIOutputStream.h
+include/${MOZILLA}/xpcom/nsIScriptableInputStream.h
+include/${MOZILLA}/xpcom/nsCategoryManagerUtils.h
+include/${MOZILLA}/xpcom/nsIServiceManagerObsolete.h
+include/${MOZILLA}/xpcom/nsModule.h
+include/${MOZILLA}/xpcom/nsObsoleteModuleLoading.h
+include/${MOZILLA}/xpcom/nsIModuleLoader.h
+include/${MOZILLA}/xpcom/nsIComponentManagerObsolete.h
+include/${MOZILLA}/xpcom/nsIClassInfo.h
+include/${MOZILLA}/xpcom/nsIComponentRegistrar.h
+include/${MOZILLA}/xpcom/nsIFactory.h
+include/${MOZILLA}/xpcom/nsIModule.h
+include/${MOZILLA}/xpcom/nsIServiceManager.h
+include/${MOZILLA}/xpcom/nsIComponentManager.h
+include/${MOZILLA}/xpcom/nsICategoryManager.h
+include/${MOZILLA}/xpcom/nsProcess.h
+include/${MOZILLA}/xpcom/nsEventQueue.h
+include/${MOZILLA}/xpcom/nsThreadUtilsInternal.h
+include/${MOZILLA}/xpcom/nsIEventTarget.h
+include/${MOZILLA}/xpcom/nsIThread.h
+include/${MOZILLA}/xpcom/nsIThreadInternal.h
+include/${MOZILLA}/xpcom/nsIThreadManager.h
+include/${MOZILLA}/xpcom/nsIThreadPool.h
+include/${MOZILLA}/xpcom/nsITimer.h
+include/${MOZILLA}/xpcom/nsIRunnable.h
+include/${MOZILLA}/xpcom/nsIEnvironment.h
+include/${MOZILLA}/xpcom/nsIProcess.h
+include/${MOZILLA}/xpcom/nsISupportsPriority.h
+include/${MOZILLA}/xpcom/xptinfo.h
+include/${MOZILLA}/xpcom/nsIInterfaceInfo.h
+include/${MOZILLA}/xpcom/nsIInterfaceInfoManager.h
+include/${MOZILLA}/xpcom/nsIXPTLoader.h
+include/${MOZILLA}/xpcom/xptcall.h
+include/${MOZILLA}/xpcom/nsProxiedService.h
+include/${MOZILLA}/xpcom/nsIProxyObjectManager.h
+include/${MOZILLA}/xpcom/nsIXULAppInfo.h
+include/${MOZILLA}/xpcom/nsIGConfService.h
+include/${MOZILLA}/xpcom/nsIGnomeVFSService.h
+include/${MOZILLA}/xpcom/nsXPCOMCIDInternal.h
+include/${MOZILLA}/xpcom/nsXPCOM.h
+include/${MOZILLA}/xpcom/nsXPCOMCID.h
+include/${MOZILLA}/xpcom/xpcom-config.h
+include/${MOZILLA}/xpcom/xptcstubsdecl.inc
+include/${MOZILLA}/xpcom/xptcstubsdef.inc
+include/${MOZILLA}/string/nsAString.h
+include/${MOZILLA}/string/nsAlgorithm.h
+include/${MOZILLA}/string/nsCharTraits.h
+include/${MOZILLA}/string/nsDependentString.h
+include/${MOZILLA}/string/nsDependentSubstring.h
+include/${MOZILLA}/string/nsLiteralString.h
+include/${MOZILLA}/string/nsObsoleteAString.h
+include/${MOZILLA}/string/nsPrintfCString.h
+include/${MOZILLA}/string/nsPromiseFlatString.h
+include/${MOZILLA}/string/nsReadableUtils.h
+include/${MOZILLA}/string/nsString.h
+include/${MOZILLA}/string/nsStringBuffer.h
+include/${MOZILLA}/string/nsStringFwd.h
+include/${MOZILLA}/string/nsStringIterator.h
+include/${MOZILLA}/string/nsSubstring.h
+include/${MOZILLA}/string/nsSubstringTuple.h
+include/${MOZILLA}/string/nsTAString.h
+include/${MOZILLA}/string/nsTDependentString.h
+include/${MOZILLA}/string/nsTDependentSubstring.h
+include/${MOZILLA}/string/nsTObsoleteAString.h
+include/${MOZILLA}/string/nsTPromiseFlatString.h
+include/${MOZILLA}/string/nsTString.h
+include/${MOZILLA}/string/nsTSubstring.h
+include/${MOZILLA}/string/nsTSubstringTuple.h
+include/${MOZILLA}/string/nsUTF8Utils.h
+include/${MOZILLA}/string/nsXPIDLString.h
+include/${MOZILLA}/string/string-template-def-unichar.h
+include/${MOZILLA}/string/string-template-def-char.h
+include/${MOZILLA}/string/string-template-undef.h
+include/${MOZILLA}/string/nsXPCOMStrings.h
+include/${MOZILLA}/string/nsEmbedString.h
+include/${MOZILLA}/zlib/zlib.h
+include/${MOZILLA}/zlib/zconf.h
+include/${MOZILLA}/zlib/mozzconf.h
+include/${MOZILLA}/storage/mozStorageHelper.h
+include/${MOZILLA}/storage/mozIStorageService.h
+include/${MOZILLA}/storage/mozIStorageConnection.h
+include/${MOZILLA}/storage/mozIStorageAggregateFunction.h
+include/${MOZILLA}/storage/mozIStorageFunction.h
+include/${MOZILLA}/storage/mozIStorageProgressHandler.h
+include/${MOZILLA}/storage/mozIStorageStatement.h
+include/${MOZILLA}/storage/mozIStorageStatementWrapper.h
+include/${MOZILLA}/storage/mozIStorageDataSet.h
+include/${MOZILLA}/storage/mozIStorageValueArray.h
+include/${MOZILLA}/storage/mozStorageCID.h
+include/${MOZILLA}/libreg/VerReg.h
+include/${MOZILLA}/libreg/NSReg.h
+include/${MOZILLA}/pref/nsPrefsCID.h
+include/${MOZILLA}/pref/nsIPref.h
+include/${MOZILLA}/pref/nsIPrefBranchInternal.h
+include/${MOZILLA}/pref/nsISecurityPref.h
+include/${MOZILLA}/pref/nsIRelativeFilePref.h
+include/${MOZILLA}/pref/nsIPrefService.h
+include/${MOZILLA}/pref/nsIPrefBranch.h
+include/${MOZILLA}/pref/nsIPrefBranch2.h
+include/${MOZILLA}/pref/nsIPrefLocalizedString.h
+include/${MOZILLA}/unicharutil/nsIEntityConverter.h
+include/${MOZILLA}/unicharutil/nsISaveAsCharset.h
+include/${MOZILLA}/unicharutil/nsIUnicodeNormalizer.h
+include/${MOZILLA}/unicharutil/nsICaseConversion.h
+include/${MOZILLA}/unicharutil/nsITextTransform.h
+include/${MOZILLA}/unicharutil/nsIUGenCategory.h
+include/${MOZILLA}/unicharutil/nsUnicharUtilCIID.h
+include/${MOZILLA}/unicharutil/nsHankakuToZenkakuCID.h
+include/${MOZILLA}/unicharutil/nsCompressedCharMap.h
+include/${MOZILLA}/unicharutil/nsBidiUtils.h
+include/${MOZILLA}/unicharutil/nsUnicharUtils.h
+include/${MOZILLA}/uconv/nsITextToSubURI.h
+include/${MOZILLA}/uconv/nsICurrentCharsetListener.h
+include/${MOZILLA}/uconv/nsICharsetConverterManager.h
+include/${MOZILLA}/uconv/nsIScriptableUConv.h
+include/${MOZILLA}/uconv/nsIUTF8ConverterService.h
+include/${MOZILLA}/uconv/nsICharsetAlias.h
+include/${MOZILLA}/uconv/nsIPlatformCharset.h
+include/${MOZILLA}/uconv/nsIUnicodeDecoder.h
+include/${MOZILLA}/uconv/nsIUnicodeEncoder.h
+include/${MOZILLA}/uconv/nsICharRepresentable.h
+include/${MOZILLA}/uconv/uconvutil.h
+include/${MOZILLA}/uconv/nsEncoderDecoderUtils.h
+include/${MOZILLA}/uconv/nsUConvCID.h
+include/${MOZILLA}/ucvja/nsUCVJACID.h
+include/${MOZILLA}/ucvja/nsUCVJA2CID.h
+include/${MOZILLA}/ucvcn/nsUCvCnCID.h
+include/${MOZILLA}/ucvlatin/nsUCvLatinCID.h
+include/${MOZILLA}/ucvtw/nsUCvTWCID.h
+include/${MOZILLA}/ucvtw2/nsUCvTW2CID.h
+include/${MOZILLA}/ucvko/nsUCvKOCID.h
+include/${MOZILLA}/ucvibm/nsUCvIBMCID.h
+include/${MOZILLA}/ucvmath/nsUCvMathCID.h
+include/${MOZILLA}/locale/nsCollationCID.h
+include/${MOZILLA}/locale/nsDateTimeFormatCID.h
+include/${MOZILLA}/locale/nsIDateTimeFormat.h
+include/${MOZILLA}/locale/nsILanguageAtomService.h
+include/${MOZILLA}/locale/nsIMacLocale.h
+include/${MOZILLA}/locale/nsIPosixLocale.h
+include/${MOZILLA}/locale/nsIOS2Locale.h
+include/${MOZILLA}/locale/nsIWin32Locale.h
+include/${MOZILLA}/locale/nsLocaleCID.h
+include/${MOZILLA}/locale/nsILocale.h
+include/${MOZILLA}/locale/nsILocaleService.h
+include/${MOZILLA}/locale/nsIScriptableDateFormat.h
+include/${MOZILLA}/locale/nsICollation.h
+include/${MOZILLA}/locale/nsCollation.h
+include/${MOZILLA}/intl/nsIStringBundle.h
+include/${MOZILLA}/intl/nsIStringBundleOverride.h
+include/${MOZILLA}/lwbrk/nsISemanticUnitScanner.h
+include/${MOZILLA}/lwbrk/nsILineBreaker.h
+include/${MOZILLA}/lwbrk/nsIWordBreaker.h
+include/${MOZILLA}/lwbrk/nsLWBrkCIID.h
+include/${MOZILLA}/necko/netCore.h
+include/${MOZILLA}/necko/nsNetError.h
+include/${MOZILLA}/necko/nsNetUtil.h
+include/${MOZILLA}/necko/nsNetStrings.h
+include/${MOZILLA}/necko/nsChannelProperties.h
+include/${MOZILLA}/necko/nsURIHashKey.h
+include/${MOZILLA}/necko/nsReadLine.h
+include/${MOZILLA}/necko/nsCPasswordManager.h
+include/${MOZILLA}/necko/nsCPasswordManagerInternal.h
+include/${MOZILLA}/necko/nsASocketHandler.h
+include/${MOZILLA}/necko/nsIAuthInformation.h
+include/${MOZILLA}/necko/nsIAuthPrompt.h
+include/${MOZILLA}/necko/nsIAuthPrompt2.h
+include/${MOZILLA}/necko/nsIAuthPromptAdapterFactory.h
+include/${MOZILLA}/necko/nsIAuthPromptCallback.h
+include/${MOZILLA}/necko/nsIAsyncStreamCopier.h
+include/${MOZILLA}/necko/nsISafeOutputStream.h
+include/${MOZILLA}/necko/nsIBufferedStreams.h
+include/${MOZILLA}/necko/nsICancelable.h
+include/${MOZILLA}/necko/nsICryptoHash.h
+include/${MOZILLA}/necko/nsICryptoHMAC.h
+include/${MOZILLA}/necko/nsIDownloader.h
+include/${MOZILLA}/necko/nsIEncodedChannel.h
+include/${MOZILLA}/necko/nsIFileStreams.h
+include/${MOZILLA}/necko/nsIIncrementalDownload.h
+include/${MOZILLA}/necko/nsIInputStreamPump.h
+include/${MOZILLA}/necko/nsIInputStreamChannel.h
+include/${MOZILLA}/necko/nsIIOService2.h
+include/${MOZILLA}/necko/nsIMIMEInputStream.h
+include/${MOZILLA}/necko/nsINetworkLinkService.h
+include/${MOZILLA}/necko/nsIPasswordManager.h
+include/${MOZILLA}/necko/nsIPasswordManagerInternal.h
+include/${MOZILLA}/necko/nsIPermission.h
+include/${MOZILLA}/necko/nsIPermissionManager.h
+include/${MOZILLA}/necko/nsIProgressEventSink.h
+include/${MOZILLA}/necko/nsIPrompt.h
+include/${MOZILLA}/necko/nsIProtocolProxyService.h
+include/${MOZILLA}/necko/nsIProtocolProxyService2.h
+include/${MOZILLA}/necko/nsIProtocolProxyFilter.h
+include/${MOZILLA}/necko/nsIProtocolProxyCallback.h
+include/${MOZILLA}/necko/nsIProxiedProtocolHandler.h
+include/${MOZILLA}/necko/nsIProxyAutoConfig.h
+include/${MOZILLA}/necko/nsIProxyInfo.h
+include/${MOZILLA}/necko/nsITransport.h
+include/${MOZILLA}/necko/nsISocketTransport.h
+include/${MOZILLA}/necko/nsISocketTransportService.h
+include/${MOZILLA}/necko/nsIServerSocket.h
+include/${MOZILLA}/necko/nsIResumableChannel.h
+include/${MOZILLA}/necko/nsIRequestObserverProxy.h
+include/${MOZILLA}/necko/nsIStreamListenerTee.h
+include/${MOZILLA}/necko/nsISimpleStreamListener.h
+include/${MOZILLA}/necko/nsIStreamTransportService.h
+include/${MOZILLA}/necko/nsIStreamLoader.h
+include/${MOZILLA}/necko/nsISyncStreamListener.h
+include/${MOZILLA}/necko/nsISystemProxySettings.h
+include/${MOZILLA}/necko/nsIUnicharStreamLoader.h
+include/${MOZILLA}/necko/nsIStandardURL.h
+include/${MOZILLA}/necko/nsINestedURI.h
+include/${MOZILLA}/necko/nsIURLParser.h
+include/${MOZILLA}/necko/nsIURIChecker.h
+include/${MOZILLA}/necko/nsISecurityEventSink.h
+include/${MOZILLA}/necko/nsISecretDecoderRing.h
+include/${MOZILLA}/necko/nsISecureBrowserUI.h
+include/${MOZILLA}/necko/nsICryptoFIPSInfo.h
+include/${MOZILLA}/necko/nsINSSErrorsService.h
+include/${MOZILLA}/necko/nsICachingChannel.h
+include/${MOZILLA}/necko/nsIAuthModule.h
+include/${MOZILLA}/necko/nsIByteRangeRequest.h
+include/${MOZILLA}/necko/nsIMultiPartChannel.h
+include/${MOZILLA}/necko/nsIExternalProtocolHandler.h
+include/${MOZILLA}/necko/nsIContentSniffer.h
+include/${MOZILLA}/necko/nsIAuthPromptProvider.h
+include/${MOZILLA}/necko/nsPISocketTransportService.h
+include/${MOZILLA}/necko/nsIChannelEventSink.h
+include/${MOZILLA}/necko/nsINetUtil.h
+include/${MOZILLA}/necko/nsIProxiedChannel.h
+include/${MOZILLA}/necko/nsIRandomGenerator.h
+include/${MOZILLA}/necko/nsIChannel.h
+include/${MOZILLA}/necko/nsILoadGroup.h
+include/${MOZILLA}/necko/nsIProtocolHandler.h
+include/${MOZILLA}/necko/nsIRequest.h
+include/${MOZILLA}/necko/nsIRequestObserver.h
+include/${MOZILLA}/necko/nsIStreamListener.h
+include/${MOZILLA}/necko/nsIIOService.h
+include/${MOZILLA}/necko/nsIURI.h
+include/${MOZILLA}/necko/nsIURL.h
+include/${MOZILLA}/necko/nsIFileURL.h
+include/${MOZILLA}/necko/nsIUploadChannel.h
+include/${MOZILLA}/necko/nsIUnicharStreamListener.h
+include/${MOZILLA}/necko/nsICookieService.h
+include/${MOZILLA}/necko/nsICookie2.h
+include/${MOZILLA}/necko/nsICookieManager2.h
+include/${MOZILLA}/necko/nsICookiePermission.h
+include/${MOZILLA}/necko/nsICookieManager.h
+include/${MOZILLA}/necko/nsICookie.h
+include/${MOZILLA}/necko/nsPIDNSService.h
+include/${MOZILLA}/necko/nsIDNSService.h
+include/${MOZILLA}/necko/nsIDNSListener.h
+include/${MOZILLA}/necko/nsIDNSRecord.h
+include/${MOZILLA}/necko/nsIIDNService.h
+include/${MOZILLA}/necko/nsIEffectiveTLDService.h
+include/${MOZILLA}/necko/nsISocketProvider.h
+include/${MOZILLA}/necko/nsISOCKSSocketInfo.h
+include/${MOZILLA}/necko/nsISocketProviderService.h
+include/${MOZILLA}/necko/nsITransportSecurityInfo.h
+include/${MOZILLA}/necko/nsISSLSocketControl.h
+include/${MOZILLA}/necko/nsIStreamConverter.h
+include/${MOZILLA}/necko/nsIStreamConverterService.h
+include/${MOZILLA}/necko/mozITXTToHTMLConv.h
+include/${MOZILLA}/necko/nsITXTToHTMLConv.h
+include/${MOZILLA}/necko/nsIDirIndex.h
+include/${MOZILLA}/necko/nsIDirIndexListener.h
+include/${MOZILLA}/necko/nsAboutProtocolUtils.h
+include/${MOZILLA}/necko/nsIAboutModule.h
+include/${MOZILLA}/necko/nsIResProtocolHandler.h
+include/${MOZILLA}/necko/nsIFileProtocolHandler.h
+include/${MOZILLA}/necko/nsIFileChannel.h
+include/${MOZILLA}/necko/nsIHttpChannelInternal.h
+include/${MOZILLA}/necko/nsIHttpProtocolHandler.h
+include/${MOZILLA}/necko/nsIHttpEventSink.h
+include/${MOZILLA}/necko/nsIHttpAuthenticator.h
+include/${MOZILLA}/necko/nsIHttpAuthManager.h
+include/${MOZILLA}/necko/nsIHttpActivityObserver.h
+include/${MOZILLA}/necko/nsIHttpChannel.h
+include/${MOZILLA}/necko/nsIHttpHeaderVisitor.h
+include/${MOZILLA}/necko/nsIViewSourceChannel.h
+include/${MOZILLA}/necko/ftpCore.h
+include/${MOZILLA}/necko/nsIFTPChannel.h
+include/${MOZILLA}/necko/nsNetCID.h
+include/${MOZILLA}/necko/necko-config.h
+include/${MOZILLA}/mimetype/nsMimeTypes.h
+include/${MOZILLA}/mimetype/nsIMIMEService.h
+include/${MOZILLA}/mimetype/nsIMIMEInfo.h
+include/${MOZILLA}/mimetype/nsIMIMEHeaderParam.h
+include/${MOZILLA}/nkcache/nsICache.h
+include/${MOZILLA}/nkcache/nsICacheEntryDescriptor.h
+include/${MOZILLA}/nkcache/nsICacheListener.h
+include/${MOZILLA}/nkcache/nsICacheService.h
+include/${MOZILLA}/nkcache/nsICacheSession.h
+include/${MOZILLA}/nkcache/nsICacheVisitor.h
+include/${MOZILLA}/nkcache/nsIOfflineCacheSession.h
+include/${MOZILLA}/nkcache/nsCacheService.h
+include/${MOZILLA}/libbz2/bzlib.h
+include/${MOZILLA}/libmar/mar.h
+include/${MOZILLA}/lcms/icc34.h
+include/${MOZILLA}/lcms/lcms.h
+include/${MOZILLA}/xpconnect/nsAXPCNativeCallContext.h
+include/${MOZILLA}/xpconnect/xpc_map_end.h
+include/${MOZILLA}/xpconnect/xpccomponents.h
+include/${MOZILLA}/xpconnect/xpcjsid.h
+include/${MOZILLA}/xpconnect/xpcexception.h
+include/${MOZILLA}/xpconnect/xpcIJSModuleLoader.h
+include/${MOZILLA}/xpconnect/nsIJSContextStack.h
+include/${MOZILLA}/xpconnect/nsIJSRuntimeService.h
+include/${MOZILLA}/xpconnect/nsIXPConnect.h
+include/${MOZILLA}/xpconnect/nsIXPCSecurityManager.h
+include/${MOZILLA}/xpconnect/nsIXPCScriptable.h
+include/${MOZILLA}/xpconnect/nsIScriptError.h
+include/${MOZILLA}/xpconnect/nsIXPCScriptNotify.h
+include/${MOZILLA}/xpconnect/nsIScriptableInterfaces.h
+include/${MOZILLA}/xpconnect/XPCIDispatch.h
+include/${MOZILLA}/xpconnect/xpcIJSWeakReference.h
+include/${MOZILLA}/xpconnect/mozIJSSubScriptLoader.h
+include/${MOZILLA}/chardet/nsCharsetDetectionAdaptorCID.h
+include/${MOZILLA}/chardet/nsDetectionConfident.h
+include/${MOZILLA}/chardet/nsDocumentCharsetInfoCID.h
+include/${MOZILLA}/chardet/nsICharsetDetectionAdaptor.h
+include/${MOZILLA}/chardet/nsICharsetDetectionObserver.h
+include/${MOZILLA}/chardet/nsICharsetDetector.h
+include/${MOZILLA}/chardet/nsIMetaCharsetService.h
+include/${MOZILLA}/chardet/nsIStringCharsetDetector.h
+include/${MOZILLA}/chardet/nsIXMLEncodingService.h
+include/${MOZILLA}/chardet/nsMetaCharsetCID.h
+include/${MOZILLA}/chardet/nsXMLEncodingCID.h
+include/${MOZILLA}/chardet/nsIDocumentCharsetInfo.h
+include/${MOZILLA}/chardet/nsIDocCharset.h
+include/${MOZILLA}/chardet/nsICharsetResolver.h
+include/${MOZILLA}/gtkxtbin/gtkxtbin.h
+include/${MOZILLA}/gtkxtbin/gtk2xtbin.h
+include/${MOZILLA}/util/stopwatch.h
+include/${MOZILLA}/util/nsTimer.h
+include/${MOZILLA}/jar/zipfile.h
+include/${MOZILLA}/jar/zipstub.h
+include/${MOZILLA}/jar/zipstruct.h
+include/${MOZILLA}/jar/nsIZipReader.h
+include/${MOZILLA}/jar/nsIJAR.h
+include/${MOZILLA}/jar/nsIJARChannel.h
+include/${MOZILLA}/jar/nsIJARURI.h
+include/${MOZILLA}/jar/nsIJARProtocolHandler.h
+include/${MOZILLA}/zipwriter/nsIZipWriter.h
+include/${MOZILLA}/morkreader/nsMorkReader.h
+include/${MOZILLA}/cookie/nsICookieAcceptDialog.h
+include/${MOZILLA}/cookie/nsICookiePromptService.h
+include/${MOZILLA}/sqlite3/sqlite3.h
+include/${MOZILLA}/rdf/rdfIDataSource.h
+include/${MOZILLA}/rdf/rdfITripleVisitor.h
+include/${MOZILLA}/rdf/rdfISerializer.h
+include/${MOZILLA}/rdf/nsIRDFCompositeDataSource.h
+include/${MOZILLA}/rdf/nsIRDFContainer.h
+include/${MOZILLA}/rdf/nsIRDFContainerUtils.h
+include/${MOZILLA}/rdf/nsIRDFDelegateFactory.h
+include/${MOZILLA}/rdf/nsIRDFDataSource.h
+include/${MOZILLA}/rdf/nsIRDFLiteral.h
+include/${MOZILLA}/rdf/nsIRDFNode.h
+include/${MOZILLA}/rdf/nsIRDFObserver.h
+include/${MOZILLA}/rdf/nsIRDFInMemoryDataSource.h
+include/${MOZILLA}/rdf/nsIRDFPropagatableDataSource.h
+include/${MOZILLA}/rdf/nsIRDFPurgeableDataSource.h
+include/${MOZILLA}/rdf/nsIRDFRemoteDataSource.h
+include/${MOZILLA}/rdf/nsIRDFService.h
+include/${MOZILLA}/rdf/nsIRDFResource.h
+include/${MOZILLA}/rdf/nsIRDFXMLParser.h
+include/${MOZILLA}/rdf/nsIRDFXMLSerializer.h
+include/${MOZILLA}/rdf/nsIRDFXMLSink.h
+include/${MOZILLA}/rdf/nsIRDFXMLSource.h
+include/${MOZILLA}/rdf/nsIRDFInferDataSource.h
+include/${MOZILLA}/rdf/rdf.h
+include/${MOZILLA}/rdf/nsIRDFContentSink.h
+include/${MOZILLA}/rdf/nsILocalStore.h
+include/${MOZILLA}/rdf/nsRDFCID.h
+include/${MOZILLA}/rdfutil/nsRDFResource.h
+include/${MOZILLA}/jsdebug/jsdIDebuggerService.h
+include/${MOZILLA}/jsdebug/jsdebug.h
+include/${MOZILLA}/uriloader/nsURILoader.h
+include/${MOZILLA}/uriloader/nsDocLoader.h
+include/${MOZILLA}/uriloader/nsIContentHandler.h
+include/${MOZILLA}/uriloader/nsIURILoader.h
+include/${MOZILLA}/uriloader/nsCURILoader.h
+include/${MOZILLA}/uriloader/nsITransfer.h
+include/${MOZILLA}/uriloader/nsIDocumentLoader.h
+include/${MOZILLA}/uriloader/nsIWebProgressListener2.h
+include/${MOZILLA}/uriloader/nsIURIContentListener.h
+include/${MOZILLA}/uriloader/nsIWebProgress.h
+include/${MOZILLA}/uriloader/nsIWebProgressListener.h
+include/${MOZILLA}/exthandler/nsOSHelperAppService.h
+include/${MOZILLA}/exthandler/nsCExternalHandlerService.h
+include/${MOZILLA}/exthandler/nsIExternalProtocolService.h
+include/${MOZILLA}/exthandler/nsIExternalHelperAppService.h
+include/${MOZILLA}/exthandler/nsIHelperAppLauncherDialog.h
+include/${MOZILLA}/exthandler/nsIContentDispatchChooser.h
+include/${MOZILLA}/exthandler/nsIHandlerService.h
+include/${MOZILLA}/prefetch/nsCPrefetchService.h
+include/${MOZILLA}/prefetch/nsIPrefetchService.h
+include/${MOZILLA}/prefetch/nsIOfflineCacheUpdate.h
+include/${MOZILLA}/png/png.h
+include/${MOZILLA}/png/pngconf.h
+include/${MOZILLA}/png/mozpngconf.h
+include/${MOZILLA}/caps/nsIScriptSecurityManager.h
+include/${MOZILLA}/caps/nsIPrincipal.h
+include/${MOZILLA}/caps/nsISignatureVerifier.h
+include/${MOZILLA}/caps/nsISecurityCheckedComponent.h
+include/${MOZILLA}/caps/nsJSPrincipals.h
+include/${MOZILLA}/expat/expat.h
+include/${MOZILLA}/expat/expat_external.h
+include/${MOZILLA}/expat/expat_config.h
+include/${MOZILLA}/xml/nsISAXAttributes.h
+include/${MOZILLA}/xml/nsISAXMutableAttributes.h
+include/${MOZILLA}/xml/nsISAXContentHandler.h
+include/${MOZILLA}/xml/nsISAXDTDHandler.h
+include/${MOZILLA}/xml/nsISAXErrorHandler.h
+include/${MOZILLA}/xml/nsISAXLexicalHandler.h
+include/${MOZILLA}/xml/nsISAXLocator.h
+include/${MOZILLA}/xml/nsISAXXMLReader.h
+include/${MOZILLA}/xml/nsISAXXMLFilter.h
+include/${MOZILLA}/xml/nsSAXAttributes.h
+include/${MOZILLA}/xml/nsSAXLocator.h
+include/${MOZILLA}/xml/nsSAXXMLReader.h
+include/${MOZILLA}/htmlparser/nsIContentSink.h
+include/${MOZILLA}/htmlparser/nsITokenizer.h
+include/${MOZILLA}/htmlparser/nsIHTMLContentSink.h
+include/${MOZILLA}/htmlparser/nsIFragmentContentSink.h
+include/${MOZILLA}/htmlparser/nsIParserNode.h
+include/${MOZILLA}/htmlparser/nsIParser.h
+include/${MOZILLA}/htmlparser/nsIDTD.h
+include/${MOZILLA}/htmlparser/nsIParserFilter.h
+include/${MOZILLA}/htmlparser/nsIElementObserver.h
+include/${MOZILLA}/htmlparser/nsIParserService.h
+include/${MOZILLA}/htmlparser/nsHTMLTagList.h
+include/${MOZILLA}/htmlparser/nsHTMLTags.h
+include/${MOZILLA}/htmlparser/nsHTMLTokens.h
+include/${MOZILLA}/htmlparser/nsScannerString.h
+include/${MOZILLA}/htmlparser/nsParserCIID.h
+include/${MOZILLA}/htmlparser/nsToken.h
+include/${MOZILLA}/htmlparser/nsParserDataListener.h
+include/${MOZILLA}/htmlparser/nsIExpatSink.h
+include/${MOZILLA}/htmlparser/nsIExtendedExpatSink.h
+include/${MOZILLA}/thebes/gfxASurface.h
+include/${MOZILLA}/thebes/gfxAlphaRecovery.h
+include/${MOZILLA}/thebes/gfxColor.h
+include/${MOZILLA}/thebes/gfxContext.h
+include/${MOZILLA}/thebes/gfxFont.h
+include/${MOZILLA}/thebes/gfxFontUtils.h
+include/${MOZILLA}/thebes/gfxImageSurface.h
+include/${MOZILLA}/thebes/gfxMatrix.h
+include/${MOZILLA}/thebes/gfxPath.h
+include/${MOZILLA}/thebes/gfxPattern.h
+include/${MOZILLA}/thebes/gfxPlatform.h
+include/${MOZILLA}/thebes/gfxPoint.h
+include/${MOZILLA}/thebes/gfxRect.h
+include/${MOZILLA}/thebes/gfxSkipChars.h
+include/${MOZILLA}/thebes/gfxTypes.h
+include/${MOZILLA}/thebes/gfxTextRunCache.h
+include/${MOZILLA}/thebes/gfxTextRunWordCache.h
+include/${MOZILLA}/thebes/gfxFontTest.h
+include/${MOZILLA}/thebes/gfxXlibSurface.h
+include/${MOZILLA}/thebes/gfxPlatformGtk.h
+include/${MOZILLA}/thebes/gfxXlibNativeRenderer.h
+include/${MOZILLA}/thebes/gfxPangoFonts.h
+include/${MOZILLA}/thebes/gfxPDFSurface.h
+include/${MOZILLA}/thebes/gfxPSSurface.h
+include/${MOZILLA}/gfx/gfxCore.h
+include/${MOZILLA}/gfx/nsColor.h
+include/${MOZILLA}/gfx/nsColorNames.h
+include/${MOZILLA}/gfx/nsColorNameList.h
+include/${MOZILLA}/gfx/nsCoord.h
+include/${MOZILLA}/gfx/nsFont.h
+include/${MOZILLA}/gfx/nsRect.h
+include/${MOZILLA}/gfx/nsRegion.h
+include/${MOZILLA}/gfx/nsPoint.h
+include/${MOZILLA}/gfx/nsSize.h
+include/${MOZILLA}/gfx/nsMargin.h
+include/${MOZILLA}/gfx/nsTransform2D.h
+include/${MOZILLA}/gfx/nsIRenderingContext.h
+include/${MOZILLA}/gfx/nsIFontMetrics.h
+include/${MOZILLA}/gfx/nsIDeviceContext.h
+include/${MOZILLA}/gfx/nsIImage.h
+include/${MOZILLA}/gfx/nsGfxCIID.h
+include/${MOZILLA}/gfx/nsIRegion.h
+include/${MOZILLA}/gfx/nsDeviceContext.h
+include/${MOZILLA}/gfx/nsITheme.h
+include/${MOZILLA}/gfx/nsThemeConstants.h
+include/${MOZILLA}/gfx/nsIFontEnumerator.h
+include/${MOZILLA}/gfx/nsIScriptableRegion.h
+include/${MOZILLA}/gfx/gfxIFormats.h
+include/${MOZILLA}/gfx/gfxIImageFrame.h
+include/${MOZILLA}/gfx/gfxtypes.h
+include/${MOZILLA}/gfx/nsIThebesFontMetrics.h
+include/${MOZILLA}/gfx/nsCUPSShim.h
+include/${MOZILLA}/gfx/nsPaperPS.h
+include/${MOZILLA}/gfx/nsPSPrinters.h
+include/${MOZILLA}/gfx/psSharedCore.h
+include/${MOZILLA}/imglib2/ImageErrors.h
+include/${MOZILLA}/imglib2/ImageLogging.h
+include/${MOZILLA}/imglib2/imgICache.h
+include/${MOZILLA}/imglib2/imgIContainer.h
+include/${MOZILLA}/imglib2/imgIContainerObserver.h
+include/${MOZILLA}/imglib2/imgIDecoder.h
+include/${MOZILLA}/imglib2/imgIDecoderObserver.h
+include/${MOZILLA}/imglib2/imgIEncoder.h
+include/${MOZILLA}/imglib2/imgILoad.h
+include/${MOZILLA}/imglib2/imgILoader.h
+include/${MOZILLA}/imglib2/imgIRequest.h
+include/${MOZILLA}/imglib2/imgITools.h
+include/${MOZILLA}/imgicon/nsIIconURI.h
+include/${MOZILLA}/java/java_lang_String.h
+include/${MOZILLA}/java/jdk_java_lang_String.h
+include/${MOZILLA}/java/bool.h
+include/${MOZILLA}/java/interpreter.h
+include/${MOZILLA}/java/javaString.h
+include/${MOZILLA}/java/javaThreads.h
+include/${MOZILLA}/java/jmc.h
+include/${MOZILLA}/java/jriext.h
+include/${MOZILLA}/java/nspr_md.h
+include/${MOZILLA}/java/oobj.h
+include/${MOZILLA}/java/sysmacros_md.h
+include/${MOZILLA}/java/tree.h
+include/${MOZILLA}/java/typedefs.h
+include/${MOZILLA}/java/typedefs_md.h
+include/${MOZILLA}/java/zip.h
+include/${MOZILLA}/java/jni.h
+include/${MOZILLA}/java/jni_md.h
+include/${MOZILLA}/java/jri.h
+include/${MOZILLA}/java/jri_md.h
+include/${MOZILLA}/java/jritypes.h
+include/${MOZILLA}/plugin/nsplugin.h
+include/${MOZILLA}/plugin/nsplugindefs.h
+include/${MOZILLA}/plugin/nsPluginLogging.h
+include/${MOZILLA}/plugin/nsPluginError.h
+include/${MOZILLA}/plugin/nsDefaultPlugin.h
+include/${MOZILLA}/plugin/nsPluginNativeWindow.h
+include/${MOZILLA}/plugin/nsPluginsCID.h
+include/${MOZILLA}/plugin/nsIPluginInstanceInternal.h
+include/${MOZILLA}/plugin/npapi.h
+include/${MOZILLA}/plugin/npupp.h
+include/${MOZILLA}/plugin/nptypes.h
+include/${MOZILLA}/plugin/npruntime.h
+include/${MOZILLA}/plugin/nspluginroot.h
+include/${MOZILLA}/plugin/nsIPluginStreamInfo.h
+include/${MOZILLA}/plugin/nsIPluginManager.h
+include/${MOZILLA}/plugin/nsIPluginManager2.h
+include/${MOZILLA}/plugin/nsIPluginInstancePeer.h
+include/${MOZILLA}/plugin/nsIPluginInstancePeer2.h
+include/${MOZILLA}/plugin/nsIPlugin.h
+include/${MOZILLA}/plugin/nsIPluginInstanceOwner.h
+include/${MOZILLA}/plugin/nsIHTTPHeaderListener.h
+include/${MOZILLA}/plugin/nsIFileUtilities.h
+include/${MOZILLA}/plugin/nsIEventHandler.h
+include/${MOZILLA}/plugin/nsICookieStorage.h
+include/${MOZILLA}/plugin/nsIClassicPluginFactory.h
+include/${MOZILLA}/plugin/nsIWindowlessPlugInstPeer.h
+include/${MOZILLA}/plugin/nsIScriptablePlugin.h
+include/${MOZILLA}/plugin/nsIPluginTag.h
+include/${MOZILLA}/plugin/nsIPluginTagInfo.h
+include/${MOZILLA}/plugin/nsIPluginTagInfo2.h
+include/${MOZILLA}/plugin/nsIJRILiveConnectPIPeer.h
+include/${MOZILLA}/plugin/nsIJRILiveConnectPlugin.h
+include/${MOZILLA}/plugin/nsIPluginInputStream.h
+include/${MOZILLA}/plugin/nsIPluginStreamListener.h
+include/${MOZILLA}/plugin/nsIPluginInstance.h
+include/${MOZILLA}/plugin/nsPIPluginHost.h
+include/${MOZILLA}/plugin/nsPIPluginInstancePeer.h
+include/${MOZILLA}/plugin/nsIPluginHost.h
+include/${MOZILLA}/plugin/nsIPluginDocument.h
+include/${MOZILLA}/dom/nsIBrowserDOMWindow.h
+include/${MOZILLA}/dom/nsIDOMClientInformation.h
+include/${MOZILLA}/dom/nsIDOMConstructor.h
+include/${MOZILLA}/dom/nsIDOMCRMFObject.h
+include/${MOZILLA}/dom/nsIDOMCrypto.h
+include/${MOZILLA}/dom/nsIDOMHistory.h
+include/${MOZILLA}/dom/nsIDOMLocation.h
+include/${MOZILLA}/dom/nsIDOMMimeType.h
+include/${MOZILLA}/dom/nsIDOMMimeTypeArray.h
+include/${MOZILLA}/dom/nsIDOMNSHistory.h
+include/${MOZILLA}/dom/nsIDOMNSLocation.h
+include/${MOZILLA}/dom/nsIDOMNavigator.h
+include/${MOZILLA}/dom/nsIDOMPkcs11.h
+include/${MOZILLA}/dom/nsIDOMPlugin.h
+include/${MOZILLA}/dom/nsIDOMPluginArray.h
+include/${MOZILLA}/dom/nsIDOMScreen.h
+include/${MOZILLA}/dom/nsIDOMWindowInternal.h
+include/${MOZILLA}/dom/nsIDOMJSWindow.h
+include/${MOZILLA}/dom/nsIDOMModalContentWindow.h
+include/${MOZILLA}/dom/nsIDOMChromeWindow.h
+include/${MOZILLA}/dom/nsIDOMNSFeatureFactory.h
+include/${MOZILLA}/dom/nsIDOMClientRect.h
+include/${MOZILLA}/dom/nsIDOMClientRectList.h
+include/${MOZILLA}/dom/domstubs.h
+include/${MOZILLA}/dom/nsIDOMBarProp.h
+include/${MOZILLA}/dom/nsIDOMWindow.h
+include/${MOZILLA}/dom/nsIDOMWindow2.h
+include/${MOZILLA}/dom/nsIDOMWindowCollection.h
+include/${MOZILLA}/dom/nsIDOMWindowUtils.h
+include/${MOZILLA}/dom/nsIDOMCanvasRenderingContext2D.h
+include/${MOZILLA}/dom/nsIDOM3Document.h
+include/${MOZILLA}/dom/nsIDOM3Node.h
+include/${MOZILLA}/dom/nsIDOM3TypeInfo.h
+include/${MOZILLA}/dom/nsIDOM3Attr.h
+include/${MOZILLA}/dom/nsIDOMDOMStringList.h
+include/${MOZILLA}/dom/nsIDOMNameList.h
+include/${MOZILLA}/dom/nsIDOMNSDocument.h
+include/${MOZILLA}/dom/nsIDOMXMLDocument.h
+include/${MOZILLA}/dom/nsIDOMUserDataHandler.h
+include/${MOZILLA}/dom/nsIDOMDOMConfiguration.h
+include/${MOZILLA}/dom/nsIDOMNSEditableElement.h
+include/${MOZILLA}/dom/nsIDOMNSElement.h
+include/${MOZILLA}/dom/nsIDOMAttr.h
+include/${MOZILLA}/dom/nsIDOMCDATASection.h
+include/${MOZILLA}/dom/nsIDOMCharacterData.h
+include/${MOZILLA}/dom/nsIDOMComment.h
+include/${MOZILLA}/dom/nsIDOMDOMException.h
+include/${MOZILLA}/dom/nsIDOMDOMImplementation.h
+include/${MOZILLA}/dom/nsIDOMDocument.h
+include/${MOZILLA}/dom/nsIDOMDocumentFragment.h
+include/${MOZILLA}/dom/nsIJSON.h
+include/${MOZILLA}/dom/nsIDOMDocumentType.h
+include/${MOZILLA}/dom/nsIDOMElement.h
+include/${MOZILLA}/dom/nsIDOMEntity.h
+include/${MOZILLA}/dom/nsIDOMEntityReference.h
+include/${MOZILLA}/dom/nsIDOMNamedNodeMap.h
+include/${MOZILLA}/dom/nsIDOMNode.h
+include/${MOZILLA}/dom/nsIDOMNodeList.h
+include/${MOZILLA}/dom/nsIDOMNotation.h
+include/${MOZILLA}/dom/nsIDOMProcessingInstruction.h
+include/${MOZILLA}/dom/nsIDOMText.h
+include/${MOZILLA}/dom/nsIDOMHTMLCanvasElement.h
+include/${MOZILLA}/dom/nsIDOMNSHTMLAnchorElement.h
+include/${MOZILLA}/dom/nsIDOMNSHTMLAnchorElement2.h
+include/${MOZILLA}/dom/nsIDOMNSHTMLAreaElement.h
+include/${MOZILLA}/dom/nsIDOMNSHTMLAreaElement2.h
+include/${MOZILLA}/dom/nsIDOMNSHTMLButtonElement.h
+include/${MOZILLA}/dom/nsIDOMNSHTMLDocument.h
+include/${MOZILLA}/dom/nsIDOMNSHTMLElement.h
+include/${MOZILLA}/dom/nsIDOMNSHTMLFormControlList.h
+include/${MOZILLA}/dom/nsIDOMNSHTMLFormElement.h
+include/${MOZILLA}/dom/nsIDOMNSHTMLFrameElement.h
+include/${MOZILLA}/dom/nsIDOMNSHTMLHRElement.h
+include/${MOZILLA}/dom/nsIDOMNSHTMLImageElement.h
+include/${MOZILLA}/dom/nsIDOMNSHTMLInputElement.h
+include/${MOZILLA}/dom/nsIDOMNSHTMLOptionCollectn.h
+include/${MOZILLA}/dom/nsIDOMNSHTMLOptionElement.h
+include/${MOZILLA}/dom/nsIDOMNSHTMLSelectElement.h
+include/${MOZILLA}/dom/nsIDOMNSHTMLTextAreaElement.h
+include/${MOZILLA}/dom/nsIDOMNSXBLFormControl.h
+include/${MOZILLA}/dom/nsIDOMHTMLAnchorElement.h
+include/${MOZILLA}/dom/nsIDOMHTMLAppletElement.h
+include/${MOZILLA}/dom/nsIDOMHTMLAreaElement.h
+include/${MOZILLA}/dom/nsIDOMHTMLBRElement.h
+include/${MOZILLA}/dom/nsIDOMHTMLBaseElement.h
+include/${MOZILLA}/dom/nsIDOMHTMLBaseFontElement.h
+include/${MOZILLA}/dom/nsIDOMHTMLBodyElement.h
+include/${MOZILLA}/dom/nsIDOMHTMLButtonElement.h
+include/${MOZILLA}/dom/nsIDOMHTMLCollection.h
+include/${MOZILLA}/dom/nsIDOMHTMLDListElement.h
+include/${MOZILLA}/dom/nsIDOMHTMLDirectoryElement.h
+include/${MOZILLA}/dom/nsIDOMHTMLDivElement.h
+include/${MOZILLA}/dom/nsIDOMHTMLDocument.h
+include/${MOZILLA}/dom/nsIDOMHTMLElement.h
+include/${MOZILLA}/dom/nsIDOMHTMLEmbedElement.h
+include/${MOZILLA}/dom/nsIDOMHTMLFieldSetElement.h
+include/${MOZILLA}/dom/nsIDOMHTMLFontElement.h
+include/${MOZILLA}/dom/nsIDOMHTMLFormElement.h
+include/${MOZILLA}/dom/nsIDOMHTMLFrameElement.h
+include/${MOZILLA}/dom/nsIDOMHTMLFrameSetElement.h
+include/${MOZILLA}/dom/nsIDOMHTMLHRElement.h
+include/${MOZILLA}/dom/nsIDOMHTMLHeadElement.h
+include/${MOZILLA}/dom/nsIDOMHTMLHeadingElement.h
+include/${MOZILLA}/dom/nsIDOMHTMLHtmlElement.h
+include/${MOZILLA}/dom/nsIDOMHTMLIFrameElement.h
+include/${MOZILLA}/dom/nsIDOMHTMLImageElement.h
+include/${MOZILLA}/dom/nsIDOMHTMLInputElement.h
+include/${MOZILLA}/dom/nsIDOMHTMLIsIndexElement.h
+include/${MOZILLA}/dom/nsIDOMHTMLLIElement.h
+include/${MOZILLA}/dom/nsIDOMHTMLLabelElement.h
+include/${MOZILLA}/dom/nsIDOMHTMLLinkElement.h
+include/${MOZILLA}/dom/nsIDOMHTMLLegendElement.h
+include/${MOZILLA}/dom/nsIDOMHTMLMapElement.h
+include/${MOZILLA}/dom/nsIDOMHTMLMenuElement.h
+include/${MOZILLA}/dom/nsIDOMHTMLMetaElement.h
+include/${MOZILLA}/dom/nsIDOMHTMLModElement.h
+include/${MOZILLA}/dom/nsIDOMHTMLOListElement.h
+include/${MOZILLA}/dom/nsIDOMHTMLObjectElement.h
+include/${MOZILLA}/dom/nsIDOMHTMLOptGroupElement.h
+include/${MOZILLA}/dom/nsIDOMHTMLOptionElement.h
+include/${MOZILLA}/dom/nsIDOMHTMLOptionsCollection.h
+include/${MOZILLA}/dom/nsIDOMHTMLParagraphElement.h
+include/${MOZILLA}/dom/nsIDOMHTMLParamElement.h
+include/${MOZILLA}/dom/nsIDOMHTMLPreElement.h
+include/${MOZILLA}/dom/nsIDOMHTMLQuoteElement.h
+include/${MOZILLA}/dom/nsDOMCID.h
+include/${MOZILLA}/dom/nsIDOMHTMLScriptElement.h
+include/${MOZILLA}/dom/nsIDOMHTMLSelectElement.h
+include/${MOZILLA}/dom/nsIDOMHTMLStyleElement.h
+include/${MOZILLA}/dom/nsIDOMHTMLTableCaptionElem.h
+include/${MOZILLA}/dom/nsIDOMHTMLTableCellElement.h
+include/${MOZILLA}/dom/nsIDOMHTMLTableColElement.h
+include/${MOZILLA}/dom/nsIDOMHTMLTableElement.h
+include/${MOZILLA}/dom/nsIDOMHTMLTableRowElement.h
+include/${MOZILLA}/dom/nsIDOMHTMLTableSectionElem.h
+include/${MOZILLA}/dom/nsIDOMHTMLTextAreaElement.h
+include/${MOZILLA}/dom/nsIDOMHTMLTitleElement.h
+include/${MOZILLA}/dom/nsIDOMHTMLUListElement.h
+include/${MOZILLA}/dom/nsIDOMNSEvent.h
+include/${MOZILLA}/dom/nsIDOMDataContainerEvent.h
+include/${MOZILLA}/dom/nsIDOMKeyEvent.h
+include/${MOZILLA}/dom/nsIDOMMutationEvent.h
+include/${MOZILLA}/dom/nsIDOMNSUIEvent.h
+include/${MOZILLA}/dom/nsIDOMPopupBlockedEvent.h
+include/${MOZILLA}/dom/nsIDOMBeforeUnloadEvent.h
+include/${MOZILLA}/dom/nsIDOMNSEventTarget.h
+include/${MOZILLA}/dom/nsIDOMSmartCardEvent.h
+include/${MOZILLA}/dom/nsIDOMPageTransitionEvent.h
+include/${MOZILLA}/dom/nsIDOMCommandEvent.h
+include/${MOZILLA}/dom/nsIDOMMessageEvent.h
+include/${MOZILLA}/dom/nsIDOMDocumentEvent.h
+include/${MOZILLA}/dom/nsIDOMEvent.h
+include/${MOZILLA}/dom/nsIDOMEventTarget.h
+include/${MOZILLA}/dom/nsIDOMEventListener.h
+include/${MOZILLA}/dom/nsIDOM3DocumentEvent.h
+include/${MOZILLA}/dom/nsIDOM3EventTarget.h
+include/${MOZILLA}/dom/nsIDOMEventGroup.h
+include/${MOZILLA}/dom/nsIDOMCustomEvent.h
+include/${MOZILLA}/dom/nsIDOMMouseEvent.h
+include/${MOZILLA}/dom/nsIDOMUIEvent.h
+include/${MOZILLA}/dom/nsIDOMLinkStyle.h
+include/${MOZILLA}/dom/nsIDOMNSDocumentStyle.h
+include/${MOZILLA}/dom/nsIDOMDocumentStyle.h
+include/${MOZILLA}/dom/nsIDOMMediaList.h
+include/${MOZILLA}/dom/nsIDOMStyleSheet.h
+include/${MOZILLA}/dom/nsIDOMStyleSheetList.h
+include/${MOZILLA}/dom/nsIDOMDocumentView.h
+include/${MOZILLA}/dom/nsIDOMAbstractView.h
+include/${MOZILLA}/dom/nsISidebar.h
+include/${MOZILLA}/dom/nsIWebContentHandlerRegistrar.h
+include/${MOZILLA}/dom/nsIDOMCSS2Properties.h
+include/${MOZILLA}/dom/nsIDOMCSSCharsetRule.h
+include/${MOZILLA}/dom/nsIDOMCSSFontFaceRule.h
+include/${MOZILLA}/dom/nsIDOMCSSImportRule.h
+include/${MOZILLA}/dom/nsIDOMCSSMediaRule.h
+include/${MOZILLA}/dom/nsIDOMCSSMozDocumentRule.h
+include/${MOZILLA}/dom/nsIDOMCSSPageRule.h
+include/${MOZILLA}/dom/nsIDOMCSSStyleRule.h
+include/${MOZILLA}/dom/nsIDOMCSSUnknownRule.h
+include/${MOZILLA}/dom/nsIDOMCounter.h
+include/${MOZILLA}/dom/nsIDOMDocumentCSS.h
+include/${MOZILLA}/dom/nsIDOMRGBColor.h
+include/${MOZILLA}/dom/nsIDOMRect.h
+include/${MOZILLA}/dom/nsIDOMViewCSS.h
+include/${MOZILLA}/dom/nsIDOMNSRGBAColor.h
+include/${MOZILLA}/dom/nsIDOMCSSPrimitiveValue.h
+include/${MOZILLA}/dom/nsIDOMCSSRule.h
+include/${MOZILLA}/dom/nsIDOMCSSRuleList.h
+include/${MOZILLA}/dom/nsIDOMCSSStyleDeclaration.h
+include/${MOZILLA}/dom/nsIDOMCSSStyleSheet.h
+include/${MOZILLA}/dom/nsIDOMCSSValue.h
+include/${MOZILLA}/dom/nsIDOMCSSValueList.h
+include/${MOZILLA}/dom/nsIDOMElementCSSInlineStyle.h
+include/${MOZILLA}/dom/nsIDOMDocumentTraversal.h
+include/${MOZILLA}/dom/nsIDOMNodeFilter.h
+include/${MOZILLA}/dom/nsIDOMNodeIterator.h
+include/${MOZILLA}/dom/nsIDOMTreeWalker.h
+include/${MOZILLA}/dom/nsIDOMNSRange.h
+include/${MOZILLA}/dom/nsIDOMRangeException.h
+include/${MOZILLA}/dom/nsIDOMRange.h
+include/${MOZILLA}/dom/nsIDOMDocumentRange.h
+include/${MOZILLA}/dom/nsIDOMDocumentXBL.h
+include/${MOZILLA}/dom/nsIDOMXPathEvaluator.h
+include/${MOZILLA}/dom/nsIDOMXPathException.h
+include/${MOZILLA}/dom/nsIDOMXPathExpression.h
+include/${MOZILLA}/dom/nsIDOMXPathNamespace.h
+include/${MOZILLA}/dom/nsIDOMXPathNSResolver.h
+include/${MOZILLA}/dom/nsIDOMXPathResult.h
+include/${MOZILLA}/dom/nsIDOMNSXPathExpression.h
+include/${MOZILLA}/dom/nsIDOMDOMImplementationLS.h
+include/${MOZILLA}/dom/nsIDOMLSException.h
+include/${MOZILLA}/dom/nsIDOMLSInput.h
+include/${MOZILLA}/dom/nsIDOMLSLoadEvent.h
+include/${MOZILLA}/dom/nsIDOMLSOutput.h
+include/${MOZILLA}/dom/nsIDOMLSParser.h
+include/${MOZILLA}/dom/nsIDOMLSParserFilter.h
+include/${MOZILLA}/dom/nsIDOMLSProgressEvent.h
+include/${MOZILLA}/dom/nsIDOMLSResourceResolver.h
+include/${MOZILLA}/dom/nsIDOMLSSerializer.h
+include/${MOZILLA}/dom/nsIDOMLSSerializerFilter.h
+include/${MOZILLA}/dom/nsIDOMXULButtonElement.h
+include/${MOZILLA}/dom/nsIDOMXULCheckboxElement.h
+include/${MOZILLA}/dom/nsIDOMXULCommandDispatcher.h
+include/${MOZILLA}/dom/nsIDOMXULCommandEvent.h
+include/${MOZILLA}/dom/nsIDOMXULControlElement.h
+include/${MOZILLA}/dom/nsIDOMXULDescriptionElement.h
+include/${MOZILLA}/dom/nsIDOMXULDocument.h
+include/${MOZILLA}/dom/nsIDOMXULElement.h
+include/${MOZILLA}/dom/nsIDOMXULContainerElement.h
+include/${MOZILLA}/dom/nsIDOMXULImageElement.h
+include/${MOZILLA}/dom/nsIDOMXULLabelElement.h
+include/${MOZILLA}/dom/nsIDOMXULLabeledControlEl.h
+include/${MOZILLA}/dom/nsIDOMXULMenuListElement.h
+include/${MOZILLA}/dom/nsIDOMXULPopupElement.h
+include/${MOZILLA}/dom/nsIDOMXULSelectCntrlEl.h
+include/${MOZILLA}/dom/nsIDOMXULSelectCntrlItemEl.h
+include/${MOZILLA}/dom/nsPIDOMStorage.h
+include/${MOZILLA}/dom/nsIDOMXULMultSelectCntrlEl.h
+include/${MOZILLA}/dom/nsIDOMXULTextboxElement.h
+include/${MOZILLA}/dom/nsIDOMXULTreeElement.h
+include/${MOZILLA}/dom/nsIDOMToString.h
+include/${MOZILLA}/dom/nsIDOMStorageManager.h
+include/${MOZILLA}/dom/nsIDOMStorage.h
+include/${MOZILLA}/dom/nsIDOMStorageEvent.h
+include/${MOZILLA}/dom/nsIDOMStorageItem.h
+include/${MOZILLA}/dom/nsIDOMStorageList.h
+include/${MOZILLA}/dom/nsIDOMStorageWindow.h
+include/${MOZILLA}/dom/nsIDOMOfflineResourceList.h
+include/${MOZILLA}/dom/nsIDOMLoadStatusList.h
+include/${MOZILLA}/dom/nsIDOMLoadStatus.h
+include/${MOZILLA}/dom/nsIDOMLoadStatusEvent.h
+include/${MOZILLA}/dom/nsIDOMGetSVGDocument.h
+include/${MOZILLA}/dom/nsIDOMSVGAElement.h
+include/${MOZILLA}/dom/nsIDOMSVGAngle.h
+include/${MOZILLA}/dom/nsIDOMSVGAnimatedAngle.h
+include/${MOZILLA}/dom/nsIDOMSVGAnimatedBoolean.h
+include/${MOZILLA}/dom/nsIDOMSVGAnimatedEnum.h
+include/${MOZILLA}/dom/nsIDOMSVGAnimatedInteger.h
+include/${MOZILLA}/dom/nsIDOMSVGAnimatedLength.h
+include/${MOZILLA}/dom/nsIDOMSVGAnimatedLengthList.h
+include/${MOZILLA}/dom/nsIDOMSVGAnimatedNumber.h
+include/${MOZILLA}/dom/nsIDOMSVGAnimatedNumberList.h
+include/${MOZILLA}/dom/nsIDOMSVGAnimatedPathData.h
+include/${MOZILLA}/dom/nsIDOMSVGAnimatedPoints.h
+include/${MOZILLA}/dom/nsIDOMSVGAnimatedString.h
+include/${MOZILLA}/dom/nsIDOMSVGAnimPresAspRatio.h
+include/${MOZILLA}/dom/nsIDOMSVGAnimatedRect.h
+include/${MOZILLA}/dom/nsIDOMSVGAnimTransformList.h
+include/${MOZILLA}/dom/nsIDOMSVGCircleElement.h
+include/${MOZILLA}/dom/nsIDOMSVGClipPathElement.h
+include/${MOZILLA}/dom/nsIDOMSVGDefsElement.h
+include/${MOZILLA}/dom/nsIDOMSVGDescElement.h
+include/${MOZILLA}/dom/nsIDOMSVGDocument.h
+include/${MOZILLA}/dom/nsIDOMSVGElement.h
+include/${MOZILLA}/dom/nsIDOMSVGEllipseElement.h
+include/${MOZILLA}/dom/nsIDOMSVGEvent.h
+include/${MOZILLA}/dom/nsIDOMSVGException.h
+include/${MOZILLA}/dom/nsIDOMSVGFilterElement.h
+include/${MOZILLA}/dom/nsIDOMSVGFilters.h
+include/${MOZILLA}/dom/nsIDOMSVGFitToViewBox.h
+include/${MOZILLA}/dom/nsIDOMSVGForeignObjectElem.h
+include/${MOZILLA}/dom/nsIDOMSVGGElement.h
+include/${MOZILLA}/dom/nsIDOMSVGGradientElement.h
+include/${MOZILLA}/dom/nsIDOMSVGImageElement.h
+include/${MOZILLA}/dom/nsIDOMSVGLength.h
+include/${MOZILLA}/dom/nsIDOMSVGLengthList.h
+include/${MOZILLA}/dom/nsIDOMSVGLineElement.h
+include/${MOZILLA}/dom/nsIDOMSVGLocatable.h
+include/${MOZILLA}/dom/nsIDOMSVGMarkerElement.h
+include/${MOZILLA}/dom/nsIDOMSVGMaskElement.h
+include/${MOZILLA}/dom/nsIDOMSVGMatrix.h
+include/${MOZILLA}/dom/nsIDOMSVGMetadataElement.h
+include/${MOZILLA}/dom/nsIDOMSVGNumber.h
+include/${MOZILLA}/dom/nsIDOMSVGNumberList.h
+include/${MOZILLA}/dom/nsIDOMSVGPathElement.h
+include/${MOZILLA}/dom/nsIDOMSVGPathSeg.h
+include/${MOZILLA}/dom/nsIDOMSVGPathSegList.h
+include/${MOZILLA}/dom/nsIDOMSVGPatternElement.h
+include/${MOZILLA}/dom/nsIDOMSVGPoint.h
+include/${MOZILLA}/dom/nsIDOMSVGPointList.h
+include/${MOZILLA}/dom/nsIDOMSVGPolygonElement.h
+include/${MOZILLA}/dom/nsIDOMSVGPolylineElement.h
+include/${MOZILLA}/dom/nsIDOMSVGPresAspectRatio.h
+include/${MOZILLA}/dom/nsIDOMSVGRect.h
+include/${MOZILLA}/dom/nsIDOMSVGRectElement.h
+include/${MOZILLA}/dom/nsIDOMSVGScriptElement.h
+include/${MOZILLA}/dom/nsIDOMSVGSVGElement.h
+include/${MOZILLA}/dom/nsIDOMSVGStopElement.h
+include/${MOZILLA}/dom/nsIDOMSVGStylable.h
+include/${MOZILLA}/dom/nsIDOMSVGStyleElement.h
+include/${MOZILLA}/dom/nsIDOMSVGSwitchElement.h
+include/${MOZILLA}/dom/nsIDOMSVGSymbolElement.h
+include/${MOZILLA}/dom/nsIDOMSVGTextContentElement.h
+include/${MOZILLA}/dom/nsIDOMSVGTextElement.h
+include/${MOZILLA}/dom/nsIDOMSVGTextPathElement.h
+include/${MOZILLA}/dom/nsIDOMSVGTextPositionElem.h
+include/${MOZILLA}/dom/nsIDOMSVGTitleElement.h
+include/${MOZILLA}/dom/nsIDOMSVGTransform.h
+include/${MOZILLA}/dom/nsIDOMSVGTransformList.h
+include/${MOZILLA}/dom/nsIDOMSVGTransformable.h
+include/${MOZILLA}/dom/nsIDOMSVGTSpanElement.h
+include/${MOZILLA}/dom/nsIDOMSVGURIReference.h
+include/${MOZILLA}/dom/nsIDOMSVGUnitTypes.h
+include/${MOZILLA}/dom/nsIDOMSVGUseElement.h
+include/${MOZILLA}/dom/nsIDOMSVGViewSpec.h
+include/${MOZILLA}/dom/nsIDOMSVGZoomAndPan.h
+include/${MOZILLA}/dom/nsIDOMSVGZoomEvent.h
+include/${MOZILLA}/dom/nsIDOMFocusListener.h
+include/${MOZILLA}/dom/nsIDOMFormListener.h
+include/${MOZILLA}/dom/nsIDOMKeyListener.h
+include/${MOZILLA}/dom/nsIDOMLoadListener.h
+include/${MOZILLA}/dom/nsIDOMMouseListener.h
+include/${MOZILLA}/dom/nsIDOMMouseMotionListener.h
+include/${MOZILLA}/dom/nsIDOMDragListener.h
+include/${MOZILLA}/dom/nsIDOMTextListener.h
+include/${MOZILLA}/dom/nsIDOMCompositionListener.h
+include/${MOZILLA}/dom/nsIDOMXULListener.h
+include/${MOZILLA}/dom/nsIDOMContextMenuListener.h
+include/${MOZILLA}/dom/nsIDOMUIListener.h
+include/${MOZILLA}/dom/nsPIDOMWindow.h
+include/${MOZILLA}/dom/nsPIWindowRoot.h
+include/${MOZILLA}/dom/nsIFocusController.h
+include/${MOZILLA}/dom/nsIScriptContext.h
+include/${MOZILLA}/dom/nsIJSNativeInitializer.h
+include/${MOZILLA}/dom/nsIScriptRuntime.h
+include/${MOZILLA}/dom/nsIScriptObjectOwner.h
+include/${MOZILLA}/dom/nsIScriptObjectPrincipal.h
+include/${MOZILLA}/dom/nsIScriptGlobalObject.h
+include/${MOZILLA}/dom/nsIScriptGlobalObjectOwner.h
+include/${MOZILLA}/dom/nsIScriptTimeoutHandler.h
+include/${MOZILLA}/dom/nsIDOMScriptObjectFactory.h
+include/${MOZILLA}/dom/nsIScriptExternalNameSet.h
+include/${MOZILLA}/dom/nsIScriptNameSpaceManager.h
+include/${MOZILLA}/dom/nsDOMError.h
+include/${MOZILLA}/dom/nsIJSEventListener.h
+include/${MOZILLA}/dom/nsIDOMClassInfo.h
+include/${MOZILLA}/dom/nsDOMClassInfoID.h
+include/${MOZILLA}/dom/nsIBaseDOMException.h
+include/${MOZILLA}/dom/nsDOMString.h
+include/${MOZILLA}/dom/nsDOMJSUtils.h
+include/${MOZILLA}/dom/nsDOMScriptObjectHolder.h
+include/${MOZILLA}/dom/nsIEntropyCollector.h
+include/${MOZILLA}/dom/nsIScriptChannel.h
+include/${MOZILLA}/jsurl/nsJSProtocolHandler.h
+include/${MOZILLA}/view/nsIView.h
+include/${MOZILLA}/view/nsIViewManager.h
+include/${MOZILLA}/view/nsIScrollableView.h
+include/${MOZILLA}/view/nsViewsCID.h
+include/${MOZILLA}/view/nsIViewObserver.h
+include/${MOZILLA}/view/nsIScrollPositionListener.h
+include/${MOZILLA}/widget/widgetCore.h
+include/${MOZILLA}/widget/nsStringUtil.h
+include/${MOZILLA}/widget/nsIWidget.h
+include/${MOZILLA}/widget/nsIKBStateControl.h
+include/${MOZILLA}/widget/nsGUIEvent.h
+include/${MOZILLA}/widget/nsEvent.h
+include/${MOZILLA}/widget/nsIMouseListener.h
+include/${MOZILLA}/widget/nsIEventListener.h
+include/${MOZILLA}/widget/nsWidgetsCID.h
+include/${MOZILLA}/widget/nsILookAndFeel.h
+include/${MOZILLA}/widget/nsIPluginWidget.h
+include/${MOZILLA}/widget/nsINativeKeyBindings.h
+include/${MOZILLA}/widget/nsIDeviceContextSpec.h
+include/${MOZILLA}/widget/nsIMenuRollup.h
+include/${MOZILLA}/widget/nsIDragSessionGTK.h
+include/${MOZILLA}/widget/nsIPrintDialogService.h
+include/${MOZILLA}/widget/nsIAppShell.h
+include/${MOZILLA}/widget/nsIFilePicker.h
+include/${MOZILLA}/widget/nsIToolkit.h
+include/${MOZILLA}/widget/nsISound.h
+include/${MOZILLA}/widget/nsITransferable.h
+include/${MOZILLA}/widget/nsIClipboardDragDropHooks.h
+include/${MOZILLA}/widget/nsIClipboardDragDropHookList.h
+include/${MOZILLA}/widget/nsIDragSession.h
+include/${MOZILLA}/widget/nsIDragService.h
+include/${MOZILLA}/widget/nsIFormatConverter.h
+include/${MOZILLA}/widget/nsIClipboard.h
+include/${MOZILLA}/widget/nsIClipboardHelper.h
+include/${MOZILLA}/widget/nsIClipboardOwner.h
+include/${MOZILLA}/widget/nsIRollupListener.h
+include/${MOZILLA}/widget/nsIBaseWindow.h
+include/${MOZILLA}/widget/nsIBidiKeyboard.h
+include/${MOZILLA}/widget/nsIFullScreen.h
+include/${MOZILLA}/widget/nsIScreen.h
+include/${MOZILLA}/widget/nsIScreenManager.h
+include/${MOZILLA}/widget/nsIPrintSession.h
+include/${MOZILLA}/widget/nsIPrintSettings.h
+include/${MOZILLA}/widget/nsIPrintSettingsService.h
+include/${MOZILLA}/widget/nsIPrintOptions.h
+include/${MOZILLA}/widget/nsIIdleService.h
+include/${MOZILLA}/widget/nsWidgetSupport.h
+include/${MOZILLA}/widget/nsGTKToolkit.h
+include/${MOZILLA}/widget/nsIImageToPixbuf.h
+include/${MOZILLA}/widget/mozdrawingarea.h
+include/${MOZILLA}/widget/mozcontainer.h
+include/${MOZILLA}/content/mozFlushType.h
+include/${MOZILLA}/content/nsIContent.h
+include/${MOZILLA}/content/nsIAttribute.h
+include/${MOZILLA}/content/nsIContentIterator.h
+include/${MOZILLA}/content/nsContentErrors.h
+include/${MOZILLA}/content/nsContentPolicyUtils.h
+include/${MOZILLA}/content/nsContentUtils.h
+include/${MOZILLA}/content/nsIDocument.h
+include/${MOZILLA}/content/nsIDocumentObserver.h
+include/${MOZILLA}/content/nsIMutationObserver.h
+include/${MOZILLA}/content/nsINameSpaceManager.h
+include/${MOZILLA}/content/nsINode.h
+include/${MOZILLA}/content/nsINodeInfo.h
+include/${MOZILLA}/content/nsIRange.h
+include/${MOZILLA}/content/nsIRangeUtils.h
+include/${MOZILLA}/content/nsIScriptElement.h
+include/${MOZILLA}/content/nsIStyleSheetLinkingElement.h
+include/${MOZILLA}/content/nsDOMFile.h
+include/${MOZILLA}/content/nsIPrivateDOMImplementation.h
+include/${MOZILLA}/content/nsIContentSerializer.h
+include/${MOZILLA}/content/nsIHTMLToTextSink.h
+include/${MOZILLA}/content/nsIXPathEvaluatorInternal.h
+include/${MOZILLA}/content/mozISanitizingSerializer.h
+include/${MOZILLA}/content/nsCaseTreatment.h
+include/${MOZILLA}/content/nsContentCID.h
+include/${MOZILLA}/content/nsCopySupport.h
+include/${MOZILLA}/content/nsContentCreatorFunctions.h
+include/${MOZILLA}/content/nsLineBreaker.h
+include/${MOZILLA}/content/nsXMLNameSpaceMap.h
+include/${MOZILLA}/content/nsPresShellIterator.h
+include/${MOZILLA}/content/nsIXFormsUtilityService.h
+include/${MOZILLA}/content/nsIChromeRegistry.h
+include/${MOZILLA}/content/nsIContentPolicy.h
+include/${MOZILLA}/content/nsIDocumentEncoder.h
+include/${MOZILLA}/content/nsGkAtoms.h
+include/${MOZILLA}/content/nsIDOMFile.h
+include/${MOZILLA}/content/nsIDOMFileList.h
+include/${MOZILLA}/content/nsIDOMFileException.h
+include/${MOZILLA}/content/nsIDOMParser.h
+include/${MOZILLA}/content/nsIDOMSerializer.h
+include/${MOZILLA}/content/nsISelection2.h
+include/${MOZILLA}/content/nsISelectionController.h
+include/${MOZILLA}/content/nsISelectionDisplay.h
+include/${MOZILLA}/content/nsISelectionListener.h
+include/${MOZILLA}/content/nsISelectionPrivate.h
+include/${MOZILLA}/content/nsIScriptLoaderObserver.h
+include/${MOZILLA}/content/nsISyncLoadDOMService.h
+include/${MOZILLA}/content/nsIDragDropHandler.h
+include/${MOZILLA}/content/nsIScriptEventHandler.h
+include/${MOZILLA}/content/nsIScriptEventManager.h
+include/${MOZILLA}/content/nsIImageLoadingContent.h
+include/${MOZILLA}/content/nsIForm.h
+include/${MOZILLA}/content/nsIObjectLoadingContent.h
+include/${MOZILLA}/content/nsIFrameLoader.h
+include/${MOZILLA}/content/nsIXMLHttpRequest.h
+include/${MOZILLA}/content/nsISelection.h
+include/${MOZILLA}/content/nsAtomListUtils.h
+include/${MOZILLA}/content/nsAttrName.h
+include/${MOZILLA}/content/nsContentList.h
+include/${MOZILLA}/content/nsGkAtomList.h
+include/${MOZILLA}/content/nsNodeInfoManager.h
+include/${MOZILLA}/content/nsPropertyTable.h
+include/${MOZILLA}/content/nsScriptLoader.h
+include/${MOZILLA}/content/nsStubDocumentObserver.h
+include/${MOZILLA}/content/nsStubImageDecoderObserver.h
+include/${MOZILLA}/content/nsStubMutationObserver.h
+include/${MOZILLA}/content/nsTextFragment.h
+include/${MOZILLA}/content/mozAutoDocUpdate.h
+include/${MOZILLA}/content/nsICanvasRenderingContextInternal.h
+include/${MOZILLA}/content/nsICanvasElement.h
+include/${MOZILLA}/content/nsIFormControl.h
+include/${MOZILLA}/content/nsIFormProcessor.h
+include/${MOZILLA}/content/nsILink.h
+include/${MOZILLA}/content/nsIOptionElement.h
+include/${MOZILLA}/content/nsIRadioControlElement.h
+include/${MOZILLA}/content/nsIRadioVisitor.h
+include/${MOZILLA}/content/nsIRadioGroupContainer.h
+include/${MOZILLA}/content/nsITextControlElement.h
+include/${MOZILLA}/content/nsIFileControlElement.h
+include/${MOZILLA}/content/nsIFormSubmission.h
+include/${MOZILLA}/content/nsIFrameSetElement.h
+include/${MOZILLA}/content/nsISelectElement.h
+include/${MOZILLA}/content/nsIFormSubmitObserver.h
+include/${MOZILLA}/content/nsIPhonetic.h
+include/${MOZILLA}/content/nsImageMapUtils.h
+include/${MOZILLA}/content/nsIImageDocument.h
+include/${MOZILLA}/content/nsIWyciwygChannel.h
+include/${MOZILLA}/content/nsIHTMLDocument.h
+include/${MOZILLA}/content/nsIXMLContentSink.h
+include/${MOZILLA}/content/nsIFIXptr.h
+include/${MOZILLA}/content/nsIXPointer.h
+include/${MOZILLA}/content/nsIModifyableXPointer.h
+include/${MOZILLA}/content/nsIXBLDocumentInfo.h
+include/${MOZILLA}/content/nsIXBLService.h
+include/${MOZILLA}/content/nsBindingManager.h
+include/${MOZILLA}/content/nsXBLBinding.h
+include/${MOZILLA}/content/nsIDocumentTransformer.h
+include/${MOZILLA}/content/txDouble.h
+include/${MOZILLA}/content/nsIXSLTException.h
+include/${MOZILLA}/content/nsIXSLTProcessor.h
+include/${MOZILLA}/content/nsIXSLTProcessorObsolete.h
+include/${MOZILLA}/content/nsIXSLTProcessorPrivate.h
+include/${MOZILLA}/content/txIFunctionEvaluationContext.h
+include/${MOZILLA}/content/nsSVGRect.h
+include/${MOZILLA}/content/txINodeSet.h
+include/${MOZILLA}/content/txIEXSLTRegExFunctions.h
+include/${MOZILLA}/content/nsIDOMSVGListener.h
+include/${MOZILLA}/content/nsIDOMSVGZoomListener.h
+include/${MOZILLA}/content/nsISVGTextContentMetrics.h
+include/${MOZILLA}/content/nsISVGValue.h
+include/${MOZILLA}/content/nsISVGValueObserver.h
+include/${MOZILLA}/content/nsISVGValueUtils.h
+include/${MOZILLA}/content/nsSVGNumber.h
+include/${MOZILLA}/content/nsSVGPoint.h
+include/${MOZILLA}/content/nsSVGMatrix.h
+include/${MOZILLA}/content/nsIXMLContentBuilder.h
+include/${MOZILLA}/content/nsIXTFAttributeHandler.h
+include/${MOZILLA}/content/nsIXTFElement.h
+include/${MOZILLA}/content/nsIXTFElementFactory.h
+include/${MOZILLA}/content/nsIXTFElementWrapper.h
+include/${MOZILLA}/content/nsIXTFPrivate.h
+include/${MOZILLA}/content/nsIXTFService.h
+include/${MOZILLA}/content/nsMutationEvent.h
+include/${MOZILLA}/content/nsIEventListenerManager.h
+include/${MOZILLA}/content/nsIEventStateManager.h
+include/${MOZILLA}/content/nsIPrivateDOMEvent.h
+include/${MOZILLA}/content/nsIPrivateTextEvent.h
+include/${MOZILLA}/content/nsIPrivateTextRange.h
+include/${MOZILLA}/content/nsIPrivateCompositionEvent.h
+include/${MOZILLA}/content/nsPLDOMEvent.h
+include/${MOZILLA}/content/nsEventDispatcher.h
+include/${MOZILLA}/content/nsPIDOMEventTarget.h
+include/${MOZILLA}/xuldoc/nsIXULDocument.h
+include/${MOZILLA}/xuldoc/nsIXULPrototypeCache.h
+include/${MOZILLA}/xuldoc/nsIController.h
+include/${MOZILLA}/xuldoc/nsIControllers.h
+include/${MOZILLA}/xuldoc/nsIXULOverlayProvider.h
+include/${MOZILLA}/xultmpl/nsIXULSortService.h
+include/${MOZILLA}/xultmpl/nsIXULTemplateBuilder.h
+include/${MOZILLA}/xultmpl/nsIXULBuilderListener.h
+include/${MOZILLA}/xultmpl/nsIXULTemplateQueryProcessor.h
+include/${MOZILLA}/xultmpl/nsIXULTemplateResult.h
+include/${MOZILLA}/xultmpl/nsIXULTemplateRuleFilter.h
+include/${MOZILLA}/editor/nsEditorCID.h
+include/${MOZILLA}/editor/nsICiter.h
+include/${MOZILLA}/editor/nsIDocumentStateListener.h
+include/${MOZILLA}/editor/nsIEditActionListener.h
+include/${MOZILLA}/editor/nsIEditor.h
+include/${MOZILLA}/editor/nsIEditorIMESupport.h
+include/${MOZILLA}/editor/nsIEditorLogging.h
+include/${MOZILLA}/editor/nsIEditorMailSupport.h
+include/${MOZILLA}/editor/nsIEditorObserver.h
+include/${MOZILLA}/editor/nsIEditorSpellCheck.h
+include/${MOZILLA}/editor/nsIEditorStyleSheets.h
+include/${MOZILLA}/editor/nsIHTMLEditor.h
+include/${MOZILLA}/editor/nsIHTMLObjectResizer.h
+include/${MOZILLA}/editor/nsIHTMLAbsPosEditor.h
+include/${MOZILLA}/editor/nsIHTMLObjectResizeListener.h
+include/${MOZILLA}/editor/nsIHTMLInlineTableEditor.h
+include/${MOZILLA}/editor/nsIPlaintextEditor.h
+include/${MOZILLA}/editor/nsITableEditor.h
+include/${MOZILLA}/editor/nsIURIRefObject.h
+include/${MOZILLA}/editor/nsIContentFilter.h
+include/${MOZILLA}/editor/nsPIEditorTransaction.h
+include/${MOZILLA}/txtsvc/nsISpellChecker.h
+include/${MOZILLA}/txtsvc/nsITextService.h
+include/${MOZILLA}/txtsvc/nsITextServicesDocument.h
+include/${MOZILLA}/txtsvc/nsTextServicesCID.h
+include/${MOZILLA}/txtsvc/nsITextServicesFilter.h
+include/${MOZILLA}/txtsvc/nsIInlineSpellChecker.h
+include/${MOZILLA}/txmgr/nsTransactionManagerCID.h
+include/${MOZILLA}/txmgr/nsITransaction.h
+include/${MOZILLA}/txmgr/nsITransactionList.h
+include/${MOZILLA}/txmgr/nsITransactionListener.h
+include/${MOZILLA}/txmgr/nsITransactionManager.h
+include/${MOZILLA}/composer/nsIEditingSession.h
+include/${MOZILLA}/layout/nsCSSAnonBoxList.h
+include/${MOZILLA}/layout/nsCSSAnonBoxes.h
+include/${MOZILLA}/layout/nsCSSKeywordList.h
+include/${MOZILLA}/layout/nsCSSKeywords.h
+include/${MOZILLA}/layout/nsCSSPropList.h
+include/${MOZILLA}/layout/nsCSSProperty.h
+include/${MOZILLA}/layout/nsCSSProps.h
+include/${MOZILLA}/layout/nsCSSPseudoClassList.h
+include/${MOZILLA}/layout/nsCSSPseudoClasses.h
+include/${MOZILLA}/layout/nsCSSPseudoElementList.h
+include/${MOZILLA}/layout/nsCSSPseudoElements.h
+include/${MOZILLA}/layout/nsCSSStruct.h
+include/${MOZILLA}/layout/nsCSSValue.h
+include/${MOZILLA}/layout/nsDOMCSSDeclaration.h
+include/${MOZILLA}/layout/nsICSSDeclaration.h
+include/${MOZILLA}/layout/nsICSSGroupRule.h
+include/${MOZILLA}/layout/nsICSSImportRule.h
+include/${MOZILLA}/layout/nsICSSLoader.h
+include/${MOZILLA}/layout/nsICSSLoaderObserver.h
+include/${MOZILLA}/layout/nsICSSNameSpaceRule.h
+include/${MOZILLA}/layout/nsICSSOMFactory.h
+include/${MOZILLA}/layout/nsICSSParser.h
+include/${MOZILLA}/layout/nsICSSPseudoComparator.h
+include/${MOZILLA}/layout/nsICSSRule.h
+include/${MOZILLA}/layout/nsICSSStyleRule.h
+include/${MOZILLA}/layout/nsICSSStyleRuleDOMWrapper.h
+include/${MOZILLA}/layout/nsICSSStyleSheet.h
+include/${MOZILLA}/layout/nsIComputedDOMStyle.h
+include/${MOZILLA}/layout/nsIHTMLCSSStyleSheet.h
+include/${MOZILLA}/layout/nsIInspectorCSSUtils.h
+include/${MOZILLA}/layout/nsIStyleRule.h
+include/${MOZILLA}/layout/nsIStyleRuleProcessor.h
+include/${MOZILLA}/layout/nsIStyleSheet.h
+include/${MOZILLA}/layout/nsLayoutStylesheetCache.h
+include/${MOZILLA}/layout/nsRuleData.h
+include/${MOZILLA}/layout/nsRuleNode.h
+include/${MOZILLA}/layout/nsRuleWalker.h
+include/${MOZILLA}/layout/nsStyleContext.h
+include/${MOZILLA}/layout/nsStyleCoord.h
+include/${MOZILLA}/layout/nsStyleSet.h
+include/${MOZILLA}/layout/nsStyleStruct.h
+include/${MOZILLA}/layout/nsStyleStructFwd.h
+include/${MOZILLA}/layout/nsStyleStructList.h
+include/${MOZILLA}/layout/nsStyleUtil.h
+include/${MOZILLA}/layout/nsBidi.h
+include/${MOZILLA}/layout/nsBidiPresUtils.h
+include/${MOZILLA}/layout/nsCSSFrameConstructor.h
+include/${MOZILLA}/layout/nsChangeHint.h
+include/${MOZILLA}/layout/nsCompatibility.h
+include/${MOZILLA}/layout/nsDisplayList.h
+include/${MOZILLA}/layout/nsFrameManager.h
+include/${MOZILLA}/layout/nsFrameManagerBase.h
+include/${MOZILLA}/layout/nsFrameTraversal.h
+include/${MOZILLA}/layout/nsICaret.h
+include/${MOZILLA}/layout/nsIDocumentViewer.h
+include/${MOZILLA}/layout/nsIFrameTraversal.h
+include/${MOZILLA}/layout/nsIImageMap.h
+include/${MOZILLA}/layout/nsILayoutDebugger.h
+include/${MOZILLA}/layout/nsILayoutHistoryState.h
+include/${MOZILLA}/layout/nsIPercentHeightObserver.h
+include/${MOZILLA}/layout/nsIPresShell.h
+include/${MOZILLA}/layout/nsIReflowCallback.h
+include/${MOZILLA}/layout/nsLayoutErrors.h
+include/${MOZILLA}/layout/nsLayoutUtils.h
+include/${MOZILLA}/layout/nsIFocusEventSuppressor.h
+include/${MOZILLA}/layout/nsPresContext.h
+include/${MOZILLA}/layout/nsPresState.h
+include/${MOZILLA}/layout/nsStyleChangeList.h
+include/${MOZILLA}/layout/nsStyleConsts.h
+include/${MOZILLA}/layout/nsIStyleSheetService.h
+include/${MOZILLA}/layout/nsFrameList.h
+include/${MOZILLA}/layout/nsIFrame.h
+include/${MOZILLA}/layout/nsHTMLParts.h
+include/${MOZILLA}/layout/nsHTMLReflowMetrics.h
+include/${MOZILLA}/layout/nsHTMLReflowState.h
+include/${MOZILLA}/layout/nsIAnonymousContentCreator.h
+include/${MOZILLA}/layout/nsICanvasFrame.h
+include/${MOZILLA}/layout/nsIFrameDebug.h
+include/${MOZILLA}/layout/nsIFrameFrame.h
+include/${MOZILLA}/layout/nsIFrameUtil.h
+include/${MOZILLA}/layout/nsIImageFrame.h
+include/${MOZILLA}/layout/nsILineIterator.h
+include/${MOZILLA}/layout/nsIObjectFrame.h
+include/${MOZILLA}/layout/nsIPageSequenceFrame.h
+include/${MOZILLA}/layout/nsIScrollableFrame.h
+include/${MOZILLA}/layout/nsIScrollableViewProvider.h
+include/${MOZILLA}/layout/nsIStatefulFrame.h
+include/${MOZILLA}/layout/nsFrameSelection.h
+include/${MOZILLA}/layout/nsBidiFrames.h
+include/${MOZILLA}/layout/nsITableLayout.h
+include/${MOZILLA}/layout/nsIListControlFrame.h
+include/${MOZILLA}/layout/nsIComboboxControlFrame.h
+include/${MOZILLA}/layout/nsIFormControlFrame.h
+include/${MOZILLA}/layout/nsIRadioControlFrame.h
+include/${MOZILLA}/layout/nsICheckboxControlFrame.h
+include/${MOZILLA}/layout/nsISelectControlFrame.h
+include/${MOZILLA}/layout/nsITextControlFrame.h
+include/${MOZILLA}/layout/nsITableCellLayout.h
+include/${MOZILLA}/layout/nsPIBoxObject.h
+include/${MOZILLA}/layout/nsIMenuFrame.h
+include/${MOZILLA}/layout/nsIScrollbarMediator.h
+include/${MOZILLA}/layout/nsXULPopupManager.h
+include/${MOZILLA}/layout/nsIBoxObject.h
+include/${MOZILLA}/layout/nsIScrollBoxObject.h
+include/${MOZILLA}/layout/nsIPopupBoxObject.h
+include/${MOZILLA}/layout/nsIMenuBoxObject.h
+include/${MOZILLA}/layout/nsIListBoxObject.h
+include/${MOZILLA}/layout/nsIBrowserBoxObject.h
+include/${MOZILLA}/layout/nsIIFrameBoxObject.h
+include/${MOZILLA}/layout/nsIEditorBoxObject.h
+include/${MOZILLA}/layout/nsIContainerBoxObject.h
+include/${MOZILLA}/layout/nsITreeColumns.h
+include/${MOZILLA}/layout/nsITreeView.h
+include/${MOZILLA}/layout/nsITreeSelection.h
+include/${MOZILLA}/layout/nsITreeBoxObject.h
+include/${MOZILLA}/layout/nsITreeContentView.h
+include/${MOZILLA}/layout/nsTreeColFrame.h
+include/${MOZILLA}/layout/nsTreeUtils.h
+include/${MOZILLA}/layout/nsGridLayout2.h
+include/${MOZILLA}/layout/nsGridRowLayout.h
+include/${MOZILLA}/layout/nsGridRowLeafLayout.h
+include/${MOZILLA}/layout/nsGridRowLeafFrame.h
+include/${MOZILLA}/layout/nsGridRowGroupLayout.h
+include/${MOZILLA}/layout/nsIGridPart.h
+include/${MOZILLA}/layout/nsGrid.h
+include/${MOZILLA}/layout/nsGridRow.h
+include/${MOZILLA}/layout/nsGridCell.h
+include/${MOZILLA}/layout/nsIMenuParent.h
+include/${MOZILLA}/layout/nsIPrintProgress.h
+include/${MOZILLA}/layout/nsIPrintProgressParams.h
+include/${MOZILLA}/layout/nsIPrintStatusFeedback.h
+include/${MOZILLA}/layout/nsSVGUtils.h
+include/${MOZILLA}/layout/nsSVGFilterInstance.h
+include/${MOZILLA}/layout/nsSVGForeignObjectFrame.h
+include/${MOZILLA}/layout/nsLayoutCID.h
+include/${MOZILLA}/layout/nsContentDLF.h
+include/${MOZILLA}/layout/nsLayoutStatics.h
+include/${MOZILLA}/inspector/inIDOMView.h
+include/${MOZILLA}/inspector/inIDeepTreeWalker.h
+include/${MOZILLA}/inspector/inIFlasher.h
+include/${MOZILLA}/inspector/inISearchProcess.h
+include/${MOZILLA}/inspector/inISearchObserver.h
+include/${MOZILLA}/inspector/inICSSValueSearch.h
+include/${MOZILLA}/inspector/inIDOMUtils.h
+include/${MOZILLA}/docshell/nsDocShellLoadTypes.h
+include/${MOZILLA}/docshell/nsCDocShell.h
+include/${MOZILLA}/docshell/nsCDefaultURIFixup.h
+include/${MOZILLA}/docshell/nsIDocShell.h
+include/${MOZILLA}/docshell/nsIDocShellLoadInfo.h
+include/${MOZILLA}/docshell/nsIDocShellTreeItem.h
+include/${MOZILLA}/docshell/nsIDocShellTreeNode.h
+include/${MOZILLA}/docshell/nsIDocShellTreeOwner.h
+include/${MOZILLA}/docshell/nsIDocShellHistory.h
+include/${MOZILLA}/docshell/nsIGlobalHistory2.h
+include/${MOZILLA}/docshell/nsIGlobalHistory3.h
+include/${MOZILLA}/docshell/nsIMarkupDocumentViewer.h
+include/${MOZILLA}/docshell/nsIScrollable.h
+include/${MOZILLA}/docshell/nsITextScroll.h
+include/${MOZILLA}/docshell/nsIWebNavigation.h
+include/${MOZILLA}/docshell/nsIWebNavigationInfo.h
+include/${MOZILLA}/docshell/nsIContentViewer.h
+include/${MOZILLA}/docshell/nsIContentViewerEdit.h
+include/${MOZILLA}/docshell/nsIContentViewerFile.h
+include/${MOZILLA}/docshell/nsIURIFixup.h
+include/${MOZILLA}/docshell/nsIEditorDocShell.h
+include/${MOZILLA}/docshell/nsIWebPageDescriptor.h
+include/${MOZILLA}/docshell/nsIURIClassifier.h
+include/${MOZILLA}/docshell/nsIChannelClassifier.h
+include/${MOZILLA}/docshell/nsIDownloadHistory.h
+include/${MOZILLA}/docshell/nsIGlobalHistory.h
+include/${MOZILLA}/docshell/nsDocShellCID.h
+include/${MOZILLA}/shistory/nsISHEntry.h
+include/${MOZILLA}/shistory/nsISHContainer.h
+include/${MOZILLA}/shistory/nsISHTransaction.h
+include/${MOZILLA}/shistory/nsISHistoryInternal.h
+include/${MOZILLA}/shistory/nsIHistoryEntry.h
+include/${MOZILLA}/shistory/nsISHistory.h
+include/${MOZILLA}/shistory/nsISHistoryListener.h
+include/${MOZILLA}/webshell/nsILinkHandler.h
+include/${MOZILLA}/webshell/nsIWebShellServices.h
+include/${MOZILLA}/webshell/nsIRefreshURI.h
+include/${MOZILLA}/webshell/nsIContentViewerContainer.h
+include/${MOZILLA}/webshell/nsIDocumentLoaderFactory.h
+include/${MOZILLA}/webshell/nsIClipboardCommands.h
+include/${MOZILLA}/embed_base/nsEmbedAPI.h
+include/${MOZILLA}/embed_base/nsEmbedCID.h
+include/${MOZILLA}/embed_base/nsIWindowCreator2.h
+include/${MOZILLA}/embed_base/nsIWindowProvider.h
+include/${MOZILLA}/embed_base/nsIWindowCreator.h
+include/${MOZILLA}/windowwatcher/nsPromptUtils.h
+include/${MOZILLA}/windowwatcher/nsIDialogParamBlock.h
+include/${MOZILLA}/windowwatcher/nsIPromptService2.h
+include/${MOZILLA}/windowwatcher/nsPIPromptService.h
+include/${MOZILLA}/windowwatcher/nsPIWindowWatcher.h
+include/${MOZILLA}/windowwatcher/nsIAuthPromptWrapper.h
+include/${MOZILLA}/windowwatcher/nsIPromptFactory.h
+include/${MOZILLA}/windowwatcher/nsINonBlockingAlertService.h
+include/${MOZILLA}/windowwatcher/nsIWindowWatcher.h
+include/${MOZILLA}/windowwatcher/nsIPromptService.h
+include/${MOZILLA}/embedcomponents/nsIAppStartupNotifier.h
+include/${MOZILLA}/find/nsIFind.h
+include/${MOZILLA}/find/nsIWebBrowserFind.h
+include/${MOZILLA}/webbrowserpersist/nsIWebBrowserPersist.h
+include/${MOZILLA}/webbrowserpersist/nsCWebBrowserPersist.h
+include/${MOZILLA}/commandhandler/nsICommandManager.h
+include/${MOZILLA}/commandhandler/nsICommandParams.h
+include/${MOZILLA}/commandhandler/nsIControllerCommand.h
+include/${MOZILLA}/commandhandler/nsIControllerContext.h
+include/${MOZILLA}/commandhandler/nsIControllerCommandTable.h
+include/${MOZILLA}/commandhandler/nsPICommandUpdater.h
+include/${MOZILLA}/webbrwsr/nsCTooltipTextProvider.h
+include/${MOZILLA}/webbrwsr/nsCWebBrowser.h
+include/${MOZILLA}/webbrwsr/nsICommandHandler.h
+include/${MOZILLA}/webbrwsr/nsIEmbeddingSiteWindow2.h
+include/${MOZILLA}/webbrwsr/nsIContextMenuListener2.h
+include/${MOZILLA}/webbrwsr/nsIWebBrowserChrome2.h
+include/${MOZILLA}/webbrwsr/nsIPrintingPrompt.h
+include/${MOZILLA}/webbrwsr/nsIPrintingPromptService.h
+include/${MOZILLA}/webbrwsr/nsIContextMenuListener.h
+include/${MOZILLA}/webbrwsr/nsIEmbeddingSiteWindow.h
+include/${MOZILLA}/webbrwsr/nsITooltipListener.h
+include/${MOZILLA}/webbrwsr/nsITooltipTextProvider.h
+include/${MOZILLA}/webbrwsr/nsIWebBrowser.h
+include/${MOZILLA}/webbrwsr/nsIWebBrowserChrome.h
+include/${MOZILLA}/webbrwsr/nsIWebBrowserChromeFocus.h
+include/${MOZILLA}/webbrwsr/nsIWebBrowserFocus.h
+include/${MOZILLA}/webbrwsr/nsIWebBrowserSetup.h
+include/${MOZILLA}/webbrwsr/nsIWebBrowserStream.h
+include/${MOZILLA}/webbrwsr/nsIWebBrowserPrint.h
+include/${MOZILLA}/appshell/nsAppShellCID.h
+include/${MOZILLA}/appshell/nsIAppShellService.h
+include/${MOZILLA}/appshell/nsIWindowMediator.h
+include/${MOZILLA}/appshell/nsIWindowMediatorListener.h
+include/${MOZILLA}/appshell/nsIXULWindow.h
+include/${MOZILLA}/appshell/nsIPopupWindowManager.h
+include/${MOZILLA}/appshell/nsIXULBrowserWindow.h
+include/${MOZILLA}/liveconnect/jsjava.h
+include/${MOZILLA}/liveconnect/netscape_javascript_JSObject.h
+include/${MOZILLA}/liveconnect/netscape_javascript_JSException.h
+include/${MOZILLA}/liveconnect/nsILiveconnect.h
+include/${MOZILLA}/liveconnect/nsISecureLiveconnect.h
+include/${MOZILLA}/liveconnect/nsISecurityContext.h
+include/${MOZILLA}/oji/nsjvm.h
+include/${MOZILLA}/oji/nsIJRIPlugin.h
+include/${MOZILLA}/oji/nsIJVMConsole.h
+include/${MOZILLA}/oji/nsIJVMPlugin.h
+include/${MOZILLA}/oji/nsIJVMPluginTagInfo.h
+include/${MOZILLA}/oji/nsIJVMPrefsWindow.h
+include/${MOZILLA}/oji/nsIJVMWindow.h
+include/${MOZILLA}/oji/nsISymantecDebugManager.h
+include/${MOZILLA}/oji/nsISymantecDebugger.h
+include/${MOZILLA}/oji/nsISecureEnv.h
+include/${MOZILLA}/oji/ProxyJNI.h
+include/${MOZILLA}/oji/nsIJVMThreadManager.h
+include/${MOZILLA}/oji/nsILiveConnectManager.h
+include/${MOZILLA}/oji/nsIJVMManager.h
+include/${MOZILLA}/oji/nsIJVMPluginInstance.h
+include/${MOZILLA}/oji/nsIJVMAuthTools.h
+include/${MOZILLA}/oji/nsIJVMConfigManager.h
+include/${MOZILLA}/oji/jvmmgr.h
+include/${MOZILLA}/oji/nsJVMManager.h
+include/${MOZILLA}/oji/nsJVMPluginTagInfo.h
+include/${MOZILLA}/accessibility/nsIAccessibleTypes.h
+include/${MOZILLA}/accessibility/nsIAccessibilityService.h
+include/${MOZILLA}/accessibility/nsIAccessibleRetrieval.h
+include/${MOZILLA}/accessibility/nsIAccessible.h
+include/${MOZILLA}/accessibility/nsIAccessibleRelation.h
+include/${MOZILLA}/accessibility/nsIAccessibleRole.h
+include/${MOZILLA}/accessibility/nsIAccessibleStates.h
+include/${MOZILLA}/accessibility/nsPIAccessible.h
+include/${MOZILLA}/accessibility/nsIAccessibleDocument.h
+include/${MOZILLA}/accessibility/nsPIAccessibleDocument.h
+include/${MOZILLA}/accessibility/nsIAccessibleProvider.h
+include/${MOZILLA}/accessibility/nsIAccessibleSelectable.h
+include/${MOZILLA}/accessibility/nsIAccessNode.h
+include/${MOZILLA}/accessibility/nsPIAccessNode.h
+include/${MOZILLA}/accessibility/nsIAccessibleEvent.h
+include/${MOZILLA}/accessibility/nsIAccessibleEditableText.h
+include/${MOZILLA}/accessibility/nsIAccessibleHyperLink.h
+include/${MOZILLA}/accessibility/nsIAccessibleHyperText.h
+include/${MOZILLA}/accessibility/nsIAccessibleTable.h
+include/${MOZILLA}/accessibility/nsIAccessibleText.h
+include/${MOZILLA}/accessibility/nsIAccessibleValue.h
+include/${MOZILLA}/accessibility/nsIAccessibleImage.h
+include/${MOZILLA}/accessibility/nsIAccessibleTreeCache.h
+include/${MOZILLA}/accessibility/nsAccessNodeWrap.h
+include/${MOZILLA}/accessibility/nsAccessibleWrap.h
+include/${MOZILLA}/accessibility/nsDocAccessibleWrap.h
+include/${MOZILLA}/accessibility/nsRootAccessibleWrap.h
+include/${MOZILLA}/accessibility/nsTextAccessibleWrap.h
+include/${MOZILLA}/accessibility/nsXULMenuAccessibleWrap.h
+include/${MOZILLA}/accessibility/nsXULTreeAccessibleWrap.h
+include/${MOZILLA}/accessibility/nsHyperTextAccessibleWrap.h
+include/${MOZILLA}/accessibility/nsHTMLImageAccessibleWrap.h
+include/${MOZILLA}/accessibility/nsHTMLTableAccessibleWrap.h
+include/${MOZILLA}/accessibility/nsAccessibleRelationWrap.h
+include/${MOZILLA}/accessibility/nsRootAccessible.h
+include/${MOZILLA}/accessibility/nsAccessibleEventData.h
+include/${MOZILLA}/accessibility/nsAccessNode.h
+include/${MOZILLA}/accessibility/nsHyperTextAccessible.h
+include/${MOZILLA}/accessibility/nsHTMLFormControlAccessible.h
+include/${MOZILLA}/chrome/nsIToolkitChromeRegistry.h
+include/${MOZILLA}/profile/nsIProfileUnlocker.h
+include/${MOZILLA}/profile/nsIProfile.h
+include/${MOZILLA}/profile/nsIProfileChangeStatus.h
+include/${MOZILLA}/profdirserviceprovider/nsProfileDirServiceProvider.h
+include/${MOZILLA}/browser/nsIBrowserInstance.h
+include/${MOZILLA}/appcomps/nsISearchContext.h
+include/${MOZILLA}/appcomps/nsIFindService.h
+include/${MOZILLA}/appcomps/nsIWindowDataSource.h
+include/${MOZILLA}/appcomps/nsIHTTPIndex.h
+include/${MOZILLA}/appcomps/nsXPFEComponentsCID.h
+include/${MOZILLA}/appcomps/nsIAppStartup.h
+include/${MOZILLA}/appcomps/nsIUserInfo.h
+include/${MOZILLA}/filepicker/nsIFileView.h
+include/${MOZILLA}/toolkitcomps/nsIRemoteService.h
+include/${MOZILLA}/toolkitcomps/nsICommandLine.h
+include/${MOZILLA}/toolkitcomps/nsICommandLineRunner.h
+include/${MOZILLA}/toolkitcomps/nsICommandLineHandler.h
+include/${MOZILLA}/toolkitcomps/nsICommandLineValidator.h
+include/${MOZILLA}/toolkitcomps/nsToolkitCompsCID.h
+include/${MOZILLA}/urlformatter/nsIURLFormatter.h
+include/${MOZILLA}/contentprefs/nsIContentPrefService.h
+include/${MOZILLA}/contentprefs/nsIContentURIGrouper.h
+include/${MOZILLA}/places/nsINavHistoryService.h
+include/${MOZILLA}/places/nsIAnnotationService.h
+include/${MOZILLA}/places/nsIBrowserHistory.h
+include/${MOZILLA}/places/nsIFaviconService.h
+include/${MOZILLA}/places/nsINavBookmarksService.h
+include/${MOZILLA}/places/nsILivemarkService.h
+include/${MOZILLA}/places/nsIDynamicContainer.h
+include/${MOZILLA}/places/nsITaggingService.h
+include/${MOZILLA}/exthelper/extIApplication.h
+include/${MOZILLA}/fastfind/nsITypeAheadFind.h
+include/${MOZILLA}/parentalcontrols/nsIParentalControlsService.h
+include/${MOZILLA}/alerts/nsIAlertsService.h
+include/${MOZILLA}/feeds/nsIFeedProcessor.h
+include/${MOZILLA}/feeds/nsIFeedResult.h
+include/${MOZILLA}/feeds/nsIFeedListener.h
+include/${MOZILLA}/feeds/nsIFeed.h
+include/${MOZILLA}/feeds/nsIFeedContainer.h
+include/${MOZILLA}/feeds/nsIFeedEntry.h
+include/${MOZILLA}/feeds/nsIFeedTextConstruct.h
+include/${MOZILLA}/feeds/nsIScriptableUnescapeHTML.h
+include/${MOZILLA}/feeds/nsIFeedElementBase.h
+include/${MOZILLA}/feeds/nsIFeedGenerator.h
+include/${MOZILLA}/feeds/nsIFeedPerson.h
+include/${MOZILLA}/autocomplete/nsIAutoCompleteController.h
+include/${MOZILLA}/autocomplete/nsIAutoCompleteInput.h
+include/${MOZILLA}/autocomplete/nsIAutoCompletePopup.h
+include/${MOZILLA}/autocomplete/nsIAutoCompleteSearch.h
+include/${MOZILLA}/autocomplete/nsIAutoCompleteResult.h
+include/${MOZILLA}/autocomplete/nsIAutoCompleteResultTypes.h
+include/${MOZILLA}/autocomplete/nsIAutoCompleteSimpleResult.h
+include/${MOZILLA}/satchel/nsIFormFillController.h
+include/${MOZILLA}/satchel/nsIFormHistory.h
+include/${MOZILLA}/loginmgr/nsILoginInfo.h
+include/${MOZILLA}/loginmgr/nsILoginManager.h
+include/${MOZILLA}/loginmgr/nsILoginManagerStorage.h
+include/${MOZILLA}/loginmgr/nsILoginManagerPrompter.h
+include/${MOZILLA}/loginmgr/nsILoginManagerIEMigrationHelper.h
+include/${MOZILLA}/downloads/nsIDownloadManager.h
+include/${MOZILLA}/downloads/nsIDownloadProgressListener.h
+include/${MOZILLA}/downloads/nsIDownload.h
+include/${MOZILLA}/downloads/nsIDownloadManagerUI.h
+include/${MOZILLA}/url-classifier/nsIUrlClassifierDBService.h
+include/${MOZILLA}/url-classifier/nsIUrlClassifierStreamUpdater.h
+include/${MOZILLA}/url-classifier/nsIUrlClassifierUtils.h
+include/${MOZILLA}/url-classifier/nsIUrlClassifierHashCompleter.h
+include/${MOZILLA}/url-classifier/nsIUrlListManager.h
+include/${MOZILLA}/spellchecker/mozIPersonalDictionary.h
+include/${MOZILLA}/spellchecker/mozISpellCheckingEngine.h
+include/${MOZILLA}/spellchecker/mozISpellI18NUtil.h
+include/${MOZILLA}/spellchecker/mozISpellI18NManager.h
+include/${MOZILLA}/xulapp/nsIProfileMigrator.h
+include/${MOZILLA}/xulapp/nsIToolkitProfile.h
+include/${MOZILLA}/xulapp/nsIToolkitProfileService.h
+include/${MOZILLA}/xulapp/xrecore.h
+include/${MOZILLA}/xulapp/nsXULAppAPI.h
+include/${MOZILLA}/xulapp/nsINativeAppSupport.h
+include/${MOZILLA}/xulapp/nsIXULRuntime.h
+include/${MOZILLA}/extensions/nsIExtensionManager.h
+include/${MOZILLA}/extensions/nsIBlocklistService.h
+include/${MOZILLA}/extensions/nsIAddonRepository.h
+include/${MOZILLA}/update/nsIUpdateService.h
+include/${MOZILLA}/xpinstall/nsIDOMInstallTriggerGlobal.h
+include/${MOZILLA}/xpinstall/nsSoftwareUpdateIIDs.h
+include/${MOZILLA}/xpinstall/nsIXPIDialogService.h
+include/${MOZILLA}/xpinstall/nsIXPIProgressDialog.h
+include/${MOZILLA}/xpinstall/nsIXPInstallManager.h
+include/${MOZILLA}/xpinstall/nsIXPIInstallInfo.h
+include/${MOZILLA}/xpinstall/nsPICertNotification.h
+include/${MOZILLA}/xpinstall/nsXPITriggerInfo.h
+include/${MOZILLA}/pipboot/nsISSLStatusProvider.h
+include/${MOZILLA}/pipboot/nsIBufEntropyCollector.h
+include/${MOZILLA}/pipboot/nsISecurityWarningDialogs.h
+include/${MOZILLA}/pipnss/nsIBadCertListener2.h
+include/${MOZILLA}/pipnss/nsISSLErrorListener.h
+include/${MOZILLA}/pipnss/nsIIdentityInfo.h
+include/${MOZILLA}/pipnss/nsIAssociatedContentSecurity.h
+include/${MOZILLA}/pipnss/nsICertOverrideService.h
+include/${MOZILLA}/pipnss/nsIRecentBadCertsService.h
+include/${MOZILLA}/pipnss/nsIFormSigningDialog.h
+include/${MOZILLA}/pipnss/nsIX509Cert2.h
+include/${MOZILLA}/pipnss/nsIX509Cert3.h
+include/${MOZILLA}/pipnss/nsIX509CertDB2.h
+include/${MOZILLA}/pipnss/nsIX509CertList.h
+include/${MOZILLA}/pipnss/nsIPKCS11Slot.h
+include/${MOZILLA}/pipnss/nsIPK11TokenDB.h
+include/${MOZILLA}/pipnss/nsICertPickDialogs.h
+include/${MOZILLA}/pipnss/nsIClientAuthDialogs.h
+include/${MOZILLA}/pipnss/nsIDOMCryptoDialogs.h
+include/${MOZILLA}/pipnss/nsIGenKeypairInfoDlg.h
+include/${MOZILLA}/pipnss/nsITokenDialogs.h
+include/${MOZILLA}/pipnss/nsITokenPasswordDialogs.h
+include/${MOZILLA}/pipnss/nsISSLStatus.h
+include/${MOZILLA}/pipnss/nsIKeygenThread.h
+include/${MOZILLA}/pipnss/nsICMSSecureMessage.h
+include/${MOZILLA}/pipnss/nsIUserCertPicker.h
+include/${MOZILLA}/pipnss/nsIASN1PrintableItem.h
+include/${MOZILLA}/pipnss/nsICMSDecoder.h
+include/${MOZILLA}/pipnss/nsICMSEncoder.h
+include/${MOZILLA}/pipnss/nsICMSMessageErrors.h
+include/${MOZILLA}/pipnss/nsICMSMessage.h
+include/${MOZILLA}/pipnss/nsICMSMessage2.h
+include/${MOZILLA}/pipnss/nsINSSCertCache.h
+include/${MOZILLA}/pipnss/nsIOCSPResponder.h
+include/${MOZILLA}/pipnss/nsIPK11Token.h
+include/${MOZILLA}/pipnss/nsIPKCS11ModuleDB.h
+include/${MOZILLA}/pipnss/nsIPKCS11Module.h
+include/${MOZILLA}/pipnss/nsICRLManager.h
+include/${MOZILLA}/pipnss/nsISMimeCert.h
+include/${MOZILLA}/pipnss/nsICipherInfo.h
+include/${MOZILLA}/pipnss/nsIStreamCipher.h
+include/${MOZILLA}/pipnss/nsIKeyModule.h
+include/${MOZILLA}/pipnss/nsIProtectedAuthThread.h
+include/${MOZILLA}/pipnss/nsIDataSignatureVerifier.h
+include/${MOZILLA}/pipnss/nsICertTree.h
+include/${MOZILLA}/pipnss/nsIASN1Object.h
+include/${MOZILLA}/pipnss/nsIASN1Sequence.h
+include/${MOZILLA}/pipnss/nsICertificateDialogs.h
+include/${MOZILLA}/pipnss/nsICRLInfo.h
+include/${MOZILLA}/pipnss/nsIX509Cert.h
+include/${MOZILLA}/pipnss/nsIX509CertDB.h
+include/${MOZILLA}/pipnss/nsIX509CertValidity.h
+include/${MOZILLA}/pippki/nsIPKIParamBlock.h
+include/${MOZILLA}/pippki/nsIASN1Tree.h
+include/${MOZILLA}/autoconfig/nsIAutoConfig.h
+include/${MOZILLA}/autoconfig/nsIReadConfig.h
+include/${MOZILLA}/system-pref/nsSystemPrefService.h
+include/${MOZILLA}/system-pref/nsSystemPrefLog.h
+include/${MOZILLA}/gtkembedmoz/gtkmozembed_glue.cpp
+include/${MOZILLA}/gtkembedmoz/gtkmozembed.h
+include/${MOZILLA}/gtkembedmoz/gtkmozembed_internal.h
+include/${MOZILLA}/nss/ciferfam.h
+include/${MOZILLA}/nss/base64.h
+include/${MOZILLA}/nss/nssb64t.h
+include/${MOZILLA}/nss/nssb64.h
+include/${MOZILLA}/nss/nssck.api
+include/${MOZILLA}/nss/nsslocks.h
+include/${MOZILLA}/nss/nssilock.h
+include/${MOZILLA}/nss/nssilckt.h
+include/${MOZILLA}/nss/nssrwlk.h
+include/${MOZILLA}/nss/nssrwlkt.h
+include/${MOZILLA}/nss/portreg.h
+include/${MOZILLA}/nss/secasn1.h
+include/${MOZILLA}/nss/secasn1t.h
+include/${MOZILLA}/nss/seccomon.h
+include/${MOZILLA}/nss/secder.h
+include/${MOZILLA}/nss/secdert.h
+include/${MOZILLA}/nss/secdig.h
+include/${MOZILLA}/nss/secdigt.h
+include/${MOZILLA}/nss/secitem.h
+include/${MOZILLA}/nss/secoid.h
+include/${MOZILLA}/nss/secoidt.h
+include/${MOZILLA}/nss/secport.h
+include/${MOZILLA}/nss/secerr.h
+include/${MOZILLA}/nss/cryptohi.h
+include/${MOZILLA}/nss/utilrename.h
+include/${MOZILLA}/nss/watcomfx.h
+include/${MOZILLA}/nss/blapit.h
+include/${MOZILLA}/nss/shsign.h
+include/${MOZILLA}/nss/ecl-exp.h
+include/${MOZILLA}/nss/pkcs11.h
+include/${MOZILLA}/nss/pkcs11f.h
+include/${MOZILLA}/nss/pkcs11p.h
+include/${MOZILLA}/nss/pkcs11t.h
+include/${MOZILLA}/nss/pkcs11n.h
+include/${MOZILLA}/nss/pkcs11u.h
+include/${MOZILLA}/nss/nssbaset.h
+include/${MOZILLA}/nss/nssbase.h
+include/${MOZILLA}/nss/cert.h
+include/${MOZILLA}/nss/certt.h
+include/${MOZILLA}/nss/certdb.h
+include/${MOZILLA}/nss/ocsp.h
+include/${MOZILLA}/nss/ocspt.h
+include/${MOZILLA}/nss/secmod.h
+include/${MOZILLA}/nss/secmodt.h
+include/${MOZILLA}/nss/secpkcs5.h
+include/${MOZILLA}/nss/pk11func.h
+include/${MOZILLA}/nss/pk11pub.h
+include/${MOZILLA}/nss/pk11priv.h
+include/${MOZILLA}/nss/pk11sdr.h
+include/${MOZILLA}/nss/pk11pqg.h
+include/${MOZILLA}/nss/cryptoht.h
+include/${MOZILLA}/nss/hasht.h
+include/${MOZILLA}/nss/key.h
+include/${MOZILLA}/nss/keyhi.h
+include/${MOZILLA}/nss/keyt.h
+include/${MOZILLA}/nss/keythi.h
+include/${MOZILLA}/nss/sechash.h
+include/${MOZILLA}/nss/nss.h
+include/${MOZILLA}/nss/ssl.h
+include/${MOZILLA}/nss/sslt.h
+include/${MOZILLA}/nss/sslerr.h
+include/${MOZILLA}/nss/sslproto.h
+include/${MOZILLA}/nss/preenc.h
+include/${MOZILLA}/nss/pkcs12t.h
+include/${MOZILLA}/nss/pkcs12.h
+include/${MOZILLA}/nss/p12plcy.h
+include/${MOZILLA}/nss/p12.h
+include/${MOZILLA}/nss/p12t.h
+include/${MOZILLA}/nss/secmime.h
+include/${MOZILLA}/nss/secpkcs7.h
+include/${MOZILLA}/nss/pkcs7t.h
+include/${MOZILLA}/nss/cms.h
+include/${MOZILLA}/nss/cmst.h
+include/${MOZILLA}/nss/smime.h
+include/${MOZILLA}/nss/cmsreclist.h
+include/${MOZILLA}/nss/crmf.h
+include/${MOZILLA}/nss/crmft.h
+include/${MOZILLA}/nss/cmmf.h
+include/${MOZILLA}/nss/cmmft.h
+include/${MOZILLA}/nss/jar.h
+include/${MOZILLA}/nss/jar-ds.h
+include/${MOZILLA}/nss/jarfile.h
+include/${MOZILLA}/nss/nssckbi.h
+include/${MOZILLA}/nss/nssckepv.h
+include/${MOZILLA}/nss/nssckft.h
+include/${MOZILLA}/nss/nssckfw.h
+include/${MOZILLA}/nss/nssckfwc.h
+include/${MOZILLA}/nss/nssckfwt.h
+include/${MOZILLA}/nss/nssckg.h
+include/${MOZILLA}/nss/nssckmdt.h
+include/${MOZILLA}/nss/nssckt.h
+include/${MOZILLA}/browsercomps/nsBrowserCompsCID.h
+include/${MOZILLA}/browsercomps/nsIBrowserHandler.h
+include/${MOZILLA}/browsercomps/nsIBrowserGlue.h
+include/${MOZILLA}/microsummaries/nsIMicrosummaryService.h
+include/${MOZILLA}/migration/nsIBrowserProfileMigrator.h
+include/${MOZILLA}/browsersearch/nsIBrowserSearchService.h
+include/${MOZILLA}/sessionstore/nsISessionStartup.h
+include/${MOZILLA}/sessionstore/nsISessionStore.h
+include/${MOZILLA}/shellservice/nsIShellService.h
+include/${MOZILLA}/browser-feeds/nsIFeedResultService.h
+include/${MOZILLA}/browser-feeds/nsIWebContentConverterRegistrar.h
+include/${MOZILLA}/browser-feeds/nsIFeedWriter.h
+include/${MOZILLA}/browserplaces/nsIPlacesImportExportService.h
+include/${MOZILLA}/browserplaces/nsIPlacesTransactionsService.h
+include/${MOZILLA}/fuel/fuelIApplication.h
+@comment end INCLUDE
+@exec env LD_LIBRARY_PATH=%D/lib/${MOZILLA} MOZILLA_FIVE_HOME=%D/lib/${MOZILLA} %D/lib/${MOZILLA}/regxpcom
+@unexec ${RM} %D/lib/${MOZILLA}/components/compreg.dat
+@unexec ${RM} %D/lib/${MOZILLA}/components/xpti.dat
+@comment begin DIRS
+@dirrm include/${MOZILLA}/accessibility
+@dirrm include/${MOZILLA}/alerts
+@dirrm include/${MOZILLA}/appcomps
+@dirrm include/${MOZILLA}/appshell
+@dirrm include/${MOZILLA}/autocomplete
+@dirrm include/${MOZILLA}/autoconfig
+@dirrm include/${MOZILLA}/browser
+@dirrm include/${MOZILLA}/browser-feeds
+@dirrm include/${MOZILLA}/browsercomps
+@dirrm include/${MOZILLA}/browserplaces
+@dirrm include/${MOZILLA}/browsersearch
+@dirrm include/${MOZILLA}/caps
+@dirrm include/${MOZILLA}/chardet
+@dirrm include/${MOZILLA}/chrome
+@dirrm include/${MOZILLA}/commandhandler
+@dirrm include/${MOZILLA}/composer
+@dirrm include/${MOZILLA}/content
+@dirrm include/${MOZILLA}/contentprefs
+@dirrm include/${MOZILLA}/cookie
+@dirrm include/${MOZILLA}/docshell
+@dirrm include/${MOZILLA}/dom
+@dirrm include/${MOZILLA}/downloads
+@dirrm include/${MOZILLA}/editor
+@dirrm include/${MOZILLA}/embed_base
+@dirrm include/${MOZILLA}/embedcomponents
+@dirrm include/${MOZILLA}/expat
+@dirrm include/${MOZILLA}/extensions
+@dirrm include/${MOZILLA}/exthandler
+@dirrm include/${MOZILLA}/exthelper
+@dirrm include/${MOZILLA}/fastfind
+@dirrm include/${MOZILLA}/feeds
+@dirrm include/${MOZILLA}/filepicker
+@dirrm include/${MOZILLA}/find
+@dirrm include/${MOZILLA}/fuel
+@dirrm include/${MOZILLA}/gfx
+@dirrm include/${MOZILLA}/gtkembedmoz
+@dirrm include/${MOZILLA}/gtkxtbin
+@dirrm include/${MOZILLA}/htmlparser
+@dirrm include/${MOZILLA}/imgicon
+@dirrm include/${MOZILLA}/imglib2
+@dirrm include/${MOZILLA}/inspector
+@dirrm include/${MOZILLA}/intl
+@dirrm include/${MOZILLA}/jar
+@dirrm include/${MOZILLA}/java
+@dirrm include/${MOZILLA}/js
+@dirrm include/${MOZILLA}/jsdebug
+@dirrm include/${MOZILLA}/jsurl
+@dirrm include/${MOZILLA}/layout
+@dirrm include/${MOZILLA}/lcms
+@dirrm include/${MOZILLA}/libbz2
+@dirrm include/${MOZILLA}/libmar
+@dirrm include/${MOZILLA}/libreg
+@dirrm include/${MOZILLA}/liveconnect
+@dirrm include/${MOZILLA}/locale
+@dirrm include/${MOZILLA}/loginmgr
+@dirrm include/${MOZILLA}/lwbrk
+@dirrm include/${MOZILLA}/microsummaries
+@dirrm include/${MOZILLA}/migration
+@dirrm include/${MOZILLA}/mimetype
+@dirrm include/${MOZILLA}/morkreader
+@dirrm include/${MOZILLA}/necko
+@dirrm include/${MOZILLA}/nkcache
+@dirrm include/${MOZILLA}/nspr/obsolete
+@dirrm include/${MOZILLA}/nspr/private
+@dirrm include/${MOZILLA}/nspr
+@dirrm include/${MOZILLA}/nss
+@dirrm include/${MOZILLA}/obsolete
+@dirrm include/${MOZILLA}/oji
+@dirrm include/${MOZILLA}/parentalcontrols
+@dirrm include/${MOZILLA}/pipboot
+@dirrm include/${MOZILLA}/pipnss
+@dirrm include/${MOZILLA}/pippki
+@dirrm include/${MOZILLA}/places
+@dirrm include/${MOZILLA}/plugin
+@dirrm include/${MOZILLA}/png
+@dirrm include/${MOZILLA}/pref
+@dirrm include/${MOZILLA}/prefetch
+@dirrm include/${MOZILLA}/private
+@dirrm include/${MOZILLA}/profdirserviceprovider
+@dirrm include/${MOZILLA}/profile
+@dirrm include/${MOZILLA}/rdf
+@dirrm include/${MOZILLA}/rdfutil
+@dirrm include/${MOZILLA}/satchel
+@dirrm include/${MOZILLA}/sessionstore
+@dirrm include/${MOZILLA}/shellservice
+@dirrm include/${MOZILLA}/shistory
+@dirrm include/${MOZILLA}/spellchecker
+@dirrm include/${MOZILLA}/sqlite3
+@dirrm include/${MOZILLA}/storage
+@dirrm include/${MOZILLA}/string
+@dirrm include/${MOZILLA}/system-pref
+@dirrm include/${MOZILLA}/thebes
+@dirrm include/${MOZILLA}/toolkitcomps
+@dirrm include/${MOZILLA}/txmgr
+@dirrm include/${MOZILLA}/txtsvc
+@dirrm include/${MOZILLA}/uconv
+@dirrm include/${MOZILLA}/ucvcn
+@dirrm include/${MOZILLA}/ucvibm
+@dirrm include/${MOZILLA}/ucvja
+@dirrm include/${MOZILLA}/ucvko
+@dirrm include/${MOZILLA}/ucvlatin
+@dirrm include/${MOZILLA}/ucvmath
+@dirrm include/${MOZILLA}/ucvtw
+@dirrm include/${MOZILLA}/ucvtw2
+@dirrm include/${MOZILLA}/unicharutil
+@dirrm include/${MOZILLA}/update
+@dirrm include/${MOZILLA}/uriloader
+@dirrm include/${MOZILLA}/url-classifier
+@dirrm include/${MOZILLA}/urlformatter
+@dirrm include/${MOZILLA}/util
+@dirrm include/${MOZILLA}/view
+@dirrm include/${MOZILLA}/webbrowserpersist
+@dirrm include/${MOZILLA}/webbrwsr
+@dirrm include/${MOZILLA}/webshell
+@dirrm include/${MOZILLA}/widget
+@dirrm include/${MOZILLA}/windowwatcher
+@dirrm include/${MOZILLA}/xml
+@dirrm include/${MOZILLA}/xpcom
+@dirrm include/${MOZILLA}/xpconnect
+@dirrm include/${MOZILLA}/xpinstall
+@dirrm include/${MOZILLA}/xulapp
+@dirrm include/${MOZILLA}/xuldoc
+@dirrm include/${MOZILLA}/xultmpl
+@dirrm include/${MOZILLA}/zipwriter
+@dirrm include/${MOZILLA}/zlib
+@dirrm include/${MOZILLA}
+@dirrm lib/${MOZILLA}/chrome/icons/default
+@dirrm lib/${MOZILLA}/chrome/icons
+@dirrm lib/${MOZILLA}/chrome
+@dirrm lib/${MOZILLA}/components
+@dirrm lib/${MOZILLA}/defaults/autoconfig
+@dirrm lib/${MOZILLA}/defaults/pref
+@dirrm lib/${MOZILLA}/defaults/profile/chrome
+@dirrm lib/${MOZILLA}/defaults/profile
+@dirrm lib/${MOZILLA}/dictionaries
+@dirrm lib/${MOZILLA}/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}
+@dirrm lib/${MOZILLA}/extensions
+@dirrm lib/${MOZILLA}/greprefs
+@dirrm lib/${MOZILLA}/icons
+@dirrm lib/${MOZILLA}/modules
+@dirrm lib/${MOZILLA}/plugins
+@dirrm lib/${MOZILLA}/res/dtd
+@dirrm lib/${MOZILLA}/res/entityTables
+@dirrm lib/${MOZILLA}/res/fonts
+@dirrm lib/${MOZILLA}/res/html
+@dirrm lib/${MOZILLA}/res
+@dirrm lib/${MOZILLA}/searchplugins
+@dirrm lib/${MOZILLA}
+@comment end DIRS
diff --git a/www/firefox3/PLIST.Linux b/www/firefox3/PLIST.Linux
new file mode 100644
index 00000000000..e23a4dae037
--- /dev/null
+++ b/www/firefox3/PLIST.Linux
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST.Linux,v 1.1.1.1 2008/06/28 10:01:07 tnn Exp $
+lib/${MOZILLA}/libjemalloc.${SO_SUFFIX}
diff --git a/www/firefox3/TODO b/www/firefox3/TODO
new file mode 100644
index 00000000000..a7f66b11398
--- /dev/null
+++ b/www/firefox3/TODO
@@ -0,0 +1,17 @@
+- Fix SDK installation
+- Fix pkg-config files
+
+Patch status relative to firefox-2.0
+------------------------------------
+Obsolete patches(?):
+da dt af ag ah ai aj ak al an ao aq aw by cd cq
+ch ci cj ck cl cm cn db dc dd dw ec
+
+Patches from firefox 2.x that someone with clue needs to look at:
+bz ca
+
+Patches that had to be updated to apply cleanly:
+aa ab ac ba bb ap ed de
+
+Patches that are "work in progress" and need to be reviewed/revisited:
+wc wd we wf
diff --git a/www/firefox3/buildlink3.mk b/www/firefox3/buildlink3.mk
new file mode 100644
index 00000000000..c784d13c03d
--- /dev/null
+++ b/www/firefox3/buildlink3.mk
@@ -0,0 +1,27 @@
+# $NetBSD: buildlink3.mk,v 1.1.1.1 2008/06/28 10:01:06 tnn Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+FIREFOX3_BUILDLINK3_MK:= ${FIREFOX3_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= firefox3
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nfirefox3}
+BUILDLINK_PACKAGES+= firefox3
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}firefox3
+
+.if !empty(FIREFOX3_BUILDLINK3_MK:M+)
+BUILDLINK_API_DEPENDS.firefox3+= firefox3>=3.0
+BUILDLINK_PKGSRCDIR.firefox3?= ../../www/firefox3
+# XXX wip
+GECKO_EXTRA_INC_DIRS= \
+ . caps chardet commandhandler content docshell dom downloads exthandler \
+ fastfind gfx gtkembedmoz intl js layout mimetype necko pipboot pipnss \
+ shistory uriloader webbrowserpersist webbrwsr widget windowwatcher xpcom \
+ xpconnect
+
+GECKO_EXTRA_INCLUDE= ${GECKO_EXTRA_INC_DIRS:C,^,-I${BUILDLINK_PREFIX.firefox3}/include/firefox3/,}
+.endif # FIREFOX3_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
diff --git a/www/firefox3/distinfo b/www/firefox3/distinfo
new file mode 100644
index 00000000000..17feb4ae03a
--- /dev/null
+++ b/www/firefox3/distinfo
@@ -0,0 +1,42 @@
+$NetBSD: distinfo,v 1.1.1.1 2008/06/28 10:01:06 tnn Exp $
+
+SHA1 (firefox-3.0-source.tar.bz2) = 2e21652b9cad2a6ac8f048f50e9e053c19760d4b
+RMD160 (firefox-3.0-source.tar.bz2) = 4b90769c898fff2ad3c217a539b9715b763bd3a6
+Size (firefox-3.0-source.tar.bz2) = 37010746 bytes
+SHA1 (patch-aa) = f995b5e53fa11ecb659ab2dd10551db1c71cc5f3
+SHA1 (patch-ab) = 924dc7356eb765a392253b06acd46b44049568c1
+SHA1 (patch-ac) = c814530c1a8574739b7557d007563232b6070c51
+SHA1 (patch-ad) = 20f2184a7e5e98b065e884c67e4c17fc52019a79
+SHA1 (patch-ae) = fea251aabc772c3d4ad3044c8295af45cc9cab2d
+SHA1 (patch-ap) = 552694ac2d6ca713aec98ec394f1215c048c2392
+SHA1 (patch-ax) = 1518e5bb0ee162d7c4135a6cfb8112da83a38855
+SHA1 (patch-ba) = 3bd713cf2edcc61f489cea8269ca60e27c26f1d9
+SHA1 (patch-bb) = c7286542a9fe97ac9819a00c345272efb7e90e9c
+SHA1 (patch-bm) = a0a69ca516e8a569d5e61293d5610b236192bf85
+SHA1 (patch-bo) = 6e06648e1ea9320349f3b2a524055b513ca74358
+SHA1 (patch-bq) = 2b29436d138fea4e1941d537be1a636969db9a77
+SHA1 (patch-br) = 943b38fef5e7070de7af8a055f05e576039ad8bb
+SHA1 (patch-bs) = 79cb84a5ed67780e124e7c595ee4ae6ffc7617a6
+SHA1 (patch-bu) = 0714f658001c363f4abbfb248ac77c4862e3ccf9
+SHA1 (patch-bv) = ef06a6a774c9d4da7b3fbf6f4e274ab042926e49
+SHA1 (patch-bx) = 7d524d6d46593ba54f12a75c57822518feee84d0
+SHA1 (patch-cb) = 0929baadba9271ee8960a01997c2ded445fe39a2
+SHA1 (patch-de) = 18e481c3e69fe95b1af87bc800d93f47388fb60a
+SHA1 (patch-df) = 17912d183f754ab6661d2be8092e6a07d142632b
+SHA1 (patch-dh) = 7592a6238acd5ef6e802d32103c897acb576825a
+SHA1 (patch-dj) = 70360dffb20dd1029866d2e81899d003c9e17473
+SHA1 (patch-dk) = 183fa0d6a9040f53d9988fcc8868bdf83229803b
+SHA1 (patch-dl) = cba07cba5717a75c89f007aba36295dccc1c25ab
+SHA1 (patch-dm) = eb86aee54fd213eb64a89e5bc2754971db9648f4
+SHA1 (patch-do) = bdb018e157dcb5ef706b69184d8b739cfd32d8c3
+SHA1 (patch-dr) = 377b1d83079ada4d819b6702c1010cdd900575fc
+SHA1 (patch-ds) = 1e2e371b9ff7ab9049a947d8e0a63483a1fd244e
+SHA1 (patch-du) = c6e66bb420ce9ea988f89b57d1c20a247704cfcf
+SHA1 (patch-dv) = a380d261d4c2771a672d2b0f4f1f23821e3e5266
+SHA1 (patch-ea) = 14e31d17c2493e468cd01f99abfc996853a11032
+SHA1 (patch-eb) = dc9232b10075d17f7ed742e7be8ea036db2f0241
+SHA1 (patch-ed) = 3c6281a75373843c5767fc1213d8cc67dc549e03
+SHA1 (patch-wc) = 2de8665ed6c23c26566ca6d50165c0cf413a753d
+SHA1 (patch-wd) = fc5c3103ae6f2a2eccc01911a8207f3ca614008b
+SHA1 (patch-we) = f7fecce05454e9794ff7a4e7789031a5ef49c42d
+SHA1 (patch-wf) = c5adc9d3a6b23132399c23ea130f26e7a30a259d
diff --git a/www/firefox3/files/firefox3-js.pc b/www/firefox3/files/firefox3-js.pc
new file mode 100644
index 00000000000..cafe7cdd9fd
--- /dev/null
+++ b/www/firefox3/files/firefox3-js.pc
@@ -0,0 +1,11 @@
+prefix=@PREFIX@
+exec_prefix=@PREFIX@
+libdir=@PREFIX@/lib/firefox
+includedir=@PREFIX@/include/firefox
+
+Name: JavaScript
+Description: The Mozilla JavaScript Library
+Version: 3.0
+Requires: firefox-nspr >= 4.6.8
+Libs: -Wl,-R${libdir} -L${libdir} -lmozjs
+Cflags: -I${includedir}/js -DXP_UNIX -DJS_THREADSAFE
diff --git a/www/firefox3/files/firefox3-libxul.pc b/www/firefox3/files/firefox3-libxul.pc
new file mode 100644
index 00000000000..7134ac39d5e
--- /dev/null
+++ b/www/firefox3/files/firefox3-libxul.pc
@@ -0,0 +1,11 @@
+prefix=@PREFIX@
+exec_prefix=@PREFIX@
+libdir=@PREFIX@/lib/firefox
+includedir=@PREFIX@/include/firefox
+
+Name: XUL
+Description: There is no data. Only XUL.
+Version: 3.0
+Requires: firefox-xpcom
+Libs: -Wl,-R${libdir} -L${libdir} -lxul
+Cflags: -I${includedir}
diff --git a/www/firefox3/files/firefox3-nspr.pc b/www/firefox3/files/firefox3-nspr.pc
new file mode 100644
index 00000000000..4d7caf4fecd
--- /dev/null
+++ b/www/firefox3/files/firefox3-nspr.pc
@@ -0,0 +1,10 @@
+prefix=@PREFIX@
+exec_prefix=@PREFIX@
+libdir=@PREFIX@/lib/firefox
+includedir=@PREFIX@/include/firefox
+
+Name: NSPR
+Description: The Netscape Portable Runtime
+Version: 4.6.8
+Libs: -Wl,-R${libdir} -L${libdir} -lplds4 -lplc4 -lnspr4 -pthread
+Cflags: -I${includedir}
diff --git a/www/firefox3/files/firefox3-nss.pc b/www/firefox3/files/firefox3-nss.pc
new file mode 100644
index 00000000000..9a6bd8af70c
--- /dev/null
+++ b/www/firefox3/files/firefox3-nss.pc
@@ -0,0 +1,11 @@
+prefix=@PREFIX@
+exec_prefix=@PREFIX@
+libdir=@PREFIX@/lib/firefox
+includedir=@PREFIX@/include/firefox
+
+Name: NSS
+Description: Mozilla Network Security Services
+Version: 3.0
+Requires: firefox-nspr >= 4.6.8
+Libs: -Wl,-R${libdir} -L${libdir} -lnss3 -lsmime3 -lssl3 -lsoftokn3
+Cflags: -I${includedir}
diff --git a/www/firefox3/files/firefox3-plugin.pc b/www/firefox3/files/firefox3-plugin.pc
new file mode 100644
index 00000000000..89a18e14885
--- /dev/null
+++ b/www/firefox3/files/firefox3-plugin.pc
@@ -0,0 +1,10 @@
+prefix=@PREFIX@
+exec_prefix=@PREFIX@
+libdir=@PREFIX@/lib/firefox
+includedir=@PREFIX@/include/firefox
+
+Name: Mozilla Plug-In API
+Description: Mozilla Plug-In API
+Version: 3.0
+Requires: firefox-nspr >= 4.6.8
+Cflags: -I${includedir}
diff --git a/www/firefox3/files/firefox3-xpcom.pc b/www/firefox3/files/firefox3-xpcom.pc
new file mode 100644
index 00000000000..b9b8558cab1
--- /dev/null
+++ b/www/firefox3/files/firefox3-xpcom.pc
@@ -0,0 +1,12 @@
+prefix=@PREFIX@
+exec_prefix=@PREFIX@
+libdir=@PREFIX@/lib/firefox
+includedir=@PREFIX@/include/firefox
+idldir=@PREFIX@/share/idl/firefox
+
+Name: XPCOM
+Description: The Mozilla Cross Platform Component Library
+Version: 3.0
+Requires: firefox-nspr >= 4.6.8
+Libs: -Wl,-R${libdir} -L${libdir} -lxpcom
+Cflags: -I${includedir}
diff --git a/www/firefox3/patches/patch-aa b/www/firefox3/patches/patch-aa
new file mode 100644
index 00000000000..e8042c63a49
--- /dev/null
+++ b/www/firefox3/patches/patch-aa
@@ -0,0 +1,23 @@
+$NetBSD: patch-aa,v 1.1.1.1 2008/06/28 10:01:07 tnn Exp $
+
+--- config/autoconf.mk.in.orig 2008-02-26 19:30:21.000000000 +0100
++++ config/autoconf.mk.in
+@@ -58,14 +58,14 @@ MOZ_PKG_SPECIAL = @MOZ_PKG_SPECIAL@
+ prefix = @prefix@
+ exec_prefix = @exec_prefix@
+ bindir = @bindir@
+-includedir = @includedir@/$(MOZ_APP_NAME)-$(MOZ_APP_VERSION)
++includedir = @includedir@/$(MOZILLA_PKG_NAME)
+ libdir = @libdir@
+ datadir = @datadir@
+ mandir = @mandir@
+-idldir = $(datadir)/idl/$(MOZ_APP_NAME)-$(MOZ_APP_VERSION)
++idldir = @datadir@/idl/$(MOZILLA_PKG_NAME)
+
+-installdir = $(libdir)/$(MOZ_APP_NAME)-$(MOZ_APP_VERSION)
+-sdkdir = $(libdir)/$(MOZ_APP_NAME)-devel-$(MOZ_APP_VERSION)
++installdir = $(libdir)/$(MOZILLA_PKG_NAME)
++sdkdir = $(libdir)/$(MOZILLA_PKG_NAME)-sdk
+
+ DIST = $(DEPTH)/dist
+ LIBXUL_SDK = @LIBXUL_SDK@
diff --git a/www/firefox3/patches/patch-ab b/www/firefox3/patches/patch-ab
new file mode 100644
index 00000000000..fd959b326c2
--- /dev/null
+++ b/www/firefox3/patches/patch-ab
@@ -0,0 +1,46 @@
+$NetBSD: patch-ab,v 1.1.1.1 2008/06/28 10:01:07 tnn Exp $
+
+--- configure.orig 2008-03-01 00:31:03.000000000 +0100
++++ configure
+@@ -6178,7 +6178,7 @@ rm -f conftest*
+ LDFLAGS=$_SAVE_LDFLAGS
+ ;;
+
+-*-freebsd*)
++*-freebsd* | *-dragonfly*)
+ if test `test -x /usr/bin/objformat && /usr/bin/objformat || echo aout` != "elf"; then
+ DLL_SUFFIX=".so.1.0"
+ DSO_LDOPTS="-shared"
+@@ -6192,6 +6192,9 @@ rm -f conftest*
+ # MKSHLIB_FORCE_ALL='-Wl,-Bforcearchive'
+ # MKSHLIB_UNFORCE_ALL=''
+ # fi
++ if test "$LIBRUNPATH"; then
++ DSO_LDOPTS="-Wl,-R$LIBRUNPATH $DSO_LDOPTS"
++ fi
+ ;;
+
+ *-hpux*)
+@@ -6766,6 +6769,13 @@ EOF
+ if test "$LIBRUNPATH"; then
+ DSO_LDOPTS="-R$LIBRUNPATH $DSO_LDOPTS"
+ fi
++
++ case "${target_cpu}" in
++ alpha*)
++ CFLAGS="$CFLAGS -mieee"
++ CXXFLAGS="$CXXFLAGS -mieee"
++ ;;
++ esac
+ ;;
+
+ *-openvms*)
+@@ -16253,7 +16263,7 @@ rm -f conftest*
+ fi
+
+ if test -z "$MOZ_OPTIMIZE_FLAGS"; then
+- MOZ_OPTIMIZE_FLAGS="-O"
++ MOZ_OPTIMIZE_FLAGS=""
+ fi
+
+ # Check whether --enable-optimize or --disable-optimize was given.
diff --git a/www/firefox3/patches/patch-ac b/www/firefox3/patches/patch-ac
new file mode 100644
index 00000000000..c0c4293e47e
--- /dev/null
+++ b/www/firefox3/patches/patch-ac
@@ -0,0 +1,68 @@
+$NetBSD: patch-ac,v 1.1.1.1 2008/06/28 10:01:07 tnn Exp $
+
+--- xpcom/reflect/xptcall/src/md/unix/Makefile.in.orig 2008-02-28 02:21:16.000000000 -0600
++++ xpcom/reflect/xptcall/src/md/unix/Makefile.in 2008-03-14 14:27:45.000000000 -0500
+@@ -64,14 +64,21 @@
+ #
+ # Lots of Unixish x86 flavors
+ #
+-ifneq (,$(filter FreeBSD NetBSD OpenBSD BSD_OS Darwin,$(OS_ARCH)))
++ifneq (,$(filter DragonFly FreeBSD NetBSD OpenBSD BSD_OS Darwin,$(OS_ARCH)))
++ifeq (x86_64,$(OS_TEST))
++CPPSRCS := xptcinvoke_x86_64_linux.cpp xptcstubs_x86_64_linux.cpp
++else
+ ifeq (86,$(findstring 86,$(OS_TEST)))
+ CPPSRCS := xptcinvoke_unixish_x86.cpp xptcstubs_unixish_x86.cpp
++endif
++ifeq (amd64,$(OS_TEST))
++CPPSRCS := xptcinvoke_x86_64_linux.cpp xptcstubs_x86_64_linux.cpp
++endif
++endif
+ ifeq (Darwin,$(OS_ARCH))
+ DEFINES += -DKEEP_STACK_16_BYTE_ALIGNED
+ endif
+ endif
+-endif
+ #
+ # New code for Linux, et. al., with gcc
+ # Migrate other platforms here after testing
+@@ -185,7 +192,7 @@
+ # NetBSD/ARM
+ #
+ ifeq ($(OS_ARCH),NetBSD)
+-ifneq (,$(filter arm% sa110,$(OS_TEST)))
++ifneq (,$(filter arm%,$(TARGET_CPU)))
+ CPPSRCS := xptcinvoke_arm_netbsd.cpp xptcstubs_arm_netbsd.cpp
+ endif
+ endif
+@@ -240,7 +247,7 @@
+ # NetBSD/m68k
+ #
+ ifeq ($(OS_ARCH),NetBSD)
+-ifneq (,$(filter amiga atari hp300 mac68k mvme68k next68k sun3 sun3x x68k,$(OS_TEST)))
++ifneq (,$(filter m68k,$(TARGET_CPU)))
+ CPPSRCS := xptcinvoke_netbsd_m68k.cpp xptcstubs_netbsd_m68k.cpp
+ endif
+ endif
+@@ -332,6 +339,7 @@
+ ifneq (,$(filter NetBSDmacppc NetBSDbebox NetBSDofppc NetBSDprep NetBSDamigappc,$(OS_ARCH)$(OS_TEST)))
+ CPPSRCS := xptcinvoke_ppc_netbsd.cpp xptcstubs_ppc_netbsd.cpp
+ ASFILES := xptcinvoke_asm_ppc_netbsd.s xptcstubs_asm_ppc_netbsd.s
++AS := $(CC) -c -x assembler-with-cpp
+ endif
+
+ #
+@@ -403,6 +411,13 @@
+ ASFILES := xptcinvoke_asm_sparc64_openbsd.s xptcstubs_asm_sparc64_openbsd.s
+ endif
+ #
++# NetBSD/SPARC64
++#
++ifeq ($(OS_ARCH)$(OS_TEST),NetBSDsparc64)
++CPPSRCS := xptcinvoke_sparc64_netbsd.cpp xptcstubs_sparc64_netbsd.cpp
++ASFILES := xptcinvoke_asm_sparc64_netbsd.s xptcstubs_asm_sparc64_netbsd.s
++endif
++#
+ # Solaris/SPARC
+ #
+ ifeq ($(OS_ARCH),SunOS)
diff --git a/www/firefox3/patches/patch-ad b/www/firefox3/patches/patch-ad
new file mode 100644
index 00000000000..e07c75590f5
--- /dev/null
+++ b/www/firefox3/patches/patch-ad
@@ -0,0 +1,76 @@
+$NetBSD: patch-ad,v 1.1.1.1 2008/06/28 10:01:07 tnn Exp $
+
+diff -ruN ../Orig/mozilla/xpcom/reflect/xptcall/src/md/unix/xptcinvoke_netbsd_m68k.cpp ./xpcom/reflect/xptcall/src/md/unix/xptcinvoke_netbsd_m68k.cpp
+--- ../Orig/mozilla/xpcom/reflect/xptcall/src/md/unix/xptcinvoke_netbsd_m68k.cpp 2004-04-18 23:18:18.000000000 +0900
++++ ./xpcom/reflect/xptcall/src/md/unix/xptcinvoke_netbsd_m68k.cpp 2005-12-04 19:03:09.000000000 +0900
+@@ -132,6 +132,15 @@
+ }
+ }
+
++/*
++ * SYMBOL PREFIX must be "_" for aout symbols and "" for ELF
++ */
++#ifndef __ELF__
++#define SYMBOLPREFIX "_"
++#else
++#define SYMBOLPREFIX
++#endif
++
+ XPTC_PUBLIC_API(nsresult)
+ XPTC_InvokeByIndex(nsISupports* that, PRUint32 methodIndex,
+ PRUint32 paramCount, nsXPTCVariant* params)
+@@ -139,30 +148,30 @@
+ PRUint32 result;
+
+ __asm__ __volatile__(
+- "movl %4, sp@-\n\t"
+- "movl %3, sp@-\n\t"
+- "jbsr _invoke_count_words\n\t" /* count words */
+- "addql #8, sp\n\t"
+- "lsll #2, d0\n\t" /* *= 4 */
+- "movl sp, a2\n\t" /* save original sp */
+- "subl d0, sp\n\t" /* make room for params */
+- "movl sp, a0\n\t"
+- "movl %4, sp@-\n\t"
+- "movl %3, sp@-\n\t"
+- "movl a0, sp@-\n\t"
+- "jbsr _invoke_copy_to_stack\n\t" /* copy params */
+- "addl #12, sp\n\t"
+- "movl %1, a0\n\t"
+- "movl a0@, a1\n\t"
+- "movl %2, d0\n\t" /* function index */
+- "movl a0, d1\n\t"
+- "movw a1@(8,d0:l:8), a0\n\t"
+- "addl a0, d1\n\t"
+- "movl a1@(12,d0:l:8), a1\n\t"
+- "movl d1, sp@-\n\t"
+- "jbsr a1@\n\t"
+- "movl a2, sp\n\t" /* restore original sp */
+- "movl d0, %0\n\t"
++ "movl %4, %%sp@-\n\t"
++ "movl %3, %%sp@-\n\t"
++ "jbsr "SYMBOLPREFIX"invoke_count_words\n\t" /* count words */
++ "addql #8, %%sp\n\t"
++ "lsll #2, %%d0\n\t" /* *= 4 */
++ "movl %%sp, %%a2\n\t" /* save original sp */
++ "subl %%d0, %%sp\n\t" /* make room for params */
++ "movl %%sp, %%a0\n\t"
++ "movl %4, %%sp@-\n\t"
++ "movl %3, %%sp@-\n\t"
++ "movl %%a0, %%sp@-\n\t"
++ "jbsr "SYMBOLPREFIX"invoke_copy_to_stack\n\t" /* copy params */
++ "addl #12, %%sp\n\t"
++ "movl %1, %%a0\n\t"
++ "movl %%a0@, %%a1\n\t"
++ "movl %2, %%d0\n\t" /* function index */
++ "movl %%a0, %%d1\n\t"
++ "movw %%a1@(8,%%d0:l:8), %%a0\n\t"
++ "addl %%a0, %%d1\n\t"
++ "movl %%a1@(12,%%d0:l:8), %%a1\n\t"
++ "movl %%d1, %%sp@-\n\t"
++ "jbsr %%a1@\n\t"
++ "movl %%a2, %%sp\n\t" /* restore original sp */
++ "movl %%d0, %0\n\t"
+ : "=g" (result) /* %0 */
+ : "g" (that), /* %1 */
+ "g" (methodIndex), /* %2 */
diff --git a/www/firefox3/patches/patch-ae b/www/firefox3/patches/patch-ae
new file mode 100644
index 00000000000..19713b40726
--- /dev/null
+++ b/www/firefox3/patches/patch-ae
@@ -0,0 +1,42 @@
+$NetBSD: patch-ae,v 1.1.1.1 2008/06/28 10:01:07 tnn Exp $
+
+diff -ruN ../Orig/mozilla/xpcom/reflect/xptcall/src/md/unix/xptcstubs_netbsd_m68k.cpp ./xpcom/reflect/xptcall/src/md/unix/xptcstubs_netbsd_m68k.cpp
+--- ../Orig/mozilla/xpcom/reflect/xptcall/src/md/unix/xptcstubs_netbsd_m68k.cpp 2004-04-18 23:18:18.000000000 +0900
++++ ./xpcom/reflect/xptcall/src/md/unix/xptcstubs_netbsd_m68k.cpp 2005-12-04 19:03:11.000000000 +0900
+@@ -123,17 +123,27 @@
+ }
+ }
+
++/*
++ * Beware: use % instead of %% for register identifiers in a preprocessor macro
++ * SYMBOL PREFIX must be "_" for aout and "" for ELF
++ */
++#ifndef __ELF__
++#define SYMBOLPREFIX "_"
++#else
++#define SYMBOLPREFIX
++#endif
++
+ #define STUB_ENTRY(n) \
+ __asm__( \
+- ".global _Stub"#n"__14nsXPTCStubBase\n\t" \
+-"_Stub"#n"__14nsXPTCStubBase:\n\t" \
+- "link a6,#0 \n\t" \
+- "lea a6@(12), a0 \n\t" /* pointer to args */ \
+- "movl a0, sp@- \n\t" \
+- "movl #"#n", sp@- \n\t" /* method index */ \
+- "movl a6@(8), sp@- \n\t" /* this */ \
+- "jbsr _PrepareAndDispatch \n\t" \
+- "unlk a6 \n\t" \
++ ".global "SYMBOLPREFIX"Stub"#n"__14nsXPTCStubBase\n\t" \
++SYMBOLPREFIX"Stub"#n"__14nsXPTCStubBase:\n\t" \
++ "link %a6,#0 \n\t" \
++ "lea %a6@(12), %a0 \n\t" /* pointer to args */ \
++ "movl %a0, %sp@- \n\t" \
++ "movl #"#n", %sp@- \n\t" /* method index */ \
++ "movl %a6@(8), %sp@- \n\t" /* this */ \
++ "jbsr "SYMBOLPREFIX"PrepareAndDispatch\n\t" \
++ "unlk %a6 \n\t" \
+ "rts \n\t" \
+ );
+
diff --git a/www/firefox3/patches/patch-ap b/www/firefox3/patches/patch-ap
new file mode 100644
index 00000000000..cfa5d4f9acd
--- /dev/null
+++ b/www/firefox3/patches/patch-ap
@@ -0,0 +1,13 @@
+$NetBSD: patch-ap,v 1.1.1.1 2008/06/28 10:01:07 tnn Exp $
+
+--- security/coreconf/command.mk.orig 2007-10-23 23:55:00.000000000 +0200
++++ security/coreconf/command.mk
+@@ -45,7 +45,7 @@ ASFLAGS += $(CFLAGS)
+ CCF = $(CC) $(CFLAGS)
+ LINK_DLL = $(LINK) $(OS_DLLFLAGS) $(DLLFLAGS)
+ LINK_EXE = $(LINK) $(OS_LFLAGS) $(LFLAGS)
+-CFLAGS = $(OPTIMIZER) $(OS_CFLAGS) $(XP_DEFINE) $(DEFINES) $(INCLUDES) \
++CFLAGS = $(OS_CFLAGS) $(XP_DEFINE) $(DEFINES) $(INCLUDES) \
+ $(XCFLAGS)
+ PERL = perl
+ RANLIB = echo
diff --git a/www/firefox3/patches/patch-ax b/www/firefox3/patches/patch-ax
new file mode 100644
index 00000000000..c853012f065
--- /dev/null
+++ b/www/firefox3/patches/patch-ax
@@ -0,0 +1,15 @@
+$NetBSD: patch-ax,v 1.1.1.1 2008/06/28 10:01:07 tnn Exp $
+
+--- security/coreconf/SunOS5.mk.orig 2006-03-29 22:26:44.000000000 +0200
++++ security/coreconf/SunOS5.mk
+@@ -176,6 +176,10 @@ endif
+ endif
+ DSO_LDOPTS += -z combreloc -z defs -z ignore
+
++ifdef LIBRUNPATH
++DSO_LDOPTS += -R$(LIBRUNPATH)
++endif
++
+ # -KPIC generates position independent code for use in shared libraries.
+ # (Similarly for -fPIC in case of gcc.)
+ ifdef NS_USE_GCC
diff --git a/www/firefox3/patches/patch-ba b/www/firefox3/patches/patch-ba
new file mode 100644
index 00000000000..c706f8a9c54
--- /dev/null
+++ b/www/firefox3/patches/patch-ba
@@ -0,0 +1,125 @@
+$NetBSD: patch-ba,v 1.1.1.1 2008/06/28 10:01:07 tnn Exp $
+
+--- nsprpub/pr/include/md/_netbsd.cfg.orig 2007-11-26 19:17:17.000000000 +0100
++++ nsprpub/pr/include/md/_netbsd.cfg
+@@ -52,7 +52,8 @@
+ #define HAVE_LONG_LONG
+ #endif
+
+-#if defined(__i386__) || defined(__arm32__) || defined(__MIPSEL__)
++#if defined(__i386__) || defined(__arm32__) || defined(__MIPSEL__) || \
++ defined(__ARMEL__)
+
+ #define IS_LITTLE_ENDIAN 1
+ #undef IS_BIG_ENDIAN
+@@ -97,7 +98,53 @@
+ #define PR_ALIGN_OF_DOUBLE 4
+ #define PR_ALIGN_OF_POINTER 4
+
+-#elif defined(__sparc__) || defined(__MIPSEB__)
++#elif defined(__sparc_v9__)
++
++#undef IS_LITTLE_ENDIAN
++#define IS_BIG_ENDIAN 1
++#define HAVE_LONG_LONG
++#define HAVE_ALIGNED_DOUBLES
++#define HAVE_ALIGNED_LONGLONGS
++
++#define PR_BYTES_PER_BYTE 1
++#define PR_BYTES_PER_SHORT 2
++#define PR_BYTES_PER_INT 4
++#define PR_BYTES_PER_INT64 8
++#define PR_BYTES_PER_LONG 8
++#define PR_BYTES_PER_FLOAT 4
++#define PR_BYTES_PER_DOUBLE 8
++#define PR_BYTES_PER_WORD 8
++#define PR_BYTES_PER_DWORD 8
++#define PR_BYTES_PER_WORD_LOG2 3
++#define PR_BYTES_PER_DWORD_LOG2 3
++
++#define PR_BITS_PER_BYTE 8
++#define PR_BITS_PER_SHORT 16
++#define PR_BITS_PER_INT 32
++#define PR_BITS_PER_INT64 64
++#define PR_BITS_PER_LONG 64
++#define PR_BITS_PER_FLOAT 32
++#define PR_BITS_PER_DOUBLE 64
++#define PR_BITS_PER_WORD 64
++
++#define PR_BITS_PER_BYTE_LOG2 3
++#define PR_BITS_PER_SHORT_LOG2 4
++#define PR_BITS_PER_INT_LOG2 5
++#define PR_BITS_PER_INT64_LOG2 6
++#define PR_BITS_PER_LONG_LOG2 6
++#define PR_BITS_PER_FLOAT_LOG2 5
++#define PR_BITS_PER_DOUBLE_LOG2 6
++#define PR_BITS_PER_WORD_LOG2 6
++
++#define PR_ALIGN_OF_SHORT 2
++#define PR_ALIGN_OF_INT 4
++#define PR_ALIGN_OF_LONG 8
++#define PR_ALIGN_OF_INT64 8
++#define PR_ALIGN_OF_FLOAT 4
++#define PR_ALIGN_OF_DOUBLE 8
++#define PR_ALIGN_OF_POINTER 8
++
++#elif defined(__sparc__) || defined(__MIPSEB__) || defined(__ARMEB__)
+
+ #undef IS_LITTLE_ENDIAN
+ #define IS_BIG_ENDIAN 1
+@@ -188,6 +235,55 @@
+ #define PR_BYTES_PER_WORD_LOG2 3
+ #define PR_BYTES_PER_DWORD_LOG2 3
+
++#elif defined(__amd64__)
++#define IS_LITTLE_ENDIAN 1
++#undef IS_BIG_ENDIAN
++#define IS_64
++
++#define PR_BYTES_PER_BYTE 1
++#define PR_BYTES_PER_SHORT 2
++#define PR_BYTES_PER_INT 4
++#define PR_BYTES_PER_INT64 8
++#define PR_BYTES_PER_LONG 8
++#define PR_BYTES_PER_FLOAT 4
++#define PR_BYTES_PER_DOUBLE 8
++#define PR_BYTES_PER_WORD 8
++#define PR_BYTES_PER_DWORD 8
++
++#define PR_BITS_PER_BYTE 8
++#define PR_BITS_PER_SHORT 16
++#define PR_BITS_PER_INT 32
++#define PR_BITS_PER_INT64 64
++#define PR_BITS_PER_LONG 64
++#define PR_BITS_PER_FLOAT 32
++#define PR_BITS_PER_DOUBLE 64
++#define PR_BITS_PER_WORD 64
++
++#define PR_BITS_PER_BYTE_LOG2 3
++#define PR_BITS_PER_SHORT_LOG2 4
++#define PR_BITS_PER_INT_LOG2 5
++#define PR_BITS_PER_INT64_LOG2 6
++#define PR_BITS_PER_LONG_LOG2 6
++#define PR_BITS_PER_FLOAT_LOG2 5
++#define PR_BITS_PER_DOUBLE_LOG2 6
++#define PR_BITS_PER_WORD_LOG2 6
++
++#define PR_ALIGN_OF_SHORT 2
++#define PR_ALIGN_OF_INT 4
++#define PR_ALIGN_OF_LONG 8
++#define PR_ALIGN_OF_INT64 8
++#define PR_ALIGN_OF_FLOAT 4
++#define PR_ALIGN_OF_DOUBLE 8
++#define PR_ALIGN_OF_POINTER 8
++#define PR_ALIGN_OF_WORD 8
++
++#define PR_BYTES_PER_WORD_LOG2 3
++#define PR_BYTES_PER_DWORD_LOG2 3
++
++#define HAVE_LONG_LONG
++#define HAVE_ALIGNED_DOUBLES
++#define HAVE_ALIGNED_LONGLONGS
++
+ #elif defined(__powerpc__) || defined(__m68k__)
+
+ #undef IS_LITTLE_ENDIAN
diff --git a/www/firefox3/patches/patch-bb b/www/firefox3/patches/patch-bb
new file mode 100644
index 00000000000..e89f1da51d2
--- /dev/null
+++ b/www/firefox3/patches/patch-bb
@@ -0,0 +1,35 @@
+$NetBSD: patch-bb,v 1.1.1.1 2008/06/28 10:01:07 tnn Exp $
+
+--- nsprpub/pr/include/md/_netbsd.h.orig 2006-03-31 10:35:02.000000000 +0200
++++ nsprpub/pr/include/md/_netbsd.h
+@@ -47,6 +47,8 @@
+ #define _PR_SI_ARCHITECTURE "x86"
+ #elif defined(__alpha__)
+ #define _PR_SI_ARCHITECTURE "alpha"
++#elif defined(__amd64__)
++#define _PR_SI_ARCHITECTURE "amd64"
+ #elif defined(__m68k__)
+ #define _PR_SI_ARCHITECTURE "m68k"
+ #elif defined(__powerpc__)
+@@ -98,6 +100,12 @@
+ #define _PR_HAVE_GETPROTO_R_INT
+ #endif
+
++#if __NetBSD_Version__ >= 106370000
++/* NetBSD 1.6ZK */
++#define _PR_HAVE_GETPROTO_R
++#define _PR_HAVE_GETPROTO_R_INT
++#endif
++
+ #define USE_SETJMP
+
+ #ifndef _PR_PTHREADS
+@@ -111,6 +119,8 @@
+ #define JB_SP_INDEX 2
+ #elif defined(__mips__)
+ #define JB_SP_INDEX 4
++#elif defined(__amd64__)
++#define JB_SP_INDEX 6
+ #elif defined(__alpha__)
+ #define JB_SP_INDEX 34
+ #elif defined(__arm32__)
diff --git a/www/firefox3/patches/patch-bm b/www/firefox3/patches/patch-bm
new file mode 100644
index 00000000000..aa82de66222
--- /dev/null
+++ b/www/firefox3/patches/patch-bm
@@ -0,0 +1,32 @@
+$NetBSD: patch-bm,v 1.1.1.1 2008/06/28 10:01:07 tnn Exp $
+
+diff -ruN ../Orig/mozilla/xpcom/reflect/xptcall/src/md/unix/xptcstubs_arm_netbsd.cpp ./xpcom/reflect/xptcall/src/md/unix/xptcstubs_arm_netbsd.cpp
+--- ../Orig/mozilla/xpcom/reflect/xptcall/src/md/unix/xptcstubs_arm_netbsd.cpp 2004-04-18 23:18:18.000000000 +0900
++++ ./xpcom/reflect/xptcall/src/md/unix/xptcstubs_arm_netbsd.cpp 2005-12-04 19:17:13.000000000 +0900
+@@ -118,18 +118,23 @@
+ * so they are contiguous with values passed on the stack, and then calls
+ * PrepareAndDispatch() to do the dirty work.
+ */
++#ifndef __ELF__
++#define SYMBOLPREFIX "_"
++#else
++#define SYMBOLPREFIX
++#endif
+
+ #define STUB_ENTRY(n) \
+ __asm__( \
+- ".global _Stub"#n"__14nsXPTCStubBase\n\t" \
+-"_Stub"#n"__14nsXPTCStubBase:\n\t" \
++ ".global "SYMBOLPREFIX"Stub"#n"__14nsXPTCStubBase\n\t" \
++SYMBOLPREFIX"Stub"#n"__14nsXPTCStubBase:\n\t" \
+ "stmfd sp!, {r1, r2, r3} \n\t" \
+ "mov ip, sp \n\t" \
+ "stmfd sp!, {fp, ip, lr, pc} \n\t" \
+ "sub fp, ip, #4 \n\t" \
+ "mov r1, #"#n" \n\t" /* = methodIndex */ \
+ "add r2, sp, #16 \n\t" \
+- "bl _PrepareAndDispatch__FP14nsXPTCStubBaseUiPUi \n\t" \
++ "bl "SYMBOLPREFIX"PrepareAndDispatch__FP14nsXPTCStubBaseUiPUi \n\t" \
+ "ldmea fp, {fp, sp, lr} \n\t" \
+ "add sp, sp, #12 \n\t" \
+ "mov pc, lr \n\t" \
diff --git a/www/firefox3/patches/patch-bo b/www/firefox3/patches/patch-bo
new file mode 100644
index 00000000000..8cb1e54f1a9
--- /dev/null
+++ b/www/firefox3/patches/patch-bo
@@ -0,0 +1,84 @@
+$NetBSD: patch-bo,v 1.1.1.1 2008/06/28 10:01:07 tnn Exp $
+
+diff -ruN ../Orig/mozilla/nsprpub/configure.in ./nsprpub/configure.in
+--- ../Orig/mozilla/nsprpub/configure.in 2005-09-16 07:37:52.000000000 +0900
++++ ./nsprpub/configure.in 2005-12-04 19:17:56.000000000 +0900
+@@ -57,7 +57,7 @@
+ USE_IPV6=
+ USE_MDUPDATE=
+ _MACOSX_DEPLOYMENT_TARGET=
+-_OPTIMIZE_FLAGS=-O
++_OPTIMIZE_FLAGS=
+ _DEBUG_FLAGS=-g
+ MOZ_DEBUG=1
+ MOZ_OPTIMIZE=
+@@ -1045,6 +1045,34 @@
+ DSO_LDOPTS='-shared -Wl,-soname -Wl,$(notdir $@)'
+ MDCPUCFG_H=_freebsd.cfg
+ PR_MD_CSRCS=freebsd.c
++ if test "$LIBRUNPATH"; then
++ DSO_LDOPTS="$DSO_LDOPTS -Wl,-R$LIBRUNPATH"
++ fi
++ ;;
++
++*-dragonfly*)
++ if test -z "$USE_NSPR_THREADS"; then
++ USE_PTHREADS=1
++ fi
++ AC_DEFINE(XP_UNIX)
++ AC_DEFINE(FREEBSD)
++ AC_DEFINE(HAVE_BSD_FLOCK)
++ AC_DEFINE(HAVE_SOCKLEN_T)
++ CFLAGS="$CFLAGS $(DSO_CFLAGS) -ansi -Wall"
++ MOZ_OBJFORMAT=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
++ if test "$MOZ_OBJFORMAT" = "elf"; then
++ DLL_SUFFIX=so
++ else
++ DLL_SUFFIX=so.1.0
++ fi
++ MKSHLIB='$(CC) $(DSO_LDOPTS) -o $@'
++ DSO_CFLAGS=-fPIC
++ DSO_LDOPTS='-shared -Wl,-soname -Wl,$(notdir $@)'
++ MDCPUCFG_H=_freebsd.cfg
++ PR_MD_CSRCS=freebsd.c
++ if test "$LIBRUNPATH"; then
++ DSO_LDOPTS="$DSO_LDOPTS -Wl,-R$LIBRUNPATH"
++ fi
+ ;;
+
+ *-hpux*)
+@@ -1544,6 +1572,7 @@
+ AC_DEFINE(XP_UNIX)
+ AC_DEFINE(NETBSD)
+ AC_DEFINE(HAVE_BSD_FLOCK)
++ AC_DEFINE(HAVE_SOCKLEN_T)
+ USE_NSPR_THREADS=1
+ MDCPUCFG_H=_netbsd.cfg
+ PR_MD_CSRCS=netbsd.c
+@@ -2307,7 +2336,7 @@
+ if test -z "`egrep -i '(unrecognize|unknown)' conftest.out | grep pthread`" && test -z "`egrep -i '(error|incorrect)' conftest.out`" ; then
+ ac_cv_have_dash_pthread=yes
+ case "$target_os" in
+- freebsd*)
++ freebsd* | dragonfly*)
+ # Freebsd doesn't use -pthread for compiles, it uses them for linking
+ ;;
+ *)
+@@ -2345,7 +2374,7 @@
+ _PTHREAD_LDFLAGS=
+ fi
+ ;;
+- *-freebsd*)
++ *-freebsd* | *-dragonfly*)
+ AC_DEFINE(_REENTRANT)
+ AC_DEFINE(_THREAD_SAFE)
+ dnl -pthread links in -lc_r, so don't specify it explicitly.
+@@ -2426,7 +2455,7 @@
+ AC_DEFINE(_PR_NEED_PTHREAD_INIT)
+ fi
+ ;;
+-*-freebsd*)
++*-freebsd* | *-dragonfly*)
+ if test -n "$USE_NSPR_THREADS"; then
+ AC_DEFINE(_PR_LOCAL_THREADS_ONLY)
+ fi
diff --git a/www/firefox3/patches/patch-bq b/www/firefox3/patches/patch-bq
new file mode 100644
index 00000000000..741bbcba101
--- /dev/null
+++ b/www/firefox3/patches/patch-bq
@@ -0,0 +1,14 @@
+$NetBSD: patch-bq,v 1.1.1.1 2008/06/28 10:01:07 tnn Exp $
+
+diff -ruN ../Orig/mozilla/xpcom/io/nsLocalFileUnix.h ./xpcom/io/nsLocalFileUnix.h
+--- ../Orig/mozilla/xpcom/io/nsLocalFileUnix.h 2004-04-18 23:18:14.000000000 +0900
++++ ./xpcom/io/nsLocalFileUnix.h 2005-12-04 19:18:04.000000000 +0900
+@@ -73,7 +73,7 @@
+ #endif
+
+ // so we can statfs on freebsd
+-#if defined(__FreeBSD__)
++#if defined(__FreeBSD__) || ((defined(__DragonFly__) || defined(__NetBSD__)) && !defined(HAVE_STATVFS))
+ #define HAVE_SYS_STATFS_H
+ #define STATFS statfs
+ #include <sys/param.h>
diff --git a/www/firefox3/patches/patch-br b/www/firefox3/patches/patch-br
new file mode 100644
index 00000000000..6557e0c480e
--- /dev/null
+++ b/www/firefox3/patches/patch-br
@@ -0,0 +1,23 @@
+$NetBSD: patch-br,v 1.1.1.1 2008/06/28 10:01:07 tnn Exp $
+
+diff -ruN ../Orig/mozilla/nsprpub/pr/src/misc/prnetdb.c ./nsprpub/pr/src/misc/prnetdb.c
+--- ../Orig/mozilla/nsprpub/pr/src/misc/prnetdb.c 2005-08-19 02:24:38.000000000 +0900
++++ ./nsprpub/pr/src/misc/prnetdb.c 2005-12-04 19:18:10.000000000 +0900
+@@ -2110,7 +2110,17 @@
+ */
+ hints.ai_socktype = SOCK_STREAM;
+
++/* NetBSD >= 2.99.9 has a thread-safe resolver */
++#if defined(__NetBSD_Version__) && __NetBSD_Version__ < 299000900
++ LOCK_DNS();
++#endif
++
+ rv = GETADDRINFO(hostname, NULL, &hints, &res);
++
++#if defined(__NetBSD_Version__) && __NetBSD_Version__ < 299000900
++ UNLOCK_DNS();
++#endif
++
+ if (rv == 0)
+ return (PRAddrInfo *) res;
+
diff --git a/www/firefox3/patches/patch-bs b/www/firefox3/patches/patch-bs
new file mode 100644
index 00000000000..ef057d5d56a
--- /dev/null
+++ b/www/firefox3/patches/patch-bs
@@ -0,0 +1,33 @@
+$NetBSD: patch-bs,v 1.1.1.1 2008/06/28 10:01:07 tnn Exp $
+
+diff -ruN ../Orig/mozilla/config/mkdepend/imakemdep.h ./config/mkdepend/imakemdep.h
+--- ../Orig/mozilla/config/mkdepend/imakemdep.h 2004-04-21 06:38:14.000000000 +0900
++++ ./config/mkdepend/imakemdep.h 2005-12-04 19:21:01.000000000 +0900
+@@ -235,7 +235,7 @@
+ #ifdef _CRAY
+ #define DEFAULT_CPP "/lib/pcpp"
+ #endif
+-#if defined(__386BSD__) || defined(__NetBSD__) || defined(__FreeBSD__) || defined(__OpenBSD__)
++#if defined(__386BSD__) || defined(__NetBSD__) || defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__DragonFly__)
+ #define DEFAULT_CPP "/usr/libexec/cpp"
+ #endif
+ #ifdef MACH
+@@ -273,7 +273,7 @@
+ #ifdef unix
+ "-Uunix", /* remove unix symbol so that filename unix.c okay */
+ #endif
+-#if defined(__386BSD__) || defined(__NetBSD__) || defined(__FreeBSD__) || defined(__OpenBSD__) || defined(MACH)
++#if defined(__386BSD__) || defined(__NetBSD__) || defined(__FreeBSD__) || defined(__OpenBSD__) || defined(MACH) || defined(__DragonFly__)
+ # ifdef __i386__
+ "-D__i386__",
+ # endif
+@@ -713,6 +713,9 @@
+ #ifdef __sgi
+ {"__sgi", "1"},
+ #endif
++#ifdef __DragonFly__
++ {"__DragonFly__", "1"},
++#endif
+ #ifdef __FreeBSD__
+ {"__FreeBSD__", "1"},
+ #endif
diff --git a/www/firefox3/patches/patch-bu b/www/firefox3/patches/patch-bu
new file mode 100644
index 00000000000..36a7dda584e
--- /dev/null
+++ b/www/firefox3/patches/patch-bu
@@ -0,0 +1,180 @@
+$NetBSD: patch-bu,v 1.1.1.1 2008/06/28 10:01:07 tnn Exp $
+
+diff -ruN ../Orig/mozilla/xpcom/reflect/xptcall/src/md/unix/xptcinvoke_unixish_amd64.cpp ./xpcom/reflect/xptcall/src/md/unix/xptcinvoke_unixish_amd64.cpp
+--- ../Orig/mozilla/xpcom/reflect/xptcall/src/md/unix/xptcinvoke_unixish_amd64.cpp 1970-01-01 09:00:00.000000000 +0900
++++ ./xpcom/reflect/xptcall/src/md/unix/xptcinvoke_unixish_amd64.cpp 2005-12-07 00:07:35.000000000 +0900
+@@ -0,0 +1,174 @@
++/* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
++// Platform specific code to invoke XPCOM methods on native objects
++
++#include "xptcprivate.h"
++
++// 6 integral parameters are passed in registers
++const PRUint32 GPR_COUNT = 6;
++
++// 8 floating point parameters are passed in SSE registers
++const PRUint32 FPR_COUNT = 8;
++
++// Remember that these 'words' are 64-bit long
++static inline void
++invoke_count_words(PRUint32 paramCount, nsXPTCVariant * s,
++ PRUint32 & nr_gpr, PRUint32 & nr_fpr, PRUint32 & nr_stack)
++{
++ nr_gpr = 1; // skip one GP register for 'that'
++ nr_fpr = 0;
++ nr_stack = 0;
++
++ /* Compute number of eightbytes of class MEMORY. */
++ for (uint32 i = 0; i < paramCount; i++, s++) {
++ if (!s->IsPtrData()
++ && (s->type == nsXPTType::T_FLOAT || s->type == nsXPTType::T_DOUBLE)) {
++ if (nr_fpr < FPR_COUNT)
++ nr_fpr++;
++ else
++ nr_stack++;
++ }
++ else {
++ if (nr_gpr < GPR_COUNT)
++ nr_gpr++;
++ else
++ nr_stack++;
++ }
++ }
++}
++
++static void
++invoke_copy_to_stack(PRUint64 * d, PRUint32 paramCount, nsXPTCVariant * s,
++ PRUint64 * gpregs, double * fpregs)
++{
++ PRUint32 nr_gpr = 1; // skip one GP register for 'that'
++ PRUint32 nr_fpr = 0;
++ PRUint64 value;
++
++ for (uint32 i = 0; i < paramCount; i++, s++) {
++ if (s->IsPtrData())
++ value = (PRUint64) s->ptr;
++ else {
++ switch (s->type) {
++ case nsXPTType::T_FLOAT: break;
++ case nsXPTType::T_DOUBLE: break;
++ case nsXPTType::T_I8: value = s->val.i8; break;
++ case nsXPTType::T_I16: value = s->val.i16; break;
++ case nsXPTType::T_I32: value = s->val.i32; break;
++ case nsXPTType::T_I64: value = s->val.i64; break;
++ case nsXPTType::T_U8: value = s->val.u8; break;
++ case nsXPTType::T_U16: value = s->val.u16; break;
++ case nsXPTType::T_U32: value = s->val.u32; break;
++ case nsXPTType::T_U64: value = s->val.u64; break;
++ case nsXPTType::T_BOOL: value = s->val.b; break;
++ case nsXPTType::T_CHAR: value = s->val.c; break;
++ case nsXPTType::T_WCHAR: value = s->val.wc; break;
++ default: value = (PRUint64) s->val.p; break;
++ }
++ }
++
++ if (!s->IsPtrData() && s->type == nsXPTType::T_DOUBLE) {
++ if (nr_fpr < FPR_COUNT)
++ fpregs[nr_fpr++] = s->val.d;
++ else {
++ *((double *)d) = s->val.d;
++ d++;
++ }
++ }
++ else if (!s->IsPtrData() && s->type == nsXPTType::T_FLOAT) {
++ if (nr_fpr < FPR_COUNT)
++ // The value in %xmm register is already prepared to
++ // be retrieved as a float. Therefore, we pass the
++ // value verbatim, as a double without conversion.
++ fpregs[nr_fpr++] = s->val.d;
++ else {
++ *((float *)d) = s->val.f;
++ d++;
++ }
++ }
++ else {
++ if (nr_gpr < GPR_COUNT)
++ gpregs[nr_gpr++] = value;
++ else
++ *d++ = value;
++ }
++ }
++}
++
++extern "C"
++XPTC_PUBLIC_API(nsresult)
++XPTC_InvokeByIndex(nsISupports * that, PRUint32 methodIndex,
++ PRUint32 paramCount, nsXPTCVariant * params)
++{
++ PRUint32 nr_gpr, nr_fpr, nr_stack;
++ invoke_count_words(paramCount, params, nr_gpr, nr_fpr, nr_stack);
++
++ // Stack, if used, must be 16-bytes aligned
++ if (nr_stack)
++ nr_stack = (nr_stack + 1) & ~1;
++
++ // Load parameters to stack, if necessary
++ PRUint64 *stack = (PRUint64 *) __builtin_alloca(nr_stack * 8);
++ PRUint64 gpregs[GPR_COUNT];
++ double fpregs[FPR_COUNT];
++ invoke_copy_to_stack(stack, paramCount, params, gpregs, fpregs);
++
++ // Load FPR registers from fpregs[]
++ register double d0 asm("xmm0");
++ register double d1 asm("xmm1");
++ register double d2 asm("xmm2");
++ register double d3 asm("xmm3");
++ register double d4 asm("xmm4");
++ register double d5 asm("xmm5");
++ register double d6 asm("xmm6");
++ register double d7 asm("xmm7");
++
++ switch (nr_fpr) {
++#define ARG_FPR(N) \
++ case N+1: d##N = fpregs[N];
++ ARG_FPR(7);
++ ARG_FPR(6);
++ ARG_FPR(5);
++ ARG_FPR(4);
++ ARG_FPR(3);
++ ARG_FPR(2);
++ ARG_FPR(1);
++ ARG_FPR(0);
++ case 0:;
++#undef ARG_FPR
++ }
++
++ // Load GPR registers from gpregs[]
++ register PRUint64 a0 asm("rdi");
++ register PRUint64 a1 asm("rsi");
++ register PRUint64 a2 asm("rdx");
++ register PRUint64 a3 asm("rcx");
++ register PRUint64 a4 asm("r8");
++ register PRUint64 a5 asm("r9");
++
++ switch (nr_gpr) {
++#define ARG_GPR(N) \
++ case N+1: a##N = gpregs[N];
++ ARG_GPR(5);
++ ARG_GPR(4);
++ ARG_GPR(3);
++ ARG_GPR(2);
++ ARG_GPR(1);
++ case 1: a0 = (PRUint64) that;
++ case 0:;
++#undef ARG_GPR
++ }
++
++ // Ensure that assignments to SSE registers won't be optimized away
++ asm("" ::
++ "x" (d0), "x" (d1), "x" (d2), "x" (d3),
++ "x" (d4), "x" (d5), "x" (d6), "x" (d7));
++
++ // Get pointer to method
++ PRUint64 methodAddress = *((PRUint64 *)that);
++ methodAddress += 8 * methodIndex;
++ methodAddress = *((PRUint64 *)methodAddress);
++
++ typedef PRUint32 (*Method)(PRUint64, PRUint64, PRUint64, PRUint64, PRUint64, PRUint64);
++ PRUint32 result = ((Method)methodAddress)(a0, a1, a2, a3, a4, a5);
++ return result;
++}
diff --git a/www/firefox3/patches/patch-bv b/www/firefox3/patches/patch-bv
new file mode 100644
index 00000000000..d0dde8da953
--- /dev/null
+++ b/www/firefox3/patches/patch-bv
@@ -0,0 +1,212 @@
+$NetBSD: patch-bv,v 1.1.1.1 2008/06/28 10:01:07 tnn Exp $
+
+diff -ruN ../Orig/mozilla/xpcom/reflect/xptcall/src/md/unix/xptcstubs_unixish_amd64.cpp ./xpcom/reflect/xptcall/src/md/unix/xptcstubs_unixish_amd64.cpp
+--- ../Orig/mozilla/xpcom/reflect/xptcall/src/md/unix/xptcstubs_unixish_amd64.cpp 1970-01-01 09:00:00.000000000 +0900
++++ ./xpcom/reflect/xptcall/src/md/unix/xptcstubs_unixish_amd64.cpp 2005-12-04 19:32:22.000000000 +0900
+@@ -0,0 +1,206 @@
++/* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
++
++// Implement shared vtbl methods.
++
++#include "xptcprivate.h"
++
++// The Linux/x86-64 ABI passes the first 6 integral parameters and the
++// first 8 floating point parameters in registers (rdi, rsi, rdx, rcx,
++// r8, r9 and xmm0-xmm7), no stack space is allocated for these by the
++// caller. The rest of the parameters are passed in the callers stack
++// area.
++
++const PRUint32 PARAM_BUFFER_COUNT = 16;
++const PRUint32 GPR_COUNT = 6;
++const PRUint32 FPR_COUNT = 8;
++
++// PrepareAndDispatch() is called by SharedStub() and calls the actual method.
++//
++// - 'args[]' contains the arguments passed on stack
++// - 'gpregs[]' contains the arguments passed in integer registers
++// - 'fpregs[]' contains the arguments passed in floating point registers
++//
++// The parameters are mapped into an array of type 'nsXPTCMiniVariant'
++// and then the method gets called.
++
++extern "C" nsresult
++PrepareAndDispatch(nsXPTCStubBase * self, PRUint32 methodIndex,
++ PRUint64 * args, PRUint64 * gpregs, double *fpregs)
++{
++ nsXPTCMiniVariant paramBuffer[PARAM_BUFFER_COUNT];
++ nsXPTCMiniVariant* dispatchParams = NULL;
++ nsIInterfaceInfo* iface_info = NULL;
++ const nsXPTMethodInfo* info;
++ PRUint32 paramCount;
++ PRUint32 i;
++ nsresult result = NS_ERROR_FAILURE;
++
++ NS_ASSERTION(self,"no self");
++
++ self->GetInterfaceInfo(&iface_info);
++ NS_ASSERTION(iface_info,"no interface info");
++ if (! iface_info)
++ return NS_ERROR_UNEXPECTED;
++
++ iface_info->GetMethodInfo(PRUint16(methodIndex), &info);
++ NS_ASSERTION(info,"no method info");
++ if (! info)
++ return NS_ERROR_UNEXPECTED;
++
++ paramCount = info->GetParamCount();
++
++ // setup variant array pointer
++ if(paramCount > PARAM_BUFFER_COUNT)
++ dispatchParams = new nsXPTCMiniVariant[paramCount];
++ else
++ dispatchParams = paramBuffer;
++
++ NS_ASSERTION(dispatchParams,"no place for params");
++ if (! dispatchParams)
++ return NS_ERROR_OUT_OF_MEMORY;
++
++ PRUint64* ap = args;
++ PRUint32 nr_gpr = 1; // skip one GPR register for 'that'
++ PRUint32 nr_fpr = 0;
++ PRUint64 value;
++
++ for(i = 0; i < paramCount; i++) {
++ const nsXPTParamInfo& param = info->GetParam(i);
++ const nsXPTType& type = param.GetType();
++ nsXPTCMiniVariant* dp = &dispatchParams[i];
++
++ if (!param.IsOut() && type == nsXPTType::T_DOUBLE) {
++ if (nr_fpr < FPR_COUNT)
++ dp->val.d = fpregs[nr_fpr++];
++ else
++ dp->val.d = *(double*) ap++;
++ continue;
++ }
++ else if (!param.IsOut() && type == nsXPTType::T_FLOAT) {
++ if (nr_fpr < FPR_COUNT)
++ // The value in %xmm register is already prepared to
++ // be retrieved as a float. Therefore, we pass the
++ // value verbatim, as a double without conversion.
++ dp->val.d = *(double*) ap++;
++ else
++ dp->val.f = *(float*) ap++;
++ continue;
++ }
++ else {
++ if (nr_gpr < GPR_COUNT)
++ value = gpregs[nr_gpr++];
++ else
++ value = *ap++;
++ }
++
++ if (param.IsOut() || !type.IsArithmetic()) {
++ dp->val.p = (void*) value;
++ continue;
++ }
++
++ switch (type) {
++ case nsXPTType::T_I8: dp->val.i8 = (PRInt8) value; break;
++ case nsXPTType::T_I16: dp->val.i16 = (PRInt16) value; break;
++ case nsXPTType::T_I32: dp->val.i32 = (PRInt32) value; break;
++ case nsXPTType::T_I64: dp->val.i64 = (PRInt64) value; break;
++ case nsXPTType::T_U8: dp->val.u8 = (PRUint8) value; break;
++ case nsXPTType::T_U16: dp->val.u16 = (PRUint16) value; break;
++ case nsXPTType::T_U32: dp->val.u32 = (PRUint32) value; break;
++ case nsXPTType::T_U64: dp->val.u64 = (PRUint64) value; break;
++ case nsXPTType::T_BOOL: dp->val.b = (PRBool) value; break;
++ case nsXPTType::T_CHAR: dp->val.c = (char) value; break;
++ case nsXPTType::T_WCHAR: dp->val.wc = (wchar_t) value; break;
++
++ default:
++ NS_ASSERTION(0, "bad type");
++ break;
++ }
++ }
++
++ result = self->CallMethod((PRUint16) methodIndex, info, dispatchParams);
++
++ NS_RELEASE(iface_info);
++
++ if (dispatchParams != paramBuffer)
++ delete [] dispatchParams;
++
++ return result;
++}
++
++#if defined(__GXX_ABI_VERSION) && __GXX_ABI_VERSION >= 100 /* G++ V3 ABI */
++// Linux/x86-64 uses gcc >= 3.1
++#define STUB_ENTRY(n) \
++asm(".section \".text\"\n\t" \
++ ".align 2\n\t" \
++ ".if " #n " < 10\n\t" \
++ ".globl _ZN14nsXPTCStubBase5Stub" #n "Ev\n\t" \
++ ".type _ZN14nsXPTCStubBase5Stub" #n "Ev,@function\n" \
++ "_ZN14nsXPTCStubBase5Stub" #n "Ev:\n\t" \
++ ".elseif " #n " < 100\n\t" \
++ ".globl _ZN14nsXPTCStubBase6Stub" #n "Ev\n\t" \
++ ".type _ZN14nsXPTCStubBase6Stub" #n "Ev,@function\n" \
++ "_ZN14nsXPTCStubBase6Stub" #n "Ev:\n\t" \
++ ".elseif " #n " < 1000\n\t" \
++ ".globl _ZN14nsXPTCStubBase7Stub" #n "Ev\n\t" \
++ ".type _ZN14nsXPTCStubBase7Stub" #n "Ev,@function\n" \
++ "_ZN14nsXPTCStubBase7Stub" #n "Ev:\n\t" \
++ ".else\n\t" \
++ ".err \"stub number " #n " >= 1000 not yet supported\"\n\t" \
++ ".endif\n\t" \
++ "movl $" #n ", %eax\n\t" \
++ "jmp SharedStub\n\t" \
++ ".if " #n " < 10\n\t" \
++ ".size _ZN14nsXPTCStubBase5Stub" #n "Ev,.-_ZN14nsXPTCStubBase5Stub" #n "Ev\n\t" \
++ ".elseif " #n " < 100\n\t" \
++ ".size _ZN14nsXPTCStubBase6Stub" #n "Ev,.-_ZN14nsXPTCStubBase6Stub" #n "Ev\n\t" \
++ ".else\n\t" \
++ ".size _ZN14nsXPTCStubBase7Stub" #n "Ev,.-_ZN14nsXPTCStubBase7Stub" #n "Ev\n\t" \
++ ".endif");
++
++// static nsresult SharedStub(PRUint32 methodIndex)
++asm(".section \".text\"\n\t"
++ ".align 2\n\t"
++ ".type SharedStub,@function\n\t"
++ "SharedStub:\n\t"
++ // make room for gpregs (48), fpregs (64)
++ "pushq %rbp\n\t"
++ "movq %rsp,%rbp\n\t"
++ "subq $112,%rsp\n\t"
++ // save GP registers
++ "movq %rdi,-112(%rbp)\n\t"
++ "movq %rsi,-104(%rbp)\n\t"
++ "movq %rdx, -96(%rbp)\n\t"
++ "movq %rcx, -88(%rbp)\n\t"
++ "movq %r8 , -80(%rbp)\n\t"
++ "movq %r9 , -72(%rbp)\n\t"
++ "leaq -112(%rbp),%rcx\n\t"
++ // save FP registers
++ "movsd %xmm0,-64(%rbp)\n\t"
++ "movsd %xmm1,-56(%rbp)\n\t"
++ "movsd %xmm2,-48(%rbp)\n\t"
++ "movsd %xmm3,-40(%rbp)\n\t"
++ "movsd %xmm4,-32(%rbp)\n\t"
++ "movsd %xmm5,-24(%rbp)\n\t"
++ "movsd %xmm6,-16(%rbp)\n\t"
++ "movsd %xmm7, -8(%rbp)\n\t"
++ "leaq -64(%rbp),%r8\n\t"
++ // rdi has the 'self' pointer already
++ "movl %eax,%esi\n\t"
++ "leaq 16(%rbp),%rdx\n\t"
++ "call PrepareAndDispatch\n\t"
++ "leave\n\t"
++ "ret\n\t"
++ ".size SharedStub,.-SharedStub");
++
++#define SENTINEL_ENTRY(n) \
++nsresult nsXPTCStubBase::Sentinel##n() \
++{ \
++ NS_ASSERTION(0,"nsXPTCStubBase::Sentinel called"); \
++ return NS_ERROR_NOT_IMPLEMENTED; \
++}
++
++#include "xptcstubsdef.inc"
++
++#else
++#error "can't find a compiler to use"
++#endif /* __GNUC__ */
diff --git a/www/firefox3/patches/patch-bx b/www/firefox3/patches/patch-bx
new file mode 100644
index 00000000000..3fbbfadfbbd
--- /dev/null
+++ b/www/firefox3/patches/patch-bx
@@ -0,0 +1,85 @@
+$NetBSD: patch-bx,v 1.1.1.1 2008/06/28 10:01:07 tnn Exp $
+
+diff -ruN ../Orig/mozilla/xpcom/reflect/xptcall/src/md/unix/xptcstubs_ppc_netbsd.cpp ./xpcom/reflect/xptcall/src/md/unix/xptcstubs_ppc_netbsd.cpp
+--- ../Orig/mozilla/xpcom/reflect/xptcall/src/md/unix/xptcstubs_ppc_netbsd.cpp 2004-04-18 23:18:18.000000000 +0900
++++ ./xpcom/reflect/xptcall/src/md/unix/xptcstubs_ppc_netbsd.cpp 2005-12-04 19:34:41.000000000 +0900
+@@ -119,8 +119,10 @@
+ if ((PRUint32) ap & 4) ap++; // doubles are 8-byte aligned on stack
+ dp->val.d = *(double*) ap;
+ ap += 2;
++#if __GXX_ABI_VERSION < 100
+ if (gpr < GPR_COUNT)
+ gpr += 2;
++#endif
+ }
+ continue;
+ }
+@@ -130,8 +132,10 @@
+ else {
+ dp->val.f = *(float*) ap;
+ ap += 1;
++#if __GXX_ABI_VERSION < 100
+ if (gpr < GPR_COUNT)
+ gpr += 1;
++#endif
+ }
+ continue;
+ }
+@@ -195,7 +199,9 @@
+ // however, it's quick, dirty, and'll break when the ABI changes on
+ // us, which is what we want ;-).
+
+-#define STUB_ENTRY(n) \
++#if __GXX_ABI_VERSION < 100
++// gcc-2 version
++# define STUB_ENTRY(n) \
+ __asm__ ( \
+ ".section \".text\" \n\t" \
+ ".align 2 \n\t" \
+@@ -206,6 +212,46 @@
+ "li 11,"#n" \n\t" \
+ "b SharedStub@local \n" \
+ );
++#else
++// gcc-3 version
++//
++// As G++3 ABI contains the length of the functionname in the mangled
++// name, it is difficult to get a generic assembler mechanism like
++// in the G++ 2.95 case.
++// Create names would be like:
++// _ZN14nsXPTCStubBase5Stub1Ev
++// _ZN14nsXPTCStubBase6Stub12Ev
++// _ZN14nsXPTCStubBase7Stub123Ev
++// _ZN14nsXPTCStubBase8Stub1234Ev
++// etc.
++// Use assembler directives to get the names right...
++
++# define STUB_ENTRY(n) \
++__asm__ ( \
++ ".align 2 \n\t" \
++ ".if "#n" < 10 \n\t" \
++ ".globl _ZN14nsXPTCStubBase5Stub"#n"Ev \n\t" \
++ ".type _ZN14nsXPTCStubBase5Stub"#n"Ev,@function \n\n" \
++"_ZN14nsXPTCStubBase5Stub"#n"Ev: \n\t" \
++ \
++ ".elseif "#n" < 100 \n\t" \
++ ".globl _ZN14nsXPTCStubBase6Stub"#n"Ev \n\t" \
++ ".type _ZN14nsXPTCStubBase6Stub"#n"Ev,@function \n\n" \
++"_ZN14nsXPTCStubBase6Stub"#n"Ev: \n\t" \
++ \
++ ".elseif "#n" < 1000 \n\t" \
++ ".globl _ZN14nsXPTCStubBase7Stub"#n"Ev \n\t" \
++ ".type _ZN14nsXPTCStubBase7Stub"#n"Ev,@function \n\n" \
++"_ZN14nsXPTCStubBase7Stub"#n"Ev: \n\t" \
++ \
++ ".else \n\t" \
++ ".err \"stub number "#n" >= 1000 not yet supported\"\n" \
++ ".endif \n\t" \
++ \
++ "li 11,"#n" \n\t" \
++ "b SharedStub@local \n" \
++);
++#endif
+
+ #define SENTINEL_ENTRY(n) \
+ nsresult nsXPTCStubBase::Sentinel##n() \
diff --git a/www/firefox3/patches/patch-cb b/www/firefox3/patches/patch-cb
new file mode 100644
index 00000000000..2c8bbe5910e
--- /dev/null
+++ b/www/firefox3/patches/patch-cb
@@ -0,0 +1,27 @@
+$NetBSD: patch-cb,v 1.1.1.1 2008/06/28 10:01:07 tnn Exp $
+
+diff -ruN ../Orig/mozilla/xpcom/reflect/xptcall/src/md/unix/xptcinvoke_ppc_netbsd.cpp ./xpcom/reflect/xptcall/src/md/unix/xptcinvoke_ppc_netbsd.cpp
+--- ../Orig/mozilla/xpcom/reflect/xptcall/src/md/unix/xptcinvoke_ppc_netbsd.cpp 2004-04-18 23:18:18.000000000 +0900
++++ ./xpcom/reflect/xptcall/src/md/unix/xptcinvoke_ppc_netbsd.cpp 2005-12-04 19:35:01.000000000 +0900
+@@ -104,8 +104,10 @@
+ if ((PRUint32) d & 4) d++; // doubles are 8-byte aligned on stack
+ *((double*) d) = s->val.d;
+ d += 2;
++#if __GXX_ABI_VERSION < 100
+ if (gpr < GPR_COUNT)
+ gpr += 2;
++#endif
+ }
+ }
+ else if (!s->IsPtrData() && s->type == nsXPTType::T_FLOAT) {
+@@ -114,8 +116,10 @@
+ else {
+ *((float*) d) = s->val.f;
+ d += 1;
++#if __GXX_ABI_VERSION < 100
+ if (gpr < GPR_COUNT)
+ gpr += 1;
++#endif
+ }
+ }
+ else if (!s->IsPtrData() && (s->type == nsXPTType::T_I64
diff --git a/www/firefox3/patches/patch-de b/www/firefox3/patches/patch-de
new file mode 100644
index 00000000000..9dd532e223f
--- /dev/null
+++ b/www/firefox3/patches/patch-de
@@ -0,0 +1,13 @@
+$NetBSD: patch-de,v 1.1.1.1 2008/06/28 10:01:07 tnn Exp $
+
+--- security/nss/lib/freebl/Makefile.orig 2007-11-14 23:49:44.000000000 +0100
++++ security/nss/lib/freebl/Makefile
+@@ -194,7 +194,7 @@ endif
+ # to bind the blapi function references in FREEBLVector vector
+ # (ldvector.c) to the blapi functions defined in the freebl
+ # shared libraries.
+-ifeq (,$(filter-out BSD_OS FreeBSD Linux NetBSD OpenBSD, $(OS_TARGET)))
++ifeq (,$(filter-out BSD_OS DragonFly FreeBSD Linux NetBSD OpenBSD, $(OS_TARGET)))
+ MKSHLIB += -Wl,-Bsymbolic
+ endif
+
diff --git a/www/firefox3/patches/patch-df b/www/firefox3/patches/patch-df
new file mode 100644
index 00000000000..e3467d497ca
--- /dev/null
+++ b/www/firefox3/patches/patch-df
@@ -0,0 +1,32 @@
+$NetBSD: patch-df,v 1.1.1.1 2008/06/28 10:01:07 tnn Exp $
+
+diff -ruN ../Orig/mozilla/nsprpub/pr/include/md/_freebsd.h ./nsprpub/pr/include/md/_freebsd.h
+--- ../Orig/mozilla/nsprpub/pr/include/md/_freebsd.h 2004-11-24 06:22:35.000000000 +0900
++++ ./nsprpub/pr/include/md/_freebsd.h 2005-12-04 19:44:37.000000000 +0900
+@@ -79,7 +79,7 @@
+ #define _PR_NO_LARGE_FILES
+
+ #if defined(_PR_PTHREADS)
+-#if __FreeBSD_version >= 400008
++#if defined(__DragonFly__) || __FreeBSD_version >= 400008
+ /*
+ * libc_r before this version of FreeBSD doesn't have poll().
+ * Although libc has poll(), it is not thread-safe so we can't
+@@ -88,7 +88,7 @@
+ #define _PR_POLL_AVAILABLE
+ #endif
+ #else
+-#if __FreeBSD_version >= 300000
++#if defined(__DragonFly__) || __FreeBSD_version >= 300000
+ #define _PR_POLL_AVAILABLE
+ #define _PR_USE_POLL
+ #endif
+@@ -97,7 +97,7 @@
+ #define _PR_HAVE_SYSV_SEMAPHORES
+ #define PR_HAVE_SYSV_NAMED_SHARED_MEMORY
+
+-#if __FreeBSD_version >= 400014
++#if defined(__DragonFly__) || __FreeBSD_version >= 400014
+ #define _PR_INET6
+ #define _PR_HAVE_INET_NTOP
+ #define _PR_HAVE_GETHOSTBYNAME2
diff --git a/www/firefox3/patches/patch-dh b/www/firefox3/patches/patch-dh
new file mode 100644
index 00000000000..8335ee4181d
--- /dev/null
+++ b/www/firefox3/patches/patch-dh
@@ -0,0 +1,19 @@
+$NetBSD: patch-dh,v 1.1.1.1 2008/06/28 10:01:07 tnn Exp $
+
+diff -ruN ../Orig/mozilla/xpcom/reflect/xptcall/src/md/unix/xptc_platforms_unixish_x86.h ./xpcom/reflect/xptcall/src/md/unix/xptc_platforms_unixish_x86.h
+--- ../Orig/mozilla/xpcom/reflect/xptcall/src/md/unix/xptc_platforms_unixish_x86.h 2004-04-18 23:18:18.000000000 +0900
++++ ./xpcom/reflect/xptcall/src/md/unix/xptc_platforms_unixish_x86.h 2005-12-04 19:44:41.000000000 +0900
+@@ -77,6 +77,13 @@
+ #define THUNK_BASED_THIS_ADJUST
+ #endif
+
++#elif defined(__DragonFly__)
++# if defined(__FreeBSD_cc_version)
++# define CFRONT_STYLE_THIS_ADJUST
++# else
++# define THUNK_BASED_THIS_ADJUST
++# endif
++
+ #elif defined(__FreeBSD__)
+ /* System versions of gcc on FreeBSD don't use thunks. On 3.x, the system
+ * compiler is gcc 2.7.2.3, which doesn't use thunks by default. On 4.x and
diff --git a/www/firefox3/patches/patch-dj b/www/firefox3/patches/patch-dj
new file mode 100644
index 00000000000..c0b3a2ed62b
--- /dev/null
+++ b/www/firefox3/patches/patch-dj
@@ -0,0 +1,14 @@
+$NetBSD: patch-dj,v 1.1.1.1 2008/06/28 10:01:07 tnn Exp $
+
+diff -ruN ../Orig/mozilla/dbm/src/mktemp.c ./dbm/src/mktemp.c
+--- ../Orig/mozilla/dbm/src/mktemp.c 2003-01-21 08:13:37.000000000 +0900
++++ ./dbm/src/mktemp.c 2005-12-04 19:44:43.000000000 +0900
+@@ -98,7 +98,7 @@
+ static int
+ _gettemp(char *path, register int *doopen, int extraFlags)
+ {
+-#if !defined(_WINDOWS) || defined(_WIN32)
++#if (!defined(_WINDOWS) || defined(_WIN32)) && !defined(errno)
+ extern int errno;
+ #endif
+ register char *start, *trv;
diff --git a/www/firefox3/patches/patch-dk b/www/firefox3/patches/patch-dk
new file mode 100644
index 00000000000..a8481ffd92b
--- /dev/null
+++ b/www/firefox3/patches/patch-dk
@@ -0,0 +1,14 @@
+$NetBSD: patch-dk,v 1.1.1.1 2008/06/28 10:01:07 tnn Exp $
+
+diff -ruN ../Orig/mozilla/security/coreconf/config.mk ./security/coreconf/config.mk
+--- ../Orig/mozilla/security/coreconf/config.mk 2004-04-26 00:02:17.000000000 +0900
++++ ./security/coreconf/config.mk 2005-12-04 19:44:47.000000000 +0900
+@@ -63,7 +63,7 @@
+ #######################################################################
+
+ TARGET_OSES = FreeBSD BSD_OS NetBSD OpenUNIX OS2 QNX Darwin BeOS OpenBSD \
+- OpenVMS AIX
++ OpenVMS AIX DragonFly
+
+ ifeq (,$(filter-out $(TARGET_OSES),$(OS_TARGET)))
+ include $(CORE_DEPTH)/coreconf/$(OS_TARGET).mk
diff --git a/www/firefox3/patches/patch-dl b/www/firefox3/patches/patch-dl
new file mode 100644
index 00000000000..c56810770a7
--- /dev/null
+++ b/www/firefox3/patches/patch-dl
@@ -0,0 +1,89 @@
+$NetBSD: patch-dl,v 1.1.1.1 2008/06/28 10:01:07 tnn Exp $
+
+diff -ruN ../Orig/mozilla/security/coreconf/DragonFly.mk ./security/coreconf/DragonFly.mk
+--- ../Orig/mozilla/security/coreconf/DragonFly.mk 1970-01-01 09:00:00.000000000 +0900
++++ ./security/coreconf/DragonFly.mk 2005-12-04 19:44:48.000000000 +0900
+@@ -0,0 +1,83 @@
++#
++# The contents of this file are subject to the Mozilla Public
++# License Version 1.1 (the "License"); you may not use this file
++# except in compliance with the License. You may obtain a copy of
++# the License at http://www.mozilla.org/MPL/
++#
++# Software distributed under the License is distributed on an "AS
++# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
++# implied. See the License for the specific language governing
++# rights and limitations under the License.
++#
++# The Original Code is the Netscape security libraries.
++#
++# The Initial Developer of the Original Code is Netscape
++# Communications Corporation. Portions created by Netscape are
++# Copyright (C) 1994-2000 Netscape Communications Corporation. All
++# Rights Reserved.
++#
++# Contributor(s):
++#
++# Alternatively, the contents of this file may be used under the
++# terms of the GNU General Public License Version 2 or later (the
++# "GPL"), in which case the provisions of the GPL are applicable
++# instead of those above. If you wish to allow use of your
++# version of this file only under the terms of the GPL and not to
++# allow others to use your version of this file under the MPL,
++# indicate your decision by deleting the provisions above and
++# replace them with the notice and other provisions required by
++# the GPL. If you do not delete the provisions above, a recipient
++# may use your version of this file under either the MPL or the
++# GPL.
++#
++# Config stuff for DragonFly
++#
++
++include $(CORE_DEPTH)/coreconf/UNIX.mk
++
++DEFAULT_COMPILER = gcc
++CC = gcc
++CCC = g++
++RANLIB = ranlib
++
++ifeq ($(OS_TEST),alpha)
++CPU_ARCH = alpha
++else
++CPU_ARCH = x86
++endif
++
++OS_CFLAGS = $(DSO_CFLAGS) -ansi -Wall -DFREEBSD -DHAVE_STRERROR -DHAVE_BSD_FLOCK
++
++DSO_CFLAGS = -fPIC
++DSO_LDOPTS = -shared -Wl,-soname -Wl,$(notdir $@)
++
++#
++# The default implementation strategy for FreeBSD is pthreads.
++#
++ifndef CLASSIC_NSPR
++USE_PTHREADS = 1
++DEFINES += -D_THREAD_SAFE -D_REENTRANT
++OS_LIBS += -pthread
++DSO_LDOPTS += -pthread
++endif
++
++ARCH = freebsd
++
++MOZ_OBJFORMAT := $(shell test -x /usr/bin/objformat && /usr/bin/objformat || echo aout)
++
++DLL_SUFFIX = so
++
++ifdef LIBRUNPATH
++DSO_LDOPTS += -Wl,-R$(LIBRUNPATH)
++endif
++
++MKSHLIB = $(CC) $(DSO_LDOPTS)
++ifdef MAPFILE
++# Add LD options to restrict exported symbols to those in the map file
++endif
++# Change PROCESS to put the mapfile in the correct format for this platform
++PROCESS_MAP_FILE = cp $(LIBRARY_NAME).def $@
++
++G++INCLUDES = -I/usr/include/g++
++
++INCLUDES += -I/usr/X11R6/include
diff --git a/www/firefox3/patches/patch-dm b/www/firefox3/patches/patch-dm
new file mode 100644
index 00000000000..4faea9ac169
--- /dev/null
+++ b/www/firefox3/patches/patch-dm
@@ -0,0 +1,16 @@
+$NetBSD: patch-dm,v 1.1.1.1 2008/06/28 10:01:07 tnn Exp $
+
+diff -ruN ../Orig/mozilla/security/nss/cmd/platlibs.mk ./security/nss/cmd/platlibs.mk
+--- ../Orig/mozilla/security/nss/cmd/platlibs.mk 2005-04-07 06:35:41.000000000 +0900
++++ ./security/nss/cmd/platlibs.mk 2005-12-04 19:44:52.000000000 +0900
+@@ -186,8 +186,8 @@
+ # If GNU ld is used, we must use the -rpath-link option to tell
+ # the linker where to find libsoftokn3.so, an implicit dependency
+ # of libnss3.so.
+-ifeq (,$(filter-out BSD_OS FreeBSD Linux NetBSD, $(OS_ARCH)))
+-EXTRA_SHARED_LIBS += -Wl,-rpath-link,$(DIST)/lib
++ifeq (,$(filter-out BSD_OS FreeBSD Linux NetBSD DragonFly, $(OS_ARCH)))
++EXTRA_SHARED_LIBS += -Wl,-rpath-link,$(DIST)/lib -R/usr/pkg/lib/firefox
+ endif
+
+ ifeq ($(OS_ARCH), SunOS)
diff --git a/www/firefox3/patches/patch-do b/www/firefox3/patches/patch-do
new file mode 100644
index 00000000000..e10571df1cb
--- /dev/null
+++ b/www/firefox3/patches/patch-do
@@ -0,0 +1,88 @@
+$NetBSD: patch-do,v 1.1.1.1 2008/06/28 10:01:07 tnn Exp $
+
+diff -ruN ../Orig/mozilla/directory/c-sdk/config/DragonFly.mk ./directory/c-sdk/config/DragonFly.mk
+--- ../Orig/mozilla/directory/c-sdk/config/DragonFly.mk 1970-01-01 09:00:00.000000000 +0900
++++ ./directory/c-sdk/config/DragonFly.mk 2005-12-04 19:44:55.000000000 +0900
+@@ -0,0 +1,82 @@
++#
++# The contents of this file are subject to the Mozilla Public
++# License Version 1.1 (the "License"); you may not use this file
++# except in compliance with the License. You may obtain a copy of
++# the License at http://www.mozilla.org/MPL/
++#
++# Software distributed under the License is distributed on an "AS
++# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
++# implied. See the License for the specific language governing
++# rights and limitations under the License.
++#
++# The Original Code is the Netscape Portable Runtime (NSPR).
++#
++# The Initial Developer of the Original Code is Netscape
++# Communications Corporation. Portions created by Netscape are
++# Copyright (C) 1998-2000 Netscape Communications Corporation. All
++# Rights Reserved.
++#
++# Contributor(s):
++#
++# Alternatively, the contents of this file may be used under the
++# terms of the GNU General Public License Version 2 or later (the
++# "GPL"), in which case the provisions of the GPL are applicable
++# instead of those above. If you wish to allow use of your
++# version of this file only under the terms of the GPL and not to
++# allow others to use your version of this file under the MPL,
++# indicate your decision by deleting the provisions above and
++# replace them with the notice and other provisions required by
++# the GPL. If you do not delete the provisions above, a recipient
++# may use your version of this file under either the MPL or the
++# GPL.
++#
++
++#
++# Config stuff for DragonFly
++#
++
++include $(MOD_DEPTH)/config/UNIX.mk
++
++CC = gcc
++CCC = g++
++RANLIB = ranlib
++
++OS_REL_CFLAGS = -Di386
++CPU_ARCH = x86
++CPU_ARCH_TAG = _$(CPU_ARCH)
++
++OS_CFLAGS = $(DSO_CFLAGS) $(OS_REL_CFLAGS) -ansi -Wall -pipe $(THREAD_FLAG) -DFREEBSD -DHAVE_STRERROR -DHAVE_BSD_FLOCK
++
++#
++# The default implementation strategy for FreeBSD is pthreads.
++#
++ifeq ($(CLASSIC_NSPR),1)
++IMPL_STRATEGY = _EMU
++DEFINES += -D_PR_LOCAL_THREADS_ONLY
++else
++USE_PTHREADS = 1
++IMPL_STRATEGY = _PTH
++DEFINES += -D_THREAD_SAFE
++THREAD_FLAG += -pthread
++endif
++
++ARCH = freebsd
++
++MOZ_OBJFORMAT := $(shell test -x /usr/bin/objformat && /usr/bin/objformat || echo aout)
++
++ifeq ($(MOZ_OBJFORMAT),elf)
++DLL_SUFFIX = so
++else
++DLL_SUFFIX = so.1.0
++endif
++
++DSO_CFLAGS = -fPIC
++DSO_LDOPTS = -Bshareable
++
++ifdef LIBRUNPATH
++DSO_LDOPTS += -Wl,-R$(LIBRUNPATH)
++endif
++
++MKSHLIB = $(LD) $(DSO_LDOPTS)
++
++G++INCLUDES = -I/usr/include/g++
diff --git a/www/firefox3/patches/patch-dr b/www/firefox3/patches/patch-dr
new file mode 100644
index 00000000000..fe5776d4b25
--- /dev/null
+++ b/www/firefox3/patches/patch-dr
@@ -0,0 +1,14 @@
+$NetBSD: patch-dr,v 1.1.1.1 2008/06/28 10:01:07 tnn Exp $
+
+diff -ruN ../Orig/mozilla/config/config.mk ./config/config.mk
+--- ../Orig/mozilla/config/config.mk 2005-07-29 04:48:11.000000000 +0900
++++ ./config/config.mk 2005-12-04 19:45:20.000000000 +0900
+@@ -121,7 +121,7 @@
+ # but save the version to allow multiple versions of the same base
+ # platform to be built in the same tree.
+ #
+-ifneq (,$(filter FreeBSD HP-UX IRIX Linux NetBSD OpenBSD OSF1 SunOS,$(OS_ARCH)))
++ifneq (,$(filter DragonFly FreeBSD HP-UX IRIX Linux NetBSD OpenBSD OSF1 SunOS,$(OS_ARCH)))
+ OS_RELEASE := $(basename $(OS_RELEASE))
+
+ # Allow the user to ignore the OS_VERSION, which is usually irrelevant.
diff --git a/www/firefox3/patches/patch-ds b/www/firefox3/patches/patch-ds
new file mode 100644
index 00000000000..3a9abd0b16f
--- /dev/null
+++ b/www/firefox3/patches/patch-ds
@@ -0,0 +1,14 @@
+$NetBSD: patch-ds,v 1.1.1.1 2008/06/28 10:01:07 tnn Exp $
+
+diff -ruN ../Orig/mozilla/security/coreconf/arch.mk ./security/coreconf/arch.mk
+--- ../Orig/mozilla/security/coreconf/arch.mk 2005-10-11 08:30:12.000000000 +0900
++++ ./security/coreconf/arch.mk 2005-12-04 19:45:28.000000000 +0900
+@@ -145,7 +145,7 @@
+ # IRIX 6.5-ALPHA-1289139620.
+ #
+
+-ifeq (,$(filter-out Linux FreeBSD IRIX,$(OS_ARCH)))
++ifeq (,$(filter-out Linux DragonFly FreeBSD IRIX,$(OS_ARCH)))
+ OS_RELEASE := $(shell echo $(OS_RELEASE) | sed 's/-.*//')
+ endif
+
diff --git a/www/firefox3/patches/patch-du b/www/firefox3/patches/patch-du
new file mode 100644
index 00000000000..42f2f75ba77
--- /dev/null
+++ b/www/firefox3/patches/patch-du
@@ -0,0 +1,18 @@
+$NetBSD: patch-du,v 1.1.1.1 2008/06/28 10:01:07 tnn Exp $
+
+diff -ruN ../Orig/mozilla/config/rules.mk ./config/rules.mk
+--- ../Orig/mozilla/config/rules.mk 2005-10-11 08:16:39.000000000 +0900
++++ ./config/rules.mk 2005-12-04 19:45:31.000000000 +0900
+@@ -447,6 +447,12 @@
+ endif
+ endif
+
++ifeq ($(OS_ARCH),DragonFly)
++ifdef IS_COMPONENT
++EXTRA_DSO_LDOPTS += -Wl,-Bsymbolic
++endif
++endif
++
+ ifeq ($(OS_ARCH),NetBSD)
+ ifneq (,$(filter arc cobalt hpcmips mipsco newsmips pmax sgimips,$(OS_TEST)))
+ ifeq ($(MODULE),layout)
diff --git a/www/firefox3/patches/patch-dv b/www/firefox3/patches/patch-dv
new file mode 100644
index 00000000000..dfa21998309
--- /dev/null
+++ b/www/firefox3/patches/patch-dv
@@ -0,0 +1,15 @@
+$NetBSD: patch-dv,v 1.1.1.1 2008/06/28 10:01:07 tnn Exp $
+
+diff -ruN ../Orig/mozilla/js/src/Makefile.in ./js/src/Makefile.in
+--- ../Orig/mozilla/js/src/Makefile.in 2005-06-01 23:26:26.000000000 +0900
++++ ./js/src/Makefile.in 2005-12-04 19:45:33.000000000 +0900
+@@ -256,6 +256,9 @@
+ ifeq ($(OS_ARCH),FreeBSD)
+ LDFLAGS += -pthread
+ endif
++ifeq ($(OS_ARCH),DragonFly)
++LDFLAGS += -pthread
++endif
+ ifeq ($(OS_ARCH),IRIX)
+ ifdef USE_N32
+ DASH_R += -n32
diff --git a/www/firefox3/patches/patch-ea b/www/firefox3/patches/patch-ea
new file mode 100644
index 00000000000..7a0edc02f4d
--- /dev/null
+++ b/www/firefox3/patches/patch-ea
@@ -0,0 +1,14 @@
+$NetBSD: patch-ea,v 1.1.1.1 2008/06/28 10:01:07 tnn Exp $
+
+--- toolkit/components/history/src/nsGlobalHistory.cpp.orig 2006-02-02 20:55:17.000000000 +0100
++++ toolkit/components/history/src/nsGlobalHistory.cpp
+@@ -1132,6 +1132,9 @@ nsGlobalHistory::SetPageTitle(nsIURI *aU
+ rv = aURI->GetSpec(URISpec);
+ NS_ENSURE_SUCCESS(rv, rv);
+
++ if (URISpec.Length() > HISTORY_URI_LENGTH_MAX)
++ URISpec.Left(URISpec, HISTORY_URI_LENGTH_MAX);
++
+ nsCOMPtr<nsIMdbRow> row;
+ rv = FindRow(kToken_URLColumn, URISpec.get(), getter_AddRefs(row));
+
diff --git a/www/firefox3/patches/patch-eb b/www/firefox3/patches/patch-eb
new file mode 100644
index 00000000000..7f86ac2f0b7
--- /dev/null
+++ b/www/firefox3/patches/patch-eb
@@ -0,0 +1,14 @@
+$NetBSD: patch-eb,v 1.1.1.1 2008/06/28 10:01:07 tnn Exp $
+
+--- xpfe/components/history/src/nsGlobalHistory.cpp.orig 2006-02-02 20:55:17.000000000 +0100
++++ xpfe/components/history/src/nsGlobalHistory.cpp
+@@ -1055,6 +1055,9 @@ nsGlobalHistory::SetPageTitle(nsIURI *aU
+ rv = aURI->GetSpec(URISpec);
+ NS_ENSURE_SUCCESS(rv, rv);
+
++ if (URISpec.Length() > HISTORY_URI_LENGTH_MAX)
++ URISpec.Left(URISpec, HISTORY_URI_LENGTH_MAX);
++
+ nsCOMPtr<nsIMdbRow> row;
+ rv = FindRow(kToken_URLColumn, URISpec.get(), getter_AddRefs(row));
+
diff --git a/www/firefox3/patches/patch-ed b/www/firefox3/patches/patch-ed
new file mode 100644
index 00000000000..7611bafecd4
--- /dev/null
+++ b/www/firefox3/patches/patch-ed
@@ -0,0 +1,20 @@
+$NetBSD: patch-ed,v 1.1.1.1 2008/06/28 10:01:07 tnn Exp $
+
+--- profile/dirserviceprovider/src/nsProfileLock.cpp.orig 2008-01-16 04:56:04.000000000 +0100
++++ profile/dirserviceprovider/src/nsProfileLock.cpp
+@@ -391,6 +391,7 @@ nsresult nsProfileLock::LockWithSymlink(
+ act.sa_flags = 0;
+ sigfillset(&act.sa_mask);
+
++#ifndef DEBUG
+ #define CATCH_SIGNAL(signame) \
+ PR_BEGIN_MACRO \
+ if (sigaction(signame, NULL, &oldact) == 0 && \
+@@ -409,6 +410,7 @@ PR_BEGIN_MACRO
+ CATCH_SIGNAL(SIGTERM);
+
+ #undef CATCH_SIGNAL
++#endif
+ }
+ }
+ }
diff --git a/www/firefox3/patches/patch-wc b/www/firefox3/patches/patch-wc
new file mode 100644
index 00000000000..f431c915d4e
--- /dev/null
+++ b/www/firefox3/patches/patch-wc
@@ -0,0 +1,12 @@
+$NetBSD: patch-wc,v 1.1.1.1 2008/06/28 10:01:07 tnn Exp $
+
+--- js/src/xpconnect/shell/Makefile.in.orig 2008-01-16 21:42:51.000000000 +0100
++++ js/src/xpconnect/shell/Makefile.in
+@@ -59,6 +59,7 @@ LIBS = \
+ $(MOZ_JS_LIBS) \
+ $(XPCOM_LIBS) \
+ $(NSPR_LIBS) \
++ -lsmime3 -lssl3 -lnss3 -lnssutil3 -lsoftokn3 \
+ $(NULL)
+
+ include $(topsrcdir)/config/rules.mk
diff --git a/www/firefox3/patches/patch-wd b/www/firefox3/patches/patch-wd
new file mode 100644
index 00000000000..e84c83cea98
--- /dev/null
+++ b/www/firefox3/patches/patch-wd
@@ -0,0 +1,12 @@
+$NetBSD: patch-wd,v 1.1.1.1 2008/06/28 10:01:07 tnn Exp $
+
+--- browser/app/Makefile.in.orig 2008-03-01 00:24:54.000000000 +0100
++++ browser/app/Makefile.in
+@@ -131,6 +131,7 @@ LIBS += \
+ $(APP_XPCOM_LIBS) \
+ $(NSPR_LIBS) \
+ $(TK_LIBS) \
++ -lsmime3 -lssl3 -lnss3 -lnssutil3 -lsoftokn3 \
+ $(NULL)
+
+ # Add explicit X11 dependency when building against X11 toolkits
diff --git a/www/firefox3/patches/patch-we b/www/firefox3/patches/patch-we
new file mode 100644
index 00000000000..f6c0764f194
--- /dev/null
+++ b/www/firefox3/patches/patch-we
@@ -0,0 +1,13 @@
+$NetBSD: patch-we,v 1.1.1.1 2008/06/28 10:01:07 tnn Exp $
+
+--- toolkit/mozapps/installer/packager.mk.orig 2008-05-18 23:12:08.000000000 +0200
++++ toolkit/mozapps/installer/packager.mk
+@@ -426,7 +426,7 @@ ifdef INSTALL_SDK # Here comes the hard
+ (cd $(DIST)/sdk/include && tar $(TAR_CREATE_FLAGS) - .) | \
+ (cd $(DESTDIR)$(includedir)/stable && tar -xf -)
+ # The dist/include has module subdirectories that we need to flatten
+- find $(DIST)/include -xtype f -exec $(SYSINSTALL) $(IFLAGS1) {} $(DESTDIR)$(includedir)/unstable \;
++ find $(DIST)/include -type f -exec $(SYSINSTALL) $(IFLAGS1) {} $(DESTDIR)$(includedir)/unstable \;
+ # IDL directory is stable (dist/sdk/idl) and unstable (dist/idl)
+ $(NSINSTALL) -D $(DESTDIR)$(idldir)/stable
+ $(NSINSTALL) -D $(DESTDIR)$(idldir)/unstable
diff --git a/www/firefox3/patches/patch-wf b/www/firefox3/patches/patch-wf
new file mode 100644
index 00000000000..2bcd914efb8
--- /dev/null
+++ b/www/firefox3/patches/patch-wf
@@ -0,0 +1,13 @@
+$NetBSD: patch-wf,v 1.1.1.1 2008/06/28 10:01:07 tnn Exp $
+
+--- nsprpub/pr/src/md/unix/uxrng.c.orig 2005-12-24 09:25:29.000000000 +0100
++++ nsprpub/pr/src/md/unix/uxrng.c
+@@ -149,7 +149,7 @@ static PRCallOnceType coOpenDevRandom;
+
+ static PRStatus OpenDevRandom( void )
+ {
+- fdDevRandom = open( "/dev/random", O_RDONLY );
++ fdDevRandom = open( "/dev/urandom", O_RDONLY );
+ return((-1 == fdDevRandom)? PR_FAILURE : PR_SUCCESS );
+ } /* end OpenDevRandom() */
+