switch to DIRS-based build, not build-in-each-directory way.

This commit is contained in:
mcafee%netscape.com 2002-05-07 07:05:10 +00:00
Родитель b2d6ec8d7c
Коммит c5b73d14bc
1 изменённых файлов: 7 добавлений и 14 удалений

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

@ -343,22 +343,15 @@ sub FindMakefiles {
# Build xpidl
print "gmake -C mozilla/xpcom/typelib\n";
system("gmake -C mozilla/xpcom/typelib");
# Now try the modules.
foreach (@dirs) {
print "dir = $_ (export)\n";
#run_shell_command("gmake -C $_ export");
print "gmake -C $_ export\n";
system("gmake -C $_ export");
}
print "basedir = $basedir\n";
foreach (@dirs) {
print "dir = $_ (libs)\n";
#run_shell_command("gmake -C $dir");
print "gmake -C $_ export\n";
system("gmake -C $_ libs");
}
chdir("$basedir/mozilla");
# Export-phase first. Export IDL stuff first to avoid IDL order problems.
# system("gmake export-idl"); # testing, not part of make system yet.
system("gmake export"); # run_shell_command("gmake export");
# Libs-phase next.
system("gmake libs"); # run_shell_command("gmake libs");
}