Set MODULE in makefiles at the top of a heirarchy so that module-deps lists are more precise and builds will have the proper order if some subdirs contain other modules.

This commit is contained in:
cls%seawood.org 2003-08-16 00:42:35 +00:00
parent 6039de1cfc
commit 1b51ba858c
94 changed files with 112 additions and 2 deletions

View File

@ -26,6 +26,7 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
MODULE = accessibility
DIRS = public src build
include $(topsrcdir)/config/rules.mk

View File

@ -41,6 +41,7 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
MODULE = calendar
DIRS = libxpical resources
include $(topsrcdir)/config/rules.mk

View File

@ -26,6 +26,7 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
MODULE = caps
DIRS = idl include src
include $(topsrcdir)/config/rules.mk

View File

@ -26,6 +26,7 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
MODULE = content
DIRS = base html xml xul xbl xsl
ifdef MOZ_SVG

View File

@ -26,6 +26,7 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
MODULE = xul
DIRS = public src
include $(topsrcdir)/config/rules.mk

View File

@ -26,6 +26,7 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
MODULE = xuldoc
DIRS = public src
include $(topsrcdir)/config/rules.mk

View File

@ -26,6 +26,7 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
MODULE = xultmpl
DIRS = public src
include $(topsrcdir)/config/rules.mk

View File

@ -26,6 +26,7 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
MODULE = dbm
DIRS = include src
ifdef ENABLE_TESTS

View File

@ -38,6 +38,7 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
MODULE = mozldap
DIRS = public src resources
include $(topsrcdir)/config/rules.mk

View File

@ -25,6 +25,7 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
MODULE = docshell
DIRS=base build resources
include $(topsrcdir)/config/rules.mk

View File

@ -26,6 +26,7 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
MODULE = dom
DIRS = public src
include $(topsrcdir)/config/rules.mk

View File

@ -26,6 +26,7 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
MODULE = editor
DIRS = public idl txtsvc libeditor txmgr composer
# We need to export headers from composer/ even if we're not building composer.

View File

@ -26,6 +26,7 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
MODULE = txmgr
DIRS = public src idl
ifdef ENABLE_TESTS

View File

@ -26,6 +26,7 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
MODULE = txtsvc
DIRS = public src
include $(topsrcdir)/config/rules.mk

View File

@ -25,6 +25,7 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
MODULE = gtkembedmoz
DIRS=src tests
include $(topsrcdir)/config/rules.mk

View File

@ -24,6 +24,7 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
MODULE = commandhandler
DIRS = public src
include $(topsrcdir)/config/rules.mk

View File

@ -24,6 +24,7 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
MODULE = find
DIRS = public src
include $(topsrcdir)/config/rules.mk

View File

@ -41,6 +41,7 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
MODULE = profilesharingsetup
DIRS = public src
include $(topsrcdir)/config/rules.mk

View File

@ -24,6 +24,7 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
MODULE = webbrowserpersist
DIRS = public src
include $(topsrcdir)/config/rules.mk

View File

@ -26,6 +26,7 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
MODULE = expat
DIRS = xmlparse xmltok
include $(topsrcdir)/config/rules.mk

View File

@ -27,6 +27,8 @@ VPATH=@srcdir@
include $(DEPTH)/config/autoconf.mk
MODULE = inspector
DIRS=base build
include $(topsrcdir)/config/rules.mk

View File

@ -26,6 +26,7 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
MODULE = layout_debug
DIRS = src ui
include $(topsrcdir)/config/rules.mk

View File

@ -42,6 +42,7 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
MODULE = p3p
DIRS = public src
include $(topsrcdir)/config/rules.mk

View File

@ -39,6 +39,7 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
MODULE = autoconfig
DIRS = public resources src
include $(topsrcdir)/config/rules.mk

View File

@ -41,6 +41,7 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
MODULE = spellchecker
DIRS = src idl myspell
include $(topsrcdir)/config/rules.mk

View File

@ -41,6 +41,7 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
MODULE = myspell
DIRS = src dictionaries
include $(topsrcdir)/config/rules.mk

View File

@ -26,6 +26,7 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
MODULE = transformiix
DIRS = source
ifndef TX_EXE
DIRS += build resources

View File

@ -31,6 +31,7 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
MODULE = typeaheadfind
DIRS = public src resources
include $(topsrcdir)/config/rules.mk

View File

@ -26,6 +26,7 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
MODULE = universalchardet
DIRS = src
ifdef ENABLE_TESTS

View File

@ -26,6 +26,7 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
MODULE = websrvcs
DIRS = public security schema soap interfaceinfo wsdl proxy build
include $(topsrcdir)/config/rules.mk

View File

@ -26,6 +26,7 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
MODULE = xmlextras
DIRS = base pointers build
ifdef ENABLE_TESTS

