1998-03-28 02:44:41 +00: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 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
|
|
|
#//
|
|
|
|
#//------------------------------------------------------------------------
|
|
|
|
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 00:02:11 +00:00
|
|
|
DIRS = \
|
1999-03-31 20:55:34 +00:00
|
|
|
!if defined(DIST_DIRS)
|
1999-02-28 07:51:10 +00:00
|
|
|
config \
|
|
|
|
dbm \
|
|
|
|
include \
|
|
|
|
jpeg \
|
|
|
|
modules\libreg \
|
|
|
|
xpcom \
|
|
|
|
modules\zlib \
|
1999-03-25 20:17:46 +00:00
|
|
|
modules\libjar \
|
1999-02-28 07:51:10 +00:00
|
|
|
modules\libutil \
|
|
|
|
sun-java \
|
|
|
|
js \
|
|
|
|
modules\security\freenav \
|
|
|
|
modules\libimg \
|
|
|
|
modules\plugin \
|
|
|
|
modules\oji \
|
1999-04-20 01:09:35 +00:00
|
|
|
modules\libpref \
|
1999-02-28 07:51:10 +00:00
|
|
|
intl \
|
|
|
|
caps \
|
|
|
|
lib\xp \
|
1999-06-18 17:34:08 +00:00
|
|
|
!if !defined(NECKO)
|
1999-08-02 23:59:56 +00:00
|
|
|
lib\libpwcac \
|
1999-02-28 07:51:10 +00:00
|
|
|
network \
|
1999-06-18 17:34:08 +00:00
|
|
|
!endif
|
1999-04-11 05:13:58 +00:00
|
|
|
profile \
|
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
|
|
|
|
expat \
|
|
|
|
gfx \
|
1999-06-28 10:35:57 +00:00
|
|
|
!if defined(NECKO)
|
|
|
|
netwerk \
|
|
|
|
!endif
|
1999-07-03 06:45:35 +00:00
|
|
|
htmlparser \
|
1999-03-11 18:12:12 +00:00
|
|
|
widget \
|
1999-02-28 07:51:10 +00:00
|
|
|
dom \
|
|
|
|
view \
|
|
|
|
layout \
|
|
|
|
rdf \
|
|
|
|
silentdl \
|
|
|
|
webshell \
|
1999-03-11 18:12:12 +00:00
|
|
|
editor \
|
1999-03-31 20:55:34 +00:00
|
|
|
!endif
|
|
|
|
!if defined(CLIENT_DIRS)
|
1999-03-23 19:38:05 +00:00
|
|
|
# the following are associated with the browser
|
|
|
|
xpfe \
|
1999-03-31 20:55:34 +00:00
|
|
|
xpinstall \
|
1999-03-23 19:38:05 +00:00
|
|
|
extensions \
|
1999-07-29 00:45:40 +00:00
|
|
|
!if !defined(DISABLE_MAILNEWS)
|
1999-03-05 20:29:36 +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
|
|
|
|
|
|
|
|
1999-06-26 06:36:26 +00:00
|
|
|
!ifdef NECKO
|
1999-08-02 20:37:46 +00:00
|
|
|
all::
|
1999-06-26 06:36:26 +00:00
|
|
|
export::
|
|
|
|
@echo NECKO is enabled
|
|
|
|
!endif
|
|
|
|
|
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
|
|
|
#//------------------------------------------------------------------------
|
1998-03-28 02:44:41 +00:00
|
|
|
include <$(DEPTH)\config\rules.mak>
|
1999-06-26 06:36:26 +00:00
|
|
|
|
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)" != ""
|
1999-07-02 12:42:17 +00: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 00:07:09 +00:00
|
|
|
!endif
|
1999-07-02 12:42:17 +00:00
|
|
|
|
1999-07-07 20:34:59 +00:00
|
|
|
splitsymbols:
|
1999-07-12 18:09:48 +00:00
|
|
|
!if defined(MOZ_FULLCIRCLE)
|
1999-07-07 20:34:59 +00:00
|
|
|
!if defined(FIND)
|
|
|
|
!if "$(SPLITSYM)" != ""
|
|
|
|
echo splitting symbols for FullCircle
|
|
|
|
$(FIND) $(DIST) -name "*.dll" -exec $(SPLITSYM) {} ;
|
|
|
|
$(FIND) $(DIST) -name "*.exe" -exec $(SPLITSYM) {} ;
|
|
|
|
!else
|
|
|
|
echo No splitsym defined.
|
|
|
|
!endif
|
|
|
|
!else
|
|
|
|
echo No find defined.
|
|
|
|
!endif
|
|
|
|
!endif
|
|
|
|
|
|
|
|
install:: rebase splitsymbols
|
1999-07-02 12:42:17 +00:00
|
|
|
|