source: trunk/third/mozilla/nglayout.mk @ 18860

Revision 18860, 4.4 KB checked in by rbasch, 21 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r18859, which included commits to RCS files with non-trunk default branches.
Line 
1#
2# The contents of this file are subject to the Netscape Public
3# License Version 1.1 (the "License"); you may not use this file
4# except in compliance with the License. You may obtain a copy of
5# the License at http://www.mozilla.org/NPL/
6#
7# Software distributed under the License is distributed on an "AS
8# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
9# implied. See the License for the specific language governing
10# rights and limitations under the License.
11#
12# The Original Code is mozilla.org code.
13#
14# The Initial Developer of the Original Code is Netscape
15# Communications Corporation.  Portions created by Netscape are
16# Copyright (C) 1998 Netscape Communications Corporation. All
17# Rights Reserved.
18#
19# Contributor(s):
20#
21
22DEPTH           = .
23THIS_MAKEFILE   = nglayout.mk
24
25# Branch tags we use
26LIBPREF_BRANCH  = XPCOM_BRANCH
27NETLIB_BRANCH   =
28PLUGIN_BRANCH   =
29
30ifdef MOZ_DATE
31CVSCO           = cvs -q co -P -D $(MOZ_DATE)
32CVSCO_PLUGIN    = $(CVSCO)
33else
34CVSCO           = cvs -q co -P
35CVSCO_PLUGIN    = $(CVSCO) -A
36endif
37
38CVSCO_IMGLIB    = $(CVSCO)
39CVSCO_LIBPREF   = $(CVSCO) -r $(LIBPREF_BRANCH)
40CVSCO_LIZARD    = $(CVSCO)
41CVSCO_NETLIB    = $(CVSCO)
42CVSCO_NGLAYOUT  = $(CVSCO)
43
44# The list of directories that need to be built to build the standalone
45# nglayout test program. The order is important.
46DIRS            = \
47                config \
48                dbm \
49                nsprpub \
50                jpeg \
51                modules/libreg \
52                xpcom \
53                modules/zlib \
54                modules/libutil \
55                sun-java \
56                nav-java \
57                js \
58                modules/security/freenav \
59                modules/libpref \
60                modules/libimg \
61                modules/oji \
62                modules/plugin \
63                base \
64                caps \
65                lib/xp \
66                lib/libpwcac \
67                network \
68                lib/liblayer/include \
69                htmlparser \
70                gfx \
71                dom \
72                view \
73                widget \
74                layout \
75                editor \
76                webshell
77
78real_all: all
79
80real_export: export
81
82real_libs: libs
83
84real_install: install
85
86real_clobber: clobber
87
88real_depend: depend
89
90#
91# Rules for pulling the source from the cvs repository
92#
93pull_all: pull_lizard pull_xpcom pull_imglib pull_netlib pull_nglayout pull_editor pull_plugin pull_autoconf
94
95pull_lizard:
96        cd $(DEPTH)/..; \
97        $(CVSCO_LIZARD) mozilla/config; \
98        $(CVSCO_LIZARD) mozilla/dbm; \
99        $(CVSCO_LIZARD) mozilla/build/build_number; \
100        $(CVSCO_LIZARD) mozilla/cmd/xfe/icons/icondata.h; \
101        $(CVSCO_LIZARD) mozilla/lib/liblayer; \
102        $(CVSCO_LIZARD) mozilla/modules/zlib; \
103        $(CVSCO_LIZARD) mozilla/modules/libutil; \
104        $(CVSCO_LIZARD) mozilla/nsprpub; \
105        $(CVSCO_LIZARD) mozilla/sun-java; \
106        $(CVSCO_LIZARD) mozilla/nav-java; \
107        $(CVSCO_LIZARD) mozilla/js; \
108        $(CVSCO_LIZARD) mozilla/caps; \
109        $(CVSCO_LIZARD) mozilla/modules/security/freenav; \
110        $(CVSCO_LIZARD) mozilla/rdf;
111
112pull_xpcom:
113        cd $(DEPTH)/..; \
114        $(CVSCO) -A mozilla/modules/libreg; \
115        $(CVSCO) -A mozilla/xpcom; \
116        $(CVSCO_LIBPREF) mozilla/modules/libpref
117
118pull_imglib:
119        cd $(DEPTH)/..; \
120        $(CVSCO_IMGLIB) mozilla/jpeg; \
121        $(CVSCO_IMGLIB) mozilla/modules/libutil; \
122        $(CVSCO_IMGLIB) mozilla/modules/libimg
123
124pull_plugin:
125        cd $(DEPTH)/..; \
126        $(CVSCO_LIZARD) mozilla/modules/oji; \
127        $(CVSCO_PLUGIN) mozilla/modules/plugin
128
129pull_netlib:
130        cd $(DEPTH)/..; \
131        $(CVSCO_NETLIB) mozilla/lib/xp; \
132        $(CVSCO_NETLIB) mozilla/lib/libpwcac; \
133        $(CVSCO_NETLIB) mozilla/network; \
134        $(CVSCO_NETLIB) mozilla/include
135
136pull_nglayout:
137        cd $(DEPTH)/..; \
138        $(CVSCO_NGLAYOUT) mozilla/base; \
139        $(CVSCO_NGLAYOUT) mozilla/dom; \
140        $(CVSCO_NGLAYOUT) mozilla/gfx; \
141        $(CVSCO_NGLAYOUT) mozilla/htmlparser; \
142        $(CVSCO_NGLAYOUT) mozilla/layout; \
143        $(CVSCO_NGLAYOUT) mozilla/view; \
144        $(CVSCO_NGLAYOUT) mozilla/webshell; \
145        $(CVSCO_NGLAYOUT) mozilla/widget
146
147pull_editor:
148        cd $(DEPTH)/..; \
149        $(CVSCO_NGLAYOUT) mozilla/editor
150
151pull_doc:
152        cd $(DEPTH)/..; \
153        $(CVSCO_NGLAYOUT) README/nglayout; \
154        $(CVSCO_NGLAYOUT) mozilla/LICENSE; \
155        $(CVSCO_NGLAYOUT) mozilla/LEGAL
156
157pull_autoconf:
158        cd $(DEPTH)/..; \
159        $(CVSCO_NGLAYOUT) mozilla/build/autoconf; \
160        $(CVSCO_NGLAYOUT) mozilla/build/hcc; \
161        $(CVSCO_NGLAYOUT) mozilla/build/hcpp; \
162        $(CVSCO_NGLAYOUT) mozilla/xpfe; \
163        $(CVSCO_NGLAYOUT) mozilla/Makefile.in; \
164        $(CVSCO_NGLAYOUT) mozilla/aclocal.m4; \
165        $(CVSCO_NGLAYOUT) mozilla/configure.in;
166
167######################################################################
168#
169# Build tarball
170
171DATE_CMD        = date
172DATE            = $(shell $(DATE_CMD) +%Y%m%d)
173
174TAR             = tar
175GZIP            = gzip
176
177TARBALL         = $(MOZ_SRC)/unix-$(DATE).tar
178
179TARFILES        = mozilla README/nglayout
180
181tarball: pull_all pull_doc clobber clobber_all real_tar
182
183real_tar:
184        @echo Making $(TARBALL)
185        cd $(DEPTH)/..; \
186        rm -f $(TARBALL) $(TARBALL).gz; \
187        $(TAR) cf $(TARBALL) $(TARFILES)
188        @echo Making gzip of $(TARBALL); \
189        cd $(DEPTH)/..; \
190        $(GZIP) -9 -q $(TARBALL)
191
Note: See TracBrowser for help on using the repository browser.