mozilla-history/makefile.win

138 строки
3.3 KiB
Plaintext
Исходник Обычный вид История

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.
#//------------------------------------------------------------------------
#//
#// 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
#// 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
#//
#//------------------------------------------------------------------------
DIRS = \
!if defined(DIST_DIRS)
config \
dbm \
nsprpub \
include \
jpeg \
modules\libreg \
xpcom \
modules\zlib \
modules\libjar \
modules\libutil \
sun-java \
js \
modules\security\freenav \
modules\libimg \
modules\plugin \
modules\oji \
1999-04-20 05:09:35 +04:00
modules\libpref \
intl \
caps \
lib\xp \
lib\libpwcac \
!if !defined(NECKO)
network \
!endif
1999-04-11 09:13:58 +04:00
profile \
!endif
!if defined(LAYOUT_DIRS)
# the following are associated with the layout engine
expat \
gfx \
!if defined(NECKO)
netwerk \
!endif
htmlparser \
widget \
dom \
view \
layout \
rdf \
silentdl \
webshell \
editor \
!endif
!if defined(CLIENT_DIRS)
# the following are associated with the browser
xpfe \
xpinstall \
extensions \
!if !defined(DISABLE_MAILNEWS) && !defined(NECKO)
1999-03-05 23:29:36 +03:00
mailnews \
!endif
!endif
$(NULL)
1998-03-28 05:44:41 +03:00
1999-06-26 10:36:26 +04:00
!ifdef NECKO
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
#// should make sure we have rebase, and die if not
!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
rebase:
!if defined(MOZILLA_OFFICIAL)
1999-07-02 16:42:17 +04:00
!if defined(FIND)
!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
!endif
1999-07-02 16:42:17 +04:00
install:: rebase