mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-02 10:00:54 +00:00
Removing old, dead files. r=shaver
This commit is contained in:
parent
492039f374
commit
67be3ddc23
317
trex.mak
317
trex.mak
@ -1,317 +0,0 @@
|
||||
# ***** BEGIN LICENSE BLOCK *****
|
||||
# Version: MPL 1.1/GPL 2.0/LGPL 2.1
|
||||
#
|
||||
# The contents of this file are subject to the Mozilla 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/MPL/
|
||||
#
|
||||
# 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.
|
||||
#
|
||||
# The Original Code is mozilla.org code.
|
||||
#
|
||||
# The Initial Developer of the Original Code is
|
||||
# Netscape Communications Corporation.
|
||||
# Portions created by the Initial Developer are Copyright (C) 1998
|
||||
# the Initial Developer. All Rights Reserved.
|
||||
#
|
||||
# Contributor(s):
|
||||
#
|
||||
# Alternatively, the contents of this file may be used under the terms of
|
||||
# either the GNU General Public License Version 2 or later (the "GPL"), or
|
||||
# the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
|
||||
# in which case the provisions of the GPL or the LGPL are applicable instead
|
||||
# of those above. If you wish to allow use of your version of this file only
|
||||
# under the terms of either the GPL or the LGPL, and not to allow others to
|
||||
# use your version of this file under the terms of the MPL, indicate your
|
||||
# decision by deleting the provisions above and replace them with the notice
|
||||
# and other provisions required by the GPL or the LGPL. If you do not delete
|
||||
# the provisions above, a recipient may use your version of this file under
|
||||
# the terms of any one of the MPL, the GPL or the LGPL.
|
||||
#
|
||||
# ***** END LICENSE BLOCK *****
|
||||
|
||||
|
||||
######################################################################
|
||||
#
|
||||
# This is a windows based makefile (currently) designed to pull
|
||||
# and build all appropriate components and systems to generate
|
||||
# a Trex distribution and products using such a distribution
|
||||
#
|
||||
######################################################################
|
||||
|
||||
DEPTH=.
|
||||
IGNORE_MANIFEST=1
|
||||
|
||||
######################################################################
|
||||
# General environment variables
|
||||
######################################################################
|
||||
|
||||
!if !defined(MOZ_SRC)
|
||||
MOZ_SRC=y:
|
||||
!endif
|
||||
|
||||
!if !defined(MOZ_TOP)
|
||||
MOZ_TOP=mozilla
|
||||
!endif
|
||||
|
||||
CVS=cvs -q co -P
|
||||
NMAKE=@nmake -nologo -$(MAKEFLAGS)
|
||||
MMAKE=$(MOZ_SRC)\$(MOZ_TOP)\config\w95make.exe
|
||||
GMAKE=gmake
|
||||
GMAKEFILE=Makefile
|
||||
|
||||
CVTREX = :pserver:$(USERNAME)@cvsserver:/m/src
|
||||
CVST=cvs -q -d $(CVTREX) co -P
|
||||
|
||||
######################################################################
|
||||
# Branches and Modules - Trex Needs These
|
||||
######################################################################
|
||||
|
||||
CONFIG_BRANCH =
|
||||
CONFIG_DIR = $(MOZ_TOP)/config
|
||||
|
||||
NSPR20_BRANCH =
|
||||
NSPR20_DIR = $(MOZ_TOP)/nsprpub
|
||||
|
||||
NETLIB_BRANCH = -r MODULAR_NETLIB_BRANCH
|
||||
NETLIB_DIR = $(MOZ_TOP)/lib/libnet
|
||||
|
||||
IMGLIB_BRANCH = -r MODULAR_IMGLIB_BRANCH
|
||||
IMGLIB_DIR1 = $(MOZ_TOP)/jpeg
|
||||
IMGLIB_DIR2 = $(MOZ_TOP)/modules/libutil
|
||||
IMGLIB_DIR3 = $(MOZ_TOP)/modules/libimg
|
||||
|
||||
ZLIB_BRANCH =
|
||||
ZLIB_DIR = $(MOZ_TOP)/modules/zlib
|
||||
|
||||
INCLUDE_BRANCH =
|
||||
INCLUDE_DIR = $(MOZ_TOP)/include
|
||||
#
|
||||
#LIBXP_BRANCH =
|
||||
#LIBXP_DIR = $(MOZ_TOP)/lib/xp
|
||||
|
||||
RAPTOR_XPCOM_BRANCH =
|
||||
RAPTOR_XPCOM_DIR = $(MOZ_TOP)/xpcom
|
||||
|
||||
RAPTOR_BASE_BRANCH =
|
||||
RAPTOR_BASE_DIR = $(MOZ_TOP)/base
|
||||
|
||||
RAPTOR_GFX_BRANCH =
|
||||
RAPTOR_GFX_DIR = $(MOZ_TOP)/gfx
|
||||
|
||||
RAPTOR_PARSER_BRANCH =
|
||||
RAPTOR_PARSER_DIR = $(MOZ_TOP)/htmlparser
|
||||
|
||||
RAPTOR_WIDGET_BRANCH =
|
||||
RAPTOR_WIDGET_DIR = $(MOZ_TOP)/widget
|
||||
|
||||
RAPTOR_VIEW_BRANCH =
|
||||
RAPTOR_VIEW_DIR = $(MOZ_TOP)/view
|
||||
|
||||
RAPTOR_LAYOUT_BRANCH =
|
||||
RAPTOR_LAYOUT_DIR = $(MOZ_TOP)/layout
|
||||
|
||||
TREX_GCONFIG_BRANCH =
|
||||
TREX_GCONFIG_DIR = $(MOZ_TOP)/gconfig
|
||||
|
||||
TREX_MSGSDK_BRANCH =
|
||||
TREX_MSGSDK_DIR = mozilla/msgsdk
|
||||
|
||||
TREX_XPFC_BRANCH =
|
||||
TREX_XPFC_DIR = mozilla/xpfc
|
||||
|
||||
TREX_TREX_BRANCH =
|
||||
TREX_TREX_DIR = mozilla/calendar
|
||||
|
||||
LIBNLS_BRANCH = -r libnls_v3_zulu_branch
|
||||
LIBNLS_DIR = ns/modules/libnls
|
||||
|
||||
# $(MOZ_TOP)/LICENSE
|
||||
# $(MOZ_TOP)/LEGAL
|
||||
# $(MOZ_TOP)/lib/liblayer
|
||||
# $(MOZ_TOP)/modules/zlib
|
||||
# $(MOZ_TOP)/modules/libutil
|
||||
# $(MOZ_TOP)/sun-java
|
||||
# $(MOZ_TOP)/nav-java
|
||||
# $(MOZ_TOP)/js
|
||||
# $(MOZ_TOP)/modules/security/freenav
|
||||
# $(MOZ_TOP)/modules/libpref
|
||||
|
||||
######################################################################
|
||||
# Modules - PLATFORM_DIRS are what Trex needs
|
||||
######################################################################
|
||||
|
||||
PLATFORM_DIRS = \
|
||||
nsprpub \
|
||||
xpcom \
|
||||
jpeg \
|
||||
modules\zlib \
|
||||
modules\libutil \
|
||||
modules\libimg \
|
||||
base \
|
||||
htmlparser \
|
||||
gfx \
|
||||
view \
|
||||
widget
|
||||
|
||||
PLATFORM_EXPORT_DIRS = $(PLATFORM_DIRS) \
|
||||
lib\libnet \
|
||||
layout
|
||||
|
||||
TREX_DIRS = \
|
||||
trex
|
||||
|
||||
######################################################################
|
||||
# Targets
|
||||
######################################################################
|
||||
|
||||
default:: build_all
|
||||
|
||||
depend:: depend_dist depend_julian depend_trex
|
||||
|
||||
clobber:: clobber_dist clobber_julian clobber_trex
|
||||
|
||||
pull_and_build_all:: pull_all \
|
||||
build_all
|
||||
|
||||
pull_clobber_build_all:: pull_all \
|
||||
clobber_all \
|
||||
build_all
|
||||
|
||||
clobber_build_all:: clobber_all \
|
||||
build_all
|
||||
|
||||
|
||||
#pull_all::
|
||||
# @echo +++ trex.mak: checking out trex with "$(CVS_BRANCH)"
|
||||
# cd $(MOZ_SRC)\.
|
||||
# -$(CVS) $(CONFIG_BRANCH) $(CONFIG_DIR)
|
||||
# -$(CVS) $(INCLUDE_BRANCH) $(INCLUDE_DIR)
|
||||
# -$(CVS) $(NSPR20_BRANCH) $(NSPR20_DIR)
|
||||
# -$(CVS) $(NETLIB_BRANCH) $(NETLIB_DIR)
|
||||
# -$(CVS) $(IMGLIB_BRANCH) $(IMGLIB_DIR1)
|
||||
# -$(CVS) $(IMGLIB_BRANCH) $(IMGLIB_DIR2)
|
||||
# -$(CVS) $(IMGLIB_BRANCH) $(IMGLIB_DIR3)
|
||||
# -$(CVS) $(ZLIB_BRANCH) $(ZLIB_DIR)
|
||||
# -$(CVS) $(RAPTOR_XPCOM_BRANCH) $(RAPTOR_XPCOM_DIR)
|
||||
# -$(CVS) $(RAPTOR_BASE_BRANCH) $(RAPTOR_BASE_DIR)
|
||||
# -$(CVS) $(RAPTOR_GFX_BRANCH) $(RAPTOR_GFX_DIR)
|
||||
# -$(CVS) $(RAPTOR_PARSER_BRANCH) $(RAPTOR_PARSER_DIR)
|
||||
# -$(CVS) $(RAPTOR_WIDGET_BRANCH) $(RAPTOR_WIDGET_DIR)
|
||||
# -$(CVS) $(RAPTOR_VIEW_BRANCH) $(RAPTOR_VIEW_DIR)
|
||||
# -$(CVS) $(RAPTOR_LAYOUT_BRANCH) $(RAPTOR_LAYOUT_DIR)
|
||||
|
||||
|
||||
pull_all:: pull_platform pull_julian pull_trex
|
||||
|
||||
pull_julian_and_trex:: pull_julian pull_trex
|
||||
@echo +++ trex.mak: checking out platform with "$(CVS_BRANCH)"
|
||||
cd $(MOZ_SRC)\.
|
||||
-$(CVS) $(CONFIG_BRANCH) $(CONFIG_DIR)
|
||||
cd $(MOZ_SRC)\.
|
||||
|
||||
pull_platform::
|
||||
@echo +++ trex.mak: checking out platform with "$(CVS_BRANCH)"
|
||||
cd $(MOZ_SRC)\.
|
||||
-$(CVS) $(CONFIG_BRANCH) $(CONFIG_DIR)
|
||||
-$(CVS) $(MOZ_TOP)/nglayout.mak
|
||||
cd $(MOZ_SRC)\$(MOZ_TOP)
|
||||
nmake -f nglayout.mak pull_all
|
||||
cd $(MOZ_SRC)\.
|
||||
|
||||
pull_julian::
|
||||
@echo +++ trex.mak: checking out libnls with "$(CVTREX)"
|
||||
cd $(MOZ_SRC)\.
|
||||
-$(CVST) ns/client.mak
|
||||
cd $(MOZ_SRC)\ns\.
|
||||
-$(CVST) -d config ns/clientconfig
|
||||
cd $(MOZ_SRC)\.
|
||||
-$(CVST) $(LIBNLS_BRANCH) $(LIBNLS_DIR)
|
||||
cd $(MOZ_SRC)\.
|
||||
|
||||
pull_trex::
|
||||
@echo +++ trex.mak: checking out trex with "$(CVTREX)"
|
||||
cd $(MOZ_SRC)\.
|
||||
-$(CVS) $(TREX_GCONFIG_BRANCH) $(TREX_GCONFIG_DIR)
|
||||
-$(CVS) $(TREX_MSGSDK_BRANCH) $(TREX_MSGSDK_DIR)
|
||||
-$(CVS) $(TREX_XPFC_BRANCH) $(TREX_XPFC_DIR)
|
||||
-$(CVS) $(TREX_TREX_BRANCH) $(TREX_TREX_DIR)
|
||||
cd $(MOZ_SRC)\.
|
||||
|
||||
|
||||
build_all:: build_platform build_julian build_trex
|
||||
|
||||
build_julian_and_trex:: build_julian build_trex
|
||||
|
||||
# builds PLATFORM_DIRS
|
||||
#build_platform::
|
||||
# cd $(MOZ_SRC)\$(MOZ_TOP)\.
|
||||
# @$(MMAKE) export $(MAKEDIR) $(PLATFORM_EXPORT_DIRS)
|
||||
# @$(MMAKE) libs $(MAKEDIR) $(PLATFORM_DIRS)
|
||||
# @$(MMAKE) install $(MAKEDIR) $(PLATFORM_DIRS)
|
||||
build_platform::
|
||||
cd $(MOZ_SRC)\$(MOZ_TOP)\.
|
||||
nmake -f nglayout.mak all
|
||||
cd $(MOZ_SRC)\.
|
||||
|
||||
build_julian::
|
||||
!if !defined(MOZ_ZULU_FREE)
|
||||
cd $(MOZ_SRC)\ns\modules\libnls
|
||||
nmake -f makefile.win
|
||||
!endif
|
||||
cd $(MOZ_SRC)\.
|
||||
|
||||
build_trex::
|
||||
cd $(MOZ_SRC)\$(MOZ_TOP)\msgsdk
|
||||
gmake buildC
|
||||
cd $(MOZ_SRC)\$(MOZ_TOP)\xpfc
|
||||
nmake -f makefile.win
|
||||
cd $(MOZ_SRC)\$(MOZ_TOP)\calendar
|
||||
nmake -f makefile.win
|
||||
cd $(MOZ_SRC)\.
|
||||
|
||||
|
||||
|
||||
depend_dist::
|
||||
cd $(MOZ_SRC)\$(MOZ_TOP)\.
|
||||
nmake -f nglayout.mak depend
|
||||
cd $(MOZ_SRC)\.
|
||||
|
||||
depend_julian::
|
||||
!if !defined(MOZ_ZULU_FREE)
|
||||
cd $(MOZ_SRC)\ns\modules\libnls
|
||||
nmake -f makefile.win depend
|
||||
!endif
|
||||
cd $(MOZ_SRC)\.
|
||||
|
||||
depend_trex::
|
||||
cd $(MOZ_SRC)\$(MOZ_TOP)\xpfc
|
||||
nmake -f makefile.win depend
|
||||
cd $(MOZ_SRC)\$(MOZ_TOP)\calendar
|
||||
nmake -f makefile.win depend
|
||||
cd $(MOZ_SRC)\.
|
||||
|
||||
clobber_dist::
|
||||
cd $(MOZ_SRC)\$(MOZ_TOP)\.
|
||||
nmake -f nglayout.mak clobber_all
|
||||
cd $(MOZ_SRC)\.
|
||||
|
||||
clobber_julian::
|
||||
!if !defined(MOZ_ZULU_FREE)
|
||||
cd $(MOZ_SRC)\ns\modules\libnls
|
||||
!endif
|
||||
nmake -f makefile.win clobber_all
|
||||
cd $(MOZ_SRC)\.
|
||||
|
||||
clobber_trex::
|
||||
cd $(MOZ_SRC)\$(MOZ_TOP)\msgsdk
|
||||
gmake FRESH
|
||||
cd $(MOZ_SRC)\$(MOZ_TOP)\xpfc
|
||||
nmake -f makefile.win clobber_all
|
||||
cd $(MOZ_SRC)\$(MOZ_TOP)\calendar
|
||||
nmake -f makefile.win clobber_all
|
||||
cd $(MOZ_SRC)\.
|
141
trex.mk
141
trex.mk
@ -1,141 +0,0 @@
|
||||
#!gmake
|
||||
# ***** BEGIN LICENSE BLOCK *****
|
||||
# Version: MPL 1.1/GPL 2.0/LGPL 2.1
|
||||
#
|
||||
# The contents of this file are subject to the Mozilla 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/MPL/
|
||||
#
|
||||
# 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.
|
||||
#
|
||||
# The Original Code is mozilla.org code.
|
||||
#
|
||||
# The Initial Developer of the Original Code is
|
||||
# Netscape Communications Corporation.
|
||||
# Portions created by the Initial Developer are Copyright (C) 1998
|
||||
# the Initial Developer. All Rights Reserved.
|
||||
#
|
||||
# Contributor(s):
|
||||
#
|
||||
# Alternatively, the contents of this file may be used under the terms of
|
||||
# either the GNU General Public License Version 2 or later (the "GPL"), or
|
||||
# the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
|
||||
# in which case the provisions of the GPL or the LGPL are applicable instead
|
||||
# of those above. If you wish to allow use of your version of this file only
|
||||
# under the terms of either the GPL or the LGPL, and not to allow others to
|
||||
# use your version of this file under the terms of the MPL, indicate your
|
||||
# decision by deleting the provisions above and replace them with the notice
|
||||
# and other provisions required by the GPL or the LGPL. If you do not delete
|
||||
# the provisions above, a recipient may use your version of this file under
|
||||
# the terms of any one of the MPL, the GPL or the LGPL.
|
||||
#
|
||||
# ***** END LICENSE BLOCK *****
|
||||
|
||||
######################################################################
|
||||
#
|
||||
# This is a unix based makefile (currently) designed to pull
|
||||
# and build all appropriate components and systems to generate
|
||||
# a Trex distribution and products using such a distribution
|
||||
#
|
||||
######################################################################
|
||||
|
||||
IGNORE_MANIFEST=1
|
||||
DEPTH=.
|
||||
|
||||
#
|
||||
# Command macro defines
|
||||
#
|
||||
|
||||
CWD=`pwd`
|
||||
TOP=$(CWD)/..
|
||||
|
||||
CVS=cvs -q co -P
|
||||
CVTREX = :pserver:$(USER)@cvsserver:/m/src
|
||||
CVST=cvs -q -d $(CVTREX) co -P
|
||||
|
||||
LIBNLS_BRANCH = -r libnls_v3_zulu_branch
|
||||
LIBNLS_DIR = ns/modules/libnls
|
||||
|
||||
TREX_MSGSDK_BRANCH =
|
||||
TREX_MSGSDK_DIR = mozilla/msgsdk
|
||||
|
||||
|
||||
default: pull_all build_all
|
||||
|
||||
pull_and_build_all: pull_all build_all
|
||||
|
||||
pull_all: pull_platform pull_julian pull_trex
|
||||
|
||||
pull_platform:
|
||||
cd $(MOZ_SRC); \
|
||||
$(CVS) mozilla/config mozilla/nglayout.mk; \
|
||||
cd mozilla ;\
|
||||
gmake -f nglayout.mk pull_all;\
|
||||
cd $(MOZ_SRC)
|
||||
|
||||
pull_julian:
|
||||
ifneq ($(MOZ_ZULU_FREE),1)
|
||||
cd $(MOZ_SRC); \
|
||||
$(CVST) ns/client.mk; \
|
||||
cd $(MOZ_SRC)/ns/.; \
|
||||
$(CVST) -d config ns/clientconfig; \
|
||||
cd $(MOZ_SRC); \
|
||||
$(CVST) $(LIBNLS_BRANCH) $(LIBNLS_DIR); \
|
||||
cd $(MOZ_SRC)
|
||||
else
|
||||
cd $(MOZ_SRC)
|
||||
endif
|
||||
|
||||
pull_trex:
|
||||
cd $(MOZ_SRC); \
|
||||
$(CVS) mozilla/gconfig; \
|
||||
$(CVS) $(TREX_MSGSDK_BRANCH) $(TREX_MSGSDK_DIR); \
|
||||
$(CVS) mozilla/xpfc; \
|
||||
$(CVS) mozilla/calendar; \
|
||||
cd $(MOZ_SRC)/.
|
||||
|
||||
build_all: build_platform build_julian build_trex
|
||||
|
||||
build_platform:
|
||||
cd $(MOZ_SRC)/mozilla; \
|
||||
gmake -f nglayout.mk real_all; \
|
||||
cd $(MOZ_SRC)
|
||||
|
||||
|
||||
build_julian::
|
||||
ifneq ($(MOZ_ZULU_FREE),1)
|
||||
cd $(MOZ_SRC)/ns/modules/libnls; \
|
||||
gmake; \
|
||||
cd $(MOZ_SRC)
|
||||
else
|
||||
cd $(MOZ_SRC)
|
||||
endif
|
||||
|
||||
|
||||
build_trex:
|
||||
cd $(MOZ_SRC)/mozilla/msgsdk; \
|
||||
gmake buildC; \
|
||||
cd $(MOZ_SRC)/mozilla/gconfig; \
|
||||
gmake; \
|
||||
cd $(MOZ_SRC)/mozilla/xpfc; \
|
||||
gmake; \
|
||||
cd $(MOZ_SRC)/mozilla/calendar; \
|
||||
gmake; \
|
||||
cd $(MOZ_SRC)
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user