1999-09-11 04:50:16 +00:00
|
|
|
#
|
1999-11-06 03:43:54 +00: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-05-08 20:18:35 +00:00
|
|
|
#
|
1999-11-06 03:43:54 +00: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-05-08 20:18:35 +00:00
|
|
|
#
|
1999-11-06 03:43:54 +00:00
|
|
|
# The Original Code is mozilla.org code.
|
|
|
|
#
|
|
|
|
# The Initial Developer of the Original Code is Netscape
|
1998-05-08 20:18:35 +00:00
|
|
|
# Communications Corporation. Portions created by Netscape are
|
1999-11-06 03:43:54 +00:00
|
|
|
# Copyright (C) 1998 Netscape Communications Corporation. All
|
|
|
|
# Rights Reserved.
|
|
|
|
#
|
|
|
|
# Contributor(s):
|
1998-05-08 20:18:35 +00:00
|
|
|
#
|
|
|
|
|
1999-09-11 04:50:16 +00:00
|
|
|
DEPTH = .
|
|
|
|
THIS_MAKEFILE = nglayout.mk
|
1998-07-03 23:09:42 +00:00
|
|
|
|
1998-05-08 20:18:35 +00:00
|
|
|
# Branch tags we use
|
1999-09-11 04:50:16 +00:00
|
|
|
LIBPREF_BRANCH = XPCOM_BRANCH
|
|
|
|
NETLIB_BRANCH =
|
|
|
|
PLUGIN_BRANCH =
|
1998-10-02 17:50:50 +00:00
|
|
|
|
|
|
|
ifdef MOZ_DATE
|
1999-09-11 04:50:16 +00:00
|
|
|
CVSCO = cvs -q co -P -D $(MOZ_DATE)
|
|
|
|
CVSCO_PLUGIN = $(CVSCO)
|
1998-10-02 17:50:50 +00:00
|
|
|
else
|
1999-09-11 04:50:16 +00:00
|
|
|
CVSCO = cvs -q co -P
|
|
|
|
CVSCO_PLUGIN = $(CVSCO) -A
|
1998-10-02 17:50:50 +00:00
|
|
|
endif
|
1998-05-08 20:18:35 +00:00
|
|
|
|
1999-09-11 04:50:16 +00:00
|
|
|
CVSCO_IMGLIB = $(CVSCO)
|
|
|
|
CVSCO_LIBPREF = $(CVSCO) -r $(LIBPREF_BRANCH)
|
|
|
|
CVSCO_LIZARD = $(CVSCO)
|
|
|
|
CVSCO_NETLIB = $(CVSCO)
|
|
|
|
CVSCO_NGLAYOUT = $(CVSCO)
|
|
|
|
|
1998-05-08 20:18:35 +00:00
|
|
|
# The list of directories that need to be built to build the standalone
|
|
|
|
# nglayout test program. The order is important.
|
1999-09-11 04:50:16 +00:00
|
|
|
DIRS = \
|
|
|
|
config \
|
|
|
|
dbm \
|
|
|
|
nsprpub \
|
|
|
|
jpeg \
|
|
|
|
modules/libreg \
|
|
|
|
xpcom \
|
|
|
|
modules/zlib \
|
|
|
|
modules/libutil \
|
|
|
|
sun-java \
|
|
|
|
nav-java \
|
|
|
|
js \
|
|
|
|
modules/security/freenav \
|
|
|
|
modules/libpref \
|
|
|
|
modules/libimg \
|
|
|
|
modules/oji \
|
|
|
|
modules/plugin \
|
|
|
|
base \
|
|
|
|
caps \
|
|
|
|
lib/xp \
|
|
|
|
lib/libpwcac \
|
|
|
|
network \
|
|
|
|
lib/liblayer/include \
|
|
|
|
htmlparser \
|
|
|
|
gfx \
|
|
|
|
dom \
|
|
|
|
view \
|
|
|
|
widget \
|
|
|
|
layout \
|
|
|
|
editor \
|
|
|
|
webshell
|
1998-05-08 20:18:35 +00:00
|
|
|
|
1998-07-03 23:09:42 +00:00
|
|
|
real_all: all
|
1998-05-08 20:18:35 +00:00
|
|
|
|
1998-07-03 23:09:42 +00:00
|
|
|
real_export: export
|
1998-05-08 20:18:35 +00:00
|
|
|
|
1998-07-03 23:09:42 +00:00
|
|
|
real_libs: libs
|
|
|
|
|
|
|
|
real_install: install
|
|
|
|
|
|
|
|
real_clobber: clobber
|
|
|
|
|
|
|
|
real_depend: depend
|
1998-05-08 20:18:35 +00:00
|
|
|
|
|
|
|
#
|
|
|
|
# Rules for pulling the source from the cvs repository
|
|
|
|
#
|
1998-11-18 20:10:12 +00:00
|
|
|
pull_all: pull_lizard pull_xpcom pull_imglib pull_netlib pull_nglayout pull_editor pull_plugin pull_autoconf
|
1998-05-08 20:18:35 +00:00
|
|
|
|
|
|
|
pull_lizard:
|
1998-11-03 05:55:18 +00:00
|
|
|
cd $(DEPTH)/..; \
|
1998-05-08 20:18:35 +00:00
|
|
|
$(CVSCO_LIZARD) mozilla/config; \
|
1998-06-05 01:23:05 +00:00
|
|
|
$(CVSCO_LIZARD) mozilla/dbm; \
|
1998-05-08 20:18:35 +00:00
|
|
|
$(CVSCO_LIZARD) mozilla/build/build_number; \
|
|
|
|
$(CVSCO_LIZARD) mozilla/cmd/xfe/icons/icondata.h; \
|
|
|
|
$(CVSCO_LIZARD) mozilla/lib/liblayer; \
|
|
|
|
$(CVSCO_LIZARD) mozilla/modules/zlib; \
|
|
|
|
$(CVSCO_LIZARD) mozilla/modules/libutil; \
|
|
|
|
$(CVSCO_LIZARD) mozilla/nsprpub; \
|
|
|
|
$(CVSCO_LIZARD) mozilla/sun-java; \
|
|
|
|
$(CVSCO_LIZARD) mozilla/nav-java; \
|
|
|
|
$(CVSCO_LIZARD) mozilla/js; \
|
1998-11-21 06:05:24 +00:00
|
|
|
$(CVSCO_LIZARD) mozilla/caps; \
|
1998-05-08 20:18:35 +00:00
|
|
|
$(CVSCO_LIZARD) mozilla/modules/security/freenav; \
|
1998-12-02 00:50:42 +00:00
|
|
|
$(CVSCO_LIZARD) mozilla/rdf;
|
1998-05-08 20:18:35 +00:00
|
|
|
|
|
|
|
pull_xpcom:
|
1998-11-03 05:55:18 +00:00
|
|
|
cd $(DEPTH)/..; \
|
1998-06-05 01:23:05 +00:00
|
|
|
$(CVSCO) -A mozilla/modules/libreg; \
|
|
|
|
$(CVSCO) -A mozilla/xpcom; \
|
1998-07-23 20:55:32 +00:00
|
|
|
$(CVSCO_LIBPREF) mozilla/modules/libpref
|
1998-05-08 20:18:35 +00:00
|
|
|
|
|
|
|
pull_imglib:
|
1998-11-03 05:55:18 +00:00
|
|
|
cd $(DEPTH)/..; \
|
1998-05-08 20:18:35 +00:00
|
|
|
$(CVSCO_IMGLIB) mozilla/jpeg; \
|
|
|
|
$(CVSCO_IMGLIB) mozilla/modules/libutil; \
|
|
|
|
$(CVSCO_IMGLIB) mozilla/modules/libimg
|
|
|
|
|
1998-07-23 20:55:32 +00:00
|
|
|
pull_plugin:
|
1998-11-03 05:55:18 +00:00
|
|
|
cd $(DEPTH)/..; \
|
1998-09-27 23:49:21 +00:00
|
|
|
$(CVSCO_LIZARD) mozilla/modules/oji; \
|
1998-09-27 23:30:56 +00:00
|
|
|
$(CVSCO_PLUGIN) mozilla/modules/plugin
|
1998-07-23 20:55:32 +00:00
|
|
|
|
1998-05-08 20:18:35 +00:00
|
|
|
pull_netlib:
|
1998-11-03 05:55:18 +00:00
|
|
|
cd $(DEPTH)/..; \
|
1998-05-08 20:18:35 +00:00
|
|
|
$(CVSCO_NETLIB) mozilla/lib/xp; \
|
1998-06-05 01:23:05 +00:00
|
|
|
$(CVSCO_NETLIB) mozilla/lib/libpwcac; \
|
1998-06-02 01:34:57 +00:00
|
|
|
$(CVSCO_NETLIB) mozilla/network; \
|
1998-05-08 20:18:35 +00:00
|
|
|
$(CVSCO_NETLIB) mozilla/include
|
|
|
|
|
|
|
|
pull_nglayout:
|
1998-11-03 05:55:18 +00:00
|
|
|
cd $(DEPTH)/..; \
|
1998-05-08 20:18:35 +00:00
|
|
|
$(CVSCO_NGLAYOUT) mozilla/base; \
|
|
|
|
$(CVSCO_NGLAYOUT) mozilla/dom; \
|
|
|
|
$(CVSCO_NGLAYOUT) mozilla/gfx; \
|
|
|
|
$(CVSCO_NGLAYOUT) mozilla/htmlparser; \
|
|
|
|
$(CVSCO_NGLAYOUT) mozilla/layout; \
|
|
|
|
$(CVSCO_NGLAYOUT) mozilla/view; \
|
|
|
|
$(CVSCO_NGLAYOUT) mozilla/webshell; \
|
|
|
|
$(CVSCO_NGLAYOUT) mozilla/widget
|
|
|
|
|
1998-11-18 20:10:12 +00:00
|
|
|
pull_editor:
|
|
|
|
cd $(DEPTH)/..; \
|
|
|
|
$(CVSCO_NGLAYOUT) mozilla/editor
|
|
|
|
|
1998-05-08 20:18:35 +00:00
|
|
|
pull_doc:
|
1998-11-03 05:55:18 +00:00
|
|
|
cd $(DEPTH)/..; \
|
1998-05-08 20:18:35 +00:00
|
|
|
$(CVSCO_NGLAYOUT) README/nglayout; \
|
|
|
|
$(CVSCO_NGLAYOUT) mozilla/LICENSE; \
|
|
|
|
$(CVSCO_NGLAYOUT) mozilla/LEGAL
|
|
|
|
|
1998-10-28 03:42:45 +00:00
|
|
|
pull_autoconf:
|
1998-11-03 05:55:18 +00:00
|
|
|
cd $(DEPTH)/..; \
|
1998-10-28 03:42:45 +00:00
|
|
|
$(CVSCO_NGLAYOUT) mozilla/build/autoconf; \
|
1998-11-15 09:11:35 +00:00
|
|
|
$(CVSCO_NGLAYOUT) mozilla/build/hcc; \
|
|
|
|
$(CVSCO_NGLAYOUT) mozilla/build/hcpp; \
|
1998-11-04 00:41:07 +00:00
|
|
|
$(CVSCO_NGLAYOUT) mozilla/xpfe; \
|
1998-10-28 03:42:45 +00:00
|
|
|
$(CVSCO_NGLAYOUT) mozilla/Makefile.in; \
|
1998-11-20 22:14:16 +00:00
|
|
|
$(CVSCO_NGLAYOUT) mozilla/aclocal.m4; \
|
1998-10-28 03:42:45 +00:00
|
|
|
$(CVSCO_NGLAYOUT) mozilla/configure.in;
|
|
|
|
|
1998-05-08 20:18:35 +00:00
|
|
|
######################################################################
|
|
|
|
#
|
|
|
|
# Build tarball
|
|
|
|
|
1999-09-11 04:50:16 +00:00
|
|
|
DATE_CMD = date
|
|
|
|
DATE = $(shell $(DATE_CMD) +%Y%m%d)
|
1998-05-08 20:18:35 +00:00
|
|
|
|
1999-09-11 04:50:16 +00:00
|
|
|
TAR = tar
|
|
|
|
GZIP = gzip
|
1998-05-08 20:18:35 +00:00
|
|
|
|
1999-09-11 04:50:16 +00:00
|
|
|
TARBALL = $(MOZ_SRC)/unix-$(DATE).tar
|
1998-05-08 20:18:35 +00:00
|
|
|
|
1999-09-11 04:50:16 +00:00
|
|
|
TARFILES = mozilla README/nglayout
|
1998-05-08 20:18:35 +00:00
|
|
|
|
|
|
|
tarball: pull_all pull_doc clobber clobber_all real_tar
|
|
|
|
|
|
|
|
real_tar:
|
|
|
|
@echo Making $(TARBALL)
|
1998-11-03 05:55:18 +00:00
|
|
|
cd $(DEPTH)/..; \
|
1998-05-08 20:18:35 +00:00
|
|
|
rm -f $(TARBALL) $(TARBALL).gz; \
|
|
|
|
$(TAR) cf $(TARBALL) $(TARFILES)
|
|
|
|
@echo Making gzip of $(TARBALL); \
|
1998-11-03 05:55:18 +00:00
|
|
|
cd $(DEPTH)/..; \
|
1998-05-08 20:18:35 +00:00
|
|
|
$(GZIP) -9 -q $(TARBALL)
|
1999-09-11 04:50:16 +00:00
|
|
|
|