split nspr build out as a separate target to save build time

This commit is contained in:
dveditz%netscape.com 1999-08-02 20:37:46 +00:00
Родитель 4ddac9fbda
Коммит ff4d6b8717
2 изменённых файлов: 35 добавлений и 9 удалений

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

@ -113,11 +113,17 @@ pull_seamonkey:
# nmake has to be hardcoded, or we have to depend on mozilla/config
# being pulled already to figure out what $(NMAKE) should be.
clobber_all:
clobber_all: clobber_nspr clobber_seamonkey
build_all: build_nspr build_seamonkey
clobber_nspr:
@cd $(MOZ_SRC)\$(MOZ_TOP)\nsprpub
nmake -f makefile.win clobber_all
clobber_seamonkey:
@cd $(MOZ_SRC)\$(MOZ_TOP)\.
!if exist(dist)
rd /s /q dist
!endif
-rd /s /q dist
set DIST_DIRS=1
set LAYOUT_DIRS=1
set CLIENT_DIRS=1
@ -130,13 +136,22 @@ depend:
set CLIENT_DIRS=1
nmake -f makefile.win depend
build_all:
@cd $(MOZ_SRC)\mozilla\.
build_nspr:
@cd $(MOZ_SRC)\$(MOZ_TOP)\nsprpub
nmake -f makefile.win export
build_seamonkey:
@cd $(MOZ_SRC)\$(MOZ_TOP)\.
set DIST_DIRS=1
set LAYOUT_DIRS=1
set CLIENT_DIRS=1
nmake -f makefile.win all
build_client:
@cd $(MOZ_SRC)\mozilla\.
set CLIENT_DIRS=1
nmake -f makefile.win all
build_layout:
@cd $(MOZ_SRC)\mozilla\.
set LAYOUT_DIRS=1
@ -149,13 +164,16 @@ build_dist:
clobber_dist:
@cd $(MOZ_SRC)\mozilla\.
rd /s /q dist
set DIST_DIRS=1
nmake -f makefile.win clobber_all
clobber_client:
@cd $(MOZ_SRC)\mozilla\.
set CLIENT_DIRS=1
nmake -f makefile.win clobber_all
clobber_layout:
@cd $(MOZ_SRC)\mozilla\.
rd /s /q dist
set LAYOUT_DIRS=1
nmake -f makefile.win clobber_all

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

@ -42,7 +42,6 @@ DIRS = \
!if defined(DIST_DIRS)
config \
dbm \
nsprpub \
include \
jpeg \
modules\libreg \
@ -96,6 +95,7 @@ DIRS = \
!ifdef NECKO
all::
export::
@echo NECKO is enabled
!endif
@ -108,8 +108,15 @@ export::
include <$(DEPTH)\config\rules.mak>
#//------------------------------------------------------------------------
#//
#// MOZILLA_OFFICIAL junk: rebase and splitsym for binary release
#//
#//------------------------------------------------------------------------
#// should make sure we have rebase, and die if not
!if defined(MOZILLA_OFFICIAL)
!if [for %i in (. %PATH%) do $(QUIET)if exist %i\$(REBASE) echo %i\$(REBASE) > rebase.yes]
!endif
@ -118,6 +125,7 @@ REBASE=
!if [del rebase.yes]
!endif
!endif
!endif
rebase:
!if defined(MOZILLA_OFFICIAL)