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=.
|
|
|
|
IGNORE_MANIFEST=1
|
|
|
|
THIS_MAKEFILE=nglayout.mak
|
|
|
|
THAT_MAKEFILE=makefile.win
|
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
|
|
|
|
1998-12-23 14:01:34 +03:00
|
|
|
!if defined(MOZ_DATE)
|
|
|
|
CVSCO = cvs -q co -P -D "$(MOZ_DATE)"
|
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)
|
|
|
|
|
|
|
|
|
|
|
|
############################################################
|
|
|
|
## This should really be in a different file, like client.mak
|
|
|
|
## but it's OK here for now.
|
|
|
|
|
|
|
|
## Rules for pulling the source from the cvs repository
|
|
|
|
############################################################
|
|
|
|
|
|
|
|
pull_and_build_all: pull_seamonkey build_seamonkey
|
|
|
|
|
|
|
|
pull_all: pull_seamonkey
|
|
|
|
|
|
|
|
pull_nglayout: pull_lizard pull_xpcom pull_imglib pull_netlib pull_nglayout \
|
|
|
|
pull_editor
|
|
|
|
|
|
|
|
pull_seamonkey:
|
|
|
|
cd $(MOZ_SRC)\.
|
1999-01-20 04:05:02 +03:00
|
|
|
$(CVSCO) $(MOZ_TOP)/nsprpub
|
1998-12-23 14:01:34 +03:00
|
|
|
$(CVSCO_LIZARD) SeaMonkeyEditor
|
|
|
|
|
|
|
|
pull_lizard:
|
|
|
|
cd $(MOZ_SRC)\.
|
|
|
|
$(CVSCO_LIZARD) $(MOZ_TOP)/LICENSE
|
|
|
|
$(CVSCO_LIZARD) $(MOZ_TOP)/LEGAL
|
|
|
|
$(CVSCO_LIZARD) $(MOZ_TOP)/config
|
|
|
|
$(CVSCO_LIZARD) $(MOZ_TOP)/dbm
|
|
|
|
$(CVSCO_LIZARD) $(MOZ_TOP)/lib/liblayer
|
|
|
|
$(CVSCO_LIZARD) $(MOZ_TOP)/modules/zlib
|
|
|
|
$(CVSCO_LIZARD) $(MOZ_TOP)/modules/libutil
|
|
|
|
$(CVSCO_TAG) -r NSPRPUB_RELEASE_3_0 $(MOZ_TOP)/nsprpub
|
|
|
|
$(CVSCO_LIZARD) $(MOZ_TOP)/sun-java
|
|
|
|
$(CVSCO_LIZARD) $(MOZ_TOP)/nav-java
|
|
|
|
$(CVSCO_LIZARD) $(MOZ_TOP)/js
|
|
|
|
$(CVSCO_LIZARD) $(MOZ_TOP)/modules/security/freenav
|
|
|
|
$(CVSCO_LIBPREF) $(MOZ_TOP)/modules/libpref
|
|
|
|
$(CVSCO_PLUGIN) $(MOZ_TOP)/modules/plugin
|
|
|
|
$(CVSCO_LIZARD) $(MOZ_TOP)/modules/oji
|
|
|
|
$(CVSCO_LIZARD) $(MOZ_TOP)/caps
|
|
|
|
$(CVSCO_LIZARD) $(MOZ_TOP)/rdf
|
1999-01-22 02:53:08 +03:00
|
|
|
$(CVSCO_LIZARD) $(MOZ_TOP)/intl
|
1998-12-23 14:01:34 +03:00
|
|
|
!if defined(NGPREFS)
|
|
|
|
$(CVSCO_LIZARD) $(MOZ_TOP)/cmd/wincom
|
|
|
|
$(CVSCO_LIZARD) $(MOZ_TOP)/cmd/winfe/defaults.h
|
|
|
|
$(CVSCO_LIZARD) $(MOZ_TOP)/cmd/winfe/nsIDefaultBrowser.h
|
|
|
|
$(CVSCO_LIZARD) $(MOZ_TOP)/cmd/winfe/prefs
|
1998-03-28 05:44:41 +03:00
|
|
|
!endif
|
|
|
|
|
1998-12-23 14:01:34 +03:00
|
|
|
pull_xpcom:
|
|
|
|
@cd $(MOZ_SRC)\.
|
|
|
|
$(CVSCO_XPCOM) $(MOZ_TOP)/modules/libreg
|
|
|
|
$(CVSCO_XPCOM) $(MOZ_TOP)/xpcom
|
1998-03-28 05:44:41 +03:00
|
|
|
|
1998-12-23 14:01:34 +03:00
|
|
|
pull_imglib:
|
|
|
|
@cd $(MOZ_SRC)\.
|
|
|
|
$(CVSCO_IMGLIB) $(MOZ_TOP)/jpeg
|
|
|
|
$(CVSCO_IMGLIB) $(MOZ_TOP)/modules/libutil
|
|
|
|
$(CVSCO_IMGLIB) $(MOZ_TOP)/modules/libimg
|
1998-03-28 05:44:41 +03:00
|
|
|
|
1998-12-23 14:01:34 +03:00
|
|
|
pull_netlib:
|
|
|
|
@cd $(MOZ_SRC)\.
|
|
|
|
$(CVSCO_NETWORK) $(MOZ_TOP)/lib/xp
|
|
|
|
$(CVSCO_NETWORK) $(MOZ_TOP)/lib/libpwcac
|
|
|
|
$(CVSCO_NETWORK) $(MOZ_TOP)/network
|
|
|
|
$(CVSCO_NETWORK) $(MOZ_TOP)/include
|
1998-03-28 05:44:41 +03:00
|
|
|
|
1998-12-23 14:01:34 +03:00
|
|
|
pull_nglayout:
|
|
|
|
@cd $(MOZ_SRC)\.
|
|
|
|
$(CVSCO_RAPTOR) $(MOZ_TOP)/base
|
|
|
|
$(CVSCO_RAPTOR) $(MOZ_TOP)/dom
|
|
|
|
$(CVSCO_RAPTOR) $(MOZ_TOP)/gfx
|
|
|
|
$(CVSCO_RAPTOR) $(MOZ_TOP)/htmlparser
|
|
|
|
$(CVSCO_RAPTOR) $(MOZ_TOP)/layout
|
|
|
|
$(CVSCO_RAPTOR) $(MOZ_TOP)/view
|
|
|
|
$(CVSCO_RAPTOR) $(MOZ_TOP)/webshell
|
|
|
|
$(CVSCO_RAPTOR) $(MOZ_TOP)/widget
|
|
|
|
$(CVSCO_RAPTOR) $(MOZ_TOP)/xpfe
|
|
|
|
|
|
|
|
pull_editor:
|
|
|
|
@cd $(MOZ_SRC)\.
|
|
|
|
$(CVSCO_RAPTOR) $(MOZ_TOP)/editor
|
|
|
|
|
|
|
|
############################################################
|
|
|
|
|
1998-12-31 22:55:05 +03:00
|
|
|
clobber_all:: clobber_nglayout
|
|
|
|
|
|
|
|
clobber_nglayout:
|
1998-12-31 23:17:37 +03:00
|
|
|
@cd $(MOZ_SRC)\mozilla\.
|
1998-12-31 22:55:05 +03:00
|
|
|
nmake -f nglayout.mak clobber_all $(NGLAYOUT_ENV_VARS)
|
|
|
|
|
1999-01-30 04:12:59 +03:00
|
|
|
build_all: build_seamonkey build_apprunner
|
1998-12-23 14:01:34 +03:00
|
|
|
|
|
|
|
build_seamonkey:
|
|
|
|
@cd $(MOZ_SRC)\mozilla\.
|
|
|
|
nmake -f nglayout.mak all
|
1999-01-30 04:12:59 +03:00
|
|
|
|
|
|
|
build_apprunner:
|
|
|
|
@cd $(MOZ_SRC)\mozilla\xpfe\.
|
|
|
|
nmake -f makefile.win
|