View File

@ -57,6 +57,7 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
endif
MODULE = xmlterm
# Debug option
DEBUG = 1

View File

@ -26,6 +26,7 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
MODULE = gfx
DIRS = public idl src
ifdef ENABLE_TESTS

View File

@ -26,6 +26,7 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
MODULE = htmlparser
DIRS = public src
ifdef ENABLE_TESTS

View File

@ -26,6 +26,7 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
MODULE = locale
DIRS = public idl src
include $(topsrcdir)/config/rules.mk

View File

@ -26,6 +26,7 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
MODULE = lwbrk
DIRS = idl public src
ifdef ENABLE_TESTS

View File

@ -26,6 +26,7 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
MODULE = intl
DIRS = public src
ifdef ENABLE_TESTS

View File

@ -38,6 +38,8 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
MODULE = uconv
DIRS = idl public util ucvja ucvcn ucvlatin ucvtw ucvtw2 ucvko ucvibm native src
ifdef MOZ_MATHML

View File

@ -26,6 +26,8 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
MODULE = unicharutil
DIRS = idl public util src tables
ifdef ENABLE_TESTS

View File

@ -38,6 +38,7 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
MODULE = xpconnect
DIRS = public idl
ifdef MOZ_JSLOADER

View File

@ -26,6 +26,8 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
MODULE = layout
DIRS = base html xul
ifdef MOZ_MATHML

View File

@ -26,6 +26,7 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
MODULE = msgbase
DIRS = public src util search ispdata
ifndef MOZ_STATIC_MAIL_BUILD

View File

@ -26,6 +26,8 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
MODULE = msgcompose
DIRS = public src
ifndef MOZ_STATIC_MAIL_BUILD

View File

@ -26,6 +26,7 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
MODULE = msgdb
DIRS = public src
ifndef MOZ_STATIC_MAIL_BUILD

View File

@ -43,6 +43,8 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
MODULE = bayesflt
DIRS=src
ifndef MOZ_STATIC_MAIL_BUILD

View File

@ -26,6 +26,8 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
MODULE = mailview
DIRS = public src resources
ifndef MOZ_STATIC_MAIL_BUILD

View File

@ -26,6 +26,7 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
MODULE = msgmdn
DIRS = src
ifndef MOZ_STATIC_MAIL_BUILD

View File

@ -26,6 +26,7 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
MODULE = msgsmime
DIRS = public src build
include $(topsrcdir)/config/rules.mk

View File

@ -26,6 +26,7 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
MODULE = msgimap
DIRS = public src
ifndef MOZ_STATIC_MAIL_BUILD

View File

@ -26,6 +26,8 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
MODULE = import
DIRS = public src text comm4x
ifneq (,$(filter mac cocoa,$(MOZ_WIDGET_TOOLKIT)))

View File

@ -42,6 +42,7 @@ srcdir = @srcdir@
include $(DEPTH)/config/autoconf.mk
MODULE = impComm4xMail
DIRS =public src
include $(topsrcdir)/config/rules.mk

View File

@ -26,6 +26,7 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
MODULE = msglocal
DIRS = public src
ifndef MOZ_STATIC_MAIL_BUILD

View File

@ -26,6 +26,8 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
MODULE = mime
DIRS = public src emitters cthandlers
ifndef MOZ_STATIC_MAIL_BUILD

View File

@ -26,6 +26,7 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
MODULE = mimemitter
DIRS = src
ifndef MOZ_STATIC_MAIL_BUILD

View File

@ -26,6 +26,8 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
MODULE = imglib2
DIRS = public src
ifdef MOZ_IMG_DECODERS

View File

@ -26,6 +26,7 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
MODULE = pref
DIRS = public src
include $(topsrcdir)/config/rules.mk

View File

@ -26,6 +26,8 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
MODULE = libreg
DIRS = include src standalone
include $(topsrcdir)/config/rules.mk

View File

@ -26,6 +26,8 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
MODULE = util
DIRS = public src
include $(topsrcdir)/config/rules.mk

View File

@ -26,6 +26,8 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
MODULE = oji
DIRS = public
ifdef MOZ_OJI

View File

@ -26,6 +26,8 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
MODULE = plugin
DIRS = base/public base/src
# These subdirs rely on GTK libraries and header files, it is not

View File

@ -26,6 +26,7 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
MODULE = zlib
DIRS = src
include $(topsrcdir)/config/rules.mk

View File

@ -26,6 +26,7 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
MODULE = nkcache
DIRS = public src
include $(topsrcdir)/config/rules.mk

View File

@ -26,6 +26,7 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
MODULE = mimetype
DIRS = public src
include $(topsrcdir)/config/rules.mk

View File

