gecko-dev/client.mak

103 lines
2.5 KiB
Makefile
Raw Normal View History

1998-03-28 02:44:41 +00: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.
DEPTH=.
1998-07-15 21:40:59 +00:00
1998-04-21 21:22:54 +00:00
!if !defined(MOZ_TOP)
#enable builds from changed top level directories
1998-04-27 18:16:04 +00:00
MOZ_TOP=mozilla
1998-04-21 21:22:54 +00:00
!endif
#
# Arbitrary required defines (should probably just turn them on in the
# tree by default)
MODULAR_NETLIB = 1
STANDALONE_IMAGE_LIB = 1
NGLAYOUT_PLUGINS = 1
#
# Command macro defines
#
1998-03-28 02:44:41 +00:00
# let's be explicit about CVSROOT... some windows cvs clients
# are too stupid to correctly work without the -d option
!if defined(MOZ_DATE)
CVSCO = cvs -q co -P -D "$(MOZ_DATE)"
!elseif defined(CVSROOT)
CVSCO = cvs -d $(CVSROOT) -q co -P
1998-03-28 02:44:41 +00:00
!else
CVSCO = cvs -q co -P
1998-03-28 02:44:41 +00:00
!endif
CVSCO_TAG = cvs -q co -P
# Branch tags we use
1998-03-28 02:44:41 +00:00
IMGLIB_BRANCH =
PLUGIN_BRANCH =
XPCOM_BRANCH =
1998-03-28 02:44:41 +00:00
!if defined(MOZ_DATE)
# CVS commands to pull the appropriate branch versions
CVSCO_LIBPREF = $(CVSCO)
CVSCO_PLUGIN = $(CVSCO)
1998-03-28 02:44:41 +00:00
!else
# CVS commands to pull the appropriate branch versions
CVSCO_LIBPREF = $(CVSCO) -A
CVSCO_PLUGIN = $(CVSCO) -A
1998-03-28 02:44:41 +00:00
!endif
CVSCO_XPCOM = $(CVSCO)
CVSCO_IMGLIB = $(CVSCO)
CVSCO_RAPTOR = $(CVSCO)
CVSCO_LIZARD = $(CVSCO)
CVSCO_NETWORK = $(CVSCO)
## The master target
############################################################
pull_and_build_all: pull_all build_all
## Rules for pulling the source from the cvs repository
############################################################
pull_and_build_all: pull_all build_all
pull_all: pull_seamonkey
pull_seamonkey:
cd $(MOZ_SRC)\.
$(CVSCO) $(MOZ_TOP)/nsprpub
$(CVSCO) SeaMonkeyEditor
############################################################
# 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:
@cd $(MOZ_SRC)\$(MOZ_TOP)\.
nmake -f makefile.win clobber_all
1999-02-18 22:27:52 +00:00
depend:
@cd $(MOZ_SRC)\$(MOZ_TOP)\.
nmake -f makefile.win depend
1999-02-18 22:27:52 +00:00
build_all:
@cd $(MOZ_SRC)\mozilla\.
nmake -f makefile.win all