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-03-28 02:44:41 +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-03-28 02:44:41 +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-03-28 02:44:41 +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-03-28 02:44:41 +00:00
|
|
|
|
1999-07-29 00:28:38 +00:00
|
|
|
NECKO=1
|
|
|
|
|
1998-03-28 02:44:41 +00:00
|
|
|
#//------------------------------------------------------------------------
|
|
|
|
#//
|
1999-02-28 07:51:10 +00:00
|
|
|
#// Toplevel windows Makefile to build the mozilla tree
|
1998-03-28 02:44:41 +00:00
|
|
|
#//
|
|
|
|
#//------------------------------------------------------------------------
|
|
|
|
|
|
|
|
#//------------------------------------------------------------------------
|
|
|
|
#//
|
|
|
|
#// Specify the depth of the current directory relative to the
|
1999-02-28 07:51:10 +00:00
|
|
|
#// root of mozilla
|
1998-03-28 02:44:41 +00:00
|
|
|
#//
|
|
|
|
#//------------------------------------------------------------------------
|
1999-11-28 03:05:01 +00:00
|
|
|
|
1998-03-28 02:44:41 +00:00
|
|
|
DEPTH=.
|
|
|
|
|
|
|
|
#//------------------------------------------------------------------------
|
|
|
|
#//
|
|
|
|
#// Specify any "command" targets. (ie. DIRS, INSTALL_FILES, ...)
|
|
|
|
#// (these must come before the common makefiles are included)
|
|
|
|
#//
|
|
|
|
#// DIRS - There are subdirectories to process
|
|
|
|
#//
|
|
|
|
#//------------------------------------------------------------------------
|
|
|
|
|
1999-11-28 03:05:01 +00:00
|
|
|
DIRS = \
|
1999-03-31 20:55:34 +00:00
|
|
|
!if defined(DIST_DIRS)
|
1999-11-28 03:05:01 +00:00
|
|
|
config \
|
|
|
|
include \
|
|
|
|
jpeg \
|
|
|
|
sun-java \
|
|
|
|
modules\libreg \
|
2001-02-21 11:09:35 +00:00
|
|
|
string \
|
1999-11-28 03:05:01 +00:00
|
|
|
xpcom \
|
|
|
|
db \
|
|
|
|
dbm \
|
1999-12-22 00:39:32 +00:00
|
|
|
modules\libutil \
|
2000-09-22 03:46:18 +00:00
|
|
|
modules\mpfilelocprovider \
|
2000-05-06 10:04:28 +00:00
|
|
|
modules\zlib \
|
1999-11-28 03:05:01 +00:00
|
|
|
netwerk \
|
2000-12-06 23:45:42 +00:00
|
|
|
!if defined(BUILD_PSM)
|
2000-09-14 21:22:06 +00:00
|
|
|
security \
|
2000-12-06 23:45:42 +00:00
|
|
|
!endif
|
1999-11-28 03:05:01 +00:00
|
|
|
widget\timer \
|
|
|
|
js \
|
1999-11-28 03:47:01 +00:00
|
|
|
modules\libjar \
|
|
|
|
modules\libimg \
|
|
|
|
modules\libpref \
|
|
|
|
modules\oji \
|
1999-11-28 03:05:01 +00:00
|
|
|
caps \
|
|
|
|
intl \
|
2001-02-22 03:01:34 +00:00
|
|
|
rdf \
|
1999-03-31 20:55:34 +00:00
|
|
|
!endif
|
|
|
|
!if defined(LAYOUT_DIRS)
|
1999-02-28 07:51:10 +00:00
|
|
|
# the following are associated with the layout engine
|
1999-11-28 03:05:01 +00:00
|
|
|
expat \
|
|
|
|
gfx \
|
2000-07-22 01:27:15 +00:00
|
|
|
modules\plugin \
|
1999-11-28 03:05:01 +00:00
|
|
|
uriloader \
|
|
|
|
htmlparser \
|
|
|
|
widget \
|
|
|
|
dom \
|
|
|
|
view \
|
2001-02-19 21:50:04 +00:00
|
|
|
content \
|
1999-11-28 03:05:01 +00:00
|
|
|
layout \
|
1999-11-29 22:21:36 +00:00
|
|
|
docshell \
|
1999-11-28 03:05:01 +00:00
|
|
|
webshell \
|
2000-08-10 07:06:21 +00:00
|
|
|
embedding \
|
1999-11-28 03:05:01 +00:00
|
|
|
profile \
|
|
|
|
editor \
|
1999-10-21 21:59:15 +00:00
|
|
|
!if defined(GC_LEAK_DETECTOR)
|
1999-11-28 03:05:01 +00:00
|
|
|
gc\boehm \
|
1999-03-31 20:55:34 +00:00
|
|
|
!endif
|
1999-10-21 22:40:16 +00:00
|
|
|
!endif
|
1999-03-31 20:55:34 +00:00
|
|
|
!if defined(CLIENT_DIRS)
|
1999-03-23 19:38:05 +00:00
|
|
|
# the following are associated with the browser
|
1999-11-28 03:05:01 +00:00
|
|
|
xpfe \
|
|
|
|
xpinstall \
|
|
|
|
extensions \
|
2000-05-08 21:35:40 +00:00
|
|
|
themes \
|
2000-07-28 04:00:47 +00:00
|
|
|
!if defined(ENABLE_LDAP)
|
|
|
|
directory\c-sdk \
|
|
|
|
directory\xpcom \
|
|
|
|
!endif
|
2000-06-25 01:59:57 +00:00
|
|
|
l10n \
|
1999-07-29 00:45:40 +00:00
|
|
|
!if !defined(DISABLE_MAILNEWS)
|
1999-11-28 03:05:01 +00:00
|
|
|
mailnews \
|
1999-03-12 02:27:29 +00:00
|
|
|
!endif
|
1999-03-23 19:38:05 +00:00
|
|
|
!endif
|
1999-02-28 07:51:10 +00:00
|
|
|
$(NULL)
|
1998-03-28 02:44:41 +00:00
|
|
|
|
1998-04-03 16:14:01 +00:00
|
|
|
#//------------------------------------------------------------------------
|
1998-03-28 02:44:41 +00:00
|
|
|
#//
|
|
|
|
#// Include the common makefile rules
|
|
|
|
#//
|
1998-04-03 16:14:01 +00:00
|
|
|
#//------------------------------------------------------------------------
|
1999-06-26 06:36:26 +00:00
|
|
|
|
1999-11-28 03:05:01 +00:00
|
|
|
include <$(DEPTH)\config\rules.mak>
|
1999-07-02 12:42:17 +00:00
|
|
|
|
1999-08-02 20:37:46 +00:00
|
|
|
#//------------------------------------------------------------------------
|
1999-08-28 00:07:09 +00:00
|
|
|
#//
|
|
|
|
#// MOZILLA_OFFICIAL junk: rebase and splitsym for binary release
|
1999-08-02 20:37:46 +00:00
|
|
|
#//
|
|
|
|
#//------------------------------------------------------------------------
|
1999-08-28 00:07:09 +00:00
|
|
|
#// should make sure we have rebase, and die if not
|
|
|
|
|
|
|
|
!if defined(MOZILLA_OFFICIAL)
|
|
|
|
|
|
|
|
!if [for %i in (. %PATH%) do $(QUIET)if exist %i\$(REBASE) echo %i\$(REBASE) > rebase.yes]
|
|
|
|
!endif
|
|
|
|
|
|
|
|
!if !exist(rebase.yes)
|
|
|
|
REBASE=
|
|
|
|
!if [del rebase.yes]
|
|
|
|
!endif
|
|
|
|
!endif
|
|
|
|
!endif
|
1999-07-02 12:42:17 +00:00
|
|
|
|
|
|
|
rebase:
|
1999-08-28 00:07:09 +00:00
|
|
|
!if defined(MOZILLA_OFFICIAL)
|
1999-07-02 12:42:17 +00:00
|
|
|
!if defined(FIND)
|
1999-07-02 17:15:03 +00:00
|
|
|
!if "$(REBASE)" != ""
|
2000-09-06 23:13:11 +00:00
|
|
|
echo rebasing $(DIST:\=/)
|
|
|
|
$(FIND) $(DIST:\=/) -name "*.dll" > rebase.lst
|
1999-07-02 12:42:17 +00:00
|
|
|
$(REBASE) -b 60000000 -R . -G rebase.lst
|
|
|
|
del rebase.lst
|
|
|
|
!else
|
|
|
|
echo No rebase defined.
|
|
|
|
!endif
|
|
|
|
!else
|
|
|
|
echo No find defined.
|
|
|
|
!endif
|
1999-08-28 00:07:09 +00:00
|
|
|
!endif
|
1999-07-02 12:42:17 +00:00
|
|
|
|
1999-07-07 20:34:59 +00:00
|
|
|
splitsymbols:
|
1999-09-19 21:26:19 +00:00
|
|
|
!if defined(MOZILLA_OFFICIAL)
|
1999-07-07 20:34:59 +00:00
|
|
|
!if defined(FIND)
|
|
|
|
!if "$(SPLITSYM)" != ""
|
1999-09-19 21:26:19 +00:00
|
|
|
echo splitting symbols out of binaries
|
1999-09-30 16:57:48 +00:00
|
|
|
cd $(MOZ_SRC)\mozilla
|
2000-09-06 23:13:11 +00:00
|
|
|
$(FIND) $(DIST:\=/) -name "*.dll" -exec $(SPLITSYM) {} ;
|
|
|
|
$(FIND) $(DIST:\=/) -name "*.exe" -exec $(SPLITSYM) {} ;
|
|
|
|
$(FIND) $(DIST:\=/) -name "*.EXE" -exec $(SPLITSYM) {} ;
|
1999-09-19 21:26:19 +00:00
|
|
|
|
1999-07-07 20:34:59 +00:00
|
|
|
!else
|
|
|
|
echo No splitsym defined.
|
|
|
|
!endif
|
|
|
|
!else
|
|
|
|
echo No find defined.
|
|
|
|
!endif
|
|
|
|
!endif
|
|
|
|
|
1999-09-15 00:08:24 +00:00
|
|
|
componentreg:
|
1999-09-15 06:03:52 +00:00
|
|
|
!if defined(MOZILLA_OFFICIAL)
|
1999-09-15 00:08:24 +00:00
|
|
|
cd $(DIST)\bin
|
2000-02-15 23:19:02 +00:00
|
|
|
regxpcom.exe
|
1999-09-15 06:03:52 +00:00
|
|
|
!endif
|
1999-09-15 00:08:24 +00:00
|
|
|
|
2000-09-07 09:34:29 +00:00
|
|
|
install:: regchrome rebase splitsymbols componentreg
|
1999-07-02 12:42:17 +00:00
|
|
|
|