@ -25,6 +25,7 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
MODULE = necko2
DIRS = src
include $(topsrcdir)/config/rules.mk

View File

@ -26,6 +26,7 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
MODULE = necko2
DIRS = public src
include $(topsrcdir)/config/rules.mk

View File

@ -26,6 +26,7 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
MODULE = expat
DIRS = xmlparse xmltok
include $(topsrcdir)/config/rules.mk

View File

@ -26,6 +26,7 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
MODULE = htmlparser
DIRS = public src
ifdef ENABLE_TESTS

View File

@ -26,6 +26,8 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
MODULE = profile
DIRS = public dirserviceprovider
ifndef MOZ_SINGLE_PROFILE

View File

@ -41,6 +41,7 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
MODULE = profdirserviceprovider
DIRS = public src
include $(topsrcdir)/config/rules.mk

View File

@ -26,6 +26,7 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
MODULE = prefmigr
DIRS = public src resources
include $(topsrcdir)/config/rules.mk

View File

@ -26,6 +26,7 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
MODULE = rdf
DIRS = base util datasource resources build
ifndef MOZ_XUL_APP

View File

@ -26,6 +26,7 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
MODULE = rdfutil
DIRS = public src
include $(topsrcdir)/config/rules.mk

View File

@ -40,6 +40,7 @@ topsrcdir = @top_srcdir@
srcdir = @srcdir@
VPATH = @srcdir@
MODULE = pipboot
DIRS = public src
include $(topsrcdir)/config/rules.mk

View File

@ -25,6 +25,7 @@ topsrcdir = @top_srcdir@
srcdir = @srcdir@
VPATH = @srcdir@
MODULE = pippki
DIRS = public resources src
include $(topsrcdir)/config/rules.mk

View File

@ -25,6 +25,7 @@ topsrcdir = @top_srcdir@
srcdir = @srcdir@
VPATH = @srcdir@
MODULE = pipnss
DIRS = resources src public
include $(topsrcdir)/config/rules.mk

View File

@ -26,6 +26,7 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
MODULE = java
DIRS = stubs
include $(topsrcdir)/config/rules.mk

View File

@ -26,6 +26,7 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
MODULE = java
DIRS = jri include
include $(topsrcdir)/config/rules.mk

View File

@ -26,6 +26,7 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
MODULE = view
DIRS = public src
include $(topsrcdir)/config/rules.mk

View File

@ -22,6 +22,7 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
MODULE = xpcom
DIRS = public src
include $(topsrcdir)/config/rules.mk

View File

@ -26,6 +26,7 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
MODULE = xpcom
DIRS = xptinfo xptcall
include $(topsrcdir)/config/rules.mk

View File

@ -26,6 +26,7 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
MODULE = xpcom
DIRS = public src
include $(topsrcdir)/config/rules.mk

View File

@ -26,6 +26,7 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
MODULE = xpcom
DIRS = public src
include $(topsrcdir)/config/rules.mk

View File

@ -27,6 +27,7 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
MODULE = string
DIRS = public src obsolete embed
#ifdef ENABLE_TESTS

View File

@ -26,6 +26,7 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
MODULE = xpcom
DIRS = registry
ifeq ($(OS_ARCH),WINNT)

View File

@ -26,6 +26,7 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
MODULE = xpcom
DIRS = xpt xpidl
include $(topsrcdir)/config/rules.mk

View File

@ -26,9 +26,9 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
DIRS = public src
MODULE = xpcom
DIRS += tools
DIRS = public src tools
include $(topsrcdir)/config/rules.mk

View File

@ -26,6 +26,7 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
MODULE = appshell
DIRS = public src
include $(topsrcdir)/config/rules.mk

View File

@ -26,6 +26,8 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
MODULE = browser
DIRS = src samples resources
include $(topsrcdir)/config/rules.mk

View File

@ -26,6 +26,7 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
MODULE = downloadmanager
DIRS = public src resources
include $(topsrcdir)/config/rules.mk

View File

@ -28,6 +28,8 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
MODULE = filepicker
ifdef MOZ_XUL
ifeq (,$(filter beos os2 mac photon cocoa windows,$(MOZ_WIDGET_TOOLKIT)))
DIRS = public src

View File

@ -26,6 +26,7 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
MODULE = history
DIRS = src
include $(topsrcdir)/config/rules.mk

View File

@ -26,6 +26,7 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
MODULE = shistory
DIRS = public src
include $(topsrcdir)/config/rules.mk

View File

@ -25,6 +25,7 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
MODULE = xremoteservice
DIRS = src
include $(topsrcdir)/config/rules.mk

View File

@ -30,6 +30,7 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
MODULE = xpinstall
DIRS = public res src stub cleanup
ifdef MOZ_INSTALLER