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-02-19 01:26:31 +03:00
|
|
|
#// Makefile for MOZILLA/CONFIG - various commands used by other makefiles
|
1998-03-28 05:44:41 +03:00
|
|
|
#//
|
|
|
|
#//------------------------------------------------------------------------
|
|
|
|
|
|
|
|
!if "$(MOZ_BITS)" == "16"
|
|
|
|
!error This makefile must be build using 32-bit tools
|
|
|
|
!endif
|
|
|
|
|
|
|
|
#//------------------------------------------------------------------------
|
|
|
|
#//
|
|
|
|
#// Specify the depth of the current directory relative to the
|
|
|
|
#// root of NS
|
|
|
|
#//
|
|
|
|
#//------------------------------------------------------------------------
|
|
|
|
DEPTH = ..
|
|
|
|
|
|
|
|
#//------------------------------------------------------------------------
|
|
|
|
#//
|
|
|
|
#// Include the common makefile rules
|
|
|
|
#//
|
|
|
|
#//------------------------------------------------------------------------
|
|
|
|
include <$(DEPTH)/config/rules.mak>
|
|
|
|
|
1998-09-01 04:02:58 +04:00
|
|
|
#// Rule to set the timebomb on official mozilla builds
|
|
|
|
!ifdef MOZILLA_OFFICIAL
|
1998-12-04 23:00:31 +03:00
|
|
|
export:: build_number
|
1998-09-11 02:50:21 +04:00
|
|
|
$(PERL) set-timebomb.pl 0 30
|
1998-09-01 04:02:58 +04:00
|
|
|
!endif
|
|
|
|
|
1998-03-28 05:44:41 +03:00
|
|
|
#//
|
|
|
|
#// Rule to build makedir.exe
|
|
|
|
#//
|
|
|
|
makecopy.exe:: makecopy.c
|
|
|
|
$(CC) -O2 -MD makecopy.c
|
|
|
|
|
|
|
|
mangle.exe:: mangle.c
|
|
|
|
$(CC) -O2 -MD mangle.c
|
|
|
|
|
|
|
|
mantomak.exe:: mantomak.c
|
|
|
|
$(CC) -O2 -MD mantomak.c
|
|
|
|
|
|
|
|
bin2rc.exe:: bin2rc.c
|
|
|
|
$(CC) -O2 -MD bin2rc.c
|
|
|
|
|
1999-02-19 01:26:31 +03:00
|
|
|
makedep.exe:: makedep.cpp
|
|
|
|
@cl -MT makedep.cpp
|
|
|
|
|
|
|
|
export:: makecopy.exe mangle.exe mantomak.exe bin2rc.exe makedep.exe
|
1998-09-18 14:09:15 +04:00
|
|
|
|
1998-12-04 22:56:48 +03:00
|
|
|
# update build number from within make script
|
1998-12-04 23:00:31 +03:00
|
|
|
build_number:: FORCE
|
1998-12-04 22:56:48 +03:00
|
|
|
$(RM) $@
|
|
|
|
$(PERL) bdate.pl > $@
|
|
|
|
$(PERL) aboutime.pl $(DEPTH)/l10n/us/xp/about-all.html $@
|
1998-03-28 05:44:41 +03:00
|
|
|
|
|
|
|
install:: export
|
1998-09-01 04:02:58 +04:00
|
|
|
|
1998-12-04 22:56:48 +03:00
|
|
|
FORCE::
|