Adding export-idl rule for REQUIRES-based embed build (150088). r=blythe, sr=alecf, a=asa

This commit is contained in:
mcafee%netscape.com 2002-06-11 22:26:27 +00:00
Родитель 41937130c9
Коммит 945e691fda
2 изменённых файлов: 25 добавлений и 2 удалений

Просмотреть файл

@ -1504,6 +1504,29 @@ endif
endif # XPIDLSRCS
#
# General rules for exporting idl files.
#
# WORK-AROUND ONLY, for mozilla/tools/module-deps/bootstrap.pl build.
# Bug to fix idl dependecy problems w/o this extra build pass is
# http://bugzilla.mozilla.org/show_bug.cgi?id=145777
#
$(IDL_DIR)::
@if test ! -d $@; then echo Creating $@; rm -rf $@; $(NSINSTALL) -D $@; else true; fi
export-idl:: $(XPIDLSRCS) $(SDK_XPIDLSRCS) $(IDL_DIR)
ifneq ($(XPIDLSRCS),)
ifndef NO_DIST_INSTALL
$(INSTALL) $(IFLAGS1) $^
endif
endif
+$(LOOP_OVER_DIRS)
ifneq ($(SDK_XPIDLSRCS),)
# export .idl files to $(IDL_DIR) & $(SDK_IDL_DIR)
export:: $(IDL_DIR) $(SDK_IDL_DIR)

Просмотреть файл

@ -382,8 +382,8 @@ sub FindMakefiles {
chdir("$basedir/mozilla");
# Export-phase first. Export IDL stuff first to avoid IDL order problems.
# system("$makecmd export-idl"); # testing, not part of make system yet.
system("$makecmd export"); # run_shell_command("$makecmd export");
system("$makecmd export-idl"); # workaround for idl order problems.
system("$makecmd export"); # run_shell_command("$makecmd export");
# Libs-phase next.
system("$makecmd libs"); # run_shell_command("$makecmd libs");