1999-11-06 06:43:54 +03:00
|
|
|
# The contents of this file are subject to the Netscape Public
|
|
|
|
# License Version 1.1 (the "License"); you may not use this file
|
|
|
|
# except in compliance with the License. You may obtain a copy of
|
|
|
|
# the License at http://www.mozilla.org/NPL/
|
1998-03-28 05:44:41 +03:00
|
|
|
#
|
1999-11-06 06:43:54 +03:00
|
|
|
# Software distributed under the License is distributed on an "AS
|
|
|
|
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
|
|
|
|
# implied. See the License for the specific language governing
|
|
|
|
# rights and limitations under the License.
|
1998-03-28 05:44:41 +03:00
|
|
|
#
|
1999-11-06 06:43:54 +03:00
|
|
|
# The Original Code is mozilla.org code.
|
|
|
|
#
|
|
|
|
# The Initial Developer of the Original Code is Netscape
|
1998-03-28 05:44:41 +03:00
|
|
|
# Communications Corporation. Portions created by Netscape are
|
1999-11-06 06:43:54 +03:00
|
|
|
# Copyright (C) 1998 Netscape Communications Corporation. All
|
|
|
|
# Rights Reserved.
|
|
|
|
#
|
|
|
|
# Contributor(s):
|
1998-03-28 05:44:41 +03:00
|
|
|
|
1998-12-23 14:01:34 +03:00
|
|
|
DEPTH=.
|
1998-07-16 01:40:59 +04:00
|
|
|
|
1998-04-22 01:22:54 +04:00
|
|
|
!if !defined(MOZ_TOP)
|
1998-12-23 14:01:34 +03:00
|
|
|
#enable builds from changed top level directories
|
1998-04-27 22:16:04 +04:00
|
|
|
MOZ_TOP=mozilla
|
1998-04-22 01:22:54 +04:00
|
|
|
!endif
|
|
|
|
|
1998-12-23 14:01:34 +03:00
|
|
|
#
|
|
|
|
# Command macro defines
|
|
|
|
#
|
1998-03-28 05:44:41 +03:00
|
|
|
|
1999-03-24 02:39:05 +03:00
|
|
|
#//------------------------------------------------------------------------
|
|
|
|
#// Figure out how to do the pull.
|
|
|
|
#//------------------------------------------------------------------------
|
2000-07-27 02:43:27 +04:00
|
|
|
# uncomment these, modify branch tag, and check in to branch for milestones
|
|
|
|
#MOZ_BRANCH=SeaMonkey_M17_BRANCH
|
|
|
|
#NSPR_CO_TAG=SeaMonkey_M17_BRANCH
|
|
|
|
#PSM_CO_TAG=SeaMonkey_M17_BRANCH
|
2000-10-18 23:45:37 +04:00
|
|
|
#LDAPCSDK_CO_TAG=SeaMonkey_M17_BRANCH
|
2000-07-27 02:43:27 +04:00
|
|
|
|
1999-03-24 02:39:05 +03:00
|
|
|
!if "$(MOZ_BRANCH)" != ""
|
|
|
|
CVS_BRANCH=-r $(MOZ_BRANCH)
|
|
|
|
HAVE_BRANCH=1
|
|
|
|
!else
|
|
|
|
HAVE_BRANCH=0
|
|
|
|
!endif
|
|
|
|
|
|
|
|
!if "$(MOZ_DATE)" != ""
|
1999-11-30 20:29:20 +03:00
|
|
|
CVS_BRANCH=-D "$(MOZ_DATE)"
|
1999-03-24 02:39:05 +03:00
|
|
|
HAVE_DATE=1
|
|
|
|
!else
|
|
|
|
HAVE_DATE=0
|
|
|
|
!endif
|
|
|
|
|
|
|
|
!if $(HAVE_DATE) && $(HAVE_BRANCH)
|
|
|
|
ERR_MESSAGE=$(ERR_MESSAGE)^
|
|
|
|
Cannot specify both MOZ_BRANCH and MOZ_DATE
|
|
|
|
!endif
|
|
|
|
|
1999-11-23 01:33:40 +03:00
|
|
|
!if "$(MOZ_CVS_FLAGS)" != ""
|
|
|
|
CVS_FLAGS=$(MOZ_CVS_FLAGS)
|
|
|
|
!endif
|
|
|
|
|
1999-02-28 10:51:10 +03:00
|
|
|
# let's be explicit about CVSROOT... some windows cvs clients
|
|
|
|
# are too stupid to correctly work without the -d option
|
2000-07-07 01:20:26 +04:00
|
|
|
#
|
|
|
|
# if they are too stupid, they should fail. I am
|
|
|
|
# commenting this out because this does not work
|
|
|
|
# under 4nt. (%'s are evaluted differently)
|
|
|
|
#
|
|
|
|
# If it breaks you, mail dougt@netscape.com
|
|
|
|
# and leaf@mozilla.org
|
|
|
|
#
|
|
|
|
!if 0
|
1999-03-24 02:39:05 +03:00
|
|
|
!if defined(CVSROOT)
|
2000-07-07 01:20:26 +04:00
|
|
|
CVS_FLAGS=$(CVS_FLAGS) -d "$(CVSROOT)"
|
|
|
|
!endif
|
1998-03-28 05:44:41 +03:00
|
|
|
!endif
|
|
|
|
|
2000-02-06 00:17:07 +03:00
|
|
|
CVSCO = cvs -q $(CVS_FLAGS) co $(CVS_BRANCH) -P
|
|
|
|
|
1998-12-23 14:01:34 +03:00
|
|
|
CVSCO_TAG = cvs -q co -P
|
1998-06-05 05:03:18 +04:00
|
|
|
|
1998-12-23 14:01:34 +03:00
|
|
|
# Branch tags we use
|
1998-03-28 05:44:41 +03:00
|
|
|
|
1998-12-23 14:01:34 +03:00
|
|
|
IMGLIB_BRANCH =
|
|
|
|
PLUGIN_BRANCH =
|
|
|
|
XPCOM_BRANCH =
|
1998-03-28 05:44:41 +03:00
|
|
|
|
1998-12-23 14:01:34 +03:00
|
|
|
!if defined(MOZ_DATE)
|
|
|
|
# CVS commands to pull the appropriate branch versions
|
|
|
|
CVSCO_LIBPREF = $(CVSCO)
|
|
|
|
CVSCO_PLUGIN = $(CVSCO)
|
1998-03-28 05:44:41 +03:00
|
|
|
!else
|
1998-12-23 14:01:34 +03:00
|
|
|
# CVS commands to pull the appropriate branch versions
|
|
|
|
CVSCO_LIBPREF = $(CVSCO) -A
|
|
|
|
CVSCO_PLUGIN = $(CVSCO) -A
|
1998-03-28 05:44:41 +03:00
|
|
|
!endif
|
|
|
|
|
1999-11-30 20:29:20 +03:00
|
|
|
CVSCO_XPCOM = $(CVSCO)
|
|
|
|
CVSCO_IMGLIB = $(CVSCO)
|
|
|
|
CVSCO_RAPTOR = $(CVSCO)
|
|
|
|
CVSCO_LIZARD = $(CVSCO)
|
|
|
|
CVSCO_NETWORK = $(CVSCO)
|
|
|
|
|
2000-02-06 00:17:07 +03:00
|
|
|
#//------------------------------------------------------------------------
|
|
|
|
#// Figure out how to pull NSPR.
|
|
|
|
#// If no NSPR_CO_TAG is specified, use the default static tag
|
|
|
|
#//------------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
|
|
|
!if "$(NSPR_CO_TAG)" != ""
|
|
|
|
NSPR_CO_FLAGS=-r $(NSPR_CO_TAG)
|
|
|
|
!else
|
2000-03-13 18:56:44 +03:00
|
|
|
NSPR_CO_FLAGS=-r NSPRPUB_CLIENT_BRANCH
|
2000-02-06 00:17:07 +03:00
|
|
|
!endif
|
|
|
|
|
|
|
|
CVSCO_NSPR = cvs -q $(CVS_FLAGS) co $(NSPR_CO_FLAGS) -P
|
|
|
|
|
2000-03-11 07:55:28 +03:00
|
|
|
#//------------------------------------------------------------------------
|
|
|
|
#// Figure out how to pull PSM client libs.
|
|
|
|
#// If no PSM_CO_TAG is specified, use the default static tag
|
|
|
|
#//------------------------------------------------------------------------
|
|
|
|
|
|
|
|
!if "$(PSM_CO_TAG)" != ""
|
|
|
|
PSM_CO_FLAGS=-r $(PSM_CO_TAG)
|
|
|
|
!else
|
2000-05-11 06:36:42 +04:00
|
|
|
PSM_CO_FLAGS=-r SECURITY_CLIENT_BRANCH
|
2000-03-11 07:55:28 +03:00
|
|
|
!endif
|
|
|
|
|
|
|
|
CVSCO_PSM = cvs -q $(CVS_FLAGS) co $(PSM_CO_FLAGS) -P
|
|
|
|
|
2000-06-17 01:20:18 +04:00
|
|
|
#//------------------------------------------------------------------------
|
|
|
|
#// Figure out how to pull LDAP C SDK client libs.
|
|
|
|
#// If no LDAPCSDK_CO_TAG is specified, use the default tag
|
|
|
|
#//------------------------------------------------------------------------
|
|
|
|
|
|
|
|
!if "$(LDAPCSDK_CO_TAG)" != ""
|
2000-10-18 23:45:37 +04:00
|
|
|
LDAPCSDK_CO_FLAGS=-r $(LDAPCSDK_CO_TAG)
|
2000-06-17 01:20:18 +04:00
|
|
|
!else
|
|
|
|
LDAPCSDK_CO_FLAGS=-r LDAPCSDK_40_BRANCH
|
|
|
|
!endif
|
|
|
|
|
|
|
|
CVSCO_LDAPCSDK = cvs -q $(CVS_FLAGS) co $(LDAPCSDK_CO_FLAGS) -P
|
|
|
|
|
1999-02-28 10:51:10 +03:00
|
|
|
## The master target
|
1998-12-23 14:01:34 +03:00
|
|
|
############################################################
|
1999-02-28 10:51:10 +03:00
|
|
|
|
1999-07-31 03:40:42 +04:00
|
|
|
pull_and_build_all: pull_all depend build_all
|
1999-02-28 10:51:10 +03:00
|
|
|
|
1998-12-23 14:01:34 +03:00
|
|
|
|
|
|
|
## Rules for pulling the source from the cvs repository
|
|
|
|
############################################################
|
|
|
|
|
1999-07-31 03:40:42 +04:00
|
|
|
pull_clobber_and_build_all: pull_all clobber_all build_all
|
1998-12-23 14:01:34 +03:00
|
|
|
|
2000-06-28 02:38:59 +04:00
|
|
|
pull_all: pull_nspr pull_psm pull_ldapcsdk pull_seamonkey
|
2000-02-06 00:17:07 +03:00
|
|
|
|
2000-03-13 18:56:44 +03:00
|
|
|
pull_nspr: pull_clientmak
|
2000-02-06 00:17:07 +03:00
|
|
|
cd $(MOZ_SRC)\.
|
|
|
|
$(CVSCO_NSPR) mozilla/nsprpub
|
1998-12-23 14:01:34 +03:00
|
|
|
|
2000-03-11 07:33:39 +03:00
|
|
|
pull_psm:
|
|
|
|
cd $(MOZ_SRC)\.
|
|
|
|
$(CVSCO_PSM) mozilla/security
|
|
|
|
|
2000-06-17 01:20:18 +04:00
|
|
|
pull_ldapcsdk:
|
|
|
|
cd $(MOZ_SRC)\.
|
|
|
|
$(CVSCO_LDAPCSDK) mozilla/directory/c-sdk
|
|
|
|
|
2000-07-19 07:36:27 +04:00
|
|
|
pull_xpconnect:
|
|
|
|
cd $(MOZ_SRC)\.
|
|
|
|
$(CVSCO_NSPR) mozilla/nsprpub
|
|
|
|
$(CVSCO) mozilla/include
|
|
|
|
$(CVSCO) mozilla/config
|
|
|
|
$(CVSCO) -l mozilla/js
|
|
|
|
$(CVSCO) -l mozilla/js/src
|
|
|
|
$(CVSCO) mozilla/js/src/fdlibm
|
|
|
|
$(CVSCO) mozilla/js/src/xpconnect
|
|
|
|
$(CVSCO) mozilla/modules/libreg
|
|
|
|
$(CVSCO) mozilla/xpcom
|
|
|
|
|
1999-03-23 22:38:05 +03:00
|
|
|
# pull either layout only or seamonkey the browser
|
|
|
|
pull_layout:
|
1999-10-19 05:29:44 +04:00
|
|
|
cd $(MOZ_SRC)\.
|
|
|
|
$(CVSCO) RaptorWin
|
1999-03-23 22:38:05 +03:00
|
|
|
|
2000-03-13 18:56:44 +03:00
|
|
|
pull_seamonkey: pull_clientmak
|
1999-10-19 05:29:44 +04:00
|
|
|
cd $(MOZ_SRC)\.
|
1999-11-30 20:29:20 +03:00
|
|
|
$(CVSCO) SeaMonkeyAll
|
1998-12-23 14:01:34 +03:00
|
|
|
|
2000-03-13 18:56:44 +03:00
|
|
|
pull_clientmak:
|
|
|
|
cd $(MOZ_SRC)\.
|
|
|
|
$(CVSCO) mozilla/client.mak
|
|
|
|
|
1998-12-23 14:01:34 +03:00
|
|
|
############################################################
|
|
|
|
|
1999-03-01 23:16:01 +03:00
|
|
|
# nmake has to be hardcoded, or we have to depend on mozilla/config
|
|
|
|
# being pulled already to figure out what $(NMAKE) should be.
|
|
|
|
|
2000-03-11 07:33:39 +03:00
|
|
|
clobber_all: clobber_nspr clobber_psm clobber_seamonkey
|
1999-08-03 00:37:46 +04:00
|
|
|
|
2000-09-15 01:22:06 +04:00
|
|
|
build_all: build_nspr build_seamonkey
|
1999-08-03 00:37:46 +04:00
|
|
|
|
|
|
|
clobber_nspr:
|
|
|
|
@cd $(MOZ_SRC)\$(MOZ_TOP)\nsprpub
|
|
|
|
nmake -f makefile.win clobber_all
|
|
|
|
|
2000-03-11 07:33:39 +03:00
|
|
|
clobber_psm:
|
|
|
|
@cd $(MOZ_SRC)\$(MOZ_TOP)\security
|
|
|
|
nmake -f makefile.win clobber_all
|
|
|
|
|
2000-07-19 07:36:27 +04:00
|
|
|
clobber_xpconnect:
|
|
|
|
@cd $(MOZ_SRC)\$(MOZ_TOP)\.
|
|
|
|
-rd /s /q dist
|
|
|
|
set DIST_DIRS=1
|
|
|
|
@cd $(MOZ_SRC)\$(MOZ_TOP)\nsprpub
|
|
|
|
nmake -f makefile.win clobber_all
|
|
|
|
@cd $(MOZ_SRC)\$(MOZ_TOP)\include
|
|
|
|
nmake -f makefile.win clobber_all
|
|
|
|
@cd $(MOZ_SRC)\$(MOZ_TOP)\modules\libreg
|
|
|
|
nmake -f makefile.win clobber_all
|
|
|
|
@cd $(MOZ_SRC)\$(MOZ_TOP)\xpcom
|
|
|
|
nmake -f makefile.win clobber_all
|
|
|
|
@cd $(MOZ_SRC)\$(MOZ_TOP)\js
|
|
|
|
nmake -f makefile.win clobber_all
|
2000-03-11 07:33:39 +03:00
|
|
|
|
1999-08-03 00:37:46 +04:00
|
|
|
clobber_seamonkey:
|
1999-02-28 10:51:10 +03:00
|
|
|
@cd $(MOZ_SRC)\$(MOZ_TOP)\.
|
1999-08-03 00:37:46 +04:00
|
|
|
-rd /s /q dist
|
1999-04-01 00:55:34 +04:00
|
|
|
set DIST_DIRS=1
|
|
|
|
set LAYOUT_DIRS=1
|
|
|
|
set CLIENT_DIRS=1
|
1999-03-01 23:16:01 +03:00
|
|
|
nmake -f makefile.win clobber_all
|
1998-12-31 22:55:05 +03:00
|
|
|
|
1999-02-19 01:27:52 +03:00
|
|
|
depend:
|
1999-02-28 10:51:10 +03:00
|
|
|
@cd $(MOZ_SRC)\$(MOZ_TOP)\.
|
1999-04-01 00:55:34 +04:00
|
|
|
set DIST_DIRS=1
|
|
|
|
set LAYOUT_DIRS=1
|
|
|
|
set CLIENT_DIRS=1
|
1999-03-01 23:16:01 +03:00
|
|
|
nmake -f makefile.win depend
|
1999-02-19 01:27:52 +03:00
|
|
|
|
1999-08-03 00:37:46 +04:00
|
|
|
build_nspr:
|
|
|
|
@cd $(MOZ_SRC)\$(MOZ_TOP)\nsprpub
|
|
|
|
nmake -f makefile.win export
|
|
|
|
|
2000-03-11 07:33:39 +03:00
|
|
|
build_psm:
|
|
|
|
@cd $(MOZ_SRC)\$(MOZ_TOP)\security
|
|
|
|
nmake -f makefile.win export
|
2000-06-17 01:20:18 +04:00
|
|
|
|
2000-07-19 07:36:27 +04:00
|
|
|
build_xpconnect:
|
|
|
|
@cd $(MOZ_SRC)\$(MOZ_TOP)\nsprpub
|
|
|
|
nmake -f makefile.win all
|
|
|
|
@cd $(MOZ_SRC)\$(MOZ_TOP)\include
|
|
|
|
nmake -f makefile.win all
|
|
|
|
@cd $(MOZ_SRC)\$(MOZ_TOP)\modules\libreg
|
|
|
|
nmake -f makefile.win all
|
|
|
|
@cd $(MOZ_SRC)\$(MOZ_TOP)\xpcom
|
|
|
|
nmake -f makefile.win all
|
|
|
|
@cd $(MOZ_SRC)\$(MOZ_TOP)\js\src
|
|
|
|
nmake -f makefile.win all
|
|
|
|
|
1999-08-03 00:37:46 +04:00
|
|
|
build_seamonkey:
|
|
|
|
@cd $(MOZ_SRC)\$(MOZ_TOP)\.
|
1999-04-01 00:55:34 +04:00
|
|
|
set DIST_DIRS=1
|
|
|
|
set LAYOUT_DIRS=1
|
|
|
|
set CLIENT_DIRS=1
|
1999-03-23 22:38:05 +03:00
|
|
|
nmake -f makefile.win all
|
|
|
|
|
1999-08-03 00:37:46 +04:00
|
|
|
build_client:
|
|
|
|
@cd $(MOZ_SRC)\mozilla\.
|
|
|
|
set CLIENT_DIRS=1
|
|
|
|
nmake -f makefile.win all
|
|
|
|
|
1999-03-23 22:38:05 +03:00
|
|
|
build_layout:
|
1998-12-23 14:01:34 +03:00
|
|
|
@cd $(MOZ_SRC)\mozilla\.
|
1999-04-01 00:55:34 +04:00
|
|
|
set LAYOUT_DIRS=1
|
1999-03-01 23:16:01 +03:00
|
|
|
nmake -f makefile.win all
|
1999-03-24 02:39:05 +03:00
|
|
|
|
1999-04-01 00:55:34 +04:00
|
|
|
build_dist:
|
|
|
|
@cd $(MOZ_SRC)\mozilla\.
|
|
|
|
set DIST_DIRS=1
|
|
|
|
nmake -f makefile.win all
|
|
|
|
|
2000-02-10 07:51:54 +03:00
|
|
|
install:
|
|
|
|
@cd $(MOZ_SRC)\$(MOZ_TOP)\.
|
|
|
|
set DIST_DIRS=1
|
|
|
|
set LAYOUT_DIRS=1
|
|
|
|
set CLIENT_DIRS=1
|
|
|
|
nmake -f makefile.win install
|
|
|
|
|
|
|
|
export:
|
|
|
|
@cd $(MOZ_SRC)\$(MOZ_TOP)\nsprpub
|
|
|
|
nmake -f makefile.win export
|
2000-03-11 07:33:39 +03:00
|
|
|
@cd $(MOZ_SRC)\$(MOZ_TOP)\security
|
|
|
|
nmake -f makefile.win export
|
2000-02-10 07:51:54 +03:00
|
|
|
@cd $(MOZ_SRC)\$(MOZ_TOP)\.
|
|
|
|
set DIST_DIRS=1
|
|
|
|
set LAYOUT_DIRS=1
|
|
|
|
set CLIENT_DIRS=1
|
|
|
|
nmake -f makefile.win export
|
|
|
|
|
1999-04-01 00:55:34 +04:00
|
|
|
clobber_dist:
|
|
|
|
@cd $(MOZ_SRC)\mozilla\.
|
|
|
|
set DIST_DIRS=1
|
|
|
|
nmake -f makefile.win clobber_all
|
|
|
|
|
1999-08-03 00:37:46 +04:00
|
|
|
clobber_client:
|
|
|
|
@cd $(MOZ_SRC)\mozilla\.
|
|
|
|
set CLIENT_DIRS=1
|
|
|
|
nmake -f makefile.win clobber_all
|
|
|
|
|
1999-04-01 00:55:34 +04:00
|
|
|
clobber_layout:
|
|
|
|
@cd $(MOZ_SRC)\mozilla\.
|
|
|
|
set LAYOUT_DIRS=1
|
|
|
|
nmake -f makefile.win clobber_all
|
|
|
|
|
1999-04-06 02:18:34 +04:00
|
|
|
browse_info::
|
|
|
|
cd $(MOZ_SRC)\$(MOZ_TOP)
|
|
|
|
-dir /s /b *.sbr > sbrlist.tmp
|
2000-03-23 01:03:27 +03:00
|
|
|
-bscmake /Es /o mozilla.bsc @sbrlist.tmp
|
1999-04-06 02:18:34 +04:00
|
|
|
-rm sbrlist.tmp
|
|
|
|
|
2000-09-07 13:34:29 +04:00
|
|
|
regchrome::
|
|
|
|
@cd $(MOZ_SRC)\mozilla\.
|
|
|
|
set DIST_DIRS=1
|
|
|
|
set LAYOUT_DIRS=1
|
|
|
|
set CLIENT_DIRS=1
|
|
|
|
nmake /f makefile.win regchrome
|
|
|
|
|
1999-07-08 00:34:59 +04:00
|
|
|
deliver::
|
|
|
|
@cd $(MOZ_SRC)\mozilla\.
|
|
|
|
set DIST_DIRS=1
|
|
|
|
set LAYOUT_DIRS=1
|
|
|
|
set CLIENT_DIRS=1
|
|
|
|
nmake /f makefile.win splitsymbols
|
|
|
|
|
1999-03-24 02:39:05 +03:00
|
|
|
#//------------------------------------------------------------------------
|
|
|
|
#// Utility stuff...
|
|
|
|
#//------------------------------------------------------------------------
|
|
|
|
|
|
|
|
#//------------------------------------------------------------------------
|
|
|
|
# Verify that MOZ_SRC is set correctly
|
|
|
|
#//------------------------------------------------------------------------
|
|
|
|
|
|
|
|
# Check to see if it is set at all
|
|
|
|
!if "$(MOZ_SRC)"!=""
|
|
|
|
|
|
|
|
#
|
|
|
|
# create a temp file at the root and make sure it is visible from MOZ_SRC
|
|
|
|
#
|
|
|
|
!if [copy $(MAKEDIR)\client.mak $(MAKEDIR)\xyzzy.tmp > NUL] == 0
|
|
|
|
!endif
|
|
|
|
|
|
|
|
!if !EXIST( $(MOZ_SRC)\mozilla\xyzzy.tmp )
|
|
|
|
ERR_MESSAGE=$(ERR_MESSAGE)^
|
|
|
|
MOZ_SRC isn't set correctly: [$(MOZ_SRC)\mozilla]!=[$(MAKEDIR)]
|
|
|
|
!endif
|
|
|
|
|
|
|
|
!if [del $(MAKEDIR)\xyzzy.tmp]
|
|
|
|
!endif
|
|
|
|
|
|
|
|
!else
|
|
|
|
# MOZ_SRC isn't set at all
|
|
|
|
ERR_MESSAGE=$(ERR_MESSAGE)^
|
|
|
|
Environment variable MOZ_SRC isn't set.
|
|
|
|
!endif
|
|
|
|
|
|
|
|
#//------------------------------------------------------------------------
|
|
|
|
# Verify that MOZ_BITS is set
|
|
|
|
#//------------------------------------------------------------------------
|
|
|
|
!if !defined(MOZ_BITS)
|
|
|
|
ERR_MESSAGE=$(ERR_MESSAGE)^
|
|
|
|
Environment variable MOZ_BITS isn't set.
|
|
|
|
!endif
|
|
|
|
|
|
|
|
!if !defined(MOZ_TOOLS)
|
|
|
|
ERR_MESSAGE=$(ERR_MESSAGE)^
|
|
|
|
Environment variable MOZ_TOOLS isn't set.
|
|
|
|
!endif
|
|
|
|
|
|
|
|
|
|
|
|
#//------------------------------------------------------------------------
|
|
|
|
#// Display error
|
|
|
|
#//------------------------------------------------------------------------
|
|
|
|
|
|
|
|
!if "$(ERR_MESSAGE)" != ""
|
|
|
|
ERR_MESSAGE = ^
|
|
|
|
client.mak: ^
|
|
|
|
$(ERR_MESSAGE) ^
|
|
|
|
^
|
|
|
|
client.mak: usage^
|
|
|
|
^
|
|
|
|
nmake -f client.mak [MOZ_BRANCH=<cvs_branch_name>] ^
|
|
|
|
[MOZ_DATE=<cvs_date>]^
|
|
|
|
[pull_and_build_all]^
|
|
|
|
[pull_all]^
|
|
|
|
[build_all]^
|
|
|
|
^
|
|
|
|
Environment variables:^
|
|
|
|
^
|
|
|
|
MOZ_BITS set to 32^
|
|
|
|
MOZ_SRC set to the directory above mozilla or "$(MAKEDIR)\.."^
|
|
|
|
MOZ_TOOLS set to the directory containing the needed tools ^
|
|
|
|
|
|
|
|
!ERROR $(ERR_MESSAGE)
|
|
|
|
|
|
|
|
!endif
|