зеркало из https://github.com/mozilla/pjs.git
change raptor to nglayout
This commit is contained in:
Родитель
ae5bec1cdd
Коммит
1aa7915cde
34
client.mak
34
client.mak
|
@ -24,22 +24,22 @@ MOZ_TOP=mozilla
|
||||||
!endif
|
!endif
|
||||||
|
|
||||||
#//------------------------------------------------------------------------
|
#//------------------------------------------------------------------------
|
||||||
#// Defines specific to MOZ_RAPTOR
|
#// Defines specific to MOZ_NGLAYOUT
|
||||||
#//------------------------------------------------------------------------
|
#//------------------------------------------------------------------------
|
||||||
!if defined(MOZ_RAPTOR)
|
!if defined(MOZ_NGLAYOUT)
|
||||||
RAPTOR_MAKEFILE=raptor.mak
|
NGLAYOUT_MAKEFILE=nglayout.mak
|
||||||
|
|
||||||
CVSCO = cvs -q co -P
|
CVSCO = cvs -q co -P
|
||||||
|
|
||||||
# Branch tags we use
|
# Branch tags we use
|
||||||
NETLIB_BRANCH = MODULAR_NETLIB_BRANCH
|
NETLIB_BRANCH = MODULAR_NETLIB_BRANCH
|
||||||
MOZRAPTOR_BRANCH = RAPTOR_INTEGRATION0_BRANCH
|
MOZNGLAYOUT_BRANCH = RAPTOR_INTEGRATION0_BRANCH
|
||||||
|
|
||||||
# CVS commands to pull the appropriate branch versions
|
# CVS commands to pull the appropriate branch versions
|
||||||
CVSCO_NETLIB = $(CVSCO) -r $(NETLIB_BRANCH)
|
CVSCO_NETLIB = $(CVSCO) -r $(NETLIB_BRANCH)
|
||||||
CVSCO_CONFIG = $(CVSCO) -r $(MOZRAPTOR_BRANCH)
|
|
||||||
|
|
||||||
MOZ_BRANCH=$(MOZRAPTOR_BRANCH)
|
# If MOZ_BRANCH is set from the user's environment, it will be ignored.
|
||||||
|
MOZ_BRANCH=$(MOZNGLAYOUT_BRANCH)
|
||||||
!endif
|
!endif
|
||||||
|
|
||||||
|
|
||||||
|
@ -88,18 +88,19 @@ pull_clobber_build_all:: pull_all \
|
||||||
clobber_build_all:: clobber_all \
|
clobber_build_all:: clobber_all \
|
||||||
build_all
|
build_all
|
||||||
|
|
||||||
!if defined(MOZ_RAPTOR)
|
!if defined(MOZ_NGLAYOUT)
|
||||||
|
# Not very efficient, pull_raptor and pull_netlib will repull
|
||||||
pull_all:: pull_client_source_product pull_raptor pull_netlib
|
pull_all:: pull_client_source_product pull_raptor pull_netlib
|
||||||
!else
|
!else
|
||||||
pull_all:: pull_client_source_product
|
pull_all:: pull_client_source_product
|
||||||
!endif
|
!endif
|
||||||
|
|
||||||
!if defined(MOZ_RAPTOR)
|
!if defined(MOZ_NGLAYOUT)
|
||||||
pull_raptor:
|
pull_raptor:
|
||||||
@cd $(MOZ_SRC)
|
@cd $(MOZ_SRC)
|
||||||
$(CVSCO) $(MOZ_TOP)/raptor.mak
|
$(CVSCO) $(MOZ_TOP)/raptor.mak
|
||||||
@cd $(MOZ_SRC)/$(MOZ_TOP)
|
@cd $(MOZ_SRC)/$(MOZ_TOP)
|
||||||
$(NMAKE) -f $(RAPTOR_MAKEFILE) pull_xpcom pull_imglib pull_raptor
|
$(NMAKE) -f $(NGLAYOUT_MAKEFILE) pull_xpcom pull_imglib pull_raptor
|
||||||
|
|
||||||
pull_netlib:
|
pull_netlib:
|
||||||
@cd $(MOZ_SRC)\.
|
@cd $(MOZ_SRC)\.
|
||||||
|
@ -114,19 +115,20 @@ pull_client_source_product:
|
||||||
-cvs -q co $(CVS_BRANCH) MozillaSourceWin
|
-cvs -q co $(CVS_BRANCH) MozillaSourceWin
|
||||||
|
|
||||||
|
|
||||||
!if defined(MOZ_RAPTOR)
|
!if defined(MOZ_NGLAYOUT)
|
||||||
|
# Build Raptor first.
|
||||||
build_all: build_raptor \
|
build_all: build_raptor \
|
||||||
build_dist \
|
build_dist \
|
||||||
build_client
|
build_client
|
||||||
!else
|
!else
|
||||||
build_all: build_dist \
|
build_all: build_dist \
|
||||||
build_client
|
build_client
|
||||||
!endif
|
!endif
|
||||||
|
|
||||||
!if defined(MOZ_RAPTOR)
|
!if defined(MOZ_NGLAYOUT)
|
||||||
build_raptor:
|
build_raptor:
|
||||||
cd $(MOZ_SRC)\$(MOZ_TOP)
|
cd $(MOZ_SRC)\$(MOZ_TOP)
|
||||||
$(NMAKE) -f $(RAPTOR_MAKEFILE) STANDALONE_IMAGE_LIB=1 RAPTOR=1
|
$(NMAKE) -f $(NGLAYOUT_MAKEFILE) STANDALONE_IMAGE_LIB=1 MODULAR_NETLIB=1 NGLAYOUT_BUILD_PREFIX=1
|
||||||
!endif
|
!endif
|
||||||
|
|
||||||
build_dist:
|
build_dist:
|
||||||
|
@ -148,7 +150,7 @@ build_client:
|
||||||
#
|
#
|
||||||
# remove all source files from the tree and print a report of what was missed
|
# remove all source files from the tree and print a report of what was missed
|
||||||
#
|
#
|
||||||
!if defined(MOZ_RAPTOR)
|
!if defined(MOZ_NGLAYOUT)
|
||||||
clobber_all:: clobber_moz clobber_raptor
|
clobber_all:: clobber_moz clobber_raptor
|
||||||
!else
|
!else
|
||||||
clobber_all:: clobber_moz
|
clobber_all:: clobber_moz
|
||||||
|
@ -164,10 +166,10 @@ clobber_moz:
|
||||||
$(NMAKE) -f nsldap.mak clobber_all
|
$(NMAKE) -f nsldap.mak clobber_all
|
||||||
!endif
|
!endif
|
||||||
|
|
||||||
!if defined(MOZ_RAPTOR)
|
!if defined(MOZ_NGLAYOUT)
|
||||||
clobber_raptor:
|
clobber_raptor:
|
||||||
cd $(MOZ_SRC)\$(MOZ_TOP)
|
cd $(MOZ_SRC)\$(MOZ_TOP)
|
||||||
$(NMAKE) -f $(RAPTOR_MAKEFILE) STANDALONE_IMAGE_LIB=1 RAPTOR=1 clobber
|
$(NMAKE) -f $(NGLAYOUT_MAKEFILE) STANDALONE_IMAGE_LIB=1 NGLAYOUT=1 clobber
|
||||||
!endif
|
!endif
|
||||||
|
|
||||||
depend:
|
depend:
|
||||||
|
|
Загрузка…
Ссылка в новой задаче