1998-03-28 05:44:41 +03:00
|
|
|
# The contents of this file are subject to the Netscape Public License
|
|
|
|
# Version 1.0 (the "NPL"); you may not use this file except in
|
|
|
|
# compliance with the NPL. You may obtain a copy of the NPL at
|
|
|
|
# http://www.mozilla.org/NPL/
|
|
|
|
#
|
|
|
|
# Software distributed under the NPL is distributed on an "AS IS" basis,
|
|
|
|
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
|
|
|
|
# for the specific language governing rights and limitations under the
|
|
|
|
# NPL.
|
|
|
|
#
|
|
|
|
# The Initial Developer of this code under the NPL is Netscape
|
|
|
|
# Communications Corporation. Portions created by Netscape are
|
|
|
|
# Copyright (C) 1998 Netscape Communications Corporation. All Rights
|
|
|
|
# Reserved.
|
|
|
|
|
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
|
|
|
|
|
1999-02-28 10:51:10 +03:00
|
|
|
#
|
|
|
|
# Arbitrary required defines (should probably just turn them on in the
|
|
|
|
# tree by default)
|
|
|
|
|
|
|
|
MODULAR_NETLIB = 1
|
|
|
|
STANDALONE_IMAGE_LIB = 1
|
|
|
|
NGLAYOUT_PLUGINS = 1
|
|
|
|
|
1998-12-23 14:01:34 +03:00
|
|
|
#
|
|
|
|
# Command macro defines
|
|
|
|
#
|
1998-03-28 05:44:41 +03:00
|
|
|
|
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
|
1998-12-23 14:01:34 +03:00
|
|
|
!if defined(MOZ_DATE)
|
|
|
|
CVSCO = cvs -q co -P -D "$(MOZ_DATE)"
|
1999-02-24 16:56:23 +03:00
|
|
|
!elseif defined(CVSROOT)
|
|
|
|
CVSCO = cvs -d $(CVSROOT) -q co -P
|
1998-03-28 05:44:41 +03:00
|
|
|
!else
|
1998-12-23 14:01:34 +03:00
|
|
|
CVSCO = cvs -q co -P
|
1998-03-28 05:44:41 +03:00
|
|
|
!endif
|
|
|
|
|
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
|
|
|
|
|
1998-12-23 14:01:34 +03:00
|
|
|
CVSCO_XPCOM = $(CVSCO)
|
|
|
|
CVSCO_IMGLIB = $(CVSCO)
|
|
|
|
CVSCO_RAPTOR = $(CVSCO)
|
|
|
|
CVSCO_LIZARD = $(CVSCO)
|
|
|
|
CVSCO_NETWORK = $(CVSCO)
|
|
|
|
|
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
|
|
|
|
|
|
|
pull_and_build_all: pull_all build_all
|
|
|
|
|
1998-12-23 14:01:34 +03:00
|
|
|
|
|
|
|
## Rules for pulling the source from the cvs repository
|
|
|
|
############################################################
|
|
|
|
|
1999-02-25 03:01:13 +03:00
|
|
|
pull_and_build_all: pull_all build_all
|
1998-12-23 14:01:34 +03:00
|
|
|
|
|
|
|
pull_all: pull_seamonkey
|
|
|
|
|
|
|
|
pull_seamonkey:
|
|
|
|
cd $(MOZ_SRC)\.
|
1999-01-20 04:05:02 +03:00
|
|
|
$(CVSCO) $(MOZ_TOP)/nsprpub
|
1999-02-28 10:51:10 +03:00
|
|
|
$(CVSCO) SeaMonkeyEditor
|
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.
|
|
|
|
|
1999-02-28 10:51:10 +03:00
|
|
|
clobber_all:
|
|
|
|
@cd $(MOZ_SRC)\$(MOZ_TOP)\.
|
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-03-01 23:16:01 +03:00
|
|
|
nmake -f makefile.win depend
|
1999-02-19 01:27:52 +03:00
|
|
|
|
1999-02-28 10:51:10 +03:00
|
|
|
build_all:
|
1998-12-23 14:01:34 +03:00
|
|
|
@cd $(MOZ_SRC)\mozilla\.
|
1999-03-01 23:16:01 +03:00
|
|
|
nmake -f makefile.win all
|