summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorNoriko Hosoi <nhosoi@redhat.com>2007-04-19 17:43:50 +0000
committerNoriko Hosoi <nhosoi@redhat.com>2007-04-19 17:43:50 +0000
commit28fb10f48223b3bb08ac80d8967cb2cd3daa7d22 (patch)
tree5d543499e1d0784176c6c09f243b70251633f6db /config
parent2ed96135a9567d3fa1f45a945c984eb80024fb97 (diff)
Resolves: #237040
Summary: Remove obsolete makefiles
Diffstat (limited to 'config')
-rw-r--r--config/HP-UX.mk114
-rw-r--r--config/HP-UXB.11.11.mk43
-rw-r--r--config/HP-UXB.11.23.mk43
-rw-r--r--config/Linux2.4.mk90
-rw-r--r--config/Linux2.6.mk90
-rw-r--r--config/SunOS5.8.mk46
-rw-r--r--config/SunOS5.8_i86pc.mk46
-rw-r--r--config/SunOS5.9.mk46
-rw-r--r--config/SunOS5.mk131
-rw-r--r--config/UNIX.mk46
-rw-r--r--config/WINNT5.0.mk88
-rw-r--r--config/config.mk531
-rw-r--r--config/rules.mk725
-rw-r--r--config/webint.mk56
14 files changed, 0 insertions, 2095 deletions
diff --git a/config/HP-UX.mk b/config/HP-UX.mk
deleted file mode 100644
index 050d035f..00000000
--- a/config/HP-UX.mk
+++ /dev/null
@@ -1,114 +0,0 @@
-#
-# BEGIN COPYRIGHT BLOCK
-# This Program is free software; you can redistribute it and/or modify it under
-# the terms of the GNU General Public License as published by the Free Software
-# Foundation; version 2 of the License.
-#
-# This Program is distributed in the hope that it will be useful, but WITHOUT
-# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
-# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along with
-# this Program; if not, write to the Free Software Foundation, Inc., 59 Temple
-# Place, Suite 330, Boston, MA 02111-1307 USA.
-#
-# In addition, as a special exception, Red Hat, Inc. gives You the additional
-# right to link the code of this Program with code not covered under the GNU
-# General Public License ("Non-GPL Code") and to distribute linked combinations
-# including the two, subject to the limitations in this paragraph. Non-GPL Code
-# permitted under this exception must only link to the code of this Program
-# through those well defined interfaces identified in the file named EXCEPTION
-# found in the source code files (the "Approved Interfaces"). The files of
-# Non-GPL Code may instantiate templates or use macros or inline functions from
-# the Approved Interfaces without causing the resulting work to be covered by
-# the GNU General Public License. Only Red Hat, Inc. may make changes or
-# additions to the list of Approved Interfaces. You must obey the GNU General
-# Public License in all respects for all of the Program code and other code used
-# in conjunction with the Program except the Non-GPL Code covered by this
-# exception. If you modify this file, you may extend this exception to your
-# version of the file, but you are not obligated to do so. If you do not wish to
-# provide this exception without modification, you must delete this exception
-# statement from your version and license this file solely under the GPL without
-# exception.
-#
-#
-# Copyright (C) 2001 Sun Microsystems, Inc. Used by permission.
-# Copyright (C) 2005 Red Hat, Inc.
-# All rights reserved.
-# END COPYRIGHT BLOCK
-#
-#
-# Config stuff for HP-UX.09.03
-#
-
-CC = cc -Ae
-CCC = CC -Aa +a1 +eh
-RANLIB = echo
-
-CPU_ARCH = hppa
-OS_LIBS = -ldld -lm -ldce
-OS_CFLAGS = $(SERVER_CFLAGS) $(DSO_CFLAGS) -DHAVE_STRERROR -DHPUX -D$(CPU_ARCH) -DSW_THREADS -D_HPUX_SOURCE $(ADDITIONAL_CFLAGS)
-ELIBS_CFLAGS = -g -DHAVE_STRERROR
-
-ifeq ($(OS_RELEASE),A.09.03)
-OS_CFLAGS += -DHPUX9
-endif
-
-ifeq ($(OS_RELEASE),B.10.01)
-OS_CFLAGS += -DRW_NO_OVERLOAD_SCHAR -DHPUX10
-endif
-
-ifeq ($(OS_RELEASE),B.10.10)
-OS_CFLAGS += -DRW_NO_OVERLOAD_SCHAR -DHPUX10 -DHPUX10_10
-endif
-
-MKSHLIB = $(LD) $(DSO_LDOPTS)
-DLL_SUFFIX = sl
-
-LOCALE_MAP = $(DEPTH)/cmd/xfe/intl/hpux.lm
-
-EN_LOCALE = american.iso88591
-DE_LOCALE = german.iso88591
-FR_LOCALE = french.iso88591
-JP_LOCALE = japanese.euc
-SJIS_LOCALE = japanese
-KR_LOCALE = korean
-CN_LOCALE = chinese-s
-TW_LOCALE = chinese-t.big5
-I2_LOCALE = i2
-IT_LOCALE = it
-SV_LOCALE = sv
-ES_LOCALE = es
-NL_LOCALE = nl
-PT_LOCALE = pt
-
-LOC_LIB_DIR = /usr/lib/X11
-
-# HPUX doesn't have a BSD-style echo, so this home-brewed version will deal
-# with '-n' instead.
-BSDECHO = /usr/local/bin/bsdecho
-
-#
-# These defines are for building unix plugins
-#
-BUILD_UNIX_PLUGINS = 1
-DSO_LDOPTS = -b
-DSO_LDFLAGS =
-DSO_CFLAGS = +z
-
-ifdef SERVER_BUILD
- ifeq ($(OS_RELEASE),B.11.23)
- ifdef USE_64
- SERVER_CFLAGS = +DD64 -Wl,-E,-N
- else
- SERVER_CFLAGS = +DD32 -Wl,-E,-N
- endif
-else
- ifdef USE_64
- SERVER_CFLAGS = +DA2.0W +DS2.0 -Wl,-E,-N
- else
- SERVER_CFLAGS = +DA1.0 -Wl,-E,-N
- endif
-endif
-STATIC_JAVA = yes
-endif
diff --git a/config/HP-UXB.11.11.mk b/config/HP-UXB.11.11.mk
deleted file mode 100644
index 427c2698..00000000
--- a/config/HP-UXB.11.11.mk
+++ /dev/null
@@ -1,43 +0,0 @@
-#
-# BEGIN COPYRIGHT BLOCK
-# This Program is free software; you can redistribute it and/or modify it under
-# the terms of the GNU General Public License as published by the Free Software
-# Foundation; version 2 of the License.
-#
-# This Program is distributed in the hope that it will be useful, but WITHOUT
-# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
-# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along with
-# this Program; if not, write to the Free Software Foundation, Inc., 59 Temple
-# Place, Suite 330, Boston, MA 02111-1307 USA.
-#
-# In addition, as a special exception, Red Hat, Inc. gives You the additional
-# right to link the code of this Program with code not covered under the GNU
-# General Public License ("Non-GPL Code") and to distribute linked combinations
-# including the two, subject to the limitations in this paragraph. Non-GPL Code
-# permitted under this exception must only link to the code of this Program
-# through those well defined interfaces identified in the file named EXCEPTION
-# found in the source code files (the "Approved Interfaces"). The files of
-# Non-GPL Code may instantiate templates or use macros or inline functions from
-# the Approved Interfaces without causing the resulting work to be covered by
-# the GNU General Public License. Only Red Hat, Inc. may make changes or
-# additions to the list of Approved Interfaces. You must obey the GNU General
-# Public License in all respects for all of the Program code and other code used
-# in conjunction with the Program except the Non-GPL Code covered by this
-# exception. If you modify this file, you may extend this exception to your
-# version of the file, but you are not obligated to do so. If you do not wish to
-# provide this exception without modification, you must delete this exception
-# statement from your version and license this file solely under the GPL without
-# exception.
-#
-#
-# Copyright (C) 2001 Sun Microsystems, Inc. Used by permission.
-# Copyright (C) 2005 Red Hat, Inc.
-# All rights reserved.
-# END COPYRIGHT BLOCK
-#
-#
-# Config stuff for HP-UX.11.00
-#
-include $(DEPTH)/config/HP-UX.mk
diff --git a/config/HP-UXB.11.23.mk b/config/HP-UXB.11.23.mk
deleted file mode 100644
index bce4c61a..00000000
--- a/config/HP-UXB.11.23.mk
+++ /dev/null
@@ -1,43 +0,0 @@
-#
-# BEGIN COPYRIGHT BLOCK
-# This Program is free software; you can redistribute it and/or modify it under
-# the terms of the GNU General Public License as published by the Free Software
-# Foundation; version 2 of the License.
-#
-# This Program is distributed in the hope that it will be useful, but WITHOUT
-# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
-# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along with
-# this Program; if not, write to the Free Software Foundation, Inc., 59 Temple
-# Place, Suite 330, Boston, MA 02111-1307 USA.
-#
-# In addition, as a special exception, Red Hat, Inc. gives You the additional
-# right to link the code of this Program with code not covered under the GNU
-# General Public License ("Non-GPL Code") and to distribute linked combinations
-# including the two, subject to the limitations in this paragraph. Non-GPL Code
-# permitted under this exception must only link to the code of this Program
-# through those well defined interfaces identified in the file named EXCEPTION
-# found in the source code files (the "Approved Interfaces"). The files of
-# Non-GPL Code may instantiate templates or use macros or inline functions from
-# the Approved Interfaces without causing the resulting work to be covered by
-# the GNU General Public License. Only Red Hat, Inc. may make changes or
-# additions to the list of Approved Interfaces. You must obey the GNU General
-# Public License in all respects for all of the Program code and other code used
-# in conjunction with the Program except the Non-GPL Code covered by this
-# exception. If you modify this file, you may extend this exception to your
-# version of the file, but you are not obligated to do so. If you do not wish to
-# provide this exception without modification, you must delete this exception
-# statement from your version and license this file solely under the GPL without
-# exception.
-#
-#
-# Copyright (C) 2001 Sun Microsystems, Inc. Used by permission.
-# Copyright (C) 2006 Red Hat, Inc.
-# All rights reserved.
-# END COPYRIGHT BLOCK
-#
-#
-# Config stuff for HP-UX.11.23
-#
-include $(DEPTH)/config/HP-UX.mk
diff --git a/config/Linux2.4.mk b/config/Linux2.4.mk
deleted file mode 100644
index 7ddc0f15..00000000
--- a/config/Linux2.4.mk
+++ /dev/null
@@ -1,90 +0,0 @@
-#
-# BEGIN COPYRIGHT BLOCK
-# This Program is free software; you can redistribute it and/or modify it under
-# the terms of the GNU General Public License as published by the Free Software
-# Foundation; version 2 of the License.
-#
-# This Program is distributed in the hope that it will be useful, but WITHOUT
-# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
-# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along with
-# this Program; if not, write to the Free Software Foundation, Inc., 59 Temple
-# Place, Suite 330, Boston, MA 02111-1307 USA.
-#
-# In addition, as a special exception, Red Hat, Inc. gives You the additional
-# right to link the code of this Program with code not covered under the GNU
-# General Public License ("Non-GPL Code") and to distribute linked combinations
-# including the two, subject to the limitations in this paragraph. Non-GPL Code
-# permitted under this exception must only link to the code of this Program
-# through those well defined interfaces identified in the file named EXCEPTION
-# found in the source code files (the "Approved Interfaces"). The files of
-# Non-GPL Code may instantiate templates or use macros or inline functions from
-# the Approved Interfaces without causing the resulting work to be covered by
-# the GNU General Public License. Only Red Hat, Inc. may make changes or
-# additions to the list of Approved Interfaces. You must obey the GNU General
-# Public License in all respects for all of the Program code and other code used
-# in conjunction with the Program except the Non-GPL Code covered by this
-# exception. If you modify this file, you may extend this exception to your
-# version of the file, but you are not obligated to do so. If you do not wish to
-# provide this exception without modification, you must delete this exception
-# statement from your version and license this file solely under the GPL without
-# exception.
-#
-#
-# Copyright (C) 2001 Sun Microsystems, Inc. Used by permission.
-# Copyright (C) 2005 Red Hat, Inc.
-# All rights reserved.
-# END COPYRIGHT BLOCK
-#
-#
-# Config stuff for Linux2.4
-#
-
-#include $(NSPRDEPTH)/config/UNIX.mk
-
-CC = gcc
-CCC = g++
-
-CPU_ARCH = x86
-GFX_ARCH = x
-
-RANLIB = ranlib
-
-ifdef SERVER_BUILD
-# see sun-java/config/config.mk
-STATIC_JAVA = yes
-endif
-
-NEED_XMOS = 1
-
-# fixme OS_CFLAGS = -m486 -ansi -Wall -pipe -MDupdate $(DEPENDENCIES)
-OS_CFLAGS = -m486 -ansi -Wall -pipe
-
-OS_CFLAGS += -DLINUX -DLINUX2_4 -D_POSIX_SOURCE -D_BSD_SOURCE -DHAVE_STRERROR -D_REENTRANT
-OS_LIBS = -L /lib -lc -ldl -lpthread
-
-ARCH = linux
-
-EN_LOCALE = C
-DE_LOCALE = de_DE.ISO8859-1
-FR_LOCALE = fr_FR.ISO8859-1
-JP_LOCALE = ja
-SJIS_LOCALE = ja_JP.SJIS
-KR_LOCALE = ko_KR.EUC
-CN_LOCALE = zh
-TW_LOCALE = zh
-I2_LOCALE = i2
-
-BUILD_UNIX_PLUGINS = 1
-
-ifeq ($(OS_RELEASE),2.4)
-OS_REL_CFLAGS += -DLINUX2_4
-MKSHLIB = $(LD) -shared
-endif
-
-XINC = /usr/X11R6/include
-INCLUDES += -I$(XINC)
-
-BSDECHO = echo
-
diff --git a/config/Linux2.6.mk b/config/Linux2.6.mk
deleted file mode 100644
index 7ddc0f15..00000000
--- a/config/Linux2.6.mk
+++ /dev/null
@@ -1,90 +0,0 @@
-#
-# BEGIN COPYRIGHT BLOCK
-# This Program is free software; you can redistribute it and/or modify it under
-# the terms of the GNU General Public License as published by the Free Software
-# Foundation; version 2 of the License.
-#
-# This Program is distributed in the hope that it will be useful, but WITHOUT
-# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
-# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along with
-# this Program; if not, write to the Free Software Foundation, Inc., 59 Temple
-# Place, Suite 330, Boston, MA 02111-1307 USA.
-#
-# In addition, as a special exception, Red Hat, Inc. gives You the additional
-# right to link the code of this Program with code not covered under the GNU
-# General Public License ("Non-GPL Code") and to distribute linked combinations
-# including the two, subject to the limitations in this paragraph. Non-GPL Code
-# permitted under this exception must only link to the code of this Program
-# through those well defined interfaces identified in the file named EXCEPTION
-# found in the source code files (the "Approved Interfaces"). The files of
-# Non-GPL Code may instantiate templates or use macros or inline functions from
-# the Approved Interfaces without causing the resulting work to be covered by
-# the GNU General Public License. Only Red Hat, Inc. may make changes or
-# additions to the list of Approved Interfaces. You must obey the GNU General
-# Public License in all respects for all of the Program code and other code used
-# in conjunction with the Program except the Non-GPL Code covered by this
-# exception. If you modify this file, you may extend this exception to your
-# version of the file, but you are not obligated to do so. If you do not wish to
-# provide this exception without modification, you must delete this exception
-# statement from your version and license this file solely under the GPL without
-# exception.
-#
-#
-# Copyright (C) 2001 Sun Microsystems, Inc. Used by permission.
-# Copyright (C) 2005 Red Hat, Inc.
-# All rights reserved.
-# END COPYRIGHT BLOCK
-#
-#
-# Config stuff for Linux2.4
-#
-
-#include $(NSPRDEPTH)/config/UNIX.mk
-
-CC = gcc
-CCC = g++
-
-CPU_ARCH = x86
-GFX_ARCH = x
-
-RANLIB = ranlib
-
-ifdef SERVER_BUILD
-# see sun-java/config/config.mk
-STATIC_JAVA = yes
-endif
-
-NEED_XMOS = 1
-
-# fixme OS_CFLAGS = -m486 -ansi -Wall -pipe -MDupdate $(DEPENDENCIES)
-OS_CFLAGS = -m486 -ansi -Wall -pipe
-
-OS_CFLAGS += -DLINUX -DLINUX2_4 -D_POSIX_SOURCE -D_BSD_SOURCE -DHAVE_STRERROR -D_REENTRANT
-OS_LIBS = -L /lib -lc -ldl -lpthread
-
-ARCH = linux
-
-EN_LOCALE = C
-DE_LOCALE = de_DE.ISO8859-1
-FR_LOCALE = fr_FR.ISO8859-1
-JP_LOCALE = ja
-SJIS_LOCALE = ja_JP.SJIS
-KR_LOCALE = ko_KR.EUC
-CN_LOCALE = zh
-TW_LOCALE = zh
-I2_LOCALE = i2
-
-BUILD_UNIX_PLUGINS = 1
-
-ifeq ($(OS_RELEASE),2.4)
-OS_REL_CFLAGS += -DLINUX2_4
-MKSHLIB = $(LD) -shared
-endif
-
-XINC = /usr/X11R6/include
-INCLUDES += -I$(XINC)
-
-BSDECHO = echo
-
diff --git a/config/SunOS5.8.mk b/config/SunOS5.8.mk
deleted file mode 100644
index 603edcfd..00000000
--- a/config/SunOS5.8.mk
+++ /dev/null
@@ -1,46 +0,0 @@
-#
-# BEGIN COPYRIGHT BLOCK
-# This Program is free software; you can redistribute it and/or modify it under
-# the terms of the GNU General Public License as published by the Free Software
-# Foundation; version 2 of the License.
-#
-# This Program is distributed in the hope that it will be useful, but WITHOUT
-# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
-# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along with
-# this Program; if not, write to the Free Software Foundation, Inc., 59 Temple
-# Place, Suite 330, Boston, MA 02111-1307 USA.
-#
-# In addition, as a special exception, Red Hat, Inc. gives You the additional
-# right to link the code of this Program with code not covered under the GNU
-# General Public License ("Non-GPL Code") and to distribute linked combinations
-# including the two, subject to the limitations in this paragraph. Non-GPL Code
-# permitted under this exception must only link to the code of this Program
-# through those well defined interfaces identified in the file named EXCEPTION
-# found in the source code files (the "Approved Interfaces"). The files of
-# Non-GPL Code may instantiate templates or use macros or inline functions from
-# the Approved Interfaces without causing the resulting work to be covered by
-# the GNU General Public License. Only Red Hat, Inc. may make changes or
-# additions to the list of Approved Interfaces. You must obey the GNU General
-# Public License in all respects for all of the Program code and other code used
-# in conjunction with the Program except the Non-GPL Code covered by this
-# exception. If you modify this file, you may extend this exception to your
-# version of the file, but you are not obligated to do so. If you do not wish to
-# provide this exception without modification, you must delete this exception
-# statement from your version and license this file solely under the GPL without
-# exception.
-#
-#
-# Copyright (C) 2001 Sun Microsystems, Inc. Used by permission.
-# Copyright (C) 2005 Red Hat, Inc.
-# All rights reserved.
-# END COPYRIGHT BLOCK
-#
-#
-# Config stuff for SunOS5.8
-#
-
-SOL_CFLAGS = -D_SVID_GETTOD -DSOLARIS_55_OR_GREATER
-
-include $(DEPTH)/config/SunOS5.mk
diff --git a/config/SunOS5.8_i86pc.mk b/config/SunOS5.8_i86pc.mk
deleted file mode 100644
index 603edcfd..00000000
--- a/config/SunOS5.8_i86pc.mk
+++ /dev/null
@@ -1,46 +0,0 @@
-#
-# BEGIN COPYRIGHT BLOCK
-# This Program is free software; you can redistribute it and/or modify it under
-# the terms of the GNU General Public License as published by the Free Software
-# Foundation; version 2 of the License.
-#
-# This Program is distributed in the hope that it will be useful, but WITHOUT
-# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
-# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along with
-# this Program; if not, write to the Free Software Foundation, Inc., 59 Temple
-# Place, Suite 330, Boston, MA 02111-1307 USA.
-#
-# In addition, as a special exception, Red Hat, Inc. gives You the additional
-# right to link the code of this Program with code not covered under the GNU
-# General Public License ("Non-GPL Code") and to distribute linked combinations
-# including the two, subject to the limitations in this paragraph. Non-GPL Code
-# permitted under this exception must only link to the code of this Program
-# through those well defined interfaces identified in the file named EXCEPTION
-# found in the source code files (the "Approved Interfaces"). The files of
-# Non-GPL Code may instantiate templates or use macros or inline functions from
-# the Approved Interfaces without causing the resulting work to be covered by
-# the GNU General Public License. Only Red Hat, Inc. may make changes or
-# additions to the list of Approved Interfaces. You must obey the GNU General
-# Public License in all respects for all of the Program code and other code used
-# in conjunction with the Program except the Non-GPL Code covered by this
-# exception. If you modify this file, you may extend this exception to your
-# version of the file, but you are not obligated to do so. If you do not wish to
-# provide this exception without modification, you must delete this exception
-# statement from your version and license this file solely under the GPL without
-# exception.
-#
-#
-# Copyright (C) 2001 Sun Microsystems, Inc. Used by permission.
-# Copyright (C) 2005 Red Hat, Inc.
-# All rights reserved.
-# END COPYRIGHT BLOCK
-#
-#
-# Config stuff for SunOS5.8
-#
-
-SOL_CFLAGS = -D_SVID_GETTOD -DSOLARIS_55_OR_GREATER
-
-include $(DEPTH)/config/SunOS5.mk
diff --git a/config/SunOS5.9.mk b/config/SunOS5.9.mk
deleted file mode 100644
index 25161fcf..00000000
--- a/config/SunOS5.9.mk
+++ /dev/null
@@ -1,46 +0,0 @@
-#
-# BEGIN COPYRIGHT BLOCK
-# This Program is free software; you can redistribute it and/or modify it under
-# the terms of the GNU General Public License as published by the Free Software
-# Foundation; version 2 of the License.
-#
-# This Program is distributed in the hope that it will be useful, but WITHOUT
-# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
-# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along with
-# this Program; if not, write to the Free Software Foundation, Inc., 59 Temple
-# Place, Suite 330, Boston, MA 02111-1307 USA.
-#
-# In addition, as a special exception, Red Hat, Inc. gives You the additional
-# right to link the code of this Program with code not covered under the GNU
-# General Public License ("Non-GPL Code") and to distribute linked combinations
-# including the two, subject to the limitations in this paragraph. Non-GPL Code
-# permitted under this exception must only link to the code of this Program
-# through those well defined interfaces identified in the file named EXCEPTION
-# found in the source code files (the "Approved Interfaces"). The files of
-# Non-GPL Code may instantiate templates or use macros or inline functions from
-# the Approved Interfaces without causing the resulting work to be covered by
-# the GNU General Public License. Only Red Hat, Inc. may make changes or
-# additions to the list of Approved Interfaces. You must obey the GNU General
-# Public License in all respects for all of the Program code and other code used
-# in conjunction with the Program except the Non-GPL Code covered by this
-# exception. If you modify this file, you may extend this exception to your
-# version of the file, but you are not obligated to do so. If you do not wish to
-# provide this exception without modification, you must delete this exception
-# statement from your version and license this file solely under the GPL without
-# exception.
-#
-#
-# Copyright (C) 2001 Sun Microsystems, Inc. Used by permission.
-# Copyright (C) 2005 Red Hat, Inc.
-# All rights reserved.
-# END COPYRIGHT BLOCK
-#
-#
-# Config stuff for SunOS5.9
-#
-
-SOL_CFLAGS = -D_SVID_GETTOD -DSOLARIS_55_OR_GREATER
-
-include $(DEPTH)/config/SunOS5.mk
diff --git a/config/SunOS5.mk b/config/SunOS5.mk
deleted file mode 100644
index b893c8c5..00000000
--- a/config/SunOS5.mk
+++ /dev/null
@@ -1,131 +0,0 @@
-#
-# BEGIN COPYRIGHT BLOCK
-# This Program is free software; you can redistribute it and/or modify it under
-# the terms of the GNU General Public License as published by the Free Software
-# Foundation; version 2 of the License.
-#
-# This Program is distributed in the hope that it will be useful, but WITHOUT
-# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
-# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along with
-# this Program; if not, write to the Free Software Foundation, Inc., 59 Temple
-# Place, Suite 330, Boston, MA 02111-1307 USA.
-#
-# In addition, as a special exception, Red Hat, Inc. gives You the additional
-# right to link the code of this Program with code not covered under the GNU
-# General Public License ("Non-GPL Code") and to distribute linked combinations
-# including the two, subject to the limitations in this paragraph. Non-GPL Code
-# permitted under this exception must only link to the code of this Program
-# through those well defined interfaces identified in the file named EXCEPTION
-# found in the source code files (the "Approved Interfaces"). The files of
-# Non-GPL Code may instantiate templates or use macros or inline functions from
-# the Approved Interfaces without causing the resulting work to be covered by
-# the GNU General Public License. Only Red Hat, Inc. may make changes or
-# additions to the list of Approved Interfaces. You must obey the GNU General
-# Public License in all respects for all of the Program code and other code used
-# in conjunction with the Program except the Non-GPL Code covered by this
-# exception. If you modify this file, you may extend this exception to your
-# version of the file, but you are not obligated to do so. If you do not wish to
-# provide this exception without modification, you must delete this exception
-# statement from your version and license this file solely under the GPL without
-# exception.
-#
-#
-# Copyright (C) 2001 Sun Microsystems, Inc. Used by permission.
-# Copyright (C) 2005 Red Hat, Inc.
-# All rights reserved.
-# END COPYRIGHT BLOCK
-#
-#
-# Config stuff for SunOS5.x
-#
-
-ifdef NS_USE_NATIVE
-CC = cc -DNS_USE_NATIVE
-CCC = CC -DNS_USE_NATIVE
-ASFLAGS += -Wa,-P
-OS_CFLAGS = $(NOMD_OS_CFLAGS)
-ifdef BUILD_OPT
-OPTIMIZER = -xcg89 -dalign -xO2
-endif
-else
-CC = gcc -Wall -Wno-format
-CCC = g++ -Wall -Wno-format
-ASFLAGS += -x assembler-with-cpp
-ifdef NO_MDUPDATE
-OS_CFLAGS = $(NOMD_OS_CFLAGS)
-else
-OS_CFLAGS = $(NOMD_OS_CFLAGS) -MDupdate $(DEPENDENCIES)
-endif
-endif
-
-RANLIB = echo
-
-CPU_ARCH = sparc
-GFX_ARCH = x
-
-MOZ_CFLAGS = -DSVR4 -DSYSV -DNSPR -D__svr4 -D__svr4__ -DSOLARIS -DHAVE_WEAK_IO_SYMBOLS
-
-ifeq ($(SERVER_BUILD),1)
-USE_KERNEL_THREADS = 1
-endif
-
-ifeq ($(FORCE_SW_THREADS),1)
-USE_KERNEL_THREADS = 0
-endif
-
-# Purify doesn't like -MDupdate
-ifeq ($(USE_KERNEL_THREADS), 1)
-NOMD_OS_CFLAGS = $(MOZ_CFLAGS) -D_PR_NTHREAD -D_REENTRANT $(SOL_CFLAGS)
-OS_LIBS = -lthread -lposix4 -lsocket -lnsl -ldl
-else
-NOMD_OS_CFLAGS = $(MOZ_CFLAGS) -DSW_THREADS $(SOL_CFLAGS)
-OS_LIBS = -lsocket -lnsl -ldl -L/tools/ns/lib -lposix4
-endif
-
-ifeq ($(OS_RELEASE),5.3)
-MOTIF = /usr/local/Motif/opt/ICS/Motif/usr
-MOTIFLIB = $(MOTIF)/lib/libXm.a
-else
-MOTIF = /usr/dt
-MOTIFLIB = -lXm
-endif
-
-INCLUDES += -I$(MOTIF)/include -I/usr/openwin/include
-
-MKSHLIB = $(LD) $(DSO_LDOPTS)
-#Livewire httpdlw.so is using CC to link.
-LWMKSHLIB = $(CCC) $(DSO_LDOPTS)
-
-HAVE_PURIFY = 1
-
-NOSUCHFILE = /solaris-rm-f-sucks
-
-LOCALE_MAP = $(DEPTH)/cmd/xfe/intl/sunos.lm
-
-EN_LOCALE = en_US
-DE_LOCALE = de
-FR_LOCALE = fr
-JP_LOCALE = ja
-SJIS_LOCALE = ja_JP.SJIS
-KR_LOCALE = ko
-CN_LOCALE = zh
-TW_LOCALE = zh_TW
-I2_LOCALE = i2
-IT_LOCALE = it
-SV_LOCALE = sv
-ES_LOCALE = es
-NL_LOCALE = nl
-PT_LOCALE = pt
-
-LOC_LIB_DIR = /usr/openwin/lib/locale
-
-BSDECHO = /usr/ucb/echo
-
-#
-# These defines are for building unix plugins
-#
-BUILD_UNIX_PLUGINS = 1
-DSO_LDOPTS = -G -L$(MOTIF)/lib -L/usr/openwin/lib
-DSO_LDFLAGS =
diff --git a/config/UNIX.mk b/config/UNIX.mk
deleted file mode 100644
index c95cfd89..00000000
--- a/config/UNIX.mk
+++ /dev/null
@@ -1,46 +0,0 @@
-#
-# BEGIN COPYRIGHT BLOCK
-# This Program is free software; you can redistribute it and/or modify it under
-# the terms of the GNU General Public License as published by the Free Software
-# Foundation; version 2 of the License.
-#
-# This Program is distributed in the hope that it will be useful, but WITHOUT
-# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
-# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along with
-# this Program; if not, write to the Free Software Foundation, Inc., 59 Temple
-# Place, Suite 330, Boston, MA 02111-1307 USA.
-#
-# In addition, as a special exception, Red Hat, Inc. gives You the additional
-# right to link the code of this Program with code not covered under the GNU
-# General Public License ("Non-GPL Code") and to distribute linked combinations
-# including the two, subject to the limitations in this paragraph. Non-GPL Code
-# permitted under this exception must only link to the code of this Program
-# through those well defined interfaces identified in the file named EXCEPTION
-# found in the source code files (the "Approved Interfaces"). The files of
-# Non-GPL Code may instantiate templates or use macros or inline functions from
-# the Approved Interfaces without causing the resulting work to be covered by
-# the GNU General Public License. Only Red Hat, Inc. may make changes or
-# additions to the list of Approved Interfaces. You must obey the GNU General
-# Public License in all respects for all of the Program code and other code used
-# in conjunction with the Program except the Non-GPL Code covered by this
-# exception. If you modify this file, you may extend this exception to your
-# version of the file, but you are not obligated to do so. If you do not wish to
-# provide this exception without modification, you must delete this exception
-# statement from your version and license this file solely under the GPL without
-# exception.
-#
-#
-# Copyright (C) 2001 Sun Microsystems, Inc. Used by permission.
-# Copyright (C) 2005 Red Hat, Inc.
-# All rights reserved.
-# END COPYRIGHT BLOCK
-#
-# A small start on what nspr20/config did
-XP_DEFINE = -DXP_UNIX
-LIB_SUFFIX = a
-#
-DLL_SUFFIX = so
-AR = ar cr $@
-
diff --git a/config/WINNT5.0.mk b/config/WINNT5.0.mk
deleted file mode 100644
index 17af9c6e..00000000
--- a/config/WINNT5.0.mk
+++ /dev/null
@@ -1,88 +0,0 @@
-#
-# BEGIN COPYRIGHT BLOCK
-# This Program is free software; you can redistribute it and/or modify it under
-# the terms of the GNU General Public License as published by the Free Software
-# Foundation; version 2 of the License.
-#
-# This Program is distributed in the hope that it will be useful, but WITHOUT
-# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
-# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along with
-# this Program; if not, write to the Free Software Foundation, Inc., 59 Temple
-# Place, Suite 330, Boston, MA 02111-1307 USA.
-#
-# In addition, as a special exception, Red Hat, Inc. gives You the additional
-# right to link the code of this Program with code not covered under the GNU
-# General Public License ("Non-GPL Code") and to distribute linked combinations
-# including the two, subject to the limitations in this paragraph. Non-GPL Code
-# permitted under this exception must only link to the code of this Program
-# through those well defined interfaces identified in the file named EXCEPTION
-# found in the source code files (the "Approved Interfaces"). The files of
-# Non-GPL Code may instantiate templates or use macros or inline functions from
-# the Approved Interfaces without causing the resulting work to be covered by
-# the GNU General Public License. Only Red Hat, Inc. may make changes or
-# additions to the list of Approved Interfaces. You must obey the GNU General
-# Public License in all respects for all of the Program code and other code used
-# in conjunction with the Program except the Non-GPL Code covered by this
-# exception. If you modify this file, you may extend this exception to your
-# version of the file, but you are not obligated to do so. If you do not wish to
-# provide this exception without modification, you must delete this exception
-# statement from your version and license this file solely under the GPL without
-# exception.
-#
-#
-# Copyright (C) 2001 Sun Microsystems, Inc. Used by permission.
-# Copyright (C) 2005 Red Hat, Inc.
-# All rights reserved.
-# END COPYRIGHT BLOCK
-#
-#
-# Config stuff for WINNT 5.0
-#
-
-CC=cl
-CCC=cl
-LINK = link
-RANLIB = echo
-BSDECHO = echo
-
-OTHER_DIRT =
-GARBAGE = vc20.pdb
-
-ifdef DEBUG_RUNTIME
-RTLIBFLAGS:=-MDd
-else
-RTLIBFLAGS:=-MD
-endif
-
-PROCESSOR := $(shell uname -p)
-USE_KERNEL_THREADS=1
-_PR_USECPU=1
-ifeq ($(PROCESSOR), I386)
-CPU_ARCH = x386
-OS_CFLAGS = $(OPTIMIZER) -GT $(RTLIBFLAGS) -W3 -nologo -D_X86_ -Dx386 -D_WINDOWS -DWIN32 -DHW_THREADS
-else
-ifeq ($(PROCESSOR), MIPS)
-CPU_ARCH = MIPS
-#OS_CFLAGS = $(OPTIMIZER) $(RTLIBFLAGS) -W3 -nologo -D_MIPS_ -D_WINDOWS -DWIN32 -DHW_THREADS
-OS_CFLAGS = $(OPTIMIZER) $(RTLIBFLAGS) -W3 -nologo -D_WINDOWS -DWIN32 -DHW_THREADS
-else
-ifeq ($(PROCESSOR), ALPHA)
-CPU_ARCH = ALPHA
-OS_CFLAGS = $(OPTIMIZER) $(RTLIBFLAGS) -W3 -nologo -D_ALPHA_=1 -D_WINDOWS -DWIN32 -DHW_THREADS
-else
-CPU_ARCH = processor_is_undefined
-endif
-endif
-endif
-
-ifeq ($(SERVER_BUILD), 1)
-OS_CFLAGS += -DSERVER_BUILD
-endif
-
-OS_DLLFLAGS = -nologo -DLL -SUBSYSTEM:WINDOWS -MAP -PDB:NONE
-OS_LFLAGS = -nologo -PDB:NONE -INCREMENT:NO -SUBSYSTEM:console
-OS_LIBS = kernel32.lib user32.lib gdi32.lib winmm.lib wsock32.lib advapi32.lib
-
-OS_DEFS= SERVER_BUILD=$(SERVER_BUILD) NSPR_VERSION=$(VERSION) NS_PRODUCT=$(NS_PRODUCT)
diff --git a/config/config.mk b/config/config.mk
deleted file mode 100644
index 3ede1ed1..00000000
--- a/config/config.mk
+++ /dev/null
@@ -1,531 +0,0 @@
-#
-# BEGIN COPYRIGHT BLOCK
-# This Program is free software; you can redistribute it and/or modify it under
-# the terms of the GNU General Public License as published by the Free Software
-# Foundation; version 2 of the License.
-#
-# This Program is distributed in the hope that it will be useful, but WITHOUT
-# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
-# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along with
-# this Program; if not, write to the Free Software Foundation, Inc., 59 Temple
-# Place, Suite 330, Boston, MA 02111-1307 USA.
-#
-# In addition, as a special exception, Red Hat, Inc. gives You the additional
-# right to link the code of this Program with code not covered under the GNU
-# General Public License ("Non-GPL Code") and to distribute linked combinations
-# including the two, subject to the limitations in this paragraph. Non-GPL Code
-# permitted under this exception must only link to the code of this Program
-# through those well defined interfaces identified in the file named EXCEPTION
-# found in the source code files (the "Approved Interfaces"). The files of
-# Non-GPL Code may instantiate templates or use macros or inline functions from
-# the Approved Interfaces without causing the resulting work to be covered by
-# the GNU General Public License. Only Red Hat, Inc. may make changes or
-# additions to the list of Approved Interfaces. You must obey the GNU General
-# Public License in all respects for all of the Program code and other code used
-# in conjunction with the Program except the Non-GPL Code covered by this
-# exception. If you modify this file, you may extend this exception to your
-# version of the file, but you are not obligated to do so. If you do not wish to
-# provide this exception without modification, you must delete this exception
-# statement from your version and license this file solely under the GPL without
-# exception.
-#
-#
-# Copyright (C) 2001 Sun Microsystems, Inc. Used by permission.
-# Copyright (C) 2005 Red Hat, Inc.
-# All rights reserved.
-# END COPYRIGHT BLOCK
-#
-#! gmake
-
-include $(DEPTH)/config/common.mn
-
-#
-# Important internal static macros
-#
-OS_ARCH := $(subst /,_,$(shell uname -s))
-OS_TEST := $(shell uname -m)
-
-# Force the IRIX64 machines to use IRIX.
-ifeq ($(OS_ARCH),IRIX64)
-OS_ARCH := IRIX
-endif
-
-# Attempt to differentiate between SunOS 5.4 and x86 5.4
-ifeq ($(OS_TEST),i86pc)
-OS_RELEASE := $(shell uname -r)_$(OS_TEST)
-else
-OS_RELEASE := $(shell uname -r)
-endif
-
-ifeq ($(OS_ARCH),AIX)
-OS_RELEASE := $(shell uname -v).$(shell uname -r)
-endif
-
-# SINIX changes name to ReliantUNIX with 5.43
-ifeq ($(OS_ARCH),ReliantUNIX-N)
-OS_ARCH := ReliantUNIX
-OS_RELEASE := 5.4
-endif
-ifeq ($(OS_ARCH),SINIX-N)
-OS_ARCH := ReliantUNIX
-OS_RELEASE := 5.4
-endif
-
-# SVR5 (UnixWare[7])
-ifeq ($(OS_ARCH),UnixWare)
-# For now get the OS release for backward compatibility (UnixWare5)
-OS_RELEASE := $(shell uname -r)
-endif
-
-# Catch NCR butchering of SVR4
-ifeq ($(OS_ARCH),UNIX_SV)
-ifneq ($(findstring NCR, $(shell grep NCR /etc/bcheckrc | head -1 )),)
-OS_ARCH := NCR
-OS_RELEASE := $(shell uname -v)
-else # !NCR
-# Make UnixWare something human readable
-OS_ARCH := UNIXWARE
-# Check for UW2 using UDK, which looks like a Gemini (UnixWare[3,5,7]) build
-OS_RELEASE := $(shell $(DEPTH)/netsite/nsarch -f | sed 's/UnixWare //')
-ifeq ($(OS_RELEASE),5)
-OS_ARCH := UnixWare
-else # OS_RELEASE = 5
-# Get the OS release number, not 4.2
-OS_RELEASE := $(shell uname -v)
-ifeq ($(OS_RELEASE),2.1.2)
-OS_RELEASE := 2.1
-endif # OS_RELEASE = 2.1.2
-endif # OS_RELEASE = 5
-endif # !NCR
-endif # UNIX_SV
-
-
-ifeq ($(OS_ARCH),Linux)
-#
-# Handle FreeBSD 2.2-STABLE and Linux 2.0.30-osfmach3 and 2.2.14-5.0smp
-#
-ifeq (,$(filter-out Linux FreeBSD,$(NSOS_ARCH)))
- OS_RELEASE := $(shell echo $(OS_RELEASE) | sed 's/-.*//')
-endif
-# If the release returned by uname has _4_ components, the original
-# logic here broke. The following lines detect this and add a second
-# 'basename' to fixup the version such that everything still works.
-OS_RELEASE_TEMP := $(subst ., ,$(OS_RELEASE))
-OS_RELEASE_COUNT := $(words $(OS_RELEASE_TEMP))
-ifeq ($(OS_RELEASE_COUNT), 4)
- OS_RELEASE := $(basename $(OS_RELEASE))
-endif
-OS_RELEASE := $(basename $(OS_RELEASE))
- ifeq (86,$(findstring 86,$(OS_TEST)))
- CPU_TAG = _x86
- else
- CPU_TAG = _$(OS_TEST)
- endif
- ifeq ($(USE_LIBC),1)
- LIBC_TAG = _libc
- else
- LIBC_TAG = _glibc
- endif
-# always use pthreads
- USE_PTHREADS = 1
- ifeq ($(USE_PTHREADS),1)
- IMPL_STRATEGY = _PTH
- endif
- ifeq ($(USE_EGCS),1)
- COMPILER_TAG = _egcs
- endif
-endif
-
-# Clean up SCO
-ifeq ($(OS_ARCH),SCO_SV)
-OS_ARCH := SCOOS
-ifeq (5.0,$(findstring 5.0,$(shell ls /var/opt/K/SCO/Unix)))
-OS_RELEASE := 5.0
-else
-OS_RELEASE := UNKNOWN
-endif
-endif
-
-# Furnish the extra libraries for using ld on OSF1
-ifeq ($(OS_ARCH),OSF1)
-LDEXTRA := -lcxx -lexc -lc
-#
-# Distinguish between OSF1 V4.0B and V4.0D
-#
-ifeq ($(OS_RELEASE),V4.0)
- OS_VERSION := $(shell uname -v)
- ifeq ($(OS_VERSION),564)
- OS_RELEASE := V4.0B
- endif
- ifeq ($(OS_VERSION),878)
- OS_RELEASE := V4.0D
- endif
-endif
-else
-LDEXTRA :=
-endif
-
-# Relative pathname from top-of-tree to current source directory
-ifneq ($(OS_ARCH),WINNT)
-REVDEPTH := $(DEPTH)/config/revdepth
-SRCDIR := $(shell perl $(REVDEPTH).pl $(DEPTH))
-endif
-
-# define an include-at-most-once flag
-NS_CONFIG_MK = 1
-
-#
-# Default command macros; can be overridden in <arch>.mk.
-#
-AS = $(CC)
-ASFLAGS = $(CFLAGS)
-CCF = $(CC) $(CFLAGS)
-PURIFY = purify $(PURIFYOPTIONS)
-LINK_EXE = $(LINK) $(OS_LFLAGS) $(LFLAGS)
-LINK_DLL = $(LINK) $(OS_DLLFLAGS) $(DLLFLAGS)
-NFSPWD = $(DEPTH)/config/nfspwd
-
-ifeq ($(OS_ARCH),WINNT)
-RC = rc.exe
-XP_DEFINE = -DXP_PC
-LIB_SUFFIX = lib
-DLL_SUFFIX = dll
-AR = lib -NOLOGO -OUT:"$@"
-DLLFLAGS = $(XLFLAGS) -OUT:"$@"
-LFLAGS = $(OBJS) $(DEPLIBS) $(EXTRA_LIBS) -OUT:"$@"
-NSINSTALL = nsinstall
-INSTALL = $(NSINSTALL)
-else
-include $(DEPTH)/config/UNIX.mk
-endif
-
-ifdef BUILD_OPT
-ifeq ($(OS_ARCH),WINNT)
-OPTIMIZER = -O2
-XCFLAGS = $(LCFLAGS)
-XLFLAGS = $(LLFLAGS)
-else
-OPTIMIZER = -O
-JAVA_OPTIMIZER = -O
-DEFINES = -UDEBUG -DNDEBUG -DTRIMMED
-endif
-OBJDIR_TAG = _OPT
-else
-ifeq ($(OS_ARCH),WINNT)
-OPTIMIZER = -Od -Z7
-LDFLAGS = -DEBUG
-
-XCFLAGS = $(LCFLAGS)
-XLFLAGS = -DEBUG $(LLFLAGS)
-XBCFLAGS = -FR$*
-JAVA_OPTIMIZER = -Od -Z7
-else
-ifeq ($(ARCH), ReliantUNIX)
-OPTIMIZER = -gdwarf
-JAVA_OPTIMIZER = -gdwarf
-else
-OPTIMIZER = -g
-JAVA_OPTIMIZER = -g
-endif
-ifeq ($(OS_ARCH),OSF1)
-DEFINES = -DDEBUG_$(shell whoami) -DTRACING
-else
-DEFINES = -DDEBUG -UNDEBUG -DDEBUG_$(shell whoami) -DTRACING
-endif
-endif
-OBJDIR_TAG = _DBG
-endif
-
-LIBNT = $(DIST)/lib/libnt.$(LIB_SUFFIX)
-LIBAWT = $(DIST)/lib/libawt.$(LIB_SUFFIX)
-LIBMMEDIA = $(DIST)/lib/libmmedia.$(LIB_SUFFIX)
-LIBNSPR = $(DIST)/lib/libnspr.$(LIB_SUFFIX)
-PURELIBNSPR = $(DIST)/lib/libpurenspr.$(LIB_SUFFIX)
-
-ifeq ($(OS_ARCH),WINNT)
-LIBNSJAVA = $(DIST)/lib/jrt3221.$(LIB_SUFFIX)
-else
-LIBNSJAVA = $(DIST)/lib/nsjava32.$(LIB_SUFFIX)
-endif
-
-
-# XXX For now, we're including $(DEPTH)/include directly instead of
-# getting this stuff from dist. This stuff is old and will eventually
-# be put in the library directories where it belongs so that it can
-# get exported to dist properly.
-INCLUDES = $(LOCAL_PREINCLUDES) -I$(DEPTH)/include $(LOCAL_INCLUDES)
-
-CFLAGS = $(XP_DEFINE) $(OPTIMIZER) $(OS_CFLAGS) $(DEFINES) $(INCLUDES) $(XCFLAGS)
-# For purify
-NOMD_CFLAGS = $(XP_DEFINE) $(OPTIMIZER) $(NOMD_OS_CFLAGS) $(DEFINES) $(INCLUDES) $(XCFLAGS)
-
-#
-# To build on SunOS5.8 when some SunOS5.8 components or config
-# files are missing, just pretend you're on SunOS5.6 by setting
-# NSOS_RELEASE_OVERRIDE=5.6
-#
-ifdef NSOS_RELEASE_OVERRIDE
-OS_RELEASE := $(NSOS_RELEASE_OVERRIDE)
-endif
-
-
-include $(DEPTH)/config/$(OS_ARCH)$(OS_RELEASE).mk
-
-OS_CONFIG := $(OS_ARCH)$(OS_RELEASE)
-
-include $(DEPTH)/config/$(OS_CONFIG).mk
-
-# now take care of default GCC (rus@5/5/97)
-
-ifdef NS_USE_GCC
-# if gcc-settings are redefined already - don't touch it
-#
-ifeq (,$(findstring gcc, $(CC)))
-CC = gcc
-CCC = g++
-CXX = g++
-# always use -fpic - some makefiles are still broken and don't distinguish
-# situation when they build shared and static libraries
-CFLAGS += -fpic -Wall -DNS_USE_GCC $(GCC_FLAGS_EXTRA)
-OS_LIBS += -L/usr/local/lib -lstdc++ -lg++ -lgcc
-endif
-endif
-###
-
-# Name of the binary code directories
-ifeq ($(OS_ARCH),WINNT)
-ifneq ($(PROCESSOR_ARCHITECTURE),x86)
-OBJDIR_NAME = $(OS_CONFIG)$(PROCESSOR_ARCHITECTURE)$(OBJDIR_TAG).OBJ
-else
-OBJDIR_NAME = $(OS_CONFIG)$(OBJDIR_TAG).OBJ
-endif
-else # WINNT
-ifeq ($(OS_ARCH),Linux)
-OBJDIR_NAME = $(OS_CONFIG)$(CPU_TAG)$(COMPILER_TAG)$(LIBC_TAG)$(IMPL_STRATEGY)$(OBJDIR_TAG).OBJ
-else
-ifeq ($(OS_ARCH), IRIX)
- ifeq ($(USE_PTHREADS), 1)
- ifeq ($(USE_N32), 1)
- OBJDIR_NAME = $(OS_CONFIG)_n32_PTH$(OBJDIR_TAG).OBJ
- else
- OBJDIR_NAME = $(OS_CONFIG)_PTH$(OBJDIR_TAG).OBJ
- endif
- else
- OBJDIR_NAME = $(OS_CONFIG)$(OBJDIR_TAG).OBJ
- endif
-else
- OBJDIR_NAME = $(OS_CONFIG)$(OBJDIR_TAG).OBJ
-endif # IRIX
-endif # Linux
-endif # WINNT
-
-# Figure out where the binary code lives. It either lives in the src
-# tree (NSBUILDROOT is undefined) or somewhere else.
-ifdef NSBUILDROOT
-BUILD = $(NSBUILDROOT)/$(OBJDIR_NAME)/build
-OBJDIR = $(BUILD)/$(SRCDIR)
-XPDIST = $(NSBUILDROOT)
-DIST = $(NSBUILDROOT)/$(OBJDIR_NAME)/dist
-else
-BUILD = $(OBJDIR_NAME)
-OBJDIR = $(OBJDIR_NAME)
-XPDIST = $(DEPTH)/dist
-DIST = $(DEPTH)/dist/$(OBJDIR_NAME)
-endif
-
-# all public include files go in subdirectories of PUBLIC:
-PUBLIC = $(XPDIST)/public
-
-VPATH = $(OBJDIR)
-DEPENDENCIES = $(OBJDIR)/.md
-
-# Personal makefile customizations go in these optional make include files.
-MY_CONFIG = $(DEPTH)/config/myconfig.mk
-MY_RULES = $(DEPTH)/config/myrules.mk
-
--include $(MY_CONFIG)
-
-######################################################################
-
-# Specify that we are building a client.
-# This will instruct the cross platform libraries to
-# include all the client specific cruft.
-ifndef SERVER_BUILD
-ifndef LIVEWIRE
-DEFINES += -DMOZILLA_CLIENT -DNETSCAPE
-endif
-else
-DEFINES += -DSERVER_BUILD
-endif
-DEFINES += -DNETSCAPE
-
-# Now test variables that might have been set or overridden by $(MY_CONFIG).
-
-# if ((BUILD_EDITOR || BUILD_EDT) && !NO_EDITOR) -> -DEDITOR is defined
-ifndef NO_EDITOR
-ifdef BUILD_EDITOR
-OBJDIR_TAG := $(OBJDIR_TAG)_EDT
-DEFINES += -DEDITOR -DGOLD
-# This is the product classification not the feature classification.
-# It effects things like where are the release notes, etc..
-BUILD_GOLD = yea
-else
-# We ought to get rid of this now that BUILD_EDITOR has replaced it.
-ifdef BUILD_EDT
-OBJDIR_TAG := $(OBJDIR_TAG)_EDT
-DEFINES += -DEDITOR -DGOLD
-BUILD_EDITOR = yea
-endif
-endif
-endif
-
-# Build layers by default
-ifndef NO_LAYERS
-DEFINES += -DLAYERS
-endif
-
-# if (BUILD_EDITOR_UI && !NO_EDITOR_UI) -> -DEDITOR_UI is defined
-ifdef BUILD_EDITOR_UI
-ifndef NO_EDITOR_UI
-DEFINES += -DEDITOR_UI
-endif
-endif
-
-ifdef BUILD_DEBUG_GC
-DEFINES += -DDEBUG_GC
-endif
-
-ifdef BUILD_UNIX_PLUGINS
-# UNIX_EMBED Should not be needed. For now these two defines go
-# together until I talk with jg. --dp
-DEFINES += -DUNIX_EMBED -DX_PLUGINS
-endif
-
-ifndef NO_UNIX_LDAP
-DEFINES += -DUNIX_LDAP
-endif
-
-#
-# Platform dependent switching off of NSPR and JAVA
-#
-ifndef NO_NSPR
-DEFINES += -DNSPR
-endif
-
-ifndef NO_JAVA
-DEFINES += -DJAVA
-endif
-
-ifeq ($(LW_JAVA), 1)
-DEFINES += -DJAVA
-endif
-
-######################################################################
-
-GARBAGE = $(DEPENDENCIES) core
-
-ifneq ($(OS_ARCH),WINNT)
-NSINSTALL = $(DEPTH)/config/$(OBJDIR_NAME)/nsinstall
-
-ifeq ($(NSDISTMODE),copy)
-# copy files, but preserve source mtime
-INSTALL = $(NSINSTALL) -t
-else
-ifeq ($(NSDISTMODE),absolute_symlink)
-# install using absolute symbolic links
-INSTALL = $(NSINSTALL) -L `$(NFSPWD)`
-else
-# install using relative symbolic links
-INSTALL = $(NSINSTALL) -R
-endif
-endif
-endif
-
-ifndef PLATFORM_HOSTS
-PLATFORM_HOSTS = \
- atm \
- bsdi \
- diva \
- gunwale \
- openwound \
- server2 \
- server3 \
- server9 \
- zot \
- $(NULL)
-endif
-
-######################################################################
-
-# always copy files for the sdk
-SDKINSTALL = $(NSINSTALL) -t
-
-ifndef SDK
-SDK = $(DEPTH)/dist/sdk
-endif
-
-######################################################################
-### Java Stuff
-######################################################################
-## java interpreter
-
-JAVA_PROG = java # from the ether
-
-# Let user over-ride CLASSPATH from environment
-#ifdef xCLASSPATH # bad idea
-#JAVA_CLASSPATH = $(CLASSPATH)
-#else
-# keep sun-java/classsrc until bootstrapped
-#JAVA_CLASSPATH = $(XPDIST)/classes:$(DEPTH)/sun-java/classsrc
-#endif
-
-#JAVA_FLAGS = -classpath $(JAVA_CLASSPATH) -ms8m
-#JAVA = $(JAVA_PROG) $(JAVA_FLAGS)
-
-######################################################################
-## java compiler
-# XXX - ram included from common.mn
-#JAVAC_PROG = javac # from the ether
-#JAVAC_FLAGS = -classpath $(JAVAC_CLASSPATH) $(JAVA_OPTIMIZER)
-#JAVAC = $(JAVAC_PROG) $(JAVAC_FLAGS)
-
-PATH_SEPARATOR = :
-
-#
-# The canonical classpath for building java libraries
-# includes these two entries first, then any additional zips
-# or directories
-#
-# see "JAVAC_CLASSPATH" in common.mn
-#
-
-# where the bytecode will go
-JAVA_DESTPATH = $(XPDIST)/classes
-# where the sources for the module you are compiling are
-# default is sun-java/classsrc, override for other modules
-JAVA_SOURCEPATH = $(DEPTH)/sun-java/classsrc
-
-######################################################################
-## javadoc
-
-# Rules to build java .html files from java source files
-
-JAVADOC_PROG = $(JAVA) sun.tools.javadoc.Main
-JAVADOC_FLAGS = -classpath $(JAVAC_CLASSPATH)
-JAVADOC = $(JAVADOC_PROG) $(JAVADOC_FLAGS)
-
-######################################################################
-## zip
-
-ZIP_PROG = zip
-ZIP_FLAGS = -0rq
-ZIP = $(ZIP_PROG) $(ZIP_FLAGS)
-
-######################################################################
-JRTDLL = libjrt.$(DLL_SUFFIX)
-MMDLL = libmm32$(VERSION_NUMBER).$(DLL_SUFFIX)
-AWTDLL = libawt.$(DLL_SUFFIX)
-JITDLL = libjit
-
diff --git a/config/rules.mk b/config/rules.mk
deleted file mode 100644
index 6ffd2d6a..00000000
--- a/config/rules.mk
+++ /dev/null
@@ -1,725 +0,0 @@
-#
-# BEGIN COPYRIGHT BLOCK
-# This Program is free software; you can redistribute it and/or modify it under
-# the terms of the GNU General Public License as published by the Free Software
-# Foundation; version 2 of the License.
-#
-# This Program is distributed in the hope that it will be useful, but WITHOUT
-# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
-# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along with
-# this Program; if not, write to the Free Software Foundation, Inc., 59 Temple
-# Place, Suite 330, Boston, MA 02111-1307 USA.
-#
-# In addition, as a special exception, Red Hat, Inc. gives You the additional
-# right to link the code of this Program with code not covered under the GNU
-# General Public License ("Non-GPL Code") and to distribute linked combinations
-# including the two, subject to the limitations in this paragraph. Non-GPL Code
-# permitted under this exception must only link to the code of this Program
-# through those well defined interfaces identified in the file named EXCEPTION
-# found in the source code files (the "Approved Interfaces"). The files of
-# Non-GPL Code may instantiate templates or use macros or inline functions from
-# the Approved Interfaces without causing the resulting work to be covered by
-# the GNU General Public License. Only Red Hat, Inc. may make changes or
-# additions to the list of Approved Interfaces. You must obey the GNU General
-# Public License in all respects for all of the Program code and other code used
-# in conjunction with the Program except the Non-GPL Code covered by this
-# exception. If you modify this file, you may extend this exception to your
-# version of the file, but you are not obligated to do so. If you do not wish to
-# provide this exception without modification, you must delete this exception
-# statement from your version and license this file solely under the GPL without
-# exception.
-#
-#
-# Copyright (C) 2001 Sun Microsystems, Inc. Used by permission.
-# Copyright (C) 2005 Red Hat, Inc.
-# All rights reserved.
-# END COPYRIGHT BLOCK
-#
-################################################################################
-# Wow this is complicated! The story is that we now have a 4 pass build process:
-#
-# Pass 1. export - Create generated headers and stubs. Publish public headers to
-# dist/<arch>/include.
-#
-# Pass 2. libs - Create libraries. Publish libraries to dist/<arch>/lib.
-#
-# Pass 3. all - Create programs.
-#
-# Pass 4. install - Publish programs to dist/<arch>/bin.
-#
-# Parameters to this makefile (set these before including):
-#
-# a)
-# TARGETS -- the target to create
-# (defaults to $LIBRARY $PROGRAM)
-# b)
-# DIRS -- subdirectories for make to recurse on
-# (the 'all' rule builds $TARGETS $DIRS)
-# c)
-# CSRCS, CPPSRCS -- .c and .cpp files to compile
-# (used to define $OBJS)
-# d)
-# PROGRAM -- the target program name to create from $OBJS
-# ($OBJDIR automatically prepended to it)
-# e)
-# LIBRARY -- the target library name to create from $OBJS
-# ($OBJDIR automatically prepended to it)
-# f)
-# JSRCS -- java source files to compile into class files
-# (if you don't specify this it will default to *.java)
-# PACKAGE -- the package to put the .class files into
-# (e.g. netscape/applet)
-# JMC_EXPORT -- java files to be exported for use by JMC_GEN
-# (this is a list of Class names)
-# g)
-# JRI_GEN -- files to run through javah to generate headers and stubs
-# (output goes into the _jri sub-dir)
-# h)
-# JMC_GEN -- files to run through jmc to generate headers and stubs
-# (output goes into the _jmc sub-dir)
-#
-################################################################################
-
-#
-# Common rules used by lots of makefiles...
-#
-ifndef NS_CONFIG_MK
-include $(DEPTH)/config/config.mk
-endif
-
-ifdef PROGRAM
-PROGRAM := $(addprefix $(OBJDIR)/, $(PROGRAM))
-endif
-
-ifndef LIBRARY
-ifdef LIBRARY_NAME
-LIBRARY := lib$(LIBRARY_NAME).$(LIB_SUFFIX)
-endif
-endif
-
-ifdef LIBRARY
-LIBRARY := $(addprefix $(OBJDIR)/, $(LIBRARY))
-ifdef MKSHLIB
-SHARED_LIBRARY := $(LIBRARY:.$(LIB_SUFFIX)=$(DLL_PRESUF).$(DLL_SUFFIX))
-endif
-endif
-
-ifndef TARGETS
-TARGETS = $(LIBRARY) $(SHARED_LIBRARY) $(PROGRAM)
-endif
-
-ifndef OBJS
-OBJS = $(JRI_STUB_CFILES) $(addsuffix .o, $(JMC_GEN)) $(CSRCS:.c=.o) $(CPPSRCS:.cpp=.o) $(ASFILES:.s=.o)
-endif
-
-ifdef OBJS
-OBJS := $(addprefix $(OBJDIR)/, $(OBJS))
-endif
-
-ifdef REQUIRES
-MODULE_PREINCLUDES = $(addprefix -I$(XPDIST)/public/, $(REQUIRES))
-endif
-
-ifeq ($(OS_ARCH),WINNT)
-ifdef DLL
-DLL := $(addprefix $(OBJDIR)/, $(DLL))
-LIB := $(addprefix $(OBJDIR)/, $(LIB))
-endif
-endif
-define MAKE_OBJDIR
-if test ! -d $(@D); then rm -rf $(@D); $(NSINSTALL) -D $(@D); fi
-endef
-
-ALL_TRASH = $(TARGETS) $(OBJS) $(OBJDIR) LOGS TAGS $(GARBAGE) \
- $(NOSUCHFILE) $(JDK_HEADER_CFILES) $(JDK_STUB_CFILES) \
- $(JRI_HEADER_CFILES) $(JRI_STUB_CFILES) $(JMC_STUBS) \
- $(JMC_HEADERS) $(JMC_EXPORT_FILES) so_locations \
- _gen _jmc _jri _stubs \
- $(wildcard $(JAVA_DESTPATH)/$(PACKAGE)/*.class)
-
-ifdef JDIRS
-ALL_TRASH += $(addprefix $(JAVA_DESTPATH)/,$(JDIRS))
-endif
-
-ifdef NSBUILDROOT
-JDK_GEN_DIR = $(XPDIST)/_gen
-JMC_GEN_DIR = $(XPDIST)/_jmc
-JRI_GEN_DIR = $(XPDIST)/_jri
-JDK_STUB_DIR = $(XPDIST)/_stubs
-else
-JDK_GEN_DIR = _gen
-JMC_GEN_DIR = _jmc
-JRI_GEN_DIR = _jri
-JDK_STUB_DIR = _stubs
-endif
-
-#
-# If this is an "official" build, try to build everything.
-# I.e., don't exit on errors.
-#
-ifdef BUILD_OFFICIAL
-EXIT_ON_ERROR = +e
-CLICK_STOPWATCH = date
-else
-EXIT_ON_ERROR = -e
-CLICK_STOPWATCH = true
-endif
-
-
-################################################################################
-
-ifdef ALL_PLATFORMS
-all_platforms:: $(NFSPWD)
- @d=`$(NFSPWD)`; \
- if test ! -d LOGS; then rm -rf LOGS; mkdir LOGS; fi; \
- for h in $(PLATFORM_HOSTS); do \
- echo "On $$h: $(MAKE) $(ALL_PLATFORMS) >& LOGS/$$h.log"; \
- rsh $$h -n "(chdir $$d; \
- $(MAKE) $(ALL_PLATFORMS) >& LOGS/$$h.log; \
- echo DONE) &" 2>&1 > LOGS/$$h.pid & \
- sleep 1; \
- done
-
-$(NFSPWD):
- cd $(@D); $(MAKE) $(@F)
-endif
-
-ifdef REQUIRES
-ifndef NO_NSPR
-INCLUDES += -I$(XPDIST)/$(OBJDIR)/include/nspr20/pr $(addprefix -I$(XPDIST)/public/, $(REQUIRES))
-else
-INCLUDES += $(addprefix -I$(XPDIST)/public/, $(REQUIRES))
-endif
-endif
-
-all:: $(TARGETS)
- +$(LOOP_OVER_DIRS)
-
-libs:: $(LIBRARY) $(SHARED_LIBRARY)
-
-$(PROGRAM): $(OBJS)
- @$(MAKE_OBJDIR)
-ifeq ($(OS_ARCH),WINNT)
- $(CC) $(OBJS) -Fe$@ -link $(LDFLAGS) $(OS_LIBS) $(EXTRA_LIBS)
-else
- $(CC) -o $@ $(CFLAGS) $(OBJS) $(LDFLAGS)
-endif
-
-$(LIBRARY): $(OBJS)
- @$(MAKE_OBJDIR)
- rm -f $@
- $(AR) $(OBJS)
- $(RANLIB) $@
-
-$(SHARED_LIBRARY): $(OBJS)
- @$(MAKE_OBJDIR)
- rm -f $@
- $(MKSHLIB) -o $@ $(OBJS) $(EXTRA_SHLIBS)
- chmod +x $@
-
-ifeq ($(OS_ARCH),WINNT)
-$(DLL): $(OBJS) $(EXTRA_LIBS)
- @$(MAKE_OBJDIR)
- rm -f $@
- $(LINK_DLL) $(OBJS) $(OS_LIBS) $(EXTRA_LIBS)
-endif
-
-.SUFFIXES: .i .pl .class .java .html
-
-.PRECIOUS: .java
-
-$(OBJDIR)/%: %.c
- @$(MAKE_OBJDIR)
-ifeq ($(OS_ARCH),WINNT)
- $(CC) -Fo$@ -c $(CFLAGS) $*.c
-else
- $(CC) -o $@ $(CFLAGS) $*.c $(LDFLAGS)
-endif
-
-$(OBJDIR)/%.o: %.c
- @$(MAKE_OBJDIR)
-ifeq ($(OS_ARCH),WINNT)
- $(CC) -Fo$@ -c $(CFLAGS) $*.c
-else
- $(CC) -o $@ -c $(CFLAGS) $*.c
-endif
-
-$(OBJDIR)/%.o: %.s
- @$(MAKE_OBJDIR)
- $(AS) -o $@ $(ASFLAGS) -c $*.s
-
-$(OBJDIR)/%.o: %.S
- @$(MAKE_OBJDIR)
- $(AS) -o $@ $(ASFLAGS) -c $*.S
-
-$(OBJDIR)/%: %.cpp
- @$(MAKE_OBJDIR)
- $(CCC) -o $@ $(CFLAGS) $*.c $(LDFLAGS)
-
-#
-# Please keep the next two rules in sync.
-#
-$(OBJDIR)/%.o: %.cc
- @$(MAKE_OBJDIR)
- $(CCC) -o $@ -c $(CFLAGS) $*.cc
-
-$(OBJDIR)/%.o: %.cpp
- @$(MAKE_OBJDIR)
-ifdef STRICT_CPLUSPLUS_SUFFIX
- echo "#line 1 \"$*.cpp\"" | cat - $*.cpp > $(OBJDIR)/t_$*.cc
- $(CCC) -o $@ -c $(CFLAGS) $(OBJDIR)/t_$*.cc
- rm -f $(OBJDIR)/t_$*.cc
-else
-ifeq ($(OS_ARCH),WINNT)
- $(CCC) -Fo$@ -c $(CFLAGS) $*.cpp
-else
- $(CCC) -o $@ -c $(CFLAGS) $*.cpp
-endif
-endif #STRICT_CPLUSPLUS_SUFFIX
-
-%.i: %.cpp
- $(CCC) -C -E $(CFLAGS) $< > $*.i
-
-%.i: %.c
- $(CC) -C -E $(CFLAGS) $< > $*.i
-
-%: %.pl
- rm -f $@; cp $*.pl $@; chmod +x $@
-
-%: %.sh
- rm -f $@; cp $*.sh $@; chmod +x $@
-
-#
-# If this is an "official" build, try to build everything.
-# I.e., don't exit on errors.
-#
-ifdef BUILD_OFFICIAL
-EXIT_ON_ERROR = +e
-else
-EXIT_ON_ERROR = -e
-endif
-
-ifdef DIRS
-ifneq ($(OS_ARCH),WINNT)
-override MAKEFLAGS :=
-endif
-LOOP_OVER_DIRS = \
- @for d in $(DIRS); do \
- if test -d $$d; then \
- set $(EXIT_ON_ERROR); \
- echo "cd $$d; $(MAKE) $(MAKEFLAGS) $@"; \
- cd $$d; $(MAKE) $(MAKEFLAGS) $@; cd ..; \
- set +e; \
- else \
- echo "Skipping non-directory $$d..."; \
- fi; \
- $(CLICK_STOPWATCH); \
-done
-
-$(DIRS)::
- @if test -d $@; then \
- set $(EXIT_ON_ERROR); \
- echo "cd $@; $(MAKE) $(MAKEFLAGS)"; \
- cd $@; $(MAKE) $(MAKEFLAGS); \
- set +e; \
- else \
- echo "Skipping non-directory $@..."; \
- fi \
- $(CLICK_STOPWATCH);
-endif # DIRS
-
-clean::
- rm -f $(OBJS) $(NOSUCHFILE)
- +$(LOOP_OVER_DIRS)
-
-clobber::
- rm -f $(OBJS) $(TARGETS) $(GARBAGE) $(NOSUCHFILE)
- +$(LOOP_OVER_DIRS)
-
-realclean clobber_all::
- rm -rf LOGS TAGS $(wildcard *.OBJ) $(OBJS) $(TARGETS) $(GARBAGE) $(NOSUCHFILE)
- +$(LOOP_OVER_DIRS)
-
-alltags:
- rm -f TAGS
- find . -name dist -prune -o \( -name '*.[hc]' -o -name '*.cp' -o -name '*.cpp' \) -print | xargs etags -a
-
-export::
- +$(LOOP_OVER_DIRS)
-
-libs::
- +$(LOOP_OVER_DIRS)
-
-install::
- +$(LOOP_OVER_DIRS)
-
-mac::
- +$(LOOP_OVER_DIRS)
-
-################################################################################
-### Bunch of things that extend the 'export' rule (in order):
-################################################################################
-### JSRCS -- for compiling java files
-
-ifndef PACKAGE
-PACKAGE = .
-endif
-$(JAVA_DESTPATH) $(JAVA_DESTPATH)/$(PACKAGE) $(JMCSRCDIR)::
- @if test ! -d $@; then \
- echo Creating $@; \
- rm -rf $@; \
- $(NSINSTALL) -D $@; \
- fi
-
-ifneq ($(JSRCS),)
-export:: $(JAVA_DESTPATH) $(JAVA_DESTPATH)/$(PACKAGE)
- @list=`perl $(DEPTH)/config/outofdate.pl $(PERLARG) \
- -d $(JAVA_DESTPATH)/$(PACKAGE) $(JSRCS)`; \
- if test "$$list"x != "x"; then \
- echo $(JAVAC) $$list; \
- $(JAVAC) $$list; \
- fi
-
-all:: export
-
-clobber::
- rm -f $(XPDIST)/classes/$(PACKAGE)/*.class
-
-endif
-
-################################################################################
-## JDIRS -- like JSRCS, except you can give a list of directories and it will
-## compile all the out-of-date java files recursively below those directories.
-
-ifdef JDIRS
-
-export:: $(JAVA_DESTPATH) $(JAVA_DESTPATH)/$(PACKAGE)
- @for d in $(JDIRS); do \
- if test -d $$d; then \
- set $(EXIT_ON_ERROR); \
- files=`echo $$d/*.java`; \
- list=`perl $(DEPTH)/config/outofdate.pl $(PERLARG) \
- -d $(JAVA_DESTPATH)/$(PACKAGE) $$files`; \
- if test "$${list}x" != "x"; then \
- echo Building all java files in $$d; \
- echo $(JAVAC) $$list; \
- $(JAVAC) $$list; \
- fi; \
- set +e; \
- else \
- echo "Skipping non-directory $$d..."; \
- fi; \
- $(CLICK_STOPWATCH); \
- done
-
-all:: export
-
-clobber::
- @for d in $(JDIRS); do \
- echo rm -rf $(XPDIST)/classes/$$d; \
- rm -rf $(XPDIST)/classes/$$d; \
- done
-
-endif
-
-################################################################################
-### JDK_GEN -- for generating "old style" native methods
-
-# Generate JDK Headers and Stubs into the '_gen' and '_stubs' directory
-
-ifneq ($(JDK_GEN),)
-
-ifdef NSBUILDROOT
-JDK_GEN_DIR = $(XPDIST)/_gen
-JDK_STUB_DIR = $(XPDIST)/_stubs
-else
-JDK_GEN_DIR = _gen
-JDK_STUB_DIR = _stubs
-endif
-
-INCLUDES += -I$(JDK_GEN_DIR)
-
-JDK_PACKAGE_CLASSES = $(JDK_GEN)
-JDK_PATH_CLASSES = $(subst .,/,$(JDK_PACKAGE_CLASSES))
-JDK_PATH_CLASSES = $(subst .,/,$(JDK_PACKAGE_CLASSES))
-JDK_HEADER_CLASSFILES = $(patsubst %,$(JAVA_DESTPATH)/%.class,$(JDK_PATH_CLASSES))
-JDK_STUB_CLASSFILES = $(patsubst %,$(JAVA_DESTPATH)/%.class,$(JDK_PATH_CLASSES))
-JDK_HEADER_CFILES = $(patsubst %,$(JDK_GEN_DIR)/%.h,$(JDK_GEN))
-JDK_STUB_CFILES = $(patsubst %,$(JDK_STUB_DIR)/%.c,$(JDK_GEN))
-
-$(JDK_HEADER_CFILES): $(JDK_HEADER_CLASSFILES)
-$(JDK_STUB_CFILES): $(JDK_STUB_CLASSFILES)
-
-export::
- @echo Generating/Updating JDK headers
- $(JAVAH) -d $(JDK_GEN_DIR) $(JDK_PACKAGE_CLASSES)
- @echo Generating/Updating JDK stubs
- $(JAVAH) -stubs -d $(JDK_STUB_DIR) $(JDK_PACKAGE_CLASSES)
-
-mac::
- @echo Generating/Updating JDK headers for the Mac
- $(JAVAH) -mac -d $(DEPTH)/lib/mac/Java/_gen $(JDK_PACKAGE_CLASSES)
- @echo Generating/Updating JDK stubs for the Mac
- $(JAVAH) -mac -stubs -d $(DEPTH)/lib/mac/Java/_stubs $(JDK_PACKAGE_CLASSES)
-
-# Don't delete them if the don't compile (makes it hard to debug):
-.PRECIOUS: $(JDK_HEADERS) $(JDK_STUBS)
-
-clobber::
- rm -rf $(JDK_HEADER_CFILES) $(JDK_STUB_CFILES)
-
-endif
-
-################################################################################
-### JRI_GEN -- for generating JRI native methods
-
-# Generate JRI Headers and Stubs into the 'jri' directory
-
-ifneq ($(JRI_GEN),)
-
-ifdef NSBUILDROOT
-JRI_GEN_DIR = $(XPDIST)/_jri
-else
-JRI_GEN_DIR = _jri
-endif
-
-INCLUDES += -I$(JRI_GEN_DIR)
-
-JRI_PACKAGE_CLASSES = $(JRI_GEN)
-JRI_PATH_CLASSES = $(subst .,/,$(JRI_PACKAGE_CLASSES))
-
-## dependency fu
-JRI_HEADER_CLASSFILES = $(patsubst %,$(XPDIST)/classes/%.class,$(JRI_PATH_CLASSES))
-JRI_HEADER_CFILES = $(patsubst %,$(JRI_GEN_DIR)/%.h,$(JRI_GEN))
-$(JRI_HEADER_CFILES): $(JRI_HEADER_CLASSFILES)
-
-## dependency fu
-JRI_STUB_CLASSFILES = $(patsubst %,$(XPDIST)/classes/%.class,$(JRI_PATH_CLASSES))
-JRI_STUB_CFILES = $(patsubst %,$(JRI_GEN_DIR)/%.c,$(JRI_GEN))
-$(JRI_STUB_CFILES): $(JRI_STUB_CLASSFILES)
-
-export::
- @echo Generating/Updating JRI headers
- $(JAVAH) -jri -d $(JRI_GEN_DIR) $(JRI_PACKAGE_CLASSES)
- @echo Generating/Updating JRI stubs
- $(JAVAH) -jri -stubs -d $(JRI_GEN_DIR) $(JRI_PACKAGE_CLASSES)
- @if test ! -d $(DEPTH)/lib/mac/Java/; then \
- echo "!!! You need to have a ns/lib/mac/Java directory checked out."; \
- echo "!!! This allows us to automatically update generated files for the mac."; \
- echo "!!! If you see any modified files there, please check them in."; \
- fi
- @echo Generating/Updating JRI headers for the Mac
- $(JAVAH) -jri -mac -d $(DEPTH)/lib/mac/Java/_jri $(JRI_PACKAGE_CLASSES)
- @echo Generating/Updating JRI stubs for the Mac
- $(JAVAH) -jri -mac -stubs -d $(DEPTH)/lib/mac/Java/_jri $(JRI_PACKAGE_CLASSES)
-
-# Don't delete them if the don't compile (makes it hard to debug):
-.PRECIOUS: $(JRI_HEADERS) $(JRI_STUBS)
-
-clobber::
- rm -rf $(JRI_HEADER_CFILES) $(JRI_STUB_CFILES)
-
-endif
-
-################################################################################
-## JMC_EXPORT -- for declaring which java classes are to be exported for jmc
-
-ifneq ($(JMC_EXPORT),)
-
-JMC_EXPORT_PATHS = $(subst .,/,$(JMC_EXPORT))
-JMC_EXPORT_FILES = $(patsubst %,$(XPDIST)/classes/$(PACKAGE)/%.class,$(JMC_EXPORT_PATHS))
-
-# We're doing NSINSTALL -t here (copy mode) because calling INSTALL will pick up
-# your NSDISTMODE and make links relative to the current directory. This is a
-# problem because the source isn't in the current directory:
-
-export:: $(JMC_EXPORT_FILES) $(JMCSRCDIR)
- $(NSINSTALL) -t -m 444 $(JMC_EXPORT_FILES) $(JMCSRCDIR)
-
-clobber::
- rm -rf $(JMC_EXPORT_FILES)
-
-endif
-
-
-################################################################################
-## EXPORTS
-#
-# Copy each element of EXPORTS to $(XPDIST)/public/$(MODULE)/
-#
-
-ifneq ($(EXPORTS),)
-
-$(XPDIST)/public/$(MODULE)::
- @if test ! -d $@; then \
- echo Creating $@; \
- rm -rf $@; \
- mkdir -p $@; \
- fi
-
-export:: $(EXPORTS) $(XPDIST)/public/$(MODULE)
- $(NSINSTALL) -t -m 444 $(EXPORTS) $(XPDIST)/public/$(MODULE)
-
-endif
-
-################################################################################
-## JMC_GEN -- for generating java modules
-
-# Provide default export & install rules when using JMC_GEN
-ifneq ($(JMC_GEN),)
-
-ifdef NSBUILDROOT
-JMC_GEN_DIR = $(XPDIST)/_jmc
-else
-JMC_GEN_DIR = _jmc
-endif
-
-INCLUDES += -I$(JMC_GEN_DIR)
-
-JMC_HEADERS = $(patsubst %,$(JMC_GEN_DIR)/%.h,$(JMC_GEN))
-JMC_STUBS = $(patsubst %,$(JMC_GEN_DIR)/%.c,$(JMC_GEN))
-JMC_OBJS = $(patsubst %,$(OBJDIR)/%.o,$(JMC_GEN))
-
-$(JMC_GEN_DIR)/M%.h: $(JMCSRCDIR)/%.class
- $(JMC) -d $(JMC_GEN_DIR) -interface $(JMC_GEN_FLAGS) $(?F:.class=)
-
-$(JMC_GEN_DIR)/M%.c: $(JMCSRCDIR)/%.class
- $(JMC) -d $(JMC_GEN_DIR) -module $(JMC_GEN_FLAGS) $(?F:.class=)
-
-$(OBJDIR)/M%.o: $(JMC_GEN_DIR)/M%.h $(JMC_GEN_DIR)/M%.c
- @$(MAKE_OBJDIR)
- $(CC) -o $@ -c $(CFLAGS) $(JMC_GEN_DIR)/M$*.c
-
-export:: $(JMC_HEADERS) $(JMC_STUBS)
-
-# Don't delete them if the don't compile (makes it hard to debug):
-.PRECIOUS: $(JMC_HEADERS) $(JMC_STUBS)
-
-clobber::
- rm -rf $(JMC_HEADERS) $(JMC_STUBS)
-
-endif
-
-################################################################################
-## LIBRARY -- default rules for for building libraries
-
-ifdef LIBRARY
-libs:: $(LIBRARY)
- $(INSTALL) -m 444 $(LIBRARY) $(DIST)/lib
-
-install:: $(LIBRARY)
- $(INSTALL) -m 444 $(LIBRARY) $(DIST)/lib
-endif
-
-ifdef SHARED_LIBRARY
-libs:: $(SHARED_LIBRARY)
- $(INSTALL) -m 555 $(SHARED_LIBRARY) $(DIST)/bin
-
-install:: $(SHARED_LIBRARY)
- $(INSTALL) -m 555 $(SHARED_LIBRARY) $(DIST)/bin
-endif
-
--include $(DEPENDENCIES)
-
-ifneq ($(OS_ARCH),WINNT)
-# Can't use sed because of its 4000-char line length limit, so resort to perl
-.DEFAULT:
- @perl -e ' \
- open(MD, "< $(DEPENDENCIES)"); \
- while (<MD>) { \
- if (m@ \.*/*$< @) { \
- $$found = 1; \
- last; \
- } \
- } \
- if ($$found) { \
- print "Removing stale dependency $< from $(DEPENDENCIES)\n"; \
- seek(MD, 0, 0); \
- $$tmpname = "$(OBJDIR)/fix.md" . $$$$; \
- open(TMD, "> " . $$tmpname); \
- while (<MD>) { \
- s@ \.*/*$< @ @; \
- if (!print TMD "$$_") { \
- unlink(($$tmpname)); \
- exit(1); \
- } \
- } \
- close(TMD); \
- if (!rename($$tmpname, "$(DEPENDENCIES)")) { \
- unlink(($$tmpname)); \
- } \
- } elsif ("$<" ne "$(DEPENDENCIES)") { \
- print "$(MAKE): *** No rule to make target $<. Stop.\n"; \
- exit(1); \
- }'
-endif
-
-#############################################################################
-# X dependency system
-#############################################################################
-
-ifneq ($(OS_ARCH),WINNT)
-
-$(MKDEPENDENCIES)::
- @$(MAKE_OBJDIR)
- touch $(MKDEPENDENCIES)
- $(MKDEPEND) -p$(OBJDIR_NAME)/ -o'.o' -f$(MKDEPENDENCIES) $(INCLUDES) $(CSRCS) $(CPPSRCS)
-
-$(MKDEPEND)::
- cd $(MKDEPEND_DIR); $(MAKE)
-
-ifdef OBJS
-depend:: $(MKDEPEND) $(MKDEPENDENCIES)
-else
-depend::
-endif
- +$(LOOP_OVER_DIRS)
-
-dependclean::
- rm -f $(MKDEPENDENCIES)
- +$(LOOP_OVER_DIRS)
-
-#-include $(OBJDIR)/depend.mk
-
-endif
-
-#############################################################################
-
--include $(MY_RULES)
-
-$(MY_CONFIG):
-$(MY_RULES):
-
-# Generate Emacs tags in a file named TAGS if ETAGS was set in $(MY_CONFIG)
-# or in $(MY_RULES)
-ifdef ETAGS
-ifneq ($(CSRCS)$(HEADERS),)
-all:: TAGS
-TAGS:: $(CSRCS) $(HEADERS)
- $(ETAGS) $(CSRCS) $(HEADERS)
-endif
-endif
-
-################################################################################
-# Special gmake rules.
-################################################################################
-
-#
-# Re-define the list of default suffixes, so gmake won't have to churn through
-# hundreds of built-in suffix rules for stuff we don't need.
-#
-.SUFFIXES:
-.SUFFIXES: .out .a .ln .o .c .cc .C .cpp .y .l .s .S .h .sh .i .pl .class .java .html
-
-#
-# Don't delete these files if we get killed.
-#
-.PRECIOUS: .java $(JDK_HEADERS) $(JDK_STUBS) $(JRI_HEADERS) $(JRI_STUBS) $(JMC_HEADERS) $(JMC_STUBS)
-
-#
-# Fake targets. Always run these rules, even if a file/directory with that
-# name already exists.
-#
-.PHONY: all all_platforms alltags boot clean clobber clobber_all export install libs realclean $(OBJDIR) $(DIRS)
diff --git a/config/webint.mk b/config/webint.mk
deleted file mode 100644
index a5c2928c..00000000
--- a/config/webint.mk
+++ /dev/null
@@ -1,56 +0,0 @@
-#
-# BEGIN COPYRIGHT BLOCK
-# This Program is free software; you can redistribute it and/or modify it under
-# the terms of the GNU General Public License as published by the Free Software
-# Foundation; version 2 of the License.
-#
-# This Program is distributed in the hope that it will be useful, but WITHOUT
-# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
-# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along with
-# this Program; if not, write to the Free Software Foundation, Inc., 59 Temple
-# Place, Suite 330, Boston, MA 02111-1307 USA.
-#
-# In addition, as a special exception, Red Hat, Inc. gives You the additional
-# right to link the code of this Program with code not covered under the GNU
-# General Public License ("Non-GPL Code") and to distribute linked combinations
-# including the two, subject to the limitations in this paragraph. Non-GPL Code
-# permitted under this exception must only link to the code of this Program
-# through those well defined interfaces identified in the file named EXCEPTION
-# found in the source code files (the "Approved Interfaces"). The files of
-# Non-GPL Code may instantiate templates or use macros or inline functions from
-# the Approved Interfaces without causing the resulting work to be covered by
-# the GNU General Public License. Only Red Hat, Inc. may make changes or
-# additions to the list of Approved Interfaces. You must obey the GNU General
-# Public License in all respects for all of the Program code and other code used
-# in conjunction with the Program except the Non-GPL Code covered by this
-# exception. If you modify this file, you may extend this exception to your
-# version of the file, but you are not obligated to do so. If you do not wish to
-# provide this exception without modification, you must delete this exception
-# statement from your version and license this file solely under the GPL without
-# exception.
-#
-#
-# Copyright (C) 2001 Sun Microsystems, Inc. Used by permission.
-# Copyright (C) 2005 Red Hat, Inc.
-# All rights reserved.
-# END COPYRIGHT BLOCK
-#
-ifdef WEBSERVER_LANGS
-LANG_LOOP= \
- @for d in $(WEBSERVER_LANGS); do \
- if test ! -d $$d; then \
- echo Directory $$d does not exist. Creating...; \
- mkdir -p $$d; \
- fi; \
- echo cd $$d; \
- cd $$d; \
- echo $(MAKE) -f ../Makefile $(MAKEFLAGS) INT_SUBDIR=1; \
- $(MAKE) -f ../Makefile $(MAKEFLAGS) INT_SUBDIR=1; \
- cd ..; \
- done
-else
-LANG_LOOP= @echo "No foreign languages in this build"
-endif
-