1999-11-06 06:43:54 +03: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 05:44:41 +03:00
|
|
|
#
|
1999-11-06 06:43:54 +03: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 05:44:41 +03:00
|
|
|
#
|
1999-11-06 06:43:54 +03:00
|
|
|
# The Original Code is mozilla.org code.
|
|
|
|
#
|
|
|
|
# The Initial Developer of the Original Code is Netscape
|
1998-03-28 05:44:41 +03:00
|
|
|
# Communications Corporation. Portions created by Netscape are
|
1999-11-06 06:43:54 +03:00
|
|
|
# Copyright (C) 1998 Netscape Communications Corporation. All
|
|
|
|
# Rights Reserved.
|
|
|
|
#
|
|
|
|
# Contributor(s):
|
1998-03-28 05:44:41 +03:00
|
|
|
|
1999-07-29 04:28:38 +04:00
|
|
|
NECKO=1
|
|
|
|
|
1998-03-28 05:44:41 +03:00
|
|
|
#//------------------------------------------------------------------------
|
|
|
|
#//
|
1999-02-28 10:51:10 +03:00
|
|
|
#// Toplevel windows Makefile to build the mozilla tree
|
1998-03-28 05:44:41 +03:00
|
|
|
#//
|
|
|
|
#//------------------------------------------------------------------------
|
|
|
|
|
|
|
|
#//------------------------------------------------------------------------
|
|
|
|
#//
|
|
|
|
#// Specify the depth of the current directory relative to the
|
1999-02-28 10:51:10 +03:00
|
|
|
#// root of mozilla
|
1998-03-28 05:44:41 +03:00
|
|
|
#//
|
|
|
|
#//------------------------------------------------------------------------
|
1999-11-28 06:05:01 +03:00
|
|
|
|
1998-03-28 05:44:41 +03:00
|
|
|
DEPTH=.
|
|
|
|
|
2001-03-23 12:25:25 +03:00
|
|
|
include <$(DEPTH)\config\config.mak>
|
|
|
|
|
1998-03-28 05:44:41 +03:00
|
|
|
#//------------------------------------------------------------------------
|
|
|
|
#//
|
|
|
|
#// 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 06:05:01 +03:00
|
|
|
DIRS = \
|
|
|
|
config \
|
|
|
|
include \
|
|
|
|
jpeg \
|
|
|
|
sun-java \
|
|
|
|
modules\libreg \
|
2001-02-21 14:09:35 +03:00
|
|
|
string \
|
1999-11-28 06:05:01 +03:00
|
|
|
xpcom \
|
|
|
|
db \
|
|
|
|
dbm \
|
1999-12-22 03:39:32 +03:00
|
|
|
modules\libutil \
|
2000-09-22 07:46:18 +04:00
|
|
|
modules\mpfilelocprovider \
|
2000-05-06 14:04:28 +04:00
|
|
|
modules\zlib \
|
2001-10-13 04:09:48 +04:00
|
|
|
intl \
|
1999-11-28 06:05:01 +03:00
|
|
|
netwerk \
|
|
|
|
widget\timer \
|
|
|
|
js \
|
2001-11-14 07:52:55 +03:00
|
|
|
js\src\xpconnect \
|
|
|
|
!ifdef MOZ_OJI
|
|
|
|
js\src\liveconnect \
|
|
|
|
!endif
|
2001-09-30 09:57:50 +04:00
|
|
|
!if !defined(DISABLE_JSD)
|
|
|
|
js\jsd \
|
|
|
|
!endif
|
1999-11-28 06:47:01 +03:00
|
|
|
modules\libjar \
|
|
|
|
modules\libimg \
|
|
|
|
modules\libpref \
|
|
|
|
modules\oji \
|
1999-11-28 06:05:01 +03:00
|
|
|
caps \
|
2001-02-22 06:01:34 +03:00
|
|
|
rdf \
|
1999-11-28 06:05:01 +03:00
|
|
|
expat \
|
|
|
|
gfx \
|
2001-03-22 11:47:54 +03:00
|
|
|
gfx2 \
|
2001-12-12 10:59:31 +03:00
|
|
|
!ifdef MOZ_INTERNAL_LIBART_LGPL
|
|
|
|
other-licenses\libart_lgpl \
|
|
|
|
!endif
|
2001-03-22 11:47:54 +03:00
|
|
|
modules\libpr0n \
|
2000-07-22 05:27:15 +04:00
|
|
|
modules\plugin \
|
1999-11-28 06:05:01 +03:00
|
|
|
uriloader \
|
|
|
|
htmlparser \
|
|
|
|
widget \
|
|
|
|
dom \
|
|
|
|
view \
|
2001-02-20 00:50:04 +03:00
|
|
|
content \
|
1999-11-28 06:05:01 +03:00
|
|
|
layout \
|
1999-11-30 01:21:36 +03:00
|
|
|
docshell \
|
1999-11-28 06:05:01 +03:00
|
|
|
webshell \
|
2000-08-10 11:06:21 +04:00
|
|
|
embedding \
|
1999-11-28 06:05:01 +03:00
|
|
|
profile \
|
|
|
|
editor \
|
2001-08-17 07:13:07 +04:00
|
|
|
!if defined(ACCESSIBILITY)
|
2001-03-29 01:18:29 +04:00
|
|
|
accessible \
|
2001-08-17 07:13:07 +04:00
|
|
|
!endif
|
1999-10-22 01:59:15 +04:00
|
|
|
!if defined(GC_LEAK_DETECTOR)
|
1999-11-28 06:05:01 +03:00
|
|
|
gc\boehm \
|
1999-04-01 00:55:34 +04:00
|
|
|
!endif
|
1999-11-28 06:05:01 +03:00
|
|
|
xpfe \
|
|
|
|
xpinstall \
|
2001-05-02 09:03:41 +04:00
|
|
|
!if defined(BUILD_PSM) || defined(BUILD_PSM2)
|
|
|
|
security \
|
|
|
|
!endif
|
1999-11-28 06:05:01 +03:00
|
|
|
extensions \
|
2000-05-09 01:35:40 +04:00
|
|
|
themes \
|
2001-03-24 03:28:50 +03:00
|
|
|
!if !defined(DISABLE_LDAP)
|
2000-07-28 08:00:47 +04:00
|
|
|
directory\c-sdk \
|
|
|
|
directory\xpcom \
|
|
|
|
!endif
|
2000-06-25 05:59:57 +04:00
|
|
|
l10n \
|
1999-07-29 04:45:40 +04:00
|
|
|
!if !defined(DISABLE_MAILNEWS)
|
1999-11-28 06:05:01 +03:00
|
|
|
mailnews \
|
2001-06-21 00:21:49 +04:00
|
|
|
!endif
|
|
|
|
xpfe\bootstrap \
|
|
|
|
!if defined(MOZ_STATIC_COMPONENT_LIBS)
|
|
|
|
modules\staticmod \
|
1999-03-23 22:38:05 +03:00
|
|
|
!endif
|
1999-02-28 10:51:10 +03:00
|
|
|
$(NULL)
|
1998-03-28 05:44:41 +03:00
|
|
|
|
1998-04-03 20:14:01 +04:00
|
|
|
#//------------------------------------------------------------------------
|
1998-03-28 05:44:41 +03:00
|
|
|
#//
|
|
|
|
#// Include the common makefile rules
|
|
|
|
#//
|
1998-04-03 20:14:01 +04:00
|
|
|
#//------------------------------------------------------------------------
|
1999-06-26 10:36:26 +04:00
|
|
|
|
1999-11-28 06:05:01 +03:00
|
|
|
include <$(DEPTH)\config\rules.mak>
|
1999-07-02 16:42:17 +04:00
|
|
|
|
2001-09-23 07:44:12 +04:00
|
|
|
export::
|
|
|
|
$(PERL) $(DEPTH)\config\purge-old-headers.pl $(XPDIST)\include
|
|
|
|
|
1999-08-03 00:37:46 +04:00
|
|
|
#//------------------------------------------------------------------------
|
1999-08-28 04:07:09 +04:00
|
|
|
#//
|
|
|
|
#// MOZILLA_OFFICIAL junk: rebase and splitsym for binary release
|
1999-08-03 00:37:46 +04:00
|
|
|
#//
|
|
|
|
#//------------------------------------------------------------------------
|
1999-08-28 04:07:09 +04: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 16:42:17 +04:00
|
|
|
|
|
|
|
rebase:
|
1999-08-28 04:07:09 +04:00
|
|
|
!if defined(MOZILLA_OFFICIAL)
|
1999-07-02 16:42:17 +04:00
|
|
|
!if defined(FIND)
|
1999-07-02 21:15:03 +04:00
|
|
|
!if "$(REBASE)" != ""
|
2000-09-07 03:13:11 +04:00
|
|
|
echo rebasing $(DIST:\=/)
|
|
|
|
$(FIND) $(DIST:\=/) -name "*.dll" > rebase.lst
|
1999-07-02 16:42:17 +04: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 04:07:09 +04:00
|
|
|
!endif
|
1999-07-02 16:42:17 +04:00
|
|
|
|
1999-07-08 00:34:59 +04:00
|
|
|
splitsymbols:
|
1999-09-20 01:26:19 +04:00
|
|
|
!if defined(MOZILLA_OFFICIAL)
|
1999-07-08 00:34:59 +04:00
|
|
|
!if defined(FIND)
|
|
|
|
!if "$(SPLITSYM)" != ""
|
1999-09-20 01:26:19 +04:00
|
|
|
echo splitting symbols out of binaries
|
1999-09-30 20:57:48 +04:00
|
|
|
cd $(MOZ_SRC)\mozilla
|
2000-09-07 03:13:11 +04:00
|
|
|
$(FIND) $(DIST:\=/) -name "*.dll" -exec $(SPLITSYM) {} ;
|
|
|
|
$(FIND) $(DIST:\=/) -name "*.exe" -exec $(SPLITSYM) {} ;
|
|
|
|
$(FIND) $(DIST:\=/) -name "*.EXE" -exec $(SPLITSYM) {} ;
|
1999-09-20 01:26:19 +04:00
|
|
|
|
1999-07-08 00:34:59 +04:00
|
|
|
!else
|
|
|
|
echo No splitsym defined.
|
|
|
|
!endif
|
|
|
|
!else
|
|
|
|
echo No find defined.
|
|
|
|
!endif
|
|
|
|
!endif
|
|
|
|
|
1999-09-15 04:08:24 +04:00
|
|
|
componentreg:
|
1999-09-15 10:03:52 +04:00
|
|
|
!if defined(MOZILLA_OFFICIAL)
|
2001-08-03 05:35:17 +04:00
|
|
|
!if !defined(MOZ_STATIC_COMPONENT_LIBS)
|
1999-09-15 04:08:24 +04:00
|
|
|
cd $(DIST)\bin
|
2000-02-16 02:19:02 +03:00
|
|
|
regxpcom.exe
|
1999-09-15 10:03:52 +04:00
|
|
|
!endif
|
2001-08-03 05:35:17 +04:00
|
|
|
!endif
|
1999-09-15 04:08:24 +04:00
|
|
|
|
2001-11-21 12:49:41 +03:00
|
|
|
libs:: regchrome rebase splitsymbols componentreg
|
1999-07-02 16:42:17 +04:00
|
|
|
|