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.
|
|
|
|
|
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
|
|
|
#//
|
|
|
|
#//------------------------------------------------------------------------
|
|
|
|
DEPTH=.
|
|
|
|
|
|
|
|
#//------------------------------------------------------------------------
|
|
|
|
#//
|
|
|
|
#// Specify any "command" targets. (ie. DIRS, INSTALL_FILES, ...)
|
|
|
|
#// (these must come before the common makefiles are included)
|
|
|
|
#//
|
|
|
|
#// DIRS - There are subdirectories to process
|
|
|
|
#//
|
|
|
|
#//------------------------------------------------------------------------
|
|
|
|
|
1998-09-01 04:02:11 +04:00
|
|
|
DIRS = \
|
1999-04-01 00:55:34 +04:00
|
|
|
!if defined(DIST_DIRS)
|
1999-02-28 10:51:10 +03:00
|
|
|
config \
|
1999-09-09 00:54:57 +04:00
|
|
|
db \
|
1999-02-28 10:51:10 +03:00
|
|
|
dbm \
|
|
|
|
include \
|
|
|
|
jpeg \
|
|
|
|
modules\libreg \
|
|
|
|
xpcom \
|
|
|
|
modules\zlib \
|
1999-03-25 23:17:46 +03:00
|
|
|
modules\libjar \
|
1999-02-28 10:51:10 +03:00
|
|
|
modules\libutil \
|
|
|
|
sun-java \
|
|
|
|
js \
|
|
|
|
modules\security\freenav \
|
|
|
|
modules\libimg \
|
|
|
|
modules\plugin \
|
|
|
|
modules\oji \
|
1999-04-20 05:09:35 +04:00
|
|
|
modules\libpref \
|
1999-02-28 10:51:10 +03:00
|
|
|
intl \
|
|
|
|
caps \
|
1999-06-18 21:34:08 +04:00
|
|
|
!if !defined(NECKO)
|
1999-08-03 03:59:56 +04:00
|
|
|
lib\libpwcac \
|
1999-02-28 10:51:10 +03:00
|
|
|
network \
|
1999-06-18 21:34:08 +04:00
|
|
|
!endif
|
1999-04-01 00:55:34 +04:00
|
|
|
!endif
|
|
|
|
!if defined(LAYOUT_DIRS)
|
1999-02-28 10:51:10 +03:00
|
|
|
# the following are associated with the layout engine
|
|
|
|
expat \
|
|
|
|
gfx \
|
1999-06-28 14:35:57 +04:00
|
|
|
!if defined(NECKO)
|
|
|
|
netwerk \
|
|
|
|
!endif
|
1999-09-10 05:00:15 +04:00
|
|
|
profile \
|
1999-07-03 10:45:35 +04:00
|
|
|
htmlparser \
|
1999-03-11 21:12:12 +03:00
|
|
|
widget \
|
1999-02-28 10:51:10 +03:00
|
|
|
dom \
|
|
|
|
view \
|
|
|
|
layout \
|
|
|
|
rdf \
|
|
|
|
webshell \
|
1999-03-11 21:12:12 +03:00
|
|
|
editor \
|
1999-10-22 01:59:15 +04:00
|
|
|
!if defined(GC_LEAK_DETECTOR)
|
|
|
|
gc\boehm \
|
1999-04-01 00:55:34 +04:00
|
|
|
!endif
|
1999-10-22 02:40:16 +04:00
|
|
|
!endif
|
1999-04-01 00:55:34 +04:00
|
|
|
!if defined(CLIENT_DIRS)
|
1999-03-23 22:38:05 +03:00
|
|
|
# the following are associated with the browser
|
|
|
|
xpfe \
|
1999-04-01 00:55:34 +04:00
|
|
|
xpinstall \
|
1999-03-23 22:38:05 +03:00
|
|
|
extensions \
|
1999-07-29 04:45:40 +04:00
|
|
|
!if !defined(DISABLE_MAILNEWS)
|
1999-03-05 23:29:36 +03:00
|
|
|
mailnews \
|
1999-03-12 05:27:29 +03:00
|
|
|
!endif
|
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
|
|
|
|
|
|
|
|
1999-06-26 10:36:26 +04:00
|
|
|
!ifdef NECKO
|
1999-08-03 00:37:46 +04:00
|
|
|
all::
|
1999-06-26 10:36:26 +04:00
|
|
|
export::
|
|
|
|
@echo NECKO is enabled
|
|
|
|
!endif
|
|
|
|
|
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
|
|
|
#//------------------------------------------------------------------------
|
1998-03-28 05:44:41 +03:00
|
|
|
include <$(DEPTH)\config\rules.mak>
|
1999-06-26 10:36:26 +04:00
|
|
|
|
1999-07-02 16:42:17 +04:00
|
|
|
|
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)" != ""
|
1999-07-02 16:42:17 +04:00
|
|
|
echo rebasing $(DIST)
|
|
|
|
$(FIND) $(DIST) -name "*.dll" > rebase.lst
|
|
|
|
$(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
|
1999-07-08 00:34:59 +04:00
|
|
|
$(FIND) $(DIST) -name "*.dll" -exec $(SPLITSYM) {} ;
|
|
|
|
$(FIND) $(DIST) -name "*.exe" -exec $(SPLITSYM) {} ;
|
1999-09-20 01:26:19 +04:00
|
|
|
$(FIND) $(DIST) -name "*.EXE" -exec $(SPLITSYM) {} ;
|
|
|
|
|
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)
|
1999-09-15 04:08:24 +04:00
|
|
|
cd $(DIST)\bin
|
|
|
|
regxpcom.exe
|
1999-09-15 10:03:52 +04:00
|
|
|
!endif
|
1999-09-15 04:08:24 +04:00
|
|
|
|
1999-09-30 21:50:24 +04:00
|
|
|
install:: rebase splitsymbols componentreg
|
1999-07-02 16:42:17 +04:00
|
|
|